Assume the first execution results are as below – Delta DVP-ES2 User Manual
Page 559
3 . I n s t r u c t i o n S e t
3 - 4 4 3
MOV
MOV
MOV
K100
K600
D0
M1002
D1131
D1348
SET
DMOV
K0
D1030
EI
FEND
IRET
END
DCLLM
C243
K50000 K100000
Y0
INC
M1534
M0
M1000
I010
K200
D1340
MOV
D1343
MOV
K300
D1343
DMOV
K0
C243
DCNT
C243
K9999
DHSCS
C243
K50000
I010
2.
Assume the first execution results are as below:
100KHz
D1340
D1348
D1343
C243 =K50000
6s
Frequency
Y0 stops output
Time
Pulse number
Specified number of output pulses: 50,000
Actual number of output pulses (D1030, D1031) = K50,600
3. Observe the results of the first execution:
a)
The actual output number 50,600 – specified output number 50,000 = 600
b)
600 x (1/100Hz) = 6s (idle time)
c)
3 seconds are too long. Therefore, increase the percentage value (D1131) to K101.
4. Obatin the results of the second execution: