beautypg.com

2 functions of devices in dvp-plc – Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 59

background image

2 Functions of Devices in DVP-PLC

DVP-PLC Application Manual

2-31

Note: Among the 6 pairs of interruption No. (I001, I010), (I101, I020), (I201, I030), (I301, I040), (I401, I050), (I501, I060), only 1 No.
in the pair is allowed to be used in the program. If you use both No. in the pair and write them into the program, there may be
syntax errors occurring.

EH/EH2/SV series MPU:

N Master control loop

N0 ~ N7, 8 points

Control point of master
control loop

P For CJ, CALL instructions

P0 ~ P255, 256 points

Position pointer of CJ,
CALL

External interruption

I00□(X0), I10□(X1), I20□(X2), I30□(X3), I40□
(X4), I50□(X5), 6 points
(□ = 1, rising-edge trigger

, □ = 0,

falling-edge trigger

)

Timed interruption

I6□□, I7□□, 2 points (□□ = 1 ~ 99, time
base = 1ms)
I8□□, 1 point (□□ = 1 ~ 99, time base =
0.1ms)

High-speed counter
interruption

I010, I020, I030, I040, I050, I060, 6 points

Pulse interruption

I110, I120, I130, I140, 4 points

Communication
interruption

I150, I160, I170, 3 points

Pointer

I Interruption

Frequency
measurement card
triggered interruption

I180, 1 point

Position pointer of
interruption subroutine

Note: Input point X as a high-speed counter cannot be used as an external interruption signal. For example, if C251 occupies X0,
X1, X2 and X3, the external input interruption No. I00□(X0), I10□(X1), I20□(X2), and I30□(X3) cannot be used.

Pointer N:

Used with MC and MCR instructions. MC is the master control start instruction. When MC instruction is

executer, the instructions between MC and MCR will still be executed normally. See Chapter 3 explanations on MC

and MCR instructions for more details.

Pointer P:

Used with API 00 CJ, API 01 CALL and API 02 SRET. See Chapter 6 explanations on CJ, CALL and SRET

instructions for more details.

CJ Conditional Jump:

X2

Y2

X1

P1

CJ

X0

Y1

P**

0

P1 N

When X0 = On, the program will jump from

address 0 to N (designated label P1) and keep

on the execution. The addresses in the middle

will be ignored.

When X0 = Off, the program will execute from

address 0 and keep on executing. At this time,

CJ instruction will not be executed.