Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Axis Definition
#1
Is there a way to get a axis definition into a P or M variable?


I want to a plc to calculate a scale factor based on the axis definition. I have several machines that i want to update and they have different axis definitions (gear ratios) for motor 1 and motor 2.

Thanks

Chris M
#2
From manual sugested M vars
Motor #1 Axis Definition Registers
M191->L:$0000CF ; #1 X/U/A/B/C-Axis scale factor (cts/unit)
M192->L:$0000D0 ; #1 Y/V-Axis scale factor (cts/unit)
M193->L:$0000D1 ; #1 Z/W-Axis scale factor (cts/unit)
M194->L:$0000D2 ; #1 Axis offset (cts)
Motor #2 Axis Definition Registers
M291->L:$00014F ; #2 X/U/A/B/C-Axis scale factor (cts/unit)
M292->L:$000150 ; #2 Y/V-Axis scale factor (cts/unit)
M293->L:$000151 ; #2 Z/W-Axis scale factor (cts/unit)
M294->L:$000152 ; #2 Axis offset (cts)
#3
(08-10-2012, 07:59 AM)Ron22 Wrote: From manual sugested M vars
Motor #1 Axis Definition Registers
M191->L:$0000CF ; #1 X/U/A/B/C-Axis scale factor (cts/unit)
M192->L:$0000D0 ; #1 Y/V-Axis scale factor (cts/unit)
M193->L:$0000D1 ; #1 Z/W-Axis scale factor (cts/unit)
M194->L:$0000D2 ; #1 Axis offset (cts)
Motor #2 Axis Definition Registers
M291->L:$00014F ; #2 X/U/A/B/C-Axis scale factor (cts/unit)
M292->L:$000150 ; #2 Y/V-Axis scale factor (cts/unit)
M293->L:$000151 ; #2 Z/W-Axis scale factor (cts/unit)
M294->L:$000152 ; #2 Axis offset (cts)

I have found it useful to add these as we for adding and removing axes under program control.
M190->Y:$0000C0,16,4,U ; #1 CS Type Register None=0 A=1, B=2 C=3 UVW =4 XYZ = 7, I=5 (Kinematic)
M290->Y:$000140,16,4,U ; #2 CS Type Register None=0 A=1, B=2 C=3 UVW =4 XYZ = 7, I=5 (Kinematic)
M390->Y:$0001C0,16,4,U ; #3 CS Type Register None=0 A=1, B=2 C=3 UVW =4 XYZ = 7, I=5 (Kinematic)
M490->Y:$000240,16,4,U ; #4 CS Type Register None=0 A=1, B=2 C=3 UVW =4 XYZ = 7, I=5 (Kinematic)


Forum Jump:


Users browsing this thread: 1 Guest(s)