Mitsubishi — Chapter 7 Application Instructions API 50-88

7 Application Instructions API 50-99 D1336: (EH/EH2/SV/EH3/SV2) Low word of the current number of output pulses at CH0 D1337: (EH/EH2/SV/EH3/SV2) High word of the current number of output pulses at CH0 D1338: (EH/EH2/SV/EH3/SV2) Low word of the current number of output pulses at CH1 D1339: (EH/EH2/SV/EH3/SV2) High word of the current number of output pulses at CH1 D1375: (EH2/SV/EH3/SV2) Low word of the current number of output pulses at CH2 D1376: (EH2/SV/EH3/SV2) High word of the current number of output pulses at CH2 D1377: (EH2/SV/EH3/SV2) Low word of the current number of output pulses at CH3 D1378: (EH2/SV/EH3/SV2) High word of the current number of output pulses at CH3 D1344:

(EH/EH2/SV/EH3/SV2) Low word of the number of compensation pulses at CH0 D1345: (EH/EH2/SV/EH3/SV2) High word of the number of compensation pulses at CH0 D1346: (EH/EH2/SV/EH3/SV2) Low word of the number of compensation pulses at CH1 D1347: (EH/EH2/SV/EH3/SV2) High word of the number of compensation pulses at CH1 4. When there are many high speed output instructions (PLSY, PWM, PLSR) for Y0 output in a program, PLC will only execute the settings and outputs of the instruction that is first enabled. 5. More explanations on M1347 and M1348: If M1347 and M1348 is enabled, and when the execution of PLSY instruction has been completed, M1347/M1348 will be reset automatically, i.e.

you do not have to turn the status of the drive contact from Off to On before PLSY instruction and when PLC scans to the instruction (assume the drive contact of the instruction is True), there will still be pulse output. PLC detects the status of M1347 and M1348 when END instruction is being executed. Therefore, when the pulse output is completed and if PLSY instruction is a continuous execution one, there will be a scan time of delay in the next string of pulse output. Program Example 1: EI FEND I 001 M1000 IRET I 101 M1000 IRET END DVP-PLC APPLICATION MANUAL 7-33 DPLSY K1000 K1000 Y0 SET M1347 DPLSY K1000 K1000 Y2 SET M1348