User`s manual
FX communication
Commands 8
8-20
3 ) Specification Example 2
To transmit the data stored in data registers D100 and D101 from the programmable
controller (when the station number is 0, and data is specified in byte units)
Program example
Programmable
controller
M8127
Write processing
Computer
Programmable
controller
Set ON if a transmission
error occurs
S
T
X
30H30H
0 0
45H46H
F E
32H31H
3 4 1 2
33H 37H34H
02H
E
T
X
32H39H
9 2
03H
The PC number "FE" is automatically added by the
programmable controller
38H 35H 36H
7 8 5 6
The 2 hexadecimal digits of
each byte are transmitted in
ASCII, starting with the most
significant digit.The lower byte
of each word is transmitted first.
D8127
D8128
100
4
On-demand
command
➀
➁
M8128
M8129
ON/OFF
ON
D100
D101
1234H
5678H
X000
M8129
M8000
M8002
PLS M0
M0 M8127
H1234 D100
FNC 12
MOV
H5678 D101
FNC 12
MOV
RST M8128
RST Y000
RST Y001
K100 D8127
FNC 12
MOV
K4 D8128
FNC 12
MOV
SET Y000
SET Y001
END
Data transmission set to byte units.
Start command signals a pulse.
Transmission data is set.
On-demand error flag is reset
(cannot start if M8128 is ON)
Confirming on-demand error, normal/
abnormal external output is set.
Confirming on-demand error, normal/
abnormal external output is set.
M8127 M8128
M8128
0
33
7
3
40
· · · · · · · · ·
· · · · · · · · ·
· · · · · · ·
· · · · · · · · ·
· · · · · · ·
· · · · · · ·
M8128 OFF : Normally transmitted.
ON : Data is not transmitted due to error.