Chapter 6 Applied Instructions Explanation S 3 is set to 0. High 16-bit [0000] is to disable the function to move a number of pulses or to search for Z phases. Low 16-bit [0000] is Mode 0; when the DOG signal is received, the axis moves in the negative direction; after the axis moves away from the DOG signal, it stops immediately. Example 2 When M0 is ON, outputting the pulse from Y0.0 with a frequency of 20 kHz to search for the zero point in the negative direction. When the DOG signal is received and X0.4 is ON, the PLC decreases the frequency to the JOG frequency of 1 kHz and keeps moving in the positive directon with the JOG frequency of 1 kHz.
When X0.4 is OFF, the PLC starts to seek the Z phase pulse in the positive direction. When X0.5 receives two pulses, the PLC stops and Y1.4 outputs a 20ms-width pulse. 6_ Explanation 1. If you specify the rising-edge trigger at X0.5 as the condition for Z phase input in HWCONFIG, the count is incremented once whenever the rising-edge trigger at X0.5 occurs. 2. Y1.4 is specified as the output point for outputting the clear signal in HWCONFIG. 3. S 3 is set as 16#00020007. High 16-bit [0002] is to search for the Z phase twice, once the axis moves away from the DOG signal.
Low 16-bit [0007] is Mode 7; when the DOG signal is received, the axis moves in the negative direction; after the axis moves away from the DOG signal, and found the Z phase, a clear signal is outputted (20ms). 6-805