DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
-152
M1526: Auto reset Y4 when high speed pulse output completed.
M1527: Auto reset Y6 when high speed pulse output completed.
M1538: Indicating pause status of Y0
M1539: I
ndicating pause status of Y1 (Not available for EC5)
M1540: Indicating pause status of Y2
M1541: Indicating pause status of Y3 (Not available for EC5)
M1542: Indicating pause status of Y4
M1543: Indicating pause status of Y6
2. Description of associated special D registers:
D1030: Present number of Y0 output pulses (Low word).
D1031: Present number of Y0 output pulses (High word).
D1032: Present number of Y1 output pulses (Low word). (Not available for EC5)
D1033: Present number of Y1 output pulses (High word). (Not available for EC5)
D1336: Present number of Y2 output pulses (Low word).
D1337: Present number of Y2 output pulses (High word).
D1338: Present number of Y3 output pulses (Low word). (Not available for EC5)
D1339: Present number of Y3 output pulses (High word). (Not available for EC5)
D1375: Present number of Y4 output pulses (Low word).
D1376: Present number of Y4 output pulses (High word).
D1377: Present number of Y6 output pulses (Low word).
D1378: Present number of Y6 output pulses (High word).
D1220: Output mode selection for pulse output (Y0,Y1), refer to the instruction explanations.
D1221: O
utput mode selection for pulse output (Y2, Y3), refer to the instruction explanations.
D1341: Output mode selection for pulse output (Y4, Y), refer to the instruction explanations.
D1342: Output mode selection for pulse output (Y6, Y7), refer to the instruction explanations.
3. More explanations for M1347,M1348, M1524, M1525, M1526, M1527:
Generally when pulse output is completed, PLSY instruction has to be reset so that the
instruction can start pulse output one more time. When M1347, M1348, M1524, M1525, M1526
and M1527 is enabled, the associated output terminals will be reset automatically when pulse
output is completed, i.e. the PLSY instruction is reset. When PLC scans PLSY instruction again,
the pulse output starts automatically. In addition, PLC scans the mentioned 6 flags after END
instruction, hence PLSY instruction in continuous pulse output mode requires a delay time of
one scan cycle for next pulse output operation.
The function is mainly used in subroutines or interrupts which require high speed pulse output.
Here are some examples: