Delta DVP-ES2 User Manual
Page 84
D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g
I000/I001(X0),
I100/I101(X1),
I200/I201(X2),
I300/I301(X3),
I400/I401(X4),
I500/I501(X5),
I600/I601(X6),
I700/I701(X7), 8 points
(01, rising-edge trigger
External interrupt
, 00, falling-edge
trigger
)
Timer interrupt
I602/I699, I702/I799, 2
points (Timer
resolution=1ms)
High-speed counter
interrupt
I010, I020, I030, I040,
I050, I060, I070, I080, 8
points
Pointer I
For inte
rru
pt
The location point of
interrupt subroutine.
I140(COM1: RS232),
I150(COM2: RS-485),
I160(COM3: RS-485), 3
points
Communication
interrupt
Nest Level Pointer N: used with instruction MC and MCR. MC is master start instruction. When
the MC instruction is executed, the instructions between MC and MCR will be executed normally.
MC-MCR master control instruction is nested level structure and max. 8 levels can be applicable,
which is numbered from N0 to N7.
Pointer P: used with application instructions CJ, CALL, and SRET.
CJ condition jump:
When X0 = ON, program will jump from address 0 to N (designated label P1) and keep on the
execution. Instructions between 0 and N will be ignored.
When X0 = OFF, program will execute from 0 and keep on executing the followings. CJ instruction
won’t be executed at this time.
X2
Y2
X1
P1
CJ
X0
Y1
P**
0
P1 N
CALL subroutine, SRET subroutine END:
When X0 is ON, program will jump to P2 to execute the designated subroutine. When SRET
instruction is executed, it returns to address 24 to go on executing.
2-52