SH 081375 Enga
SH 081375 Enga
SH 081375 Enga
Training Manual
CC-Link IE Controller Network
(for GX Works2)
SAFETY PRECAUTION
(Always read these instructions before using the products.)
When designing the system, always read the relevant manuals and give sufficient consideration to
safety.
During the exercise, pay full attention to the following points and handle the product correctly.
[EXERCISE PRECAUTIONS]
WARNING
Do not touch the terminals while the power is on to prevent electric shock.
Before opening the safety cover, make sure to turn off the power or ensure the safety.
CAUTION
Follow the instructor's directions during the exercise.
Do not remove the module of the demonstration machine or change wirings without permission.
Doing so may cause failures, malfunctions, personal injuries and/or a fire.
When the demonstration machine (such as X/Y table) emits abnormal odor/sound, press "Power
switch" or "Emergency switch" to turn it off.
This textbook confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this textbook.
(1)
3.11 Additional exercise with cyclic transmission function ······················································· 3-50
3.11.1 Cyclic transmission (Configuration with 3 stations)···················································· 3-50
3.11.2 Cyclic transmission Practice of 5 modules configuration ············································ 3-55
(2)
APPENDIX App.- 1 to App.-64
(3)
INTRODUCTION
This textbook describes the basic usage and the programming of CC-Link IE Controller Network System for
MELSEC-Q Series.
Related Manuals
• QCPU User's Manual (Hardware Design, Maintenance and Inspection) ············· SH-080483ENG
• GX Works2 Version1
Operating Manual (Common) ···································································· SH-080779ENG
• GX Works2 Version1
Operating Manual (Simple Project) ····························································· SH-080780ENG
(4)
Generic terms and abbreviations
(5)
Memo
(6)
CHAPTER 1 OVERVIEW
1.1 CC-Link IE
CC-Link IE is an integrated network for realizing seamless data transmission from the 1
information system to the production site. In addition to the existing control information
transmission, it realizes the coexistence of the instrumental information maintenance,
prevention, and device settings.
Information network
Computer
level
Controller Network
Gigabit Ethernet
Controller
level
Field Network
Device
level
Cable-saving Network
1- 1
1.2 Overview
The CC-Link IE Controller Network system is an improved system that has higher
performances, a higher processing speed, and a larger data capacity than the
MELSECNET/H network system (PLC to PLC network).
Also, the simplicity of use of CC-Link IE Controller Network system has been improved
and it is possible to realize easily the network of FA system with combination with GX
Works2.
High-speed and
large-volume data
communication
POINT
(1) For the PLC for the CC-Link IE Controller Network, select a High Performance
model QCPU or a Universal Model QCPU.
(2) CC-Link IE modules and MELSECNET/H modules cannot co-exist in the same
network (different network numbers must be used).
(3) CC-Link IE Controller Network does not have the same functions as the
remote I/O network of MELSECNET/H.
1- 2
1.3 Features
Station No.1
(Host station)
Station
No.3
High-speed bus
(b) Using link devices of the CC-Link IE Controller Network module allows
periodical exchange of large volume data between stations in the same
network.
• Number of link points per station: Max. 16k points (both of LB/LW)
(c) The number of link points per station can now be set to a maximum of 32k
bytes (16k points).
(d) Up to 960 words can be transmitted with the dedicated instructions (SEND,
RECV, RECVS, READ, SREAD, WRITE, SWRITE) that send and receive
data from other stations on the CC-Link IE Controller Network (same as in
case of MELSECNET/H).
(e) It is possible to communicate with a programmable controller on other station
by the transient transmission function.
1- 3
(g) Increased data volume for cyclic transmission
The network type shared memory (cyclic data) with 256 Kbyte is realized in
the same network.
The same network No. can be used, and systems to handle large volume
data can be easily achieved.
Seamless
In board and equipment
access (Device and I/O control)
1- 4
(j) By using routing function, N:N communication (Transient transmission) can
be performed to stations up to eight networks apart.
The transient transmission with the routing function works not just with
CC-Link IE network system only, but also with system including
MELSECNET/H.
(Relay station 1) (Relay station 2) (Relay station 3)
CPU CPU CPU CPU
1MP1 1NS 2 2MP1 2NS2 3NS3 3NS2 4MP1
Module Module Module Module
Network No.4
Network No.1 Network No.2 Network No.3
(Relay station 4)
CPU CPU CPU CPU CPU
Module 1NS 3 Module 1N S 4 Module 2NS 3 Module 3MP1 Module 4NS2 5M P1
Network No.5
(Relay station 5)
CPU
Module 5NS2 6M P1
Network No.6
(Relay station 6)
CPU
7MP1 6NS2
Module
Network No.7
(Relay station 7)
CPU CPU CPU
Module 9N S 2 Module 8NS 4 Module 8MP1 7NS2
1- 5
(3) A wide variety of communication services/possibilities/options
The transient transmission allows communication with another station using
dedicated instructions or with GX Works2. The group function allows data to be
sent to all stations of the same group number (transient transmission target
stations are specified as a group).
Group No.1
Station No.1 Station No.2 Station No.3
Network No.1
1- 6
(f) Because of the detection of duplicated control station or station number
function, a duplication of the control station or station No. can be detected as
a cause of loopback or disconnection from the network.
(g) The network module can continue transient transmissions even if an error that
stops the CPU module occurred.
(h) Thanks to the external power supply function, the external power can be
directly supplied to the CC-Link IE Controller Network module.
Even if a CPU module power goes down in a network, data link will continue
among normally operating stations
without being disrupted at the power-down station. (Loopback does not occur.).
Data link is also continued between more than one station where CPU
module power has gone down.
Updated part of
Refresh A
refresh A Position data 1 Lower Link refresh
Upper in 32-bit units
Position data 2 Lower
Upper
Updated part of Refresh B
refresh B
Position data 9 Lower
Upper
Position data 10 Lower
Updated part of Upper
Refresh C
refresh C
(b) Using station-based block data assurance, multiple points of cyclic data can
be assured without a program interlock.
CPU module Network module
W LW
Updated part of
Refresh A Station No.1
refresh A
Station No.3
Updated part of
Refresh C
refresh C
Station No.4
1- 7
(6) Improved network configuration with GX Works2
(a) Network parameter settings can be easily set using pulldown menus or dialog
boxes.
(b) The settings of network No., group No., and the operation mode (station
number) are configured only in the software.
(Network parameters)
1- 8
1.3.1 Function list
1- 9
1.4 Abbreviations
(1) Abbreviation
Abbreviation Name
MP Control station
NS Normal station
□MP□
Station Number (1 to 120)
Abbreviation
Network No.(1 to 239)
(Example)
(1) Network No.3, control station, station No. 6 ················· 3MP6
(2) Network No.5, normal station, station No. 3 ················· 5NS3
1 - 10
1.5 System configuration of CC-Link IE Controller Network
This section describes the system that can be configured with the CC-Link IE
Controller Network.
REMARK
The serial No. and function version of the Network module can be confirmed on the
rating plate (situated on the side face of the module).
The transmission in the CC-Link IE Controller Network is performed in the optical loop
system only.
Any station number can be set as a control station. However, the control station
must be only one station in one network
In the system below, the station No. 1 is set as a control station.
Station No.1 (Control station) Station No.2 (Normal station) Station No.120 (Normal station)
1 - 11
1.5.2 Multiple network system
The multiple network system is a system in which multiple networks are connected by
relay stations.
(1) Any network No. can be set from range 1 to 239.
1
(2) It is possible to mount a maximum of 4* network modules to one PLC.
*1: High Performance model QCPU: Max. 2 modules (Max. 4 modules including
MELSECNET/H)
Universal model QCPU
• Q02UCPU: Max. 4 modules (Max. 2 modules including MELSECNET/H)
• Other than Q02U: Max. 2 modules (Max. 4 modules including
MELSECNET/H)
• In case of Q00UJ, Q00U and Q01U it is not possible to mount multiple modules.
(1) Configuration
The following shows an example with 3 networks connected.
Control station Normal station Control station Normal station
1MP1 1NS 2 2MP1 2NS 2
Power QCPU QJ71 Power QCPU QJ71 QJ71 Power QCPU QJ71
GP21(S) GP21(S) GP21(S) GP21(S)
-SX -SX -SX -SX
1NS3 MELSECNET/H
Normal station network No.3
1 - 12
1.6 Applicable systems
2
Applicable CPU module Base unit*
1
No. of modules* Extension base
CPU type CPU Model CPU module version Main base unit
unit
Q00JCPU
Basic model Function version B or 3
Q00CPU Max. 1*
QCPU later
Q01CPU
Q02CPU
Q02HCPU
High Performance First 5 digits of Serial 4
Q06HCPU Max. 2*
model QCPU No. is 09012 or later.
Q12HCPU
Q25HCPU
Q02PHCPU
From the first product
Q06PHCPU 4
Process CPU Max. 2*
Q12PHCPU First 5 digits of Serial
Q25PHCPU No. is 10042 or later.
Q12PRHCPU First 5 digits of Serial 5
Redundant CPU Max. 2*
Q25PRHCPU No. is 10042 or later.
Q00UJCPU
6
Q00UCPU From the first product Max. 1*
Programmable Q01UCPU
controller CPU First 5 digits of Serial 6
Q02UCPU Max. 2*
No. is 09042 or later.
Q03UDCPU
First 5 digits of Serial
Q04UDHCPU
No. is 09042 or later.
Q06UDHCPU
Q10UDHCPU
Q13UDHCPU
Universal model
Q20UDHCPU
QCPU
Q26UDHCPU
Q03UDECPU 6
Max. 4*
Q04UDEHCPU
Q06UDEHCPU From the first product
Q10UDEHCPU
Q13UDEHCPU
Q20UDEHCPU
Q26UDEHCPU
Q50UDEHCPU
Q100UDEHCPU
1 - 13
: Applicable, : N/A
2
Applicable CPU module Base unit*
1
No. of modules* Extension base
CPU type Model name CPU module version Main base unit
unit
Programmable First 5 digits of Serial 3 7
Safety CPU QS001CPU Max. 1* *
controller CPU No. is 10032 or later.
Q06CCPU-V-H01 N/A
First 5 digits of Serial 6
Q06CCPU-V Max. 4*
No. is 10012 or later.
C Controller module
Q06CCPU-V-B N/A
6
Q12DCCPU-V From the first product Max. 4*
: Applicable, : N/A
*1: Limited within the range of I/O points for the CPU module.
*2: Can be installed to any I/O slot of a base unit.
*3: For use with a Basic model QCPU or safety CPU:
Use a CC-Link IE Controller Network module of function version D or later.
*4: For use with a High Performance model QCPU or Process CPU when total number of stations in a network is 65 or more:
Use a CC-Link IE Controller Network module whose serial No. (first five digits) is 09042 or later.
*5: For use with redundant CPUs:
It shows the number of modules that can be mounted to one of the two systems.
Use a CC-Link IE Controller Network modules of function version D or later.
*6: For use with a Universal model QCPU or C Controller module:
Use a CC-Link IE Controller Network module whose serial No. (first five digits) is 09042 or later.
*7: Connection of extension base units is not available with any safety CPU.
REMARK
For details on C Controller modules, refer to the C Controller module User’s manual
(Detailed).
1 - 14
CHAPTER 2 PRACTICAL EXERCISES, PARAMETER TYPES, AND SETTINGS AND
PROCEDURES BEFORE OPERATION
2- 1
2.2 Parameter types
2- 2
(3) Common parameter (Network range assignment)
Set the cyclic transmission ranges of link devices (LB, LW, LX, and LY) that can
be sent by each station in the network. The common parameter settings are
required only for the control station. The common parameters are sent from the
control station to normal stations at startup of the network.
2- 3
(5) Interlink transmission parameters
Set this parameter when multiple networks are connected to a PLC and the link
data is transferred to other networks.
2- 4
(7) Interrupt settings
When receiving data from other stations, interrupt condition check is performed.
When the interrupt condition is met, an interrupt is requested to the CPU from the
network module. Set the interrupt condition to start the interrupt program of own
station's CPU.
2- 5
2.3 Procedures and settings before operation
Pre-operational procedure
Operation
2- 6
CHAPTER 3 EXERCISE 1 (CYCLIC TRANSMISSION)
Blank
QX QY Q64 Q62 QJ71 QX QY Q64 Q62 QJ71
Blank
UDH 42 42P AD DAN GP21 UDH 42 42P AD DAN GP21
CPU -SX CPU -SX
X00 Y40 X/Y80 X/Y90
to to to to
X00 Y40 X/Y80 X/Y90
to to to to
3
X3F Y7F X/Y8F X/Y9F X3F Y7F X/Y8F X/Y9F
IN OUT IN OUT
Optical fiber
cable
3-1
CPU module Output module
blank
UDH 42 42P AD DAN GP21
CPU (64 (64 (16 (16 -SX
points) points) points) points) (32
points)
X00 Y40 X/Y80 X/Y90 X/YA0
to to to to to
X3F Y7F X/Y8F X/Y9F X/YBF
USB cable
Peripheral devices
I/O panel
ON
OFF
3-2
3.2 Name of CC-Link IE Controller Network module (QJ71GP21-SX)
3-3
(1) Indicator LEDs
3-4
3.3 Testing the CC-Link IE Controller Network Module (QJ71GP21-SX)
Before starting up the data link, perform the check of the network module and cables.
Select the type of test in the mode selection in the network parameter.
Start
Mounting modules
Mount the CPU module, power supply module, CC-Link
IE controller network module, etc. to the base unit.
Before power-on
Set the RUN/STOP switch of the CPU module to STOP.
Check if the voltage supplied to the power supply module
is within the specified range.
Power-on
Turn On the external power supply.
Check if the power supply module's POWER LED and the
CC-Link IE Controller Network module's RUN LED are ON.
Hardware test
Check the hardware inside the CC-Link IE Controller
Network module.
Self-loopback test
Check the hardware of the communication circuit by the
CC-Link IE Controller Network module itself.
End
3-5
3.3.1 Hardware test
GX Works2
(2) After setting the following network parameters in GX Works2, write them to the
programmable controller.
(Control station)
(Normal station)
3-6
Start
Test completion
The D LINK LED turns ON.
When completed normally
The MODE LED flashes, and 1, 2, 4 and 8×1 LEDs
turn OFF.
When failed
The MODE LED flashes, and the ERR.LED and any
one of 1, 2, 4 and 8×1 LEDs turn ON.
ON
Flashing
OFF
When failed
Test result?
3-7
REMARK
3-8
3.3.2 Self-loopback test
GX Works2
(2) Connect the IN and OUT of the QJ71GP21-SX network module using optical fiber
cable.
GX Works2
(3) After setting the following network parameters in GX Works2, write them to the
programmable controller.
(Control station)
(Normal station)
3-9
Start
Test completion
The D LINK LED turns ON.
When completed normally
The MODE LED flashes, and 1, 2, 4 and 8×10
LEDs turn OFF.
When failed
The MODE LED flashes, and the ERR.LED and
any one of 1, 2, 4 and 8×10 LEDs turn ON.
ON
Flashing
OFF
When failed
Test result?
3 - 10
REMARK
3 - 11
3.4 Cable connection
Power
GP21 GP21
-SX -SX
IN OUT IN OUT
CC-Link IE Controller
Turn OFF the power. Network module
Module-side
connector
Connect the cable-side connector to the
module-side one, paying attention to the
orientation. Push it until a "click" can be
heard. Cable-side
connector
End
Cable-side
Press the connector hook to disconnect connector
the cable.
Module-side
connector
End Connector hook
3 - 12
3.5 Cabling status check
Circuit test checks the network cable connection status, line status, and each station's
parameter setting status from the control station.
Item Description
Detection of duplicated control Detects duplication of the control station or station No.
station or station No.
Detection of out-of-range stations Detects whether normal stations more than the total number set in the
control station are connected or not.
Detection of reserved stations Detects whether reserved setting stations are actually connected or
not.
Cable disconnection detection Detects cable disconnection.
Cable insertion error detection Detects incorrect cable connection between OUT and IN.
Cable fault detection Detects a cable fault.
Setting Setting
3 - 13
(3) Executing the circuit test
ON
Flashing
OFF
When failed
Test result?
End
3 - 14
POINT
(1) When executing the circuit test, connect each cable properly between OUT
and IN.
Also, do not insert or remove a cable during test execution.
(Doing so will result in error completion.)
(2) The circuit test result can be confirmed with the link special relay (SB0094,
SB0095).
(3) For re-execution of the circuit test after circuit test completion, power OFF the
control station and then ON, or reset the CPU module.
3 - 15
3.5.2 Station-to-station test
Check the condition of the cable connected between two stations (from OUT of the
executing station to IN of the other station.)
The IN and OUT of the network module are connected by an optical fiber cable.
Station-to-station test (executing station) Station-to-station test (target station)
Control station Normal station
Station No.1 Station No.2
GX Works2
Setting Setting
3 - 16
(3) Executing the station-to-station test
Reset with the RUN/STOP/RESET switch.
Perform this operation in order from the target station to the executing station.
Powering OFF and ON or resetting the CPU module During station-to-station test execution, data link stops
starts the test. on the executing and target stations. (Other stations
continue data link.)
ON
After approx. 10 seconds,
is the D LINK LED ON?
Remains OFF
(Completed normally).
Set it to online mode, and turn the power OFF and While the executing station is in online mode, the
ON or reset the CPU module. target station operates in online mode.
End End
ON
Flashing
OFF
3 - 17
POINT
(1) When executing the station-to-station test, connect the cable properly between
OUT and IN.
Also, do not insert or remove a cable during test execution.
(Doing so will result in error completion.)
(2) The station-to-station test result can be checked with the link special relay
(SB0097).
3 - 18
3.6 Writing to the CPU module
3 - 19
3.6.2 Sequence program reading
(1) Click !
(3) Click ! (4) Read the project that has been clicked and
(2) Specify the storage specified.
destination of project!
(4) Click !
3 - 20
3.6.3 Specify connection to the PLC
Specify the connection destination interface of peripheral device and CPU module.
3 - 21
3.6.4 Writing of the sequence program and the CPU parameter
3 - 22
3.7 Setting parameters
(1) Differences of the parameter setting items for each type of station
Necessity of system
Parameter setting items
Control station Normal station
Network setting Network types
Starting I/O No.
Network No.
Total stations
Group No.
Station No.
Mode
Station No. setting method
Network range assignment Monitoring time
LB/LW (1) setting
LB/LW (2) setting
LX/LY (1) setting
LX/LY (2) setting
I/O master station specification
Reserved station specification
Supplementary setting
Refresh parameter
Interrupt setting
Interlink transmission parameter
Routing parameter
: Setting required
: Set it if required
: Setting not required
Station 1 Station 2
Network No.1
1FFF
3 - 23
3.7.1 Set parameters with GX Works2
3 - 24
From the previous page
3 - 25
From the previous page
(7) Set the range of the transfer between the link devices (LB, LW, LX, LY) of the CC-Link IE Controller
Network module and CPU module devices (X, Y, M, L, T, B, C, ST, D, W, R, ZR).
(Common for all stations)
POINT
Setting range can be divided into 256 lines.
The link-side device start number can be shifted.
3 - 26
3.8 Sequence program
3.8.1 Cyclic transmission (Configuration with 2 stations)
(1) Program for station No. 1
When X2 of the control station (Station No. 1) is turned on, Y71 of the control
station (Station No. 1) lights, and Y71 of the normal station (Station No. 2) flashes.
When X3 of the control station (Station No. 1) is turned on, the measurement
value of the timer T0 is displayed on Y40 to Y47 of the control station (Station No.
1), and Y40 to Y47 of the normal station (Station No. 2).
Path Cyclic transmission: 2 modules
Program name 1MP1
3 - 27
(2) Program for station No. 2
When X2 of the control station (Station No. 2) is turned on, Y72 of the control
station (Station No. 2) lights, and Y72 of the normal station (Station No. 1) flashes.
When X3 of the control station (Station No. 2) is turned on, the measurement
value of the timer T0 is displayed on Y48 to Y4F of the control station (Station No.
1), and Y48 to Y4F of the normal station (Station No. 2).
Path Cyclic transmission: 2 modules
Program name 1NS2
3 - 28
POINT
Change of transfer target CPU-side device
When LB/LW transfer data exceeds the B/W capacity (8K points) of the CPU
module, changing the B/W capacity or changing the transfer target CPU-side
device to any other than B/W is needed.
The following is an example of CPU-side device setting for 32K-point LB and
128K-point LW data transfer.
● When using the extended link register (W) as a transfer target of LW (only the
Universal model QCPU other than the Q00UJCPU)
Link-side device CPU-side device CPU-side device setting method
* Register a 128K-point extended link register (W) to the
*1 *2 *3 *4
LW0 to 1FFFF W0 to 1FFFF standard RAM or a memory card (RAM).
• Change the link register (W) points from 8K to 0K.
LB0 to 7FFF B0 to 7FFF • Change the link relay (B) points from 8K to 32K.
*1 The extended link register (W) is a device using the file register area.
*2 The file register capacity differs for each CPU module.
*3 Check the serial No. and software version for applicability.
*4 Processing time differs depending on the storage location.
A large number of processing points will cause a longer sequence scan time.
3 - 29
3.9 Diagnosing CC-Link IE Controller Network from GX Works2 (Online test)
With the network diagnostic function, the line status check and diagnostics can be
performed easily.
For details on operations of each function, see the GX Works2 Operating Manual.
(2) When two or more CC-Link IE Controller Network modules are mounted, the "Select Diagnostics
Destination" dialog box appears. Select an applicable network and click the OK button.
3 - 30
3.9.1 Network information display
The result of checking the line status and parameter setting status is displayed.
(2) Icon
The status of each station and status between stations are displayed.
1)
1)
2)
2)
3)
3)
4)
4)
3 - 31
3) Icon Double-clicking the station icon displays the "System Monitor" window.
Icon
Station status
Module Board
Selected station
3 - 32
(3) Display position of a disconnected station
(a) When normal connection information has been obtained
The disconnected station is displayed in the position where it was connected
when normal.
POINT
(1) After acquisition of the normal connection information, if the network
configuration is changed with a cable or station disconnected, the changed
network configuration cannot be displayed correctly.
Update the normal connection information by the following.
(However, if the normal connection information cannot be obtained due to a
network error, the status when the normal connection information has not been
obtained is displayed.)
• Turn ON Normal connection information refresh instruction (SB000C).
• Power OFF and then ON reset the station connected to GX Works2.
• Take corrective actions to set all stations into normal state.
(2) If a station that is not included in the normal connection information is added, the
station is displayed on the IN side of the GX Works2 connected station.
3 - 33
3.9.2 Select station network device status display
The detailed information of the CC-Link IE Controller Network module and the
connection cable of the selected station are displayed.
Normal operation
LED status
Data linking
Cable disconnection
Communication
status
Communication error
Module error
Error details
etc. Displayed at faulty parts.
button
3 - 34
(2) Error details
When clicking on the "Module Error" button etc., the "Error Details" dialog box is
displayed.
Take corrective actions according to troubleshooting.
3 - 35
3.9.3 Logging
The history for the communication path switching and transient transmission error
can be monitored and the error information can be cleared.
Note that these operations are not available in circuit test mode.
Item Description
Displays the network No., group No., and station No. of the
Display Station
connected station.
Loop Status Displays the status of a loop.
Displays a station where loopback occurs at IN-side and
Switch Transmission Path Loop station
OUT-side at loopback.
Occurrence Date Displays a time when a communication path is switched.
Error Code Displays error codes.
Transient Transmission Target Network Displays network No. of the station where an error was detected.
Errors Target Station No. Displays station No. of the station where an error was detected.
Occurrence Date Displays a time when a transient transmission error is detected.
Saves the description of monitor detail in CSV file.
3 - 36
(3) Clear error information
Click the "Error Clear" tab, check the communication error counter, IN/OUT-side
transmission error counter, loop switching counter, and transient transmission
error, and click the "Clear Error Information" button to clear the error information.
3 - 37
3.9.4 System monitor
The module status of the CC-Link IE Controller Network module can be checked.
Select
3 - 38
(3) Module's Detailed Information dialog box
The module name, start I/O address, mount position, product information, module
access, status of I/O address verify, error code, and the LED information and
switch information of the module can be checked.
Item Description
Module Name Displays the name of a module.
I/O Address Displays the start I/O number of a module.
Mount Position Displays the slot position where a module is mounted.
Displays product information.
Module • The end of the product information indicates function version of
Product Information the module.
• When the end is "B", it indicates the module of function version
B.
Production Number The production number is displayed.
"Possible" is displayed when a watchdog timer error does not
Module Access
Module occur.
Information Status of I/O Address The parameter setting and the verification result of the mounted
Verify module are displayed.
Latest Error Code Displays the latest error code.
The history of error codes is updated by clicking this
button.
Error Information The errors displayed in the "Latest Error Code" are cleared by
clicking this button.
3 - 39
(4) H/W LED information dialog box
Display the H/W Information dialog box by selecting "H/W Information" of the
Module's Detailed Information dialog box. The LED information and switch
information of the module can be checked.
Item Description
Displays the operating status of a module.
RUN 0001: Operating normally
0000: Hardware fault or watchdog timer error
Displays the network type.
PC
0001: Controller network
Displays the operation mode of the CC-Link IE Controller Network module.
ONLINE 0001: Online mode
0000: Other than online mode
Displays the operation mode of the CC-Link IE Controller Network module.
TEST 0001: Test mode
0000: Other than test mode
Displays the operation mode of the CC-Link IE Controller Network module.
OFFLINE 0001: Offline mode
0000: Other than offline mode
Displays the detection status of duplicated control station or station No.
Check the network status in the CC-Link IE Controller Network diagnostics.
M/S. ERR.
0001: Duplicated control station or station No. detected
0000: Undetected
Displays the parameter error detection status.
Check the network status in the CC-Link IE Controller diagnostics.
PARAM.ERR.
0001: Parameter error detected
0000: Undetected
Displays the IN-side error detection of the CC-Link IE Controller Network module.
F LOOP ERR. 0001: IN-side error detected
0000: Undetected
Displays the IN-side error detection of the CC-Link IE Controller Network module.
MANAGER 0001: Control station is operating
0000: Other than control station is operating
3 - 40
Item Description
Displays the IN-side error detection of the CC-Link IE Controller Network module.
SUB MANAGER 0001: Sub-control station is operating
0000: Other than sub-control station is operating
Displays the station type of the CC-Link IE Controller Network module.
NORMAL 0001: Normal station is operating
0000: Other than normal station is operating
Displays the baton pass status of the CC-Link IE Controller Network module.
TOKEN PASS 0001: Baton pass being executed
0000: Baton pass unexecuted
Displays the data link status of the CC-Link IE Controller Network module.
DATA LINK 0001: Data link being executed
0000: Data link not executed
Displays the OUT-side error detection of the CC-Link IE Controller Network module.
Check the network status by CC IE Control diagnostics.
R LOOP ERR.
0001: OUT-side error detected
0000: Undetected
Displays the external power supply status, of the CC-Link IE Controller Network module
with external power supply function.
EXT.POWER
0001: External power supplied
0000: No external power supplied
NETWORK NO. Displays the network No. of the CC-Link IE Controller Network module. (Range: 1 to 239)
GROUP NO. Displays the group No. of the CC-Link IE Controller Network module. (Range: 1 to 32)
STATION NO. Displays the station No. of the CC-Link IE Controller Network module. (Range: 1 to 120)
Displays the operation mode of the CC-Link IE Controller Network module.
0: Online
2: Offline
MODE 5: Station-to-station test
6: Circuit test
7: Self-loopback test
9: Hardware test
Displays the network type of the CC-Link IE Controller Network module.
b15 to b3 b2 b1 b0
(For system) 0 1
CONFIG. Controller network
3 - 41
3.9.5 Remote operation
The operating status of the CPU module that is connected to a network can be
changed.
(1) How to display the Remote Operation dialog box
In the "CC-Link IE Controller Diagnostics" dialog box, click "Remote Operation" to
display the Logging dialog box.
Item Description
Connection Channel List The connection target information is displayed.
Set a target station of remote operation.
• Currently Specified Station: Remote operation is executed to the displayed
"Target PLC".
Specify Execution Target • All Stations: Remote operation is executed to all stations in the network
specified in "Specify Execution Module".
• Specified Group: Remote operation is executed to the specified group No.
in the network specified in "Specify Execution Module".
Operation Select the operating status to be changed.
Operation during RUN Set the operation of the device memory and signal flow during RUN.
3 - 42
3.10 Access directly to link devices of Network module (Direct Access)
Network No.1
CC-Link IE CC-Link IE
Send Controller Controller
request CPU module Network module Network module
Station Station
No.1 No.1
Station Station
No.2 No.2
Send
request
Station Station
No.1 No.1
Station Station
No.2 No.2
Output
instruction
Actual I/O
Cyclic transmission
Link refresh
POINT
(1) When a shorter link refresh time is desired
Remove any infrequently used link devices from the link refresh range, and
directly read or write them using link direct devices.
This reduces the points of the link refresh to the CPU module, resulting in a
shorter link refresh time.
(2) When a shorter transmission delay time is desired
Since the link direct device reads or writes data directly to the link devices of
the CC-Link IE Controller Network module at the time of the instruction
execution, the transmission delay time can be reduced.
Link refresh is performed in "END processing" of the sequence scan of the
CPU module.
3 - 43
(1) How to specify the link direct device
Specify a network No. and a link device of the target CC-Link IE Controller
Network module.
CC-Link IE
CPU module Controller Network
B module LB
Link refresh
3 - 44
3.10.1 Direct access operation
Link refresh
B0
Link scan
Direct access
Link scan
Link refresh
B0
Link scan
Direct access
J1\B0
Link scan
3 - 45
(2) Direct access on the receiving side
(a) When near step 0
Access time between the CPU module and CC-Link IE Controller Network
module is almost the same between link refresh and direct access.
Link refresh
Link scan
B0 B0
Direct access
Link scan
J1\B0 J1\B0
Link refresh
Link scan
B0 B0
Direct access
Link scan
J1\B0
3 - 46
3.10.2 Using direct access in system configuration with 2 stations
Delete all the values of "Refresh Parameter" in the Network Parameter settings.
3 - 47
(2) Program for station No.1
When X2 of the control station (Station No. 1) is turned on, Y71 of the control
station (Station No. 1) lights, and Y71 of the normal station (Station No. 2) flashes.
When X3 of the control station (Station No. 1) is turned on, the measurement
value of the timer T0 is displayed on Y40 to Y47 of the control station (Station No.
1), and Y40 to Y47 of the normal station (Station No. 2).
Path 2 modules configuration
Program name 1MP1
3 - 48
(3) Program for station No. 2
When X2 of the control station (Station No. 2) is turned on, Y72 of the control
station (Station No. 2) lights, and Y72 of the normal station (Station No. 1) flashes.
When X3 of the control station (Station No. 2) is turned on, the measurement
value of the timer T0 is displayed on Y48 to Y4F of the control station (Station No.
1), and Y48 to Y4F of the normal station (Station No. 2).
Path 2 modules configuration
Program name 1NS2
3 - 49
3.11 Additional exercise with cyclic transmission function
Modify the demonstration machine configuration as follows and write the parameters
and the sequence program to each station to check the operation.
In this program, the link error detection program is omitted.
Network No.1
Station No.: 1
Station No.: 2
Station No.: 3
3 - 50
(b) Network range assignment (Control station only)
3 - 51
(2) Sequence program
The programs of each station are shown below.
3 - 52
(b) Program for normal station (Station No. 2)
3 - 53
(c) Program for normal station (Station No. 3)
1) Turn ON X2
The LED corresponding to the operated station flashes.
Station No. 1: Y71 Station No. 2: Y72 Station No. 3: Y73
2) Turn ON X3
Data set on the digital switch X20 to X2F of own station are displayed on the
digital display corresponding to each station.
Station No. 1: Station No. 2: Station No. 3:
Y40 to Y47 Y48 to Y4F Y50 to Y57
3 - 54
3.11.2 Cyclic transmission Practice of 5 modules configuration
Modify the demonstration machine configuration as follows and write the parameters
and sequence program to each station to check the operation.
Network No.1
3 - 55
(1) Set parameters with GX Works2
Double-click [Ethernet/CC IE/MELSECNET] in [Network Parameter] of the Project
View and configure settings as described below.
Station No.: 1
Station No.: 2
Station No.: 3
Station No.4
Station No.5
3 - 56
(b) Network range assignment (Control station only)
3 - 57
(2) Sequence program
The programs of each station are shown below.
3 - 58
* In GX Works2, the ON/OFF status of the master control circuit is displayed
on the title tag of the monitor screen.
3 - 59
(b) Program for normal station (Station No. 2)
3 - 60
* In GX Works2, the ON/OFF status of the master control circuit is displayed
on the title tag of the monitor screen.
3 - 61
(c) Program for normal station (Station No. 3)
3 - 62
* In GX Works2, the ON/OFF status of the master control circuit is displayed
on the title tag of the monitor screen.
3 - 63
(d) Program for normal station (Station No. 4)
3 - 64
* In GX Works2, the ON/OFF status of the master control circuit is displayed
on the title tag of the monitor screen.
3 - 65
(e) Program for normal station (Station No. 5)
3 - 66
* In GX Works2, the ON/OFF status of the master control circuit is displayed
on the title tag of the monitor screen.
1) Turn ON X2
The LED corresponding to the operated station turns ON (the LEDs
corresponding to the other stations flash).
Station No. 1: Y71 Station No. 2: Y72 Station No. 3: Y73
Station No. 4: Y74 Station No. 5: Y75
2) Turn ON X3
The measured value of the timer T0 of own station is displayed on the digital
display corresponding to each station.
Station No. 1: Station No. 2: Station No. 3:
Y40 to Y47 Y48 to Y4F Y50 to Y57
Station No. 4: Station No. 5:
Y58 to Y5F Y60 to Y67
3 - 67
Memo
3 - 68
CHAPTER 4 EXERCISE 2 (TRANSIENT TRANSMISSION)
The system configuration for the exercise is the same as in exercise 1.
4.1 Transient transmission function
The following shows an overview of the available instructions for CC-Link IE controller
network.
Refer to the corresponding section for the format of each instruction and the program
example.
List of link dedicated instructions 4
Link
Application dedicated Description
instructions
READ Reads data from devices of a programmable controller on another station. (In units of words)
Reads data from devices of a programmable controller on another station. (In units of words)
With the SREAD instruction, a device on another station turns ON when data reading is
SREAD
completed. (It can be recognized that data of the other stations has been read by the SREAD
Write/read data to/from devices
instruction.)
on another station (for Q/QnA
WRITE Writes data to devices of a programmable controller on another station. (In units of words)
series)
Writes data to devices of a programmable controller on another station. (In units of words)
With the SWRITE instruction, a device on another station turns ON when data reading is
SWRITE
completed. (It can be recognized that data of the other stations has been read by the
SWRITE instruction.)
Transient request to another Requests remote RUN/STOP to a programmable controller on another station.
REQ
station (for Q/QnA series) Reads clock data from or writes it to a programmable controller on another station.
SEND Sends data to a programmable controller on another station.
Data send/receive (for Q/QnA RECV Reads data received from a programmable controller on another station. (For main program)
series) Reads data received from a programmable controller on another station. (For interrupt
RECVS
program)
Read from/write to other station ZNRD Reads data from devices of a programmable controller on another station. (In units of words)
devices (For A series) ZNWR Writes data to devices of a programmable controller on another station. (In units of words)
Remote RUN/STOP (for Q RRUN Instructs a programmable controller on another station to perform remote RUN.
series) RSTOP Instructs a programmable controller on another station to perform remote STOP.
Write/read clock data on RTMRD Reads clock data from a programmable controller on another station.
another station (for Q series) RTMWR Writes clock data to a programmable controller on another station.
POINT
The CC-Link IE Controller Network module cannot receive data sent with a logical
channel specified. (Logical channel setting is not available.)
4-1
4.1.2 Instruction format
4-2
Control data detailed description
1
Device Item Description Setting side*
b15 to b7 to b0
0 (2) 0 (1)
Completed
When the target station is on another network ·········· Completed when data
reach a relay station on the
same network.
Completed
Execution source Relay station Target station
Completed
Target station
When "0: No arrival confirmation" is specified, even if transmission to the target station is
terminated abnormally in the following cases, it is normal completion on the own station.
• Communication itself was completed normally, although the data sent were erroneous.
• Data could not be stored in the target station because instructions from multiple stations
were sent to the same station. (An error code (E006H or E205H) is detected on the
target station.)
(2) Error completion type (bit 7)
Specify the clock data setup status for error completion.
0: Do not set clock data········ Clock data at the time of error completion is not set in
(S1) + 11 to (S1) + 17.
1: Set clock data ················· Clock data at the time of error completion is set in
(S1) + 17.
The instruction completion status is stored.
(S1) + 1 Completion status 0: Normal System
Other than 0: Error (For error codes, refer to APPENDIX of this textbook)
(To the next page)
*1 The setting side is as shown below.
User: Before execution of the link dedicated instruction, data must be set by the user.
System: The PLC CPU stores the execution result of the link dedicated instruction.
*2 Data is stored only when the bit 7 of the error completion type ((S1)+0) is set to 1.
*3 Logical channel setting is not available for the CC-Link IE Controller Network module.
4-3
Control data detailed description
1
Device Item Description Setting side*
Channel used by Specify the channel used by the own station.
(S1) + 2 User
own station 1 to 8 (Channel)
3
Target station Specify a channel of the target station for storing data. *
(S1) + 3 User
channel 1 to 8 (Channel)
Specify the network No. of the target station.
1 to 239 : Network No.
(S1) + 4 Target network No. User
254 : When 254 has been set in Jn, specify this by "Valid module during other
station access" setting in the parameter settings.
Specify the station No. of the target station.
(1) Station No. specification
When own station is Universal model QCPU: 1 to 120
When own station is other than Universal model QCPUs: 1 to 64
To increase the reliability of data, it is recommended to execute the instruction with
the Execution/Error completion type ((S1)+0) set to "1: With arrival confirmation".
(2) Group specification
81H to A0H: All stations in group No.1 to 32
(Setting is available when the execution type is set to "0: No arrival confirmation" in
(S1) + 5 Target station No. (S1)+0.) User
Group No.1 ...81 H
Group No.2 ...82 H
to
Group No.32...A0 H
4-4
Control data detailed description
1
Device Item Description Setting side*
The year (last two digits) and month are stored in BCD format.
b15 to b8 b7 to b0
Year (last two
Month (01H to 12H) Year (00H to 99H)
(S1) + 12 digits)/month on System
2
error completion*
When the target station is QnACPU, "00H" is stored in the Year field (first two digits of the
year).
Day and hour are stored with a BCD code.
Day/hour on error b15 to b8 b7 to b0
(S1) + 13 2 System
completion* Hour (00H to 23H) Day (01H to 31H)
The year (first two digits) and day of week are stored with a BCD code.
Year (first two
b15 to b8 b7 to b0
(S1) + 15 digits)/day of week System
2 Year (00H to 99H) Day of week (00H to 06H) 00H (Sun.) to 06H (Sat.)
on error completion*
4-5
POINT
(1) To increase the reliability of data, it is recommended to execute the instruction
with the "With arrival confirmation" type.
(2) When "No arrival confirmation" is specified, even if the data sent are
erroneous, it is normal completion on the sending station while communication
itself is completed normally.
Also, even if communication itself is completed normally, when instructions
from multiple stations are sent to the same station, an error "Receive buffer
full" (F222H) occurs on the target station. However, it is normal completion on
the sending station.
(3) When sending data to the same channel of the target station, execute the
SEND instruction after the target station has read out the data with the RECV
instruction.
A SEND instruction execution to the same channel on the target station before
that will cause an error. When an error is detected, send the data again after 1
or 2 seconds.
(4) To specify a target station to send data, use the network number and station
number of the network module or the Ethernet module that receives requests
from the sending station.
* For the example shown below, specify the network number and station
number of the 1st network module.
Only the network module or the Ethernet module that receives requests from
the sending station can be selected for executing the SEND instruction.
* For the example shown below, the SEND instruction cannot be executed
when the network number and station number of the 2nd network module
are specified.
Network No.1 Network No.2
4-6
(2) RECV instruction
The RECV instruction reads data received from a programmable controller on
another station.
(Specified Network No.)
Receive command
JP.RECV Jn (S1) (D1) (D2) JP: Execution at the rise
4-7
Control data detailed description
1
Device Item Description Setting side*
b15 to b8 b7 b6 to b0
0 to 0 (1) 0 to 0
The year (first two digits) and day of week are stored with a BCD code.
Year (first two
(S1) + 15 digits)/day of week on b15 to b8 b7 to b0 System
2 Year (00H to 99H) Day of week (00H to 06H) 00H (Sun.) to 06H (Sat.)
error completion*
4-8
Control data detailed description
1
Device Item Description Setting side*
Network No. of the station, where an error was detected, is stored.
Error-detected
(S1) + 16 2 (However, it is not stored when an error is detected in own station.) System
network No.*
1 to 239: (Network No.)
Station No. of the station, where an error was detected, is stored.
Error-detected station
(S1) + 17 2 (However, it is not stored when an error is detected in own station.) System
No.*
1 to 120 (Station No.)
*1: The setting side is as shown below.
User: Before execution of the link dedicated instruction, data must be set by the user.
System: The CPU stores the execution result of the link dedicated instruction.
*2: Data is stored only when the bit 7 of the error completion type ((S1)+0) is set to 1.
4-9
4.1.3 Confirm the possibility of communication using dedicated instructions
Q61P Q06 Blank QX QY Q64 Q62 QJ71 Q61P Q06 QX QY Q64 Q62 QJ71
Blank
UDH 42 42P AD DAN GP21 UDH 42 42P AD DAN GP21
CPU -SX CPU -SX
X00 Y40 X/Y80X/Y90 X00 Y40 X/Y80 X/Y90
to to to to to to to to
X3F Y7F X/Y8FX/Y9F X3F Y7F X/Y8FX/Y9F
IN OUT IN OUT
Optical fiber
cable
Network No.1
Station No.: 1
Station No.: 2
4 - 10
(b) Network range assignment (Control station only)
4 - 11
(2) Sequence program
The programs of each station are shown below.
4 - 12
* In GX Works2, the ON/OFF status of the master control circuit is displayed on
the title tag of the monitor screen.
4 - 13
(b) Program of normal station (Station No. 2)
Path Transient transmission (SEND/RECV)
Program name 1NS2
4 - 14
* In GX Works2, the ON/OFF status of the master control circuit is displayed on
the title tag of the monitor screen.
(2) Confirm the setting of the send data (Send side 1MP1)
Confirm the content of the send data (D1) on the digital display (Y60 to Y6F)
4 - 15
4.2 Other station access operation
Connect peripheral device to the PLC and access the other station.
When accessing other stations, the same functions as in case of the own station
access (PLC program reading/writing, monitor, device ON/OFF, network diagnostic,
PLC diagnostics) can be used as well.
Q61P Q06 QX QY Q64 Q62 QJ71 Q61P Q06 QX QY Q64 Q62 QJ71
Blank
Blank
UDH 42 42P AD DAN GP21 UDH 42 42P AD DAN GP21
CPU -SX CPU -SX
X00 Y40 X/Y80 X/Y90 X00 Y40 X/Y80 X/Y90
to to to to to to to to
X3F Y7F X/Y8FX/Y9F X3F Y7F X/Y8F X/Y9F
IN OUT IN OUT
Program
change
Peripheral devices
4 - 16
From the previous page
(4) The confirmation message is displayed. Click
Yes .
(4) Click !
(8) Click !
Station No.
4 - 17
Memo
4 - 18
CHAPTER 5 EXERCISE 3 (ROUTING FUNCTION)
(Request source)
5-1
5.2 Demonstration machine system
After mounting the network module on the demonstration machine and connecting an
optical fiber cable, set switches and network parameters as shown below.
(Create a new project after clearing the existing network parameters.)
Station 1
Station 1
Station 2
Station 1
Station 2
PLC A PLC B PLC C
Blank
Blank
UDH UDH UDH
Station 2
Station 1
Station 2
PLC D PLC E
Q06 X Y AD DA Q06 X Y AD DA
Blank
Blank
UDH UDH
5-2
5.3 Routing parameter
The following routing parameters are required when executing the transient
transmission such as reading data from other networks by the READ instruction.
(Request source) (Relay station) (Relay station) (Relay station) (Request destination)
A B C D E
Network Network Network Network
1 No.1 2 1 No.50 2 1 No.100 2 1 No.150 2
5-3
(2) PLC A (Request source) routing parameter
<Routing Information screen>
5-4
5.4 Communication test
Communication test checks if transient transmission data can be properly routed from
the own station to the communication target. Through multiple network system, test of
communication to communication target is executed.
(2) Click [Communication Test] in the [CC-Link IE Controller Network Diagnostics] dialog box.
5-5
(2) [Communication Test] dialog box
Item Description
Set the network No. of the communication target.
Network No.
(Setting range: 1 to 239, Default: 1)
Target Station Set the station No. of the communication target.
Station No. (Setting range for Universal model QCPU: 0 to 120, Default: 1)
(Setting range for other than Universal model QCPU: 0 to 64, Default: 1)
Set the length of the communication data.
Data Length
(Unit: Bytes) (Setting range: 1 to 900, Default: 100)
Communication Communication Set the number of communications.
Data Setting Count (Setting range: 1 to 100, Default: 1)
Communication Set a timeout time of the communication test. (Unit: Seconds)
Timeout (Setting range: 1 to 100, Default: 5)
5-6
(3) Executing the communication test
1: Target Station
Network No.: ···· 150
Station No.: ···· 2
5-7
5.5 Confirm the operation using PLC program
Read the present D0 value of the station No. 2 (E) of the network No. 150 by the READ
instruction of the station No. 1 (A) of the network No. 1. The value is displayed on Y60
to Y6F.
Reading command
GP.READ Un (S1) (S2) (D1) (D2) GP: Execution at the rise
Reading command
GP.READ Un (S1) “(S2)” (D1) (D2) GP:Execution at the rise
5-8
(b) WRITE
(Specified Network No.)
Writing command
JP.WRITE Jn (S1) (S2) (D1) (D2) JP: Execution at the rise
Writing command
GP.WRITE Un (S1) (S2) (D1) (D2) GP: Execution at the rise
Writing command
GP.WRITE Un (S1) (S2) “(D1)” (D2) GP: Execution at the rise
5-9
5.5.2 Parameter settings
5 - 10
(2) Network range assignment (Each control station common)
Module 2
5 - 11
(c) PLC C (Relay station)
Module 1
Module 2
Module 2
5 - 12
(e) PLC E (Request source)
A 1 150 1 2
B 1 150 50 2
1 150 100 2
C
2 1 50 1
D 1 1 100 1
5 - 13
5.5.3 Sequence program
Path Routing
Program name A
Path Routing
Program name E
5 - 14
POINT
(1) When networks are connected in a loop as shown in the figure below, always
set the routing parameters so that the same relay stations are routed for both
the "route from the request source to the request target" and the "route back
from the request target to the request source".
Do not set the parameters so that the route to and from goes around the entire
loop. Since the first relay station in the return path from the request target is
determined by the station relayed in the forward path, data cannot be
transferred to a station in the different path, which results in an error.
Request
source "A" shows a route from the request source to the target.
"B" and "C" show routes from the target to the source.
1 Set parameters properly so that "C" will not occur.
No.1 2 4 No.8
3 3 C
1 2
No.2 No.7
4 1
2 1
B
Request
No.6
No.3 target
1 3
A 5 2
No.4 3 4 No.5
5 - 15
5.6 Multiple network (Interlink transmission)
Station 2
Station 1
Station 2
PLC A PLC B PLC C
Blank
X X X
Blank
Blank
UDH UDH UDH
POINT
Interlink transmission
Link device (LB/LW) data of a network module are transferred to another network
module through a relay station by network-network communication.
Interlink transmission is also executable between MELSECNET/H and CC-Link IE
Field Network.
Network Network
module 1 module 2
LB LB
CPU module
Power supply
Interlink
transfer
module
5 - 16
(1) Set parameters with GX Works2
Double click on [Ethernet/CC IE/MELSECNET] in [Network Parameter] of the
Project View, configure settings as described below.
PLC B
PLC C
5 - 17
(c) Refresh parameter
PLC A
PLC B
Module No.1
PLC B
Module No.2
PLC C
5 - 18
(d) Interlink transmission parameter (PLC B only)
5 - 19
(2) Sequence program
The programs of each station are shown below.
5 - 20
APPENDIX
Appendix 1 Comparison of network module specifications and compatibility
Appendix 1.1 List of the comparison of specifications between CC-Link IE and MELSECNET/H
The following describes the comparison of specifications between the CC-Link IE and
the MELSECNET/H.
The transmission of the CC-Link IE Controller Network is made by the optical loop
system only.
When the coaxial bus system is used in the MELSECNET/H, consider replacing it with
an optical loop system.
The following shows the comparison of optical loop systems in the CC-Link IE
Controller Network and the MELSECNET/H.
List of the comparison of specifications between CC-Link IE and MELSECNET/H
Select mode
CC-Link IE MELSECNET/H
Item specification
Maximum link I/O (LX, LY) 8,192 points
points per Link Relay (LB) 32,768 points 16,384 points
network Link Register (LW) 131,072 points 16,384 points
I/O (LX, LY) 8,192 points
Maximum link 16,384 points {(LY + LB) ÷ 8 + (2 × LW)} ≤ 2000 bytes
Link Relay (LB)
points per Extended Mode: 32768 points However, MELSECNET/H extension mode is
station 16,384 points {(LY + LB) ÷ 8 + (2 × LW)} ≤ 35840 bytes
Link Register (LW)
Extended Mode: 131072 points
Transient transmission capacity Max. 1920 bytes
Communication speed 1Gbps 25Mbps/10Mbps
• When Universal model QCPU is used for control
station:
120 (Control station: 1, Normal station: 119)
Number of stations per network 64 stations (Control station: 1, normal station: 63)
• When other than Universal model QCPUs is used for
control station:
64 (Control station: 1, Normal station: 63)
Optical fiber cable (Multi-mode fiber)
Connection cable Optical fiber cables used for MELSECNET/H cannot be Optical fiber cable
used.
Link scan time The link scan time and transmission delay time differs between CC-Link IE Controller Network and
MELSECNET/H.
Transmission delay time When replacing the system, check the link scan time and transmission delay time of the CC-Link IE
Controller Network.
Overall cable distance 66km 30km
Station-to-station distance 550m 200 to 2 km
Max. number of networks 239
Max. number of groups 32
Maximum number of mountable modules per
Max. 4 modules
CPU
Transmission path Duplex loop
32-bit data assurance Available Available
Station-based block data assurance Available*1 Available
Voltage 20.4V to 31.2VDC
Current 0.28A 0.20A
Terminal screw size M3 screw
Applicable solderless
R1.25-3
terminal
External power Applicable wire size 0.3 to 1.2mm2
supply Tightening torque 0.42 to 0.58Nm
Allowable momentary
1ms
power failure time
Noise immunity
By noise simulator of 500Vp-p noise voltage
1μs noise width and 25 to 60Hz noise frequency
Number of refresh parameter settings per • Universal model QCPU:
module (Exclude SB, SW) 256 per module
64/Module
• High Performance model QCPU:
64 per module
Network connection applicable CPU • Basic model QCPU
• Basic model QCPU
• High Performance model QCPU
• High Performance model QCPU
• Universal model QCPU
• Universal model QCPU
• Process CPU
• Process CPU
• Redundant CPU
• Redundant CPU
• C Controller module
• QJ71GP21-SX: 98(H)×27.4(W)×90(D) [mm] • QJ71LP21-25: 98(H)×27.4(W)×90(D) [mm]
External dimensions
• QJ71GP21S-SX: 98(H)×55.2(W)×90(D) [mm] • QJ71LP21S-25: 98(H)×55.2(W)×90(D) [mm]
• QJ71GP21-SX: 0.18kg • QJ71LP21-25: 0.11kg
Weight
• QJ71GP21S-SX: 0.28kg • QJ71LP21S-25: 0.20kg
*1: For the direct access to link devices, the data are not assured.
Appendix - 1
Appendix 2 Differences between QJ71GP21-SX/QJ71GP21S-SX and
QJ71LP21/QJ71LP21-25/QJ71LP21S-25/QJ71BR11
*1: Users can check the error details in the network diagnostics.
*2: Set in the network parameter.
*3: Use only the QJ71LP21-25 and QJ71LP21S-25. The QJ71LP21, QJ71BR11 are prohibited to use.
Appendix - 2
Appendix 2.2 Precautions for replacing QJ71LP21/QJ71LP21-25/QJ71LP21S-25/QJ71BR11 with
QJ71GP21-SX/QJ71GP21S-SX
The following describes precautions for replacing the MELSECNET/H with the CC-Link
IE Controller Network.
REMARK
Appendix - 3
Appendix 3 Link special relay (SB) list
The link special relay is turned ON/OFF depending on various factors at data link.
Also, the link special relay (SB) can grasp the data link error status by using it in a
sequence program or monitoring it.
The link special relays (SB), which store the link status, are used in the detail
information of GX Works2 network diagnostics.
When multiple network modules are mounted, data in the SB of each network
module will be refreshed to the SB of the following CPU module if a refresh
parameter of each network module is not set. After a refresh parameter is set for any
network module, check the refresh parameter of the all network modules.
Module mount position Module 1 Module 2 Module 3 Module 4
SB0000 to SB0400 to SB0600 to
Device No. SB0200 to 3FF
01FF 05FF 07FF
The link special relay has the range where user can turn ON and OFF (SB0000 to
SB001F), and the range where the system turns ON and OFF (SB0020 to SB01FF).
(When the module mounting position is module 1.)
*1: (Condition) Valid when the baton pass status (own station) (SB0047) is OFF.
When the baton pass status (own station) (SB0047) is turned ON (error), the data prior to error is held.
Appendix - 4
Link special relay (SB) list (Continued)
Availability
No. Name Description
Control Normal
station station
Updates the normal connection information of the own station.
Normal connection OFF : No refresh instruction
SB000C information ON : Refresh instructed (valid at rising)
refresh instruction If executed with the conditions for normal connection information acquisition not
satisfied, the normal connection information is cleared.
Stores the status of communications between a CC-Link IE Controller Network
module and a CPU module.
SB0020 Module status
OFF : Normal
ON : Error
Stores the data reception status of channel 1 of the own station.*1
RECV execution
SB0030 OFF : No data reception
request flag (1)
ON : Data received
Stores the data reception status of channel 2 of the own station.*1
RECV execution
SB0031 OFF : No data reception
request flag (2)
ON : Data received
Stores the data reception status of channel 3 of the own station.*1
RECV execution
SB0032 OFF : No data reception
request flag (3)
ON : Data received
Stores the data reception status of channel 4 of the own station.*1
RECV execution
SB0033 OFF : No data reception
request flag (4)
ON : Data received
Stores the data reception status of channel 5 of the own station.*1
RECV execution
SB0034 OFF : No data reception
request flag (5)
ON : Data received
Stores the data reception status of channel 6 of the own station.*1
RECV execution
SB0035 OFF : No data reception
request flag (6)
ON : Data received
Stores the data reception status of channel 7 of the own station.*1
RECV execution
SB0036 OFF : No data reception
request flag (7)
ON : Data received
Stores the data reception status of channel 8 of the own station.*1
RECV execution
SB0037 OFF : No data reception
request flag (8)
ON : Data received
Network type Stores the network type of own station.
SB0040
(own station) OFF : Controller network
Stores the external power supply status of the CC-Link IE Controller Network
module of the own station.
Power supply status of OFF : External power not supplied (EXT.PW LED is OFF.)
SB0042
host ON : External power supplied (EXT.PW LED is ON.)
This relay is always OFF when the CC-Link IE Controller Network module does not
have the external power supply function.
Stores the mode of own station.
Online switch
SB0043 OFF : Online
(own station)
OFF : Other than online
Stores the network type that is set by parameters of own station.
Station setting
SB0044 OFF : Normal station
(own station)
ON : Control station
Stores the baton pass status (transient transmission availability) of the own station.
OFF : Normal
SB0047 Baton pass status ON : Error
When an error is identified, the cause of the error can be checked in Baton pass
status (own station) (SW0047) and Cause of baton pass interruption (SW0048).
Stores network type (current status) of own station.*1
Control station status OFF : Normal station
SB0048
(own station) ON : Control station (when SB0044 is turned ON)
Sub-control station (when SB0044 is turned OFF)
Stores the data link status of own station.
Data link status of own OFF : Normal
SB0049 station ON : Error
When an error is identified, the cause of the error can be checked in Cause of data
link stop (SW0049).
Stores the continuation error status of the CPU module of the own station.
Own station's CPU
SB004A OFF : Normal
status (1)
ON : Continuation error
*1: (Condition) Valid when Baton pass status (own station) (SB0047) is OFF.
When Baton pass status (own station) (SB0047) is turned ON (error), data prior to error is held.
Appendix - 5
Link special relay (SB) list (Continued)
Availability
No. Name Description Control Normal
station station
Stores the stop error status of the CPU module of the own station.
Own station's CPU
SB004B OFF : Normal
status (2)
ON : Stop error
Turned ON when startup request for cyclic transmission due to Link startup (own
Cyclic transmission
station) (SB0000) is received.*1
SB004C start accept status (own
OFF : Not received (SB0000 is OFF)
station)
ON : Startup received (SB0000 is ON)
Turned ON when Cyclic transmission start accept status (own station) (SB004C) is
Cyclic transmission
turned ON and startup of cyclic transmission is completed.*1
SB004D start completion status
OFF : Startup uncompleted (SB0000 is OFF)
(own station)
ON : Startup completed (SB0000 is ON)
Turned ON when stop request of cyclic transmission due to Link stop (own station)
Cyclic transmission
(SB0001) is received.*1
SB004E stop accept status (own
OFF : Not received (SB0001 is OFF)
station)
ON : Startup completed (SB0001 is ON)
Turned ON when Cyclic transmission stop accept status (own station) (SB004E) is
Cyclic transmission turned ON and cyclic transmission stop is completed.*1
SB004F
stop completion status OFF : Stop uncompleted (SB0001 is OFF)
ON : Stop completed (SB0001 is ON)
Cyclic transmission Turned ON when startup request due to System link startup (SB0002) is received.*1
SB0050 start accept status OFF : Not received (SB0002 is OFF)
(system) ON : Startup received (SB0002 is ON)
Turned ON when Cyclic transmission start accept status (system)(SB0050) is
Cyclic transmission
turned ON and cyclic transmission startup is completed.*1
SB0051 start completion status
OFF : Startup uncompleted (SB0002 is OFF)
(system)
ON : Startup completed (SB0002 is ON)
Turned ON when stop request of cyclic transmission due to System link stop
Cyclic transmission
(SB0003) is received.*1
SB0052 stop accept status
OFF : Not received (SB0003 is OFF)
(system)
ON : Stop received (SB0003 is ON)
Turned ON when Cyclic transmission stop accept status (system)(SB0052) is
Cyclic transmission
turned ON and cyclic transmission stop is completed.*1
SB0053 stop completion status
OFF : Stop uncompleted (SB0003 is OFF)
(system)
ON : Stop completed (SB0003 is ON)
Stores the status of receiving parameters.
The parameter receive status from the CPU module is stored for the control station.
Parameter receive The parameter receive status from the control station is stored for the normal
SB0054
status station.
OFF : Receive completed
ON : Receive uncompleted
Stores the status of received parameter.(Own parameter status is stored for the
Received parameter control station)
SB0055
error OFF : Parameter normal
ON : Parameter error
Stores the transient transmission status.*1
SB0056 Communication status OFF : Transient transmission by control station
ON : Transient transmission by sub-control station
Stores the RUN status of the CPU module of the own station.
Own station's CPU
SB005B OFF : RUN, STEP-RUN
RUN status
ON : The CPU module stop due to STOP, PAUSE, or error
Stores the I/O master station setting status of block 1.*2
OFF : No setting
I/O master station
SB005C ON : Setting exists
(block 1)
When the setting is set, the station No. is stored into I/O master station (block 1)
(SW005C).
Stores the I/O master station setting status of block 2.*2
OFF : No setting
I/O master station
SB005D ON : Setting exists
(block 2)
When the setting is set, the station No. is stored into I/O master station (block 2)
(SW005D).
Stores the constant link scan status.*2
SB0060 Communication mode OFF : Constant link scan is invalid
ON : Constant link scan is valid
Stores the status of cyclic transmission punctuality assurance.*2
Cyclic transmission
SB0061 OFF : Cyclic transmission punctuality assurance is invalid
punctuality assurance
ON : Cyclic transmission punctuality assurance is valid
*1: (Condition) Valid when Baton pass status (own station) (SB0047) is OFF.
When Baton pass status (own station) (SB0047) is turned ON (error), data prior to error is held.
Appendix - 6
Link special relay (SB) list (Continued)
Availability
No. Name Description Control Normal
station station
Stores the transmission path status of the own station.
OFF : Normal
Own station's loop
SB0064 ON : Error
status
When an error is identified, the error details can be checked by Own station's loop
status (SW0064).
Stores the loopback execution status. (Including own station)*1
SB0065 Loopback status OFF : All stations normal
ON : Station where loopback is performed exists
Stores the IN-side link-up status of own station.
Own station's IN-side
SB0066 OFF : Linking up
link-up status
ON : Linking down
Stores the OUT-side link-up status of own station.
Own station's OUT-side
SB0067 OFF : Linking up
link-up status
ON : Linking down
Stores the IN-side link establishing status of own station.
Own station's IN-side
SB0068 OFF : Link establishment completed
link establishing status
ON : Link establishing
Stores the OUT-side link establishing status of own station.
Own station's OUT-side
SB0069 OFF : Link establishment completed
link establishing status
ON : Link establishing
Stores the IN-side cabling status of own station.
Own station's IN-side
SB006A OFF : Normal
cabling status
ON : Inserted incorrectly
Stores the OUT-side cabling status of own station.
Own station's OUT-side
SB006B OFF : Normal
cabling status
ON : Inserted incorrectly
Own station's IN-side Stores whether the error frame is received or not in the IN-side of own station.
SB006C error frame reception OFF : Error frame is not received at present
status ON : Error frame is received at present
Own station's Stores whether the error frame is received or not in the OUT-side of own station.
SB006D OUT-side error frame OFF : Error frame is not received at present
reception status ON : Error frame is received at present
Stores whether the error frame is received or not in the IN-side of the own station
Own station's IN-side from power-on to the present.
SB006E
error frame detection OFF : Error frame not received
ON : Error frame received
Stores whether the error frame is received or not in the OUT-side of the own station
Own station's
from power-on to the present.
SB006F OUT-side error frame
OFF : Error frame not received
detection
ON : Error frame received
Stores the station No. setting status of the own station when using the UINI
instruction for station No. setting.
Station No. setting OFF : Station No. determined
SB0070
status (own station) ON : Station No. not yet determined
A determined station No. of the own station can be confirmed in Station No.
(SW0042).
Stores the path switching detection status.
OFF : Path switching not detected
Path switching
SB008E ON : Path switching detected
detection flag
The stored value is cleared when Clear loop switching counter (SB0009) is turned
ON.
Stores the transient transmission error detection status.
OFF : Error not detected
SB008F Transient error ON : Error detected
When an error is detected, the number of errors can be checked in transient
transmission error (SW006F).
Stores the completion status of hardware test.
OFF : Not executed or being executed
Hardware test
SB0090 ON : Complete
completion status
When completed, the completion status can be checked in Hardware test
normal/error completion status (SB0091).
Stores the normal or error completion status of the hardware test.
Hardware test OFF : Completed normally
SB0091 normal/error completion ON : Failed
status (Condition)
• Valid when Hardware test completion status (SB0090) is ON.
*1: (Condition) Valid when Baton pass status (own station) (SB0047) is OFF.
When Baton pass status (own station) (SB0047) is turned ON (error), data prior to error is held.
*2: (Condition) Valid when Data link status of own station (SB0049) is OFF.
Appendix - 7
Link special relay (SB) list (Continued)
Availability
No. Name Description Control Normal
station station
Stores the completion status of the self-loopback test.
OFF : Not executed or being executed
Self-loopback test
SB0092 ON : Complete
completion status
When completed, the completion status can be checked in Self-loopback test
normal/error completion status (SB0093).
Stores the normal or error completion status of self-loopback test.
Self-loopback test OFF : Completed normally
SB0093 normal/error completion ON : Failed
status (Condition)
• Valid when Self-loopback test completion status (SB0092) is ON.
Stores the completion status of circuit test.
OFF : Not executed or being executed
Line test complete
SB0094 ON : Complete
status
When completed, the completion status can be checked in Circuit test normal/error
completion status (SB0095).
Stores the normal or error completion status of the circuit test.
OFF : Completed normally
Circuit test normal/error
SB0095 ON : Failed
completion status
(Condition)
• Valid when Circuit test completion status (SB0094) is ON.
Station-to-station test Stores the normal or error completion status of the station-to-station test.
SB0097 normal/error completion 0 : Completed normally
status 1 : Failed
Stores request status of circuit test from the control station.
Circuit test request from
SB0098 OFF : Circuit test not received ×
other station
ON : Circuit test received
Station-to-station test Stores request status of station-to-station test from the other station.
SB0099 request from other OFF : Station-to-station test not received
station ON : Station-to-station test received
Stores the baton pass status of each station.*1
OFF : All stations normal
Baton pass status of
SB00A0 ON : Faulty station exists
each station
When any faulty station exists, each station status can be checked in Baton pass
status of each station (SW00A0 to SW00A7).
Stores the cyclic transmission status of each station.*1
OFF : Cyclic transmission of all stations being executed
Cyclic transmission
SB00B0 ON : Station where cyclic transmission is not executed exists
status of each station
When any non-executing station exists, each station status can be checked in
Cyclic transmission status of each station (SW00B0 to SW00B7).
Stores the presence of reserved station.*1
OFF : No reserved station
ON : Reserved station exists
Reserved station
SB00C0 When any reserved station exists, each station status can be checked in Reserved
specification
station specification (SW00C0 to SW00C7).
(Condition)
• Valid when Data link status of own station (SB0049) is OFF.
Stores the parameter communication status of each station.*1
Parameter OFF : Parameter communication is completed or not executed in all stations
SB00D0 communication status ON : Station where parameter communication is in execution exists
of each station Stations that are communicating parameters can be checked in Parameter
communication status of each station (SW00D0 to SW00D7).
Stores the parameter status of each station.*1
OFF : No station detected parameter error
Parameter status of
SB00E0 ON : Some stations detected parameter error
each station
Stations that have parameter errors can be checked in Parameter error status of
each station (SW00E0 to SW00E7).
Stores the RUN status of the CPU module of each station. (Including own station)*1
OFF : All stations are in RUN or STEP-RUN status
CPU RUN status of
SB00F0 ON : Some stations are in STOP or PAUSE status
each station
When some stations are in the STOP or PAUSE status, each station status can be
checked in CPU RUN status of each station (SW00F0 to SW00F7).
*1: (Condition) Valid when Baton pass status (own station) (SB0047) is OFF.
When Baton pass status (own station) (SB0047) is turned ON (error), data prior to error is held.
• The reserved station and the station No. of the largest or later are excluded.
*2: (Condition) Valid when Data link status of own station (SB0049) is OFF.
Appendix - 8
Link special relay (SB) list (Continued)
Availability
No. Name Description Control Normal
station station
Stores the stop error status of the CPU module of each station. (Including own
station)*1
CPU operation status of OFF : All stations normal
SB0100
each station (1) ON : Stop error occurs to some stations
When a stop error has occurred on a station, each station status can be checked in
CPU operation status of each station (1) (SW0100 to SW0107).
Stores the continuation error status of the CPU module of each station. (Including
own station)*1
CPU operation status of OFF : All stations normal
SB0110
each station (2) ON : Continuation error occurs to some stations
When a continuation error has occurred on a station, each station status can be
checked in CPU operation status of each station (2) (SW0110 to SW0117).
Stores whether the error frame is received or not in the IN-side transmission path of
each station.*1
Current IN-side error OFF : All stations receive no error frame
SB0120
frame reception status ON : Some stations receive error frames
When error frame reception is identified, each station status can be checked in
Current IN-side error frame reception status (SW0120 to SW0127).
Stores whether the error frame is received or not in the OUT-side transmission path
Current OUT-side error of each station.*1
SB0130 frame OFF : All stations receive no error frame
reception status ON : Some stations receive error frames
When error frame reception is identified, each station status can be checked in
Current OUT-side error frame reception status (SW0130 to SW0137).
Stores whether the error frame is received or not in the IN-side transmission path of
each station from power-on to the present.*1
IN-side error frame OFF : All stations receive no error frame
SB0140 reception detection ON : Some stations receive error frames
status When error frame reception is identified, each station status can be checked in
Current IN-side error frame reception detection status (SW0140 to SW0147).
The stored value is cleared when Clear IN-side transmission error counter
(SB0007) is turned ON.
Stores whether the error frame is received or not in the OUT-side transmission path
of each station from power-on to the present.*1
OUT-side error frame OFF : All stations receive no error frame
reception detection ON : Some stations receive error frames
SB0150
status When error frame reception is identified, each station status can be checked in
Current OUT-side error frame reception detection status (SW0150 to SW0157).
The stored value is cleared when Clear OUT-side transmission error counter
(SB0008) is turned ON.
Stores the path switching detection status of each station. (Including own station)*1
OFF : Path switching not detected
ON : Path switching detected
Path switching When a path switching has been detected, each station status can be checked in
SB0160 detection flag for each Path switching detection status of each station (SW0160 to SW0167).
station The path switching detection status is cleared when Clear loop switching counter
(SB0009) is turned ON.
The stored value is cleared when Clear loop switching counter (SB0009) is turned
ON in each station and path switching detection status for all stations is cleared.
Stores the transient transmission error detection status of each station. (Including
own station)*1
OFF : Error not detected
ON : Error detected
Transient error of each When an error has been detected, each station status can be checked in Transient
SB0170 error detection status of each station (SW0170 to SW0177).
station
The transient error detection status of own station is cleared when Clear transient
transmission error counter (SB000A) is turned ON.
The stored value is cleared when Clear transient transmission error counter
(SB000A) is turned ON in each station and the transient error detection status for
all stations is cleared.
Stores the external power supply status of the CC-Link IE Controller Network
module on each station. (Including own station)*1
External power supply OFF : No external power supplied to any station
SB0180
information ON : External power supplied to station(s)
When external power is supplied to station(s), each station status can be checked
in Power supply status of each station (SW0180 to SW0187).
Stores the external power supply status of the CC-Link IE Controller Network
module with external power supply function on each station. (Including own
Power status station).*1
consistency check of OFF : External power supplied to all stations (Normal)
SB0190
each station ON : No external power supplied to some station(s) (Error)
When no external power is supplied to some station(s) (error), each station status
can be checked in Power status consistency check of each station (SW0190 to
SW0197).
*1: (Condition) Valid when Baton pass status (own station) (SB0047) is OFF.
When Baton pass status (own station) (SB0047) is turned ON (error), data prior to error is held.
• The reserved station and the station No. of the largest or later are excluded.
Appendix - 9
Appendix 4 Link special register (SW) list
The link special register (SW) stores information about data link in a numerical value.
The faulty part or cause can be checked by using the link special register (SW) in a
sequence program or by monitoring it.
The link special registers (SW), which store the link status, are used in the detail
information of GX Works2 network diagnostics.
When multiple network modules are mounted, data in the SW of each network
module will be refreshed to the SW of the following CPU module if a refresh
parameter of each network module is not set. After a refresh parameter is set for any
network module, check the refresh parameter of the all network modules.
Module mount position Module 1 Module 2 Module 3 Module 4
Device No. SW000 to 1FF SW200 to 3FF SW400 to 5FF SW600 to 7FF
The link special register has the range where user can turn ON and OFF (SW0000
to SW001F), and the range where the system turns ON and OFF (SW0020 to
SW01FF). (When the module mounting position is module 1.)
Availability
No. Name Description
Control Normal
station station
Sets the station which stops/restarts the data link.
00H: Own station
01H: All stations
02H: Specified station
03H: Specified group
SW0000 80H: Own station (forced link startup)
81H: All stations (forced link startup)
82H: Specified station (forced link startup)
83H: Specified group (forced link startup)
The cyclic transmission stop/startup can be performed by System link startup
(SB0002) or System link stop (SB0003).
Sets the station No. to stop or startup cyclic transmission when 02H or 82H is set in
Link stop/startup direction (SW0000).
Link stop/startup 0: Stop or startup not directed
direction 1: Stop or startup directed
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0001 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0002 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW0001
to SW0003 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW0008 SW0004 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
SW0005 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0006 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0007 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0008 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
Sets the group No. to stop or start up cyclic transmission when 03H or 83H is set in
Link stop/startup direction (SW0000).
0: Stop or startup not directed
SW0012 1: Stop or startup directed
Group specification
to b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
for link stop/startup
SW0013 SW0012 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0013 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
Each number in the table represents group No.
Appendix - 10
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores the status of communications between a CC-Link IE Controller Network module
and a CPU module.
SW0020 Module status 0 : Normal
1 or greater : Abnormal
FFH: Module error
Stores a processing result of the ZNRD instruction.
ZNRD processing
0 : Completed normally
result
1 or greater : Failed
SW0030 Stores a processing result of the link dedicated instruction that used channel 1 of the
Send/receive
own station.
instruction (1)
0 : Completed normally
processing result
1 or greater : Failed
Stores a processing result of the ZNWR instruction.
ZNWR processing
0 : Completed normally
result
1 or greater : Failed
SW0031 Stores a processing result of the link dedicated instruction that used channel 2 of the
Send/receive
own station.
instruction (2)
0 : Completed normally
processing result
1 or greater : Failed
Stores a processing result of the link dedicated instruction that used channel 3 of the
Send/receive
own station.
SW0032 instruction (3)
0 : Completed normally
processing result
1 or greater : Failed
Stores a processing result of the link dedicated instruction that used channel 4 of the
Send/receive
own station.
SW0033 instruction (4)
0 : Completed normally
processing result
1 or greater : Failed
Stores a processing result of the link dedicated instruction that used channel 5 of the
Send/receive
own station.
SW0034 instruction (5)
0 : Completed normally
processing result
1 or greater : Failed
Stores a processing result of the link dedicated instruction that used channel 6 of the
Send/receive
own station.
SW0035 instruction (6)
0 : Completed normally
processing result
1 or greater : Failed
Stores a processing result of the link dedicated instruction that used channel 7 of the
Send/receive
own station.
SW0036 instruction (7)
0 : Completed normally
processing result
1 or greater : Failed
Stores a processing result of the link dedicated instruction that used channel 8 of the
Send/receive
own station.
SW0037 instruction (8)
0 : Completed normally
processing result
1 or greater : Failed
Stores the network type of own station.
SW0040 Network No.
Range : 1 to 239
Stores the group No. of own station.
SW0041 Group No. 0 : No group specification
1 to 32 : Group No.
Stores the station No. of own station.
1 to 120 : Own station No. (Station No. setting status (own station) (SB0070) is OFF.)
SW0042 Station No.
255 : Station No. not yet determined (Station No. setting status (own station)
(SB0070) is ON.)
Stores the mode of own station.
0: Online
2: Offline
SW0043 Mode status 5: Station-to-station test
6: Circuit test
7: Self-loopback test
9: Hardware test
Stores the setting status of own station.
b15 to b3 b2 b1 b0
SW0044 0 to 0
SW0044 Station setting
Network type
(01: Controller network)
Station type
(0: Normal station, 1: Control station)
Appendix - 11
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores the hardware status of own station.
b15 to b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0046 0 to 0
Appendix - 12
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores the result of starting cyclic transmission with Link startup (own station)
Data linking start (SB0000).*1
SW004D
status (own station) 0: Normal
1 or later: Error
Stores the result of stopping cyclic transmission with Link stop (own station)
Data linking stop (SB0001).*1
SW004F
status (own station) 0: Normal
1 or later: Error (APPENDIX 7 Error code)
Stores the result of starting cyclic transmission with System link startup (SB0002).*1
Data linking start
SW0051 0: Normal
status (entire system) 1 or later: Error description of own station
Stores the result of stopping cyclic transmission with System link stop (SB0003).*1
Data linking stop
SW0053 0: Normal
status (entire system) 1 or later: Error description of own station
Stores information of parameters.
b15 to b2 b1 b0
0 to 0
Appendix - 13
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores the setting value of the constant link scan which is set by supplementary
setting.*1
SW0063 Communication mode
0 : No setting
1 to 500 : Setting value of constant link scan (Unit: ms)
Stores the transmission path status of the own station.
00H: Normal
12H: IN-side loopback (OUT-side cable disconnection)
13H: IN-side loopback (OUT-side cable insertion error)
14H: IN-side loopback (OUT-side line establishing)
21H: OUT-side loopback (IN-side cable disconnection)
31H: OUT-side loopback (IN-side cable insertion error)
41H: OUT-side loopback (IN-side line establishing)
Own station's loop
SW0064 22H: Disconnecting (IN-side or OUT-side cable disconnection)
status
23H: Disconnecting (IN-side cable disconnection, OUT-side cable insertion error)
24H: Disconnecting (IN-side cable disconnection, OUT-side line establishing)
32H: Disconnecting (IN-side cable insertion error, OUT-side cable disconnection)
33H: Disconnecting (IN-side or OUT-side cable insertion error)
34H: Disconnecting (IN-side cable insertion error, OUT-side line establishing)
42H: Disconnecting (IN-side line establishing, OUT-side cable disconnection)
43H: Disconnecting (IN-side line establishing, OUT-side cable insertion error)
44H: Disconnecting (IN-side or OUT-side line establishing)
Stores the loop status of network.
0: Normal
SW0065 Loopback information
1: Loopback
2: All stations faulty
Stores the rate (maximum value) of receiving error frame at the IN-side of own station.
IN-side line error
(Unit: %)
SW0068 occurrence rate
The accumulation of errors is cleared when Clear IN-side transmission error counter
(Max.)
(SB0007) is turned ON.
Stores the rate (present value) of receiving error frame at the IN-side of own station.
IN-side line error
(Unit: %)
SW0069 occurrence rate
The accumulation of errors is cleared when Clear IN-side transmission error counter
(present.)
(SB0007) is turned ON.
Stores the rate (maximum value) of receiving error frame at the OUT-side of own
OUT-side line error
station. (Unit: %)
SW006A occurrence rate
The accumulation of errors is cleared when Clear OUT-side transmission error counter
(Max.)
(SB0008) is turned ON.
Stores the rate (present value) of receiving error frame at the IN-side of own station.
OUT-side line error
(Unit: %)
SW006B occurrence rate
The accumulation of errors is cleared when Clear OUT-side transmission error counter
(present.)
(SB0008) is turned ON.
Number of loop Stores the number (accumulation) of switching communication paths.
SW006E
switches When Clear loop switching counter (SB0009) turns ON, the number is cleared.
Stores the number (accumulation) of transient transmission errors.
Transient
SW006F The number of errors is cleared when Clear transient transmission error counter
transmission error
(SB000A) is turned ON.
Stores the station No. of the station where a loopback is executed at IN-side.*1
IN-side loopback
SW0070 0 : No station executes loopback
station No.
1 to 120 : Station No.
Stores the factor of IN-side loopback.
00H: No station executes loopback
IN-side loopback
SW0071 02H: OUT-side cable disconnection
factor
03H: OUT-side cable insertion error
04H: OUT-side line establishing
Stores the station No. of the station where the OUT-side cable is incorrectly inserted.*1
The station No. to be stored is a station No. of the target station where a cable is
connected.
Station No.1 Station No.2 Station No.3 Station No.4
IN IN IN IN
Appendix - 14
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores the station No. of the station where a loopback is executed at OUT-side.*1
OUT-side loopback
SW0080 0 : No station executes loopback
station No.
1 to 120 : Station No.
Stores the factor of OUT-side loopback.*1
00H: No station executes loopback
OUT-side loopback
SW0081 02H: IN-side cable disconnection
factor
03H: IN-side cable insertion error
04H: IN-side line establishing
Stores the station No. of the station where the IN-side cable is incorrectly inserted.
The station No. to be stored is a station No. of the target station where a cable is
connected.
Station No.1 Station No.2 Station No.3 Station No.4
IN IN IN IN
IN-side
OU T OUT OUT OUT
SW0082 mis-cablingstation No.
Appendix - 15
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores the cyclic transmission status of each station.*1
0: Cyclic transmission normally operating station
1: Cyclic transmission faulty station
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW00B0 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW00B1 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW00B2 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW00B3 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
SW00B4 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW00B0 Cyclic transmission
SW00B5 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
to status of each station
SW00B7 SW00B6 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW00B7 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
If a CPU module installed together with the CC-Link IE Controller Network module with
external power supply function is turned OFF, detection of a data link error may take
more time than usual.
For immediate detection of a data link error, program an interlock using the link relay
(LB) in each station's send range.
(Condition)
• The reserved station and the station No. of than the largest or later are excluded.
Stores the setting status of reserved station.
0: Other than reserved station
1: Reserved station
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW00C0 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW00C1 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW00C2 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW00C0 SW00C3 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
Reserved station
to
specification SW00C4 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW00C7
SW00C5 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW00C6 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW00C7 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
(Condition)
• Valid when Data link status of own station (SB0049) is OFF.
• The reserved station and the station No. of than the largest or later are excluded.
Stores the parameter communication status of each station.*1
0: Parameter communication completed or not executed
1: Parameter communicating
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW00D0 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW00D1 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW00D2 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
Appendix - 16
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores the parameter status of each station.*1
0: Parameter normal
1: Parameter error
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW00E0 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW00E1 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW00E2 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW00E0
Parameter error SW00E3 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
to
status of each station SW00E4 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW00E7
SW00E5 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW00E6 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW00E7 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
(Condition)
• The reserved station and the station No. of than the largest or later are excluded.
Stores the RUN status of the CPU module of each station. (Including own station)*1
0: RUN, STEP-RUN
1: STOP, PAUSE, Stop error
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW00F0 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW00F1 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW00F2 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW00F0 SW00F3 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
CPU RUN status of
to SW00F4 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
each station
SW00F7 SW00F5 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW00F6 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW00F7 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
(Condition)
• Valid only for the normally operating station at Baton pass status of each station
(SW00A0 to SW00A7)
• The reserved station and the station No. of than the largest or later are excluded.
Stores the stop error status of the CPU module of each station. (Including own station) *1
0: Normal
1: Stop error
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0100 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0101 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW0102 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW0100 SW0103 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
CPU operation status
to SW0104 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
of each station (1)
SW0107 SW0105 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0106 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0107 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
(Condition)
• Valid only for the normally operating station at Baton pass status of each station
(SW00A0 to SW00A7)
• The reserved station and the station No. of than the largest or later are excluded.
*1: (Condition) Valid when Baton pass status (own station) (SB0047) is OFF.
When Baton pass status (own station) (SB0047) is turned ON (error), data prior to error is held.
Appendix - 17
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores the continuation error status of the CPU module of each station. (Including own
station) *1
0: Normal
1: Continuation error
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0110 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0111 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW0112 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW0110 SW0113 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
CPU operation status
to
of each station (2) SW0114 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0117
SW0115 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0116 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0117 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
(Condition)
• Valid only for the normally operating station at Baton pass status of each station
(SW00A0 to SW00A7)
• The reserved station and the station No. of than the largest or later are excluded.
Stores whether the error frame is received or not in the IN-side transmission path of
each station.*1
0: Error frame is not received at present
1: Error frame is received at present
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0120 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0121 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
Appendix - 18
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores whether the error frame is received or not in the IN-side transmission path of
each station from power-on to the present.*1
The stored value is cleared when Clear IN-side transmission error counter (SB0007) is
turned ON.
0: Error frame not received
1: Error frame received
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0140 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0141 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
IN-side error frame
SW0140 SW0142 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
reception detection
to SW0143 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
status
SW0147
SW0144 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0145 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0146 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0147 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
(Condition)
• Valid only for the normally operating station at Baton pass status of each station
(SW00A0 to SW00A7)
Stores whether the error frame is received or not in the OUT-side transmission path of
each station from power-on to the present.
The stored value is cleared when Clear OUT-side transmission error counter (SB0008)
is turned ON.
0: Error frame not received
1: Error frame received
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0150 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0151 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
OUT-side error frame
SW0150 SW0152 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
reception detection
to
status SW0153 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
SW0157
SW0154 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0155 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0156 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0157 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
(Condition)
• Valid only for the normally operating station at Baton pass status of each station
(SW00A0 to SW00A7)
Stores whether the path switching is detected or not in each station from power-on to
the present.
The path switching detection status is cleared when Clear loop switching counter
(SB0009) is turned ON.
Turn ON Clear loop switching counter (SB0009) when clearing the path switching
detection status of other station.
0: Path switching not detected
1: Path switching detected
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0160 Transient error SW0160 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
to detection status of SW0161 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW0167 each station
SW0162 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW0163 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
SW0164 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0165 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0166 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0167 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
*1: (Condition) Valid when Baton pass status (own station) (SB0047) is OFF.
When Baton pass status (own station) (SB0047) is turned ON (error), data prior to error is held.
Appendix - 19
Link special registers (SW) list (Continued)
Availability
No. Name Description
Control Normal
station station
Stores whether the transient transmission error is detected or not in each station from
power-on to the present.
The transient error detection status of own station is cleared when Clear transient
transmission error counter (SB000A) is turned ON.
Turn ON Clear transient transmission error counter (SB000A) at other station side
when clearing the transient error detection status of other station.
0: Error not detected
1: Error detected
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0170 Transient error SW0170 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
to detection status of SW0171 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW0177 each station
SW0172 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW0173 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
SW0174 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0175 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0176 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0177 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
Stores the external power supply status of the CC-Link IE Controller Network module
on each station. (Including own station)
0: No external power supplied
1: External power supplied
This register is always OFF when the CC-Link IE Controller Network module does
nothave the external power supply function.
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0180 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0181 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW0180
Power supply status SW0182 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
to
of each station
SW0187 SW0183 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
SW0184 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0185 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0186 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0187 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
(Condition)
• The reserved station and the station No. of than the largest or later are excluded.
Stores the external power supply status of the CC-Link IE Controller Network module
with external power supply function on each station. (Including own station)
0: External power supplied (Normal)
1: No external power supplied (Error)
This register is always OFF when the CC-Link IE Controller Network module does not
have the external power supply function.
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW0190 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Power status SW0191 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW0190
consistency check of SW0192 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
to each station
SW0197 SW0193 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
SW0194 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0195 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0196 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0197 - - - - - - - - 120 119 118 117 116 115 114 113
Each number in the table represents station No.
(Condition)
• The reserved station and the station No. of than the largest or later are excluded.
*1: (Condition) Valid when Baton pass status (own station) (SB0047) is OFF.
When Baton pass status (own station) (SB0047) is turned ON (error), data prior to error is held.
Appendix - 20
Appendix 5 Error codes
When the data link is disabled during cyclic transmission, or normal communication
is not performed during transient transmission by the sequence program instructions
or from GX Works2, the error code (hexadecimal) will be stored in the link special
register, or displayed at the GX Works2 system monitor.
Appendix - 21
Error code list (Continued)
Error
Description Error detail Corrective action
No.
• Cancel the reserved station setting in "Network
The own station was set as a reserved Range Assignment" of the control station.
E102H Reserved own station error
station. • Change the station No. to the one that is not
specified as a reserved station.
• Increase the number of total stations in the
The own station No. set is outside the network setting of the control station.
E103H Invalid own station No.
range of total stations. • Change the station number to the one that is
within the number of total stations.
• Write correct network parameters to the
E104H programmable controller.
Some of the network parameters are
to Parameter error • If the error persists even after taking the above
incorrect.
E10AH actions, please consult your local Mitsubishi
representative.
E10BH • Write correct network parameters to the
programmable controller.
Some of the network parameters are
Parameter error • If the error persists even after taking the above
E10CH incorrect.
actions, please consult your local Mitsubishi
representative.
• Please consult your local Mitsubishi
E10DH Network module error The hardware has failed.
representative.
• Write correct network parameters to the
E110H programmable controller.
Some of the network parameters are
to Parameter error • If the error persists even after taking the above
incorrect.
E117H actions, please consult your local Mitsubishi
representative.
• Setting the station number with the UINI
instruction is not allowed for control stations.
UINI execution at control The UINI instruction was executed at a
E120H Set it with a network parameter.
station control station.
• Change the station type setting to Normal
station, and then retry it.
With "Specify Station No. by Parameter"
Own station No. error (UINI • Select "Specify Station No. by Program." in the
E121H selected in the network parameters, the
instruction) network parameters, and execute it again.
UINI instruction was executed.
• Change the own station No. setting in the
Duplicated station No. (UINI Duplicated station No. was set for the own control data, and then retry the instruction.
E122H
instruction) station using the UINI instruction. • Change the other station's No. which is
duplicated.
• Station No. setting with the UINI instruction is
After setting a station No. with the UINI
Station No. already set (UINI limited to one time only.
E123H instruction, the instruction was executed
instruction) Reset the CPU module, and then retry the
again.
instruction.
Link startup was attempted from a station • Execute link startup from the station where
E152H Link startup condition error different from the one where cyclic cyclic transmission has stopped.
transmission has stopped. • Execute the forced link startup.
Invalid link The link stop/startup direction content • Check the setting and stop or restart cyclic
E160H
startup/stop direction (SW0000) was not set properly. transmission.
Link startup/stop reexecution
E162H error (instructed by other
station)
Link startup/stop reexecution Reexecution was attempted during
• Reexecute it after completing the processing
E163H error (instructed by own processing for cyclic transmission
for cyclic transmission stop/restart.
station) stop/restart.
Link startup/stop reexecution
E164H error (instructed by entire
system)
The link stop/startup direction contents
Link startup/stop station
E165H (SW0001 to SW0008) were not set
specification error • Check the setting and stop or restart cyclic
properly.
transmission.
Link startup/stop group The link stop/startup group specification
E166H
specification error (SW0012 to SW0013) is not correct.
Appendix - 22
Error code list (Continued)
Error
Description Error detail Corrective action
No.
E170H
• Please consult your local Mitsubishi
to Network module error The hardware has failed.
representative.
E172H
Communication test retry During execution of the communication • Reexecute it after completing the currently
E173H
error test, the test was retried. executing communication test.
Communication test
The maximum number of transmission
E174H transmission
completion signal retries was reached.
completion signal retried out
• Check the network status in the CC IE Control
Communication test No response has been returned within the
E175H diagnostics, and retry the operation.
monitoring time timeout communication monitoring time.
• Check if the routing parameters are set
Communication test
correctly.
transmission Timeout has occurred without transmission
E176H
completion wait time timed completion.
out
E177H
• Please consult your local Mitsubishi
to Network module error The hardware has failed.
representative.
E179H
Duplicated communication Duplicated communication test data • Check the network status in the CC IE Control
E17AH
test data reception reception. diagnostics, and retry the operation.
• Please consult your local Mitsubishi
E17BH Network module error The hardware has failed.
representative.
Communication test target The own station or a relay station was • Confirm a correct destination and retry the
E17CH
station specification error selected as a destination. operation.
• Please consult your local Mitsubishi
E200H Network module error The hardware has failed.
representative.
Duplicated transient data The same transient data have been • Check the network status in the CC IE Control
E201H
reception error received two times or more. diagnostics, and retry the operation.
• Please consult your local Mitsubishi
E202H Network module error The hardware has failed.
representative.
• Temporarily stop the transient transmission,
and then retry it.
• Reduce the operation frequency of transient
transmission, and then retry the operation.
E203H Send buffer full The send buffer is full. • Using the COM instruction, increase the
processing frequency of transient transmission.
• If the error persists even after taking the above
actions, please consult your local Mitsubishi
representative.
Transient data resend The specified number of resends has been • Check the network status in the CC IE Control
E204H
count exceeded reached. diagnostics, and retry the operation.
• Temporarily stop the transient transmission,
and then retry it.
• Reduce the operation frequency of transient
transmission, and then retry the operation.
E205H Receive buffer full The receive buffer is full. • Using the COM instruction, increase the
processing frequency of transient transmission.
• If the error persists even after taking the above
actions, please consult your local Mitsubishi
representative.
E206H • Please consult your local Mitsubishi
Network module error The hardware has failed.
E207H representative.
• Confirm the target station No. on the own
station, and retry the operation.
Transient data target station
E208H The target station No. setting is not correct. • If the error persists even after taking the above
No. error
actions, please consult your local Mitsubishi
representative.
E209H • Please consult your local Mitsubishi
Network module error The hardware has failed.
E20AH representative.
Appendix - 23
Error code list (Continued)
Error
Description Error detail Corrective action
No.
• Modify the system configuration so that the
Transient data relay count The number of relay stations exceeded the number of relay stations is seven or less.
E20BH
error upper limit. • Check if the routing parameters are set
correctly.
E20CH
• Please consult your local Mitsubishi
to Network module error The hardware has failed.
representative.
E20EH
• Confirm the target station No. on the own
station, and retry the operation.
Transient data target station
E20FH The target station No. is zero (0). • If the error persists even after taking the above
No. error
actions, please consult your local Mitsubishi
representative.
• Please consult your local Mitsubishi
E210H Network module error The hardware has failed.
representative.
Invalid assign control station The specified "assign control station" does • Confirm the target station No. on the own
E211H
No. in transient data not exist. station, and retry the operation.
• If the error persists even after taking the above
Invalid present control station The specified "present control station" does
E212H actions, please consult your local Mitsubishi
No. in transient data not exist.
representative.
• Check the network status in the CC IE Control
Transient data transmission diagnostics, and retry the operation.
Timeout has occurred without transmission
E213H completion wait time timed • If the error persists even after taking the above
completion.
out actions, please consult your local Mitsubishi
representative.
E214H
• Please consult your local Mitsubishi
to Network module error The hardware has failed.
representative.
E21AH
• Specify a station No. in the UINI instruction,
Transient transmission was attempted and then retry it.
Transient transmission with
E21BH without specifying a station No. of the own • If the error persists even after taking the above
own station No. unspecified
station. actions, please consult your local Mitsubishi
representative.
E21CH
• Please consult your local Mitsubishi
to Network module error The hardware has failed.
representative.
E21FH
E240H
Target network module error The hardware of the target network module
to
(Dedicated instruction) has failed.
E245H • Please consult your local Mitsubishi
E246H representative.
to Network module error The hardware has failed.
E24EH
• Confirm the target station No. in the control
data, and retry the operation.
Target station No. error
E24FH The target station No. setting is not correct. • If the error persists even after taking the above
(Dedicated instruction)
actions, please consult your local Mitsubishi
representative.
• Please consult your local Mitsubishi
E250H Network module error The hardware has failed.
representative.
Transient data for the same dedicated
Duplicated dedicated • Check the network status in the CC IE Control
E251H instruction have been received two times or
instruction reception error diagnostics, and retry the operation.
more.
E252H • Please consult your local Mitsubishi
Network module error The hardware has failed.
E253H representative.
• Confirm the target station CPU type in the
control data, and retry the operation.
Target station CPU type error The target station CPU type setting is not
E254H • If the error persists even after taking the above
(Dedicated instruction) correct.
actions, please consult your local Mitsubishi
representative.
Appendix - 24
Error code list (Continued)
Error
Description Error detail Corrective action
No.
• Confirm the data length in the control data, and
retry the operation.
Data size error (Dedicated
E255H The data length setting is not correct. • If the error persists even after taking the above
instruction)
actions, please consult your local Mitsubishi
representative.
• Confirm the arrival monitoring time in the
Arrival monitoring time control data, and retry the operation.
The arrival monitoring time was not
E256H specification error (Dedicated • If the error persists even after taking the above
specified correctly.
instruction) actions, please consult your local Mitsubishi
representative.
• Confirm the number of resends in the control
data, and retry the operation.
Resend count specification The number of resends was not set
E257H • If the error persists even after taking the above
error (Dedicated instruction) correctly.
actions, please consult your local Mitsubishi
representative.
• Confirm the target network No. in the control
station, and retry the operation.
Target network No. error The target network No. was not set
E258H • If the error persists even after taking the above
(Dedicated instruction) correctly.
actions, please consult your local Mitsubishi
representative.
• Please consult your local Mitsubishi
E259H Network module error The hardware has failed.
representative.
• Check the Modification specification in the
control data, and then retry the instruction.
Modification specification Modification specification is not set
E25AH • If the error persists even after taking the above
error (UINI instruction) correctly for the UINI instruction.
actions, please consult your local Mitsubishi
representative.
• Check the own station No. set in the control
data, and then retry the instruction.
Own station No. error (UINI Incorrect own station No. is set for the UINI
E25BH • If the error persists even after taking the above
instruction) instruction.
actions, please consult your local Mitsubishi
representative.
E25CH
• Please consult your local Mitsubishi
to Network module error The hardware has failed.
representative.
E261H
• Change the execution type in the control data
to "No arrival confirmation", and retry the
In all stations or group designation, the
operation.
dedicated instruction was executed "with
Arrival confirmation error • For the REQ instruction, check the request type
E262H arrival confirmation" set for the execution
(Dedicated instruction) in the request data, and retry it.
type. For the REQ instruction, the set
• If the error persists even after taking the above
request type is not correct.
actions, please consult your local Mitsubishi
representative.
• Please consult your local Mitsubishi
E263H Network module error The hardware has failed.
representative.
• Check the network status in the CC IE Control
Transmission completion diagnostics.
Timeout has occurred without transmission
E264H wait time timeout error • If the error persists even after taking the above
completion.
(Dedicated instruction) actions, please consult your local Mitsubishi
representative.
• Check the network status in the CC IE Control
diagnostics.
Response timer timeout error Timeout has occurred without response
E265H • If the error persists even after taking the above
(Dedicated instruction) reception.
actions, please consult your local Mitsubishi
representative.
Unsupported request • Change the target station at the station where
The SEND instruction was received from
E266H reception error (Dedicated the SEND instruction was executed.
any other station.
instruction) • If the error persists even after taking the above
Target station No. error The own station No. was set as the target actions, please consult your local Mitsubishi
E267H
(Dedicated instruction) station No. representative.
• Confirm the execution/abnormal completion
Execution/abnormal
type in the control data, and retry the operation.
completion The execution/abnormal completion type
E268H • If the error persists even after taking the above
type error (Dedicated was not set correctly.
actions, please consult your local Mitsubishi
instruction)
representative.
Appendix - 25
Error code list (Continued)
Error
Description Error detail Corrective action
No.
• Check the request or sub-request type in the
request data, and retry the instruction.
Request or sub-request type The request or sub-request type of the
E269H • If the error persists even after taking the above
error (REQ instruction) REQ instruction is not set correctly.
actions, please consult your local Mitsubishi
representative.
• Confirm the target station No. in the control
When there was no control station on the
No assign/present control data, and retry the operation.
network, the dedicated instruction was
E26AH station (Dedicated • If the error persists even after taking the above
executed with an "assign or present control
instruction) actions, please consult your local Mitsubishi
station" specified.
representative.
• Change the circuit test mode of the control
station to online mode, and retry the operation.
Dedicated instruction The dedicated instruction was executed in
E26BH • If the error persists even after taking the above
execution mode error circuit test mode.
actions, please consult your local Mitsubishi
representative.
• Wait for a little while, and retry it.
The channel specified for "Channel used by
Channel busy (Dedicated • Change the setting of "Channel used by the
E26CH the own station" or "Target station channel"
instruction) own station" or "Target station channel" in the
is being used for another instruction.
control data.
• Check and correct the Channel used by the
own station in the control data, and retry the
instruction.
Interrupt setting channel The channel specified for "Channel used by
• Check and correct the channel used for the
E26DH duplication (Dedicated the own station" is duplicated with the
interrupt setting, and retry the instruction.
instruction) channel used for the interrupt setting.
• If the error persists even after taking the above
actions, please consult your local Mitsubishi
representative.
E26EH • Check the setting data of the ZNRD/ZNWR
The device range specified in the setting instruction, and then retry the instruction.
Device specification error
data for the ZNRD/ZNWR instruction is not • If the error persists even after taking the above
E26FH (ZNRD/ZNWR instruction)
correct. actions, please consult your local Mitsubishi
representative.
• Please consult your local Mitsubishi
E270H Network module error The hardware has failed.
representative.
• Check and correct the Operation mode setting
in the setting data, and then retry the
Operation mode error The Operation mode for the RSTOP instruction.
E271H
(RSTOP instruction) instruction is not set correctly. • If the error persists even after taking the above
actions, please consult your local Mitsubishi
representative.
• Check and correct the Clear mode setting in
the setting data, and then retry the instruction.
Clear mode error (RRUN The Clear mode for the RRUN instruction is
E272H • If the error persists even after taking the above
instruction) not set correctly.
actions, please consult your local Mitsubishi
representative.
• Check the Mode setting in the setting data, and
then retry the instruction.
Mode error (RRUN The Mode for the RRUN instruction is not
E273H • If the error persists even after taking the above
instruction) set correctly.
actions, please consult your local Mitsubishi
representative.
Appendix - 26
Error code list (Continued)
Error
Description Error detail Corrective action
No.
E274H
E280H
to
E288H
E300H
to
E302H
E310H
E311H
E320H
to
E325H
E330H
to • Please consult your local Mitsubishi
Network module error The hardware has failed.
E333H representative.
E340H
to
E343H
E350H
E361H
to
E36DH
E380H
to
E383H
E390H
to
E397H
E3A0H
E3A1H
• Please consult your local Mitsubishi
E3BH Network module error The hardware has failed.
representative.
to
E3BAH
• Assign some stations to another network so
Max. number of stations The total number of stations exceeded the
E3BBH that the total number of stations will be within
exceeded setting range.
the setting range.
• Check the network status in the CC IE Control
Baton (or token) passing stopped due to a diagnostics.
E3BCH Network line error communication line error or a CC-Link IE • If the error persists even after taking the above
Controller Network module error. actions, please consult your local Mitsubishi
representative.
E3BDH
E3C0H
to
• Please consult your local Mitsubishi
E3C2H Network module error The hardware has failed.
representative.
E501H
to
E503H
• Execute the dedicated instruction, interlocking
with Baton pass status (own station) (SB0047)
and Baton pass status of each station
(SW00A0 to SW00A7).
Transient execution error (no Transient transmission was executed while • Check the Cause of baton pass interruption
E504H baton passing on the own the own station did not perform baton (or (SW0048) at the own station and restart baton
station) token) passing. (or token) passing before executing the
transient transmission.
• If the error persists even after taking the above
actions, please consult your local Mitsubishi
representative.
Appendix - 27
Error code list (Continued)
Error
Description Error detail Corrective action
No.
Transient execution error • Remove the duplication of the own station
Transient transmission was executed with
E505H with own station number numbers before executing the transient
the own station number duplicated.
duplicated transmission.
E506H • Please consult your local Mitsubishi
Network module error The hardware has failed.
E507H representative.
• Change the station No. of the own or other
station and the control station setting.
• After taking the above action, reset the error
Duplication of station No.
Station No. and control station setting of station.
E508H and control station setting of
the own station are duplicated. • After turning on the own station, turn on the
the own station
other stations to identify the station that has a
duplicate station No. and/or control station
setting.
• Change the station No. of the own or other
station.
• After taking the above action, reset the error
Own station No. duplication
E509H Station No. of the own station is duplicated. station.
error
• After turning on the own station, turn on the
other stations to identify the station that has a
duplicate station No. setting.
• Change the control station setting of the own or
other station.
Duplication of the own • After taking the above action, reset the error
The control station setting for the own
E50AH station's control station station.
station is duplicated.
setting • After turning on the own station, turn on the
other stations to identify the station that has a
duplicate control station setting.
The network No. of the (sub-) control
• Set the same network No. to the own station
E50BH Network No. error station is different from the network No. of
and the (sub-) control station.
the own station.
E521H
to
E524H
E5D1H
• Please consult your local Mitsubishi
to Network module error The hardware has failed.
representative.
E5D5H
E5E1H
to
E5E9H
• Reconnect the target station to the network.
• Execute the dedicated instruction, interlocking
with Baton pass status (own station) (SB0047)
and Baton pass status of each station
(SW00A0 to SW00A7).
Transient execution error (no Transient transmission was executed while
• Check the Cause of baton pass interruption
E5F0H baton passing on the target the target station did not perform baton (or
(SW0048) at another station and restart baton
station) token) passing.
(or token) passing before executing the
transient transmission.
• If the error persists even after taking the above
actions, please consult your local Mitsubishi
representative.
Specified station No. The station No. specified for the transient
E5F1H • Change the station No. of the normal station.
duplication error transmission is duplicated.
Appendix - 28
Error code list (Continued)
Error
Description Error detail Corrective action
No.
E5F2H
to
E5F7H
EA00H
to
EA04H
Network module error The hardware has failed. • Please consult your local Mitsubishi
EA10H
representative.
to
EA18H
EAE0H
to
EAE4H
EAE5H CPU module error Incorrect data have been set in the CPU.
• Use a CPU module that is compatible with the
CC-Link IE Controller CC-Link IE Controller Network module.
The CPU module is not compatible with the
EAE6H Network-incompatible CPU • If the error persists even after taking the above
CC-Link IEController Network module.
error actions, please consult your local Mitsubishi
representative.
EAE7H
EAF0H • Please consult your local Mitsubishi
Network module error The hardware has failed.
to representative.
EAF6H
F000H
to Errors detected in the MELSECNET/H or MELSECNET/10 network system.
FEFFH
Appendix - 29
Appendix 6 Overview of interrupt program start
The Q-series CC-Link IE Network modules have the function that performs the interrupt
request from the network module to CPU and starts the interrupt sequence program of
the host station CPU, when interrupt conditions are met.
Up to 16 interrupt conditions can be set for each network module.
(Advantages)
1) Interrupt program start instruction of the corresponding station can be
performed from other stations.
2) The number of steps is reduced and the scan time becomes shorter
because the sequence program of startup condition part is not necessary.
(Visual representation of the function)
Confirm the interrupt conditions by using the interrupt setting parameter of the
own station when receiving data from other stations.
POINT
• When multiple interrupt conditions are set, interrupt requests occur at the same
time and the operation may be delayed.
• When performing the interrupt program, it is necessary to perform "EI" (Enable
Interrupt) in main program.
Appendix - 30
Appendix 6.1 Interrupt setting parameter
Up to 16 interrupt conditions can be set for each device code of the interrupt setting
conditions in the following setting screen.
Click the button on the PLC parameter setting screen to
display this screen.
(Selection of each interrupt condition for interrupt device code and setting applicable range)
Appendix - 31
REMARK
Set the relation between network module interrupt (SI) No. and CPU side interrupt
pointer (I□□)*1 in the following Q Parameter Setting screen inside the PC parameter.
The following describes the Q Parameter Setting screen configuration based on the
interruption setting parameter in the previous page.
Assign the network module side interrupt (SI) No. (0 to 6) to the CPU side interrupt
pointer (I50 to I56).
<PLC Side>
(1) Interrupt Pointer Start No.: 50 Start No. of the interrupt program (150 to 156)
(2) Interrupt Pointer Count: 7 Number of interrupt conditions
CPU side
interrupt
pointer (150)
Network
module side
interrupt (SI) No.
*1: The number used for the actual interrupt program (I□□)
Appendix - 32
Appendix 6.2 Interrupt by the RECVS instruction
When the SEND instruction is received in the channel specified in the parameter with
the RECVS instruction, the interrupt program can be started.
Selecting the "RECVS instruction" as a device code enables the settings to "Channel
No." and "Interrupt (SI) No.".
In the following example, data points are sent from the station No. 3 to channel 5 of the
station No. 15 using the SEND instruction.
Set the interrupt setting parameter so that the interrupt program is started by the SEND
instruction to channel 5.
Network module Network module
CPU station No. 3 station No. 15 CPU
Network No. 7
Appendix - 33
Appendix 6.3 Interrupt by cyclic transmission link device (LB/LW/LX)
From other stations, the specified interrupt sequence program can be executed, setting
the conditions of "Rising/Falling" of the link devices (LB/LX) or "Equal/Unequal" of the
link register (LW).
Comparison with sequence program where interruptions are built
The interrupt by the link devices (LB/LW/LX) can be used as a direct access
destination and a normal cyclic transmission.
In the following example, the link device LB100 of station No. 15 is turned ON (1) by
using the direct access (use own station's link devices which are not in auto refresh
range) of the link device of station No. 3. Set the interrupt setting parameter to station
No.15 so that the interrupt program is started when LB100 is turned ON.
(Interrupt setting parameter)
Device Device Detection Interrupt Word device Channel Interrupt (SI)
code No. method condition setting value No./connection No. No.
LB 100 Edge detect ON ─ ─ ○
Network No. 7
Appendix - 34
REMARK
(1) When the sequence program is performed at high speed, the scan time may be
prolonged because the interrupt program execution time adversely affects the
effectiveness of the interrupt program.
(2) When multiple interrupt requests occur at the same time, the operation may be
delayed.
(3) The interrupt function cannot be used during the offline or online test.
(4) Do not start the interrupt sequence program by rise (such as PLS instruction) or
fall (such as PLF instruction) of the specified device, because the device status
change may not be read out.
Appendix - 35
Appendix 6.4 Interrupt by link special device (SB/SW)
REMARK
(1) When the sequence program is performed at high speed, the execution time of
the interrupt program can have an influence and the scan time can become
longer without exhibiting effects of the interrupt program.
(2) When multiple interrupt requests occur at the same time, the operation may be
delayed.
(3) The interrupt function cannot be used during the offline or online test.
Appendix - 36
Appendix 6.5 Message received "Scan completed" instruction (RECVS instruction)
Data sent by the SEND instruction from another station are read out from the specified
channel.
Data can be processed faster than the RECV instruction because the processing
completes at the time of the instruction execution.
(1) RECVS instruction format
Execution command
Z. RECVS "Un" (S1) (D1) (D2) Z : Execution at ON timing
Appendix - 37
(2) Instruction execution timing
1) When completed normally
Send command
Sending station's CPU
Data
transmission Storage
completed
RECVS
1 scan completed
Receiving station's CPU
Appendix - 38
2) When failed
In case of RECVS instruction
Data
reception
RECVS
Appendix - 39
Appendix 6.6 Example of use
Network No.7
(2) Parameter setting in the interrupt pointer setting screen (PLC parameter)
Set Start I/O No. (0000) of the network module and Interrupt SI No. (0) on the
intelligent module side, and set the interrupt pointer (I50), which is executed when
an event is issued, on the PLC side. Multiple interrupt programs can be started by
setting the interrupt pointer count (the number of interrupt conditions).
PLC Side Intelligent Module Side
Interrupt Pointer Interrupt Pointer
Start I/O No. Start SI No.
Start No. Count
50 1 0000 0
Appendix - 40
(3) Program example
(a) Program of station number 3
Before using the following program, establish an interlock according to
Appendix 7.1.1.
Control data setting command
With arrival confirmation/Set the clock data
Channel used by own station
Target station storage channel
Target station network No.
Target station No.
Number of resends
Arrival monitoring time (20 seconds)
Send data length (4words)
Send data setting command
Send data
Send command
REMARK
(1) Link special relay for the RECV request that corresponds to the channel No. at
reception (SB00A0 to SB00A7) is not set.
(2) When the sequence program is performed at high speed, the execution time of
the interrupt program can have an influence and the scan time can become
longer without exhibiting effects of the interrupt program.
(3) When multiple interrupt requests occur at the same time, the operation may be
delayed.
(4) The interrupt function cannot be used during the offline or online test.
POINT
Execute "EI" (Enable Interrupt) because the RECVS instruction starts the interrupt
program execution using parameters. When the Enable Interrupt is not executed
when data is received, the status of the channel in use is held.
Appendix - 41
Appendix 6.7 Additional practice 1 (Interrupt processing)
Q61P Q06 QX QY Q64 Q62 QJ71 Q61P Q06 QX QY Q64 Q62 QJ71
Blank
Blank
UDH 42 42P AD DAN GP21 UDH 42 42P AD DAN GP21
CPU -SX CPU -SX
X00 Y40 X/Y80X/Y90 X00 Y40 X/Y80 X/Y90
to to to to to to to to
X3F Y7F X/Y8FX/Y9F X3F Y7F X/Y8FX/Y9F
IN OUT IN OUT
Optical fiber
cable
Station No.: 1
Station No.: 2
Appendix - 42
(b) Network range assignment (Control station only)
Appendix - 43
(2) Intelligent function module interrupt pointer setting
Double-click "PLC Parameter" in the project data list, click the [Interrupt Pointer
Setting] button of the [PLC System] tab, and configure the setting as shown below.
Click !
Appendix - 44
(3) Sequence program
The programs of each station are shown below.
Path Interrupt
Program name 1MP1
Appendix - 45
* In GX Works2, the ON/OFF status of the master control circuit is displayed on
the title tag of the monitor screen.
Appendix - 46
(b) Program of normal station (Station No. 2)
Path Interrupt
Program name 1NS2
Appendix - 47
* In GX Works2, the ON/OFF status of the master control circuit is displayed on
the title tag of the monitor screen.
Appendix - 48
(4) Demonstration machine operation
Appendix - 49
Appendix 7 Programming
The following table shows a list of interlock signal devices used in a sequence
program.
For details of other devices to check the operating status, setting status, and other
functions of the own station and other stations, refer to Appendix 3 "Link special relay
(SB) list" and Appendix 4 "Link special register (SW) list".
When multiple network modules are mounted, data will be refreshed to the device on
the CPU module side at 512 points (0H to 1FFH) intervals as shown below according
to the default settings.
POINT
The Q-series intelligent function modules share the link special relays (SB) and the
link special registers (SW).
Do not use the same SB/SW twice in the program.
Assignment of link special relays (SB)/link special registers (SW) when mounting
multiple network modules
Mount position
1st module 2nd module 3rd module 4th module
Device
SB 0H to 1FFH 200H to 3FFH 400H to 5FFH 600H to 7FFH
SW 0H to 1FFH 200H to 3FFH 400H to 5FFH 600H to 7FFH
Appendix - 50
Devices used for interlocks
Device status
Device Name Description
OFF(0) ON(1)
SB20 Module status Displays the network module operation status and CPU communication Normal Error
status.
SB47 Own station baton Displays the baton pass status of the own station Normal Error
pass status When operations are normal, this status indicates that cyclic (Data link available) (Own station
transmission and transient transmission can be executed. disconnected status)
SB49 Data link status of Displays the data link status of the own station (cyclic transmission Data linking Data link stop
own station status). (Cyclic transmission) (Set after refresh
completion)
SBA0 Each station baton Displays the baton pass status of each station. (Including the own All stations are normal. Faulty station(s) exists.
pass status station)
The reserved station and the station No. later than the largest one are
excluded.
Can be checked with SWA0 to A7.
SBB0 Each stat. cyclic Displays the cyclic transmission status of each station. (Including the All stations are Station where data link
trans. status own station) executing cyclic is not executed exists
The reserved station and the station No. later than the largest one are transmission.
excluded. (All station in cyclic
Can be checked with SWB0 to B7. transmission)
SWA0 to Each station baton Displays the baton pass status of each station. (Including the own Baton pass normally Baton pass faulty
A7 pass status station) operating station station
b15 b14 to b9 b8 b7 b6 to b1 b0 (Online reserved (Offline reserved
SW00A0 16 15 to 10 9 8 7 to 2 1 station, station No. station, station No.
later than the largest later than the largest
SW00A1 32 31 to 26 25 24 23 to 18 17 one are included) one are included)
SW00A2 48 47 to 42 41 40 39 to 34 33
SW00A3 64 63 to 58 57 56 55 to 50 49
SW00A4 80 79 to 74 73 72 71 to 66 65
SW00A5 96 95 to 90 89 88 87 to 82 81
SW00A6 112 111 to 106 105 104 103 to 98 97
SW00A7 0 0 to 0 0 120 119 to 114 113
Numbers from1 to 120 in the table indicate station numbers
Numbers for b8 to b15 of SW00A7 are 0 (fixed).
SWB0 to Each station cyclic Stores the cyclic transmission status of each station. (Including the own Data linking Data link not in
B7 transmission status station) (The reserved station operation
b15 b14 to b9 b8 b7 b6 to b1 b0 and the station No.
SW00B0 16 15 to 10 9 8 7 to 2 1 later than the largest
one are included).
SW00B1 32 31 to 26 25 24 23 to 18 17
SW00B2 48 47 to 42 41 40 39 to 34 33
SW00B3 64 63 to 58 57 56 55 to 50 49
SW00B4 80 79 to 74 73 72 71 to 66 65
SW00B5 96 95 to 90 89 88 87 to 82 81
SW00B6 112 111 to 106 105 104 103 to 98 97
SW00B7 0 0 to 0 0 120 119 to 114 113
Numbers from1 to 120 in the table indicate station numbers.
Numbers for b8 to b15 of SW00B7 are 0 (fixed).
Appendix - 51
Appendix 7.1.2 Example of interlock program
Establish an interlock depending on the link status of the own station and other
stations.
The following is an example of a communication interlock program using the link status
of the own station (SB47, SB49) and station No. 2 (SWA0 bit 1, SWB0 bit 1).
(Example)
Reason: In order not to stop the control even if the network detects a momentary error
caused by noise or cables status.
Multipliers of 6 times, 2 times, and 3 times are for reference only.
Appendix - 52
Appendix 7.2 Cyclic transmission
Because the link scan of the CC-Link IE Controller Network and the sequence scan of
the user program are operated asynchronously, the link refresh that is performed
during each sequence scan is performed asynchronously with the link scan.
Therefore if link data includes data type of more than 32-bit (such as given below), the
new data and old data may be mixed depending on link refresh timings.
• Floating-point data
• Current values and command speed of positioning module
The CC-Link IE Controller Network provides the following functions to handle the link
data easier.
• 32-bit data assurance········································ Appendix 7.2.1
• Block data assurance per station setting ··············· Appendix 7.2.2
When a condition (32-bit data assurance execution condition) is not met, establish an
interlock according to the example in Appendix 7.2.3.
When "Network Range Assignment" of the control station is set with the following four
conditions met, 32-bit data integrity is automatically assured.
(1) The start device No. of LB is a multiple of 20H.
(2) The points assigned per station in LB is a multiple of 20H.
(3) The start device No. of LW is a multiple of 2.
(4) The points assigned per station in LW is a multiple of 2.
For the sending data of 32-bits or less, the interlock program is not required when
meeting the conditions.
POINT
When using data of 32-bits (2-words) or more, enable the block data assurance
from Appendix 7.2.2 or establish an interlock according to the example of the
interlock program in Appendix 7.2.3.
Appendix - 53
Appendix 7.2.2 Block data assurance per station setting
Since link refresh is performed by handshaking between the CPU and CC-Link IE
Controller Network modules, cyclic data integrity is assured in units of stations.
Set the station-based block data assurance in "Supplementary Setting" of "Network
Range Assignment" of the control station.
Station No.3
Updated part of Refresh C
refresh C
Station No.4
<Notes>
(1) To perform the station-based block data assurance, setting the refresh parameter
is required.
(2) It is not required to set this setting in normal stations.
(3) When using the device which is set as a refresh destination with the interrupt
program, the station-based block data assurance becames unavailable.
Appendix - 54
POINT
● Establish an interlock when using the direct access (specifying J□¥□) of the link
device, because the block data assurance per station is applied to the refresh
processing only.
● The following shows calculation formulas for cyclic transmission delay time (with
the station-based block data assurance set).
(1) Sequence scan time > Link scan time
Normal value: (ST + αT) × 1.5 + LS × 0.5 + (SR + αR) × 1.5
Maximum value: (ST + αT) × 2 + LS × 1 + (SR + αR) × 2
(2) Sequence scan time < Link scan time
Normal value: (ST + αT) + LS × 1 + (SR + αR) × 1.5
Maximum value: (ST + αT) + LS × 2 + (SR + αR) × 2
Appendix - 55
Appendix 7.2.3 Example of interlock program
When using data of more than 32-bits at the same time without the 32-bit data integrity
assurance function or the station-based block data assurance function, new data and
old data may be mixed.
As shown in the following example, the establishment of an interlock with the link relay
(B) or link register (W).
Sending station
(1) (2)
(3)
(7)
Receiving station
(4) (5)
(6)
Appendix - 56
Appendix 7.3 Transient transmission
Appendix - 57
Appendix 8 Additional task 2 (Communication using LX, LY)
Function used to exchange data between the I/O master station that controls LX/LY
and another station on a one-to-one (1:1) basis.
The link input (LX) is used to receive the input information from each station in a block,
and the link output (LY) is used to send the output information of the I/O master station.
For details, refer to MELSEQ-Q CC-Link IE Controller Network Reference Manual.
Block 1
I/O master station
Block 2
I/O master station
The system configuration for the demonstration machine is the same as task 1.
Parameter and sequence program are write to the each station to check the operation.
Q61P Q06 QX QY Q64 Q62 QJ71 Q61P Q06 QX QY Q64 Q62 QJ71
Blank
Blank
IN OUT IN OUT
Optical fiber
cable
Appendix - 58
(1) Set parameters with GX Works2
Double-click [Ethernet/CC IE/MELSECNET] in [Network Parameter] of the Project
View, configure settings as described below.
Station No.: 1
Station No.: 2
Appendix - 59
(b) Network range assignment (Control station only)
Select!
Click !
Appendix - 60
(2) Sequence program
The programs of each station are shown below.
Path LX-LY
Program name 1MP1
Appendix - 61
(b) Program of normal station (Station No. 2)
Path LX-LY
Program name 1NS2
Appendix - 62
(3) Demonstration machine operation
Appendix - 63
Memo
Appendix - 64 SH-081375ENG-A
Mitsubishi Programmable Controllers Training Manual
CC-Link IE Controller Network (for GX Works2)
MODEL
MODEL
CODE
HEAD OFFICE: TOKYO BLDG., 2-7-3, MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS: 1-14, YADA-MINAMI 5-CHOME, HIGASHI-KU, NAGOYA 461-8670, JAPAN
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.