D-83
FX Series PLC User's Manual - Data Communication Edition
Computer Link
7 Commands
7.13 On-demand Function
A
Comm
on I
te
ms
B
N:
N N
etwo
rk
C
Paral
le
l Li
nk
D
Com
puter Li
nk
E
In
verter
C
omm
uni
cation
F
N
on-Proto
col
C
ommunicati
on
(R
S/RS
2 Instru
ction
)
G
No
n-
Protoc
ol
Co
mmuni
ca
tion
(FX
2N
-2
32IF)
H
Programm
ing
Comm
uni
cation
I
Re
mo
te
Ma
intenance
Apx.A
D
isco
nti
nued
models
2. Specification example 1
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 "word")
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
1 2 3 4
33
H
35
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.
36
H
37
H
38
H
5 6 7 8
Data is sent in 4-bit units
starting from highest-order bits.
D8127
D8128
100
2
On-demand
command [1]
[2]
M8128
M8129
ON/OFF
OFF
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
K2
D8128
MOV
SET
Y000
SET
Y001
END
The data unit is set to "word" 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: ......