170
model 2000 DeviceNet Module Manual (DN611/DN611A)
Appendix C Definition of Each Request Function Block
C
/*Request area write: Slave device parameter setting request*/
MOVE_WORD
ST
INPUTDAT[0]
16#12
LD
N
MOVE_WORD
ST
INPUTDAT[1]
16#1
MOVE_UINT
ST
SPUINTDAT
LD
LD
TMPDAT1
ADD_UINT
NUM_WRT1
ST
LD
3
LD
N
MUL_UINT
TMPDAT1
ST
LD
16
LD
MOVE_WORD
ST
INPUTDAT[2]
SPWORDDAT
LD
PARA_SLA
VE.DEV[0].
PORT
TMOV
INPUTDAT[3]
ST
LD
TMPDAT1
LD
S3
( )
DUMMY_W1
S2
EN
END
MOVE_WORD
ADR_WRT1
〉
SET
1832
LD
ADR_WRT1
〉
SET
820
LD
STEP[0]
E
MWRITE
SLOTNO
(S)
STEP[1]
T
ADR_WRT1
TADDR
INPUTDAT
P
NUM_WRT1
N
(R)
STEP[0]
LD
LD
LD
LD
EN
END
MOVE_WORD