Delta Electronics — 6.26.2 Explanation of High-speed Output Instructions

AS Series Programming Manual 8. The execution sequence is based on the value of the low 16-bit code in the table above, and described below.  The direction of DOG signal is determined by the value of bit 5.  The NL negative limit and DOG signal are determined by the value of bit 5 and bit 4.  The operation of the zero point return is performed according to the values of bit 1 and bit 0.  Mode 0 or mode 1 for the zero point return, selected according to the value of bit 3. _6 9. The Completion flag is set to ON after the instruction finishes performing the specified function.

For example, for function code 2, the PLC sets the Completion flag to ON only when the number of specified pulses completes outputting. 10. After the DZRN2 instruction is executed, an interrupt service program is not executed till the DZRN2 instruction is disabled, if the specified input point for the zero point is the same as that for the external input interrupt in the program. 11. The instruction cannot be used in the ST programming language, interrupt tasks or function block which is called only once. 6-888 Functions Code Description High Low 16-bit 16-bit number of pulses after returning to the zero point pulses for motion (bit3=ON) that for low 16-bit code 1.

After returning to the zero point, the motion continues in accordance with the number of specified pulses. When the value of the high 16-bit code is a positive number, the motion is in the positive direction. A negative number indicates that the motion is in the negative direction. DOG point is B point +16 (bit4=ON) When in the low 16-bit code, bit 4 is ON, it means the zero point is ON as the DOG point changes from ON to OFF and the zero point is left as the DOG point changes from OFF to ON.

NL point is B point +32 (bit5=ON) When in the low 16-bit code, bit 5 is ON, it means the zero point is ON as the NL point changes from ON to OFF and the zero point is left as the DOG point changes from OFF to ON.