FX2N-32ASI-M AS-interface Master Block
5.9.3
Example Program for Command Buffer
Initial Pulse
M8002
RUN Monitor
M8000
Start
X000
Normal
Start Flag
Operation *1
M4
M2
*0
*1 If operating in off-line phase, this contact is not necessary.
Continued.................
FNC 79
K0
K9
TO
FNC 78
K0
K0
FROM
FNC 40
ZRST
FNC 40
ZRST
FNC 40
ZRST
Allocation of Buffer Memories (BFMs) 5.
Watchdog Time is set to 200 ms
K20
K1
and the watchdog timer is reset.
Reading EC flags in the
K1M0
K1
BFM #0 (bit 0 to bit 3).
P LS
M 4
Initializing result flags.
Y000
Y001
Initializing result data for result
D0
D2
and data words.
Initializing data for the command
D10
D12
word and the data words.
5-19