6F8C0845
215
D.2 Slave Output (Asynchronous Mode) Function Block
D
(2) Program
/*Slot settings calculation*/
/*Model selection*/
/*Step initializing*/
CH
IN
SHL_WORD
LD
LD
TMP_CH
ST
12
N
TMP_CH
OR_WORD
LD
LD
TMP_CHUNIT
ST
TMP_UNIT
UNIT
IN
SHL_WORD
LD
LD
TMP_UNIT
ST
8
N
TMP_CHUNIT
OR_WORD
LD
LD
SLOTNO
ST
SLOT
( )
SW[0]
EQ_INT
LD
LD
32
BS
EQ_WORD
LD
LD
1
SW[0]
EQ_INT
LD
LD
33
S3
( )
BS_MODE
( )
S2
REQ
(S)
STEP[0]
(R)
STEP[1]
DEF1
EN
ENO
MOVE_WORD
STATUS
〉
SET
16#0
LD
(R)
(R)
STEP[2]
(R)
STEP[3]
(R)
STEP[4]