198
model 2000 DeviceNet Module Manual (DN611/DN611A)
Appendix C Definition of Each Request Function Block
C
/*Request area write: Time setting request*/
S3
( )
DUMMY_W1
S2
MOVE_WORD
ST
DAT_WRT1[0]
24
LD
EN
ENO
MOVE_WORD
ADR_WRT1
〉
SET
1832
LD
ENO
ADR_WRT1
〉
SET
820
LD
EN
MOVE_WORD
MOVE_INT
ST
INTYEAR
TIME.DT.
YEAR
LD
MOVE_INT
ST
INTMONTH
TIME.DT.
MONTH
LD
MOVE_INT
ST
INTDAY
TIME.DT.DAY
LD
MOVE_INT
ST
INTHOUR
TIME.DT.
HOUR
LD
MOVE_INT
ST
INTMIN
LD
MOVE_INT
ST
INTSEC
TIME.DT.SEC
LD
TIME.DT.MIN
8
LD
IN
SHL_WORD
WORDMONTH
LD
N
WORDYEAR
LD
OR_WORD
DAT_WRT1[1]
ST
8
LD
IN
SHL_WORD
WORDHOUR
LD
N
WORDDAY
LD
OR_WORD
DAT_WRT1[2]
ST
8
LD
IN
SHL_WORD
WORDSEC
LD
N
WORDMIN
LD
OR_WORD
DAT_WRT1[3]
ST
MOVE_UNIT
ST
NUM_WRT1
4
LD
STEP[0]
E
MWRITE
SLOTNO
(S)
STEP[1]
T
ADR_WRT1
TADDR
DAT_WRT1
P
NUM_WRT1
N
(R)
STEP[0]
LD
LD
LD
LD