9 Application Instructions API 150-199 9. EH3/SV2: The instruction DZRN can be used to detect the limit switch, nake the pulsed output stop at the positive position, search for the Z phase, and output a certain number of displacement. Therefore, when the instrcution is writtem, the input number of the DOG point should be consisten with the description in the table below. 10. When executing API 158 DRVI (releative positioning) or API 159 DRVA (absolute positioning), PLC will automatically store the increasing or decreasing forward/reverse pulses in the present value registers. For EH2/SV/EH3/SV2 series MPU, Y0: D1337, D1336; Y2: D1339, D1338, Y4: D1376, D1375; Y6: D1378, D1377.
For SC series MPU, Y10: D1348, D1349; Y11: D1350, D1351. In this way, you can keep track of the position of the machine at any time. However, due to that the data will be lost when the power of the PLC is switched off, you have to enter the zero point position of the machine when executing zero return for the first time. Program Example: When M10= On, Y0 output pulses start to operate zero return at the frequency of 20kHz. When the zero return meets DOG X2 = On, Y0 output pulses will start to operate by creep speed 1kHz until X2 is Off. M10 Remarks: 1. Timing chart of the reset signal output for EH2/SV/EH3/SV2 series MPU.
(SC series MPU does not support this function.) DVP-PLC Application Manual 9-45 Output point number (D) Y0 Y2 Y4 Y6 Corresponding output point number Y1 Y3 Y5 Y7 DOG point number (S ) 3 X2 X6 X12 X16 Disabling the left limit M1570=On M1571=On M1572=On M1573=On Left limit input point X3 X7 X13 X17 The left limit switch is triggerred by a M1584 M1585 M1586 M1587 rising-edge signal or a falling-edge signal. (OFF: Rising-edge signal; ON: Falling-edge signal) (EH3 V1.40/SV2 V1.20 and above) Stopping at the right side of DOG M1574=On M1575=On M1576=On M1577=On Searching for the Z phase (M1578=Off) Z phase number X1 X5 X11 X15 The number of times Positive value:
Searching for the Z phase in the positive direction Negative value: Searching for the Z phase in the negative direction the Z phase is searched for is stored in D1312. Number of The number of Positive value: The pulse output is in the positive direction Negative value: The pulse output is in the negative direction displacement displacement is (M1578=On) stored in D1312. Clearing the output (M1346=On) Y10 Y11 Y12 Y13 ZRN K20000 K1000 X2 Y0