Delta DVP-ES2 User Manual Page 160

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 159
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming
3-44
users. When the instruction MCR is executed, the previous state of the switch contact is
popped from the top of the stack. Under the conditions listed in (b), (d), and (e) above, the
number of times the items are pushed onto the stack may be different from the number of
times the items are popped from the stack. When this situation occurs, at most 32 items can
be pushed onto the stack, and the items can be popped form the stack until the stack is empty.
Therefore, when CJ or CJP is used with MC and MCR, users have to be careful of the pushing
of the item onto the stack and the popping of the item from the stack.
Program example 3:
The table explains the device status in the ladder diagram below.
Device
Contact state
before CJ execution
Contact state
during CJ execution
Output coil state
during CJ execution
M1, M2, M3 OFF
M1, M2, M3
OFFON
Y1
*
1
, M20, S1 OFF
Y, M, S
M1, M2, M3 ON
M1, M2, M3
ONOFF
Y1
*
1
, M20, S1 ON
M4 OFF
M4 OFFON
Timer is not activated
10ms,
100ms
Timer
*
2
M4 ON
M4 ONOFF
Timer T0 immediately stops and
is latched. When M0 ON t OFF,
T0 will be reset.
M6 OFF
M6 OFFON
Timer T240 is not activated
1ms,10ms,
100ms
accumulative
Timer
M6 ON
M6 ONOFF
Timer T240 immediately stops
and is latched. When M0 ON t
OFF, T240 will still be latched.
M7, M10 OFF
M10 is ON/OFF
triggered
Counter C0 stops
C0~C234
*
3
M7 OFF, M10 is
ON/OFF triggered
M10 is ON/OFF
triggered
Counter C0 stops and latched.
When M0 is OFF, C0 resumes
counting.
M11 OFF
M11 OFFON
Application instructions will not
be executed.
Application
instruction
M11 ON
M11 ONOFF
The skipped application
instruction will not be executed
but API 53~59, API 157~159
keep executing.
Page view 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 701 702

Comments to this Manuals

No comments