Gw Command [Offers Global Function] - Mitsubishi Electric FX3U-232-BD User Manual

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Computer Link
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
In FX
, FX
, FX
3G
3GC
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:
GW command to execute
the global command
E
N
Q
Computer side
PLC side
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.)
This range is regarded as the sum
check target.
E
N
Q
Computer side
05
H
PLC side
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.
and FX
PLCs, M8126 is set to ON or OFF in computer link using ch1, and M8426 is
3U
3UC
Character area A
Factor
G W
number
(1 character)
F F F F G W
0
1
1 7
46
46
46
46
47
57
30
31
31
37
H
H
H
H
H
H
H
H
H
H
Indicates that the special auxiliary relay M8126 or
M8426 is set to ON in target stations.
, FX
, FX
and FX
3G
3GC
3U
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.
7 Commands
7.12 GW Command [Offers Global Function]
Series.
3UC
D-77
A
B
C
D
E
F
G
H
I
Apx.A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents