228
model 2000 DeviceNet Module Manual (DN611/DN611A)
Appendix D Definitions of the Function Block for Slave Data Input/Output
D
(2) Program
/*Slot settings calculation*/
/*Step initializing*/
CH
IN
SHL_WORD
LD
N
12
LD
TMP_CH
ST
UNIT
IN
SHL_WORD
LD
N
8
LD
TMP_UNIT
ST
OR_WORD
LD
LD
TMP_CHUNIT
ST
OR_WORD
LD
SLOT
LD
SLOTNO
ST
TMP_CH
TMP_UNIT
TMP_CHUNIT
EQ_INT
LD
LD
SW[0]
32
( )
S3
EQ_INT
LD
LD
SW[0]
33
( )
S2
REQ
(S)
STEP[0]
DEF1
↑
(R)
STEP[1]
(R)
STEP[2]
(R)
STEP[3]
(R)
STEP[4]
(R)
STEP[5]
(R)
STEP[6]
(R)
STEP[7]
(R)
STEP[8]
REQ
STEP[9]
DEF1
↑
(R)
STEP[10]
(R)
STEP[11]
(R)
STEP[12]
(R)
STEP[13]
(R)
STEP[14]
(R)
STEP[15]
(R)
STEP[16]
(R)
DONE1
(R)
(R)
DONE2