D-84
FX Series PLC User's Manual - Data Communication Edition
Computer Link
7 Commands
7.13 On-demand Function
3. Specification example 2
When sending the data stored in the data registers D100 and D101 by a trigger from a sequence program
(when the station number is 0 and the data unit to be sent is set to "byte")
Sequence program example
PLC
M8127
Writes data to be
sent and amount of
data to be sent.
It turns ON when an error is
included in the specified
value for sending.
S
T
X
30
H
30
H
0 0
45
H
46
H
F E
32
H
31
H
3 4 1 2
33
H
37
H
34
H
02
H
E
T
X
32
H
39
H
9 2
03
H
The PLC number "FE" is automatically added by the PLC.
38
H
35
H
36
H
7 8 5 6
Data is sent in 4-bit units, in
the order "lowest-order 8-bit
highest-order 8-bit".
D8127
D8128
100
4
On-demand
command
[1]
[2]
M8128
M8129
ON/OFF
ON
D100
D101
1234H
5678H
Computer side
PLC side
X000
M8000
M8002
PLS
M0
M0
M8127
H1234 D100
MOV
H5678 D101
MOV
RST
M8128
RST
Y000
RST
Y001
K100 D8127
MOV
K4
D8128
MOV
SET
Y000
SET
Y001
END
The data unit is set to "byte" value.
The startup command is the pulse operation type.
Data to be sent is set.
The on-demand error flag is reset.
(The on-demand function is disabled while M8128 is
ON.)
The head device number storing the data to be sent
and the amount of data are specified, and the on-
demand function is started up.
On-demand error is checked for, and the check result
is output.
0
33
37
7
3
40
M8128
OFF:
ON:
Data is sent normally.
Data is not sent because an
error occurred.
M8129
........
........
........
........
........
........
M8127 M8128
M8127 M8128
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......