D-77
FX Series PLC User's Manual - Data Communication Edition
Computer Link
7 Commands
7.12 GW Command [Offers Global 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
7.12
GW Command [Offers Global Function]
The global function executed in the computer sets a special auxiliary relay to ON or OFF in all PLCs linked to
the computer in the multi-drop link method. For A Series PLCs, however, refer to the respective A Series PLC
manual.
This section explains the control procedure specification method and specification example when the global
function is used.
7.12.1 Contents of control
The global function sets a special auxiliary relay to ON or OFF in all FX Series PLCs linked to the computer.
M8126 is set to ON or OFF in PLCs except the FX
3G
, FX
3GC
, FX
3U
and FX
3UC
Series.
In FX
3G
, FX
3GC
, FX
3U
and FX
3UC
PLCs, M8126 is set to ON or OFF in computer link using ch1, and M8426 is
set to ON or OFF in computer link using ch2.
In A Series PLCs, Xn2 is set to ON or OFF for all PLCs linked to the computer.
• In the control procedure, specify the station number "FFH" so that all stations are handled as targets.
If any value other than "FFH" is specified, a special auxiliary relay is set to ON or OFF only in a station with
the specified station number.
• In this function, PLCs do not give any response to the GW command from the computer.
• When the PLC power is turned OFF or when the PLC is set to STOP mode, the special auxiliary relay
M8126 or M8426 is set to OFF and the processing request in the global function is cleared.
7.12.2 Global function control procedure specification method and specification example
This subsection explains the control procedure specification method and specification example when the
global function is executed from the computer.
1. Specification method
The specification method in the control procedure format 1 is shown below:
Express the station number, PLC number, number of device points and sum check code in hexadecimal
respectively.
2. Specification example
When setting to ON the special auxiliary relay M8126 of M8426 in all FX PLCs (In all of A Series PLCs in
computer link, however, Xn2 is set to ON.)
E
N
Q
G W
Factor
number
(1 character)
Character area A
GW command to execute
the global command
When the data value is "1 (31H)", M8126 or M8426 is set to ON.
When the data value is "0 (30H)", M8126 or M8426 is set to OFF.
Computer side
PLC side
P
LC No.
Sta
tio
n
No.
Me
ssa
ge
wai
t t
im
e
S
um check
code
0
1 7
1
E
N
Q
F F F F G W
This range is regarded as the sum
check target.
46
H
57
H
47
H
30
H
37
H
31
H
05
H
Specify "FFH" for handling all stations as targets.
When handling only one station as a target, specify the station
number (ranging from 00 to 0F) of the target station.
Indicates that the special auxiliary relay M8126 or
M8426 is set to ON in target stations.
31
H
Computer side
PLC side
46
H
46
H
46
H
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: ......