beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 538

background image

9 Application Instructions API 150-199

DVP-PLC Application Manual

9-66

p D20 = 47, M1091 = 0, M1089 = 1.

q D20 = 1, M1091 = 1, M1089 = 0.

X0

MCMPP

D0

D10

D20

K3

1

0 1

1

0

0

0

1

0

0

0

1

1

0

0

0

1

0

0

0

1

1

0

0

1

1

1

1

1

1

1

1

1

D20

2

1

1

1

0

0

0

0

0

0

1

1

1

1

0

1

0

1

0

1

0

1

0

1

1

0

1

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

1

0

1

0

1

0

1

0

1

0

1

0

b47

b0

MCMP

b47

b0

0

0

1

1

1

0

pointer

Remarks:

Flags explanations:

Flags

Function

M1088

Matrix comparison flag. Comparing between equivalent values (M1088 = 1) or different

values (M1088 = 0).

M1089

Matrix search end flag. When the comparison reaches the last bit, M1089 = 1.

M1090

Matrix search start flag. Comparing from bit 0 (M1090 = 1).

M1091

Matrix bit search flag. When the comparison is completed, the comparison will stop

immediately (M1091=1).

M1092

Matrix pointer error flag. When the pointer Pr exceeds its range, M1092 = 1.