Delta Electronics Programmable Logic Controller DVP-PLC User Manual
Page 215
![background image](/manuals/75807/215/background.png)
6 Application Instructions API 00-49
DVP-PLC Application Manual
6-3
Program Example 3:
1.
The states of each device
Device
Contact state before CJ
is executed
Contact state when CJ is
being executed
Output coil state when CJ is
being executed
M1, M2, M3 Off
M1, M2, M3 OfftOn
Y1
*
1
, M20, S1 Off
Y, M, S
M1, M2, M3 On
M1, M2, M3 OntOff
Y1
*
1
, M20, S1 On
M4 Off
M4 OfftOn
Timer T0 is not enabled.
10ms, 100ms
Timer
ES/SA/EH
M4 On
M4 OntOff
Timer T0 immediately stops
and is latched. M0 OntOff,
T0 is reset as 0.
M6 Off
M6 OfftOn
Timer T240 is not enabled.
1ms, 10ms, 100ms
Timer
*
2
(accumulative)
SA/EH
M6 On
M6 OntOff
Once the timer function is
enabled and when met with
CJ instruction, all
accumulative timers will stop
timing and stay latched. M0
OntOff. T240 remains
unchanged.
M7, M10 Off
M10 On/Off trigger
Counter does not count.
C0 ~ C234
*
3
M7 Off, M10 On/Off
trigger
M10 On/Off trigger
Counter C0 stops counting
and stays latched. After M0
goes Off, C0 resumes its
counting.
M11 Off
M11 OfftOn
Application instructions are
not executed.
Application
instruction
M11 On
M11 OntOff
The skipped application
instructions are not executed,
but API 53 ~ 59, API 157 ~
159 keep being executed.
*1: Y1 is a dual output. When M0 is Off, M1 will control Y1. When M0 is On, M12 will control Y1.
*2: When the timers (T192 ~ T199, applicable in SA/EH series MPU) used by a subroutine re driven and encounter
the execution of CJ instruction, the timing will resume. After the timing target is reached, the output contact of the
timer will be On.
*3: When the high-speed counters (C235 ~ C255) are driven and encounter the execution of CJ instruction, the
counting
will resume, as well as the action of the output points.