650
11 POSITIONING INSTRUCTION
11.1 Positioning Instruction
11 POSITIONING INSTRUCTION
11.1 Positioning Instruction
Zero return(OPR) with 16-bit data DOG search
DSZR [For the FX3 Series-compatible operand specification]
This instruction executes mechanical zero return.
■Descriptions, ranges, and data types
■Applicable devices
*1 When using X, always specify a device that has been set by parameter.
*2 Specify the device set with a parameter or same as the one set in (s1).
*3 Only Y can be used.
*4 When the output mode is CW/CCW, specify the CCW axis. When the output mode is PULSE/SIGN and using Y, only the SIGN output or
general-purpose output of the self-axis can be specified.
This instruction executes mechanical zero return. The values of special devices are applied as the zero return speed and
creep speed. With the forward limit or reverse limit, zero return with the dog search function can be executed.
• For (s1), specify the near-point dog signal input device number.
• For (s2), specify the zero-phase signal input device number.
• For (d1), specify the device from which pulses are output. Only the output devices (Y) having positioning parameters can
be specified.
• For (d2), specify the bit device from which the rotation direction signal is output. Only the device specified with a parameter
or general-purpose outputs can be specified. When the output devices (Y) is executed by another function (PWM,
positioning PULSE axis, or CW/CCW axis etc.), the device does not function and causes an error.
For details on the function, precautions, and error code, refer to Built-in positioning manual.
Ladder diagram Structured text
ENO:=DSZR(EN,s1,s2,d1,d2);
Operand Description Range Data type Data type (label)
(s1) Bit device number to which the near-point dog signal is input Bit ANY_ELEMENTARY
(s2) Bit device number to which the zero-phase signal is input Bit ANY_ELEMENTARY
(d1) Bit device number (Y) from which pulses are output 0 to 3 Bit ANY_ELEMENTARY
(d2) Bit device number from which the rotation direction is output Bit ANY_BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s1)
*1
(s2)
*1*2
(d1)
*3
(d2)
*4
• When an X device is specified : The near-point dog signal functions follow the logic set by parameter.
• When other than X device is specified : The device functions follow the positive logic.
• When an X device is specified : The zero-phase signal functions follow the logic set by parameter.
• When other than X device is specified : The device functions follow the positive logic.