Chapter 6 Applied Instructions Example 3 When M0 is ON, outputting the pulse from Y0 with a frequency of 20 kHz to search for the zero point in the negative direction. When the DOG signal is received and X4 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 X4 is OFF, the axis starts to move after 500 pluse output completes in the negative direction. Y14 outputs a 20ms-width pulse and then stops outputting. Explanation 1. Y14 is specified as the output point for outputting the clear signal in HWCONFIG. 6_ 2. S 3 is set as 16#FE0C000E.
High 16-bit [FE0C=-500] once the axis moves away from the DOG signal. The axis starts to move after 500 pluse output completes in the negative direction. Low 16-bit [000E] is Mode 14; when the DOG signal is received, the axis moves in the positive direction; after the axis moves away from the DOG signal, a clear signal is outputted (20ms). . 6-787