Nothing Special   »   [go: up one dir, main page]

SH 081375 Enga

Download as pdf or txt
Download as pdf or txt
You are on page 1of 202

Mitsubishi Programmable Controllers

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.

 Do not touch the movable portion.

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.

 Turn off the power before installing or removing the module.


Failure to do so may result in malfunctions of the module or electric shock.

 When the demonstration machine (such as X/Y table) emits abnormal odor/sound, press "Power
switch" or "Emergency switch" to turn it off.

 When a problem occurs, notify the instructor as soon as possible.


REVISIONS
*The textbook number is written at the bottom left of the back cover.

Print date *Textbook number Revision


Mar., 2014 SH-081375ENG-A First edition

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.

© 2014 MITSUBISHI ELECTRIC CORPORATION


CONTENTS

INTRODUCTION ··············································································································· (4)


Generic terms and abbreviations··························································································· (5)

CHAPTER 1 OVERVIEW 1- 1 to 1-14

1.1 CC-Link IE ··············································································································· 1- 1


1.2 Overview ················································································································· 1- 2
1.3 Features ·················································································································· 1- 3
1.3.1 Function list ········································································································ 1- 9
1.4 Abbreviations ·········································································································· 1-10
1.5 System configuration of CC-Link IE Controller Network····················································· 1-11
1.5.1 Single network system ························································································· 1-11
1.5.2 Multiple network system ······················································································· 1-12
1.6 Applicable systems ··································································································· 1-13

CHAPTER 2 PRACTICAL EXERCISES, PARAMETER TYPES, AND SETTINGS AND


PROCEDURES BEFORE OPERATION 2- 1 to 2- 6

2.1 Practical exercises ····································································································· 2- 1


2.2 Parameter types ········································································································ 2- 2
2.3 Procedures and settings before operation ······································································· 2- 6

CHAPTER 3 EXERCISE 1 (CYCLIC TRANSMISSION) 3- 1 to 3- 68

3.1 System configuration for the training ·············································································· 3- 1


3.2 Name of CC-Link IE Controller Network module (QJ71GP21-SX) ········································ 3- 3
3.3 Testing the CC-Link IE Controller Network Module (QJ71GP21-SX) ····································· 3- 5
3.3.1 Hardware test ····································································································· 3- 6
3.3.2 Self-loopback test ································································································ 3- 9
3.4 Cable connection ····································································································· 3-12
3.5 Cabling status check ································································································· 3-13
3.5.1 Circuit test ········································································································· 3-13
3.5.2 Station-to-station test ··························································································· 3-16
3.6 Writing to the CPU module ························································································· 3-19
3.6.1 Starting GX Works2 ····························································································· 3-19
3.6.2 Sequence program reading ··················································································· 3-20
3.6.3 Specify connection to the PLC ··············································································· 3-21
3.6.4 Writing of the sequence program and the CPU parameter ··········································· 3-22
3.7 Setting parameters ··································································································· 3-23
3.7.1 Set parameters with GX Works2 ············································································ 3-24
3.8 Sequence program ··································································································· 3-27
3.8.1 Cyclic transmission (Configuration with 2 stations) ····················································· 3-27
3.9 Diagnosing CC-Link IE Controller Network from GX Works2 (Online test) ····························· 3-30
3.9.1 Network information display ·················································································· 3-31
3.9.2 Select station network device status display ····························································· 3-34
3.9.3 Logging ············································································································ 3-36
3.9.4 System monitor ·································································································· 3-38
3.9.5 Remote operation ······························································································· 3-42
3.10 Access directly to link devices of Network module (Direct Access) ····································· 3-43
3.10.1 Direct access operation ······················································································ 3-45
3.10.2 Using direct access in system configuration with 2 stations ········································ 3-47

(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

CHAPTER 4 EXERCISE 2 (TRANSIENT TRANSMISSION) 4- 1 to 4-18

4.1 Transient transmission function ···················································································· 4- 1


4.1.1 Link dedicated instruction types and description ························································· 4- 1
4.1.2 Instruction format ································································································· 4- 2
4.1.3 Confirm the possibility of communication using dedicated instructions ···························· 4-10
4.2 Other station access operation ···················································································· 4-16

CHAPTER 5 EXERCISE 3 (ROUTING FUNCTION) 5- 1 to 5-20

5.1 Routing function ········································································································ 5- 1


5.2 Demonstration machine system ···················································································· 5- 2
5.3 Routing parameter ····································································································· 5- 3
5.4 Communication test ··································································································· 5- 5
5.5 Confirm the operation using PLC program ······································································ 5- 8
5.5.1 Other station word device Read/Write ······································································ 5- 8
5.5.2 Parameter settings ······························································································ 5-10
5.5.3 Sequence program ······························································································ 5-14
5.6 Multiple network (Interlink transmission) ········································································ 5-16
5.6.1 Performing interlink transmission of multiple network ·················································· 5-16

(2)
APPENDIX App.- 1 to App.-64

Appendix 1 Comparison of network module specifications and compatibility ····························App.- 1


Appendix 1.1 List of the comparison of specifications between CC-Link IE and MELSECNET/H
········································································································App.- 1
Appendix 2 Differences between QJ71GP21-SX/QJ71GP21S-SX and
QJ71LP21/QJ71LP21-25/QJ71LP21S-25/QJ71BR11 ·········································App.- 2
Appendix 2.1 Differences in LED display and switch settings ···········································App.- 2
Appendix 2.2 Precautions for replacing QJ71LP21/QJ71LP21-25/QJ71LP21S-25/QJ71BR11
with QJ71GP21-SX/QJ71GP21S-SX ························································App.- 3
Appendix 3 Link special relay (SB) list ·············································································App.- 4
Appendix 4 Link special register (SW) list ······································································· App.-10
Appendix 5 Error codes ······························································································ App.-21
Appendix 5.1 Error code of controller network ······························································ App.-21
Appendix 6 Overview of interrupt program start ································································ App.-30
Appendix 6.1 Interrupt setting parameter ···································································· App.-31
Appendix 6.2 Interrupt by the RECVS instruction ·························································· App.-33
Appendix 6.3 Interrupt by cyclic transmission link device (LB/LW/LX) ································ App.-34
Appendix 6.4 Interrupt by link special device (SB/SW) ··················································· App.-36
Appendix 6.5 Message received "Scan completed" instruction (RECVS instruction) ············· App.-37
Appendix 6.6 Example of use ··················································································· App.-40
Appendix 6.7 Additional practice 1 (Interrupt processing) ··············································· App.-42
Appendix 7 Programming ···························································································· App.-50
Appendix 7.1 Precautions on programming ································································· App.-50
Appendix 7.1.1 Interlock related signals ··································································· App.-50
Appendix 7.1.2 Example of interlock program ···························································· App.-52
Appendix 7.2 Cyclic transmission ·············································································· App.-53
Appendix 7.2.1 32-bit data assurance ······································································ App.-53
Appendix 7.2.2 Block data assurance per station setting·············································· App.-54
Appendix 7.2.3 Example of interlock program ···························································· App.-56
Appendix 7.3 Transient transmission ········································································· App.-57
Appendix 8 Additional task 2 (Communication using LX, LY) ··············································· App.-58

(3)
INTRODUCTION

This textbook describes the basic usage and the programming of CC-Link IE Controller Network System for
MELSEC-Q Series.

Related Manuals

• MELSEQ-Q CC-Link IE Controller Network Reference Manual ························· SH-080668ENG

• Before Using the Product ············································································ BCN-P5790E

• QCPU User's Manual (Hardware Design, Maintenance and Inspection) ············· SH-080483ENG

• QCPU User's Manual (Function Explanation, Program Fundamentals)··············· SH-080807ENG

• GX Works2 Version1
Operating Manual (Common) ···································································· SH-080779ENG

• GX Works2 Version1
Operating Manual (Simple Project) ····························································· SH-080780ENG

(4)
Generic terms and abbreviations

Generic term/abbreviation Description


Abbreviation for the QJ71GP21-SX and QJ71GP21S-SX CC-Link IE Controller Network
QJ71GP21
module
QJ71BR11 Abbreviation for the QJ71BR11 MELSECNET/H network module
QJ72LP25 Abbreviation for the QJ72LP25-25 MELSECNET/H network module
QJ72BR15 Abbreviation for the QJ72BR15 MELSECNET/H network module
Master module Abbreviation for the QJ71LP21, QJ71BR11
Network module Generic term for the master module, remote I/O module
CC-Link IE Abbreviation for the Q Corresponding CC-Link IE Controller Network
Controller Network
MELSECNET/H Abbreviation for the Q Corresponding MELSECNET/H
MELSECNET/10 Abbreviation for the AnU and QnA/Q4AR Corresponding MELSECNET/10
High Performance model QCPU Generic term for the Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU modules
Generic term for the Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UD(E)CPU,
Universal model QCPU Q04UD(E)HCPU, Q06UD(E)HCPU, Q10UD(E)HCPU, Q13UD(E)HCPU,
Q20UD(E)HCPU, Q26U(E)DHCPU, Q50UDEHCPU, Q100UDEHCPU CPU mpdules
GX Works2 Abbreviation for the GX Works2 software package

(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

Gigabit Ethernet Seamless


communication
Field Network

Device
level

Cable-saving Network

CC-Link IE is an Ethernet-based controller network for industry.

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.

Also, in this textbook, the Q series CC-Link IE Controller Network is abbreviated in


"CC-Link IE" and MELSECNET/H Network System is abbreviated in "MELSECNET/H".

High-speed and
large-volume data
communication

CC-Link IE Controller Network System

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

The CC-Link IE Controller Network has the following features comparing to


MELSECNET/H (PLC to PLC network).

(1) Realization of high-speed communication system


(a) CC-Link IE Controller Network can operate high-speed data communication
at 1Gbps.
(b) High-speed data update of cyclic communication
The performance of the cyclic data update has been improved.
The transmission delay time becomes shorter and the total operation cycle
can be reduced.
(c) Reduce the number of points of the link refresh that are not used in the
sequence program by segmentalization of refresh parameters (256 divisions
per module (Exclude SB and SW)). Refresh time can be then reduced.
* Universal model QCPU: 256 divisions per module
* High Performance model QCPU: 64 divisions per module
QCPU Network Module
Device (B) Link Device (LB)

Station No.1
(Host station)

Refresh range Station


No.2 Total range

Station
No.3
High-speed bus

(2) Large-scale and flexible system configuration


(a) The link device has a larger capacity: 32768 points (4 Kbyte) for the link relay
(LB), and 131072 points (256 Kbyte) for the link register (LW).

(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.

(f) The system can be expanded to a maximum of 239 networks.

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.

Large capacity Ultrafast


Conventional *1, *3 Conventional *2, *3
ratio: 8 times ratio: 14 times

*1: Shared memory size comparison (with MELSECNET/H)


*2: Cyclic data update speed comparison (with MELSECNET/H)
*3: Comparison according to the following conditions.
• 32 modules in network configuration
• Each station has 2k points of LW area specified by equal assignment
• No disconnected station and returned stations

(h) The system which consists of Ethernet, CC-Link IE, MELSECNET/H,


MELSECNET/10, and CC-Link can be accessed seamlessly.

In factory (Information management)

Among lines (Production management)

In a line (Equipment management)

Seamless
In board and equipment
access (Device and I/O control)

(i) During the transient transmission, it is possible to guarantee the punctuality of


cyclic transmission.
(Cyclic transmission punctuality assurance)
It is possible to build an application without considering the influence of
transient transmission to the link scan time.

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

Network No.9 Network No.8

CPU CPU CPU


Module 9NS3 Module 9MP1 8NS2 Module 8NS3

(k) A noise-resistant optical loop system that provides long station-to-station


distance and overall cable length up to 66 km is adopted.

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).

CPU module CC-Link IE Controller CC-Link IE Controller CPU module


Network module Network module
Command
Word device
READ Channel 1
read request
Channel 2
Channel 3
Channel 4
Device Device
Channel 5
Channel 6
1234H Channel 7 1234H
Channel 8
Channel 9
Channel 10

Group No.1
Station No.1 Station No.2 Station No.3

Network No.1

Station No.6 Station No.5 Station No.4


Group No.1 Group No.1

(4) Enhanced RAS functions


(a) Thanks to the control station switching function, even if the control station
goes down, a normal station (sub-control station) takes over the control to
continue data link
(b) Thanks to the automatic return function, when a faulty station recovers from
the error, the station is automatically reconnected to the network and restarts
the data communication.
(c) Because of the cable fault detection function, a cable fault can be detected as
a cause of a communication error.
(d) Because of the cable insertion error detection function, an incorrect cable
connection between OUT and IN can be detected as a cause of loopback or
disconnection from the network.
(e) Thanks to the loopback function, any disconnected cable or faulty station is
isolated from the network and the data communication can be continued
among normally operating stations.

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.

(5) Enhancements and compatibility of network functions


(a) Because of the 32-bit data assurance, the integrity of data can be assured in
unit of 2 points (32-bits) without using program interlock.

CPU module Network module


W LW

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

Updated part of Station No.2


Refresh B
refresh B (Host station)

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)

Pull down menu


Simplification

(c) Simplicity of troubleshooting has been improved thanks to [CC-Link IE


Controller Network diagnostics].

(d) [Assignment image] is available. When multiple network modules are


mounted to a network system, whether the same device is set more than
once can be checked after assigning refresh parameters and interlink
transmission devices to the network system.

1- 8
1.3.1 Function list

Item CC-Link IE Controller Network Module/PC interface board


• Refreshes the link relay and the link register assigned by the network
common parameters to all the stations in a same network
periodically.
Cyclic transmission • 32 bit data assurance for link register
• Station-based block data assurance (Assure data the transmission
data in 1 station unit)
• Group cylic
• N:N communication (Monitor, program upload or download)
Data
• Various dedicated instructions from the sequence program (READ,
communication
SREAD, WRITE, SWRITE, REQ, SEND, RECV, RECVS, ZNRD,
function
Transient ZNWR, RRUN, RSTOP, RTMRD, RTMWR)and CC-Link dedicated
transmission instructions (RIRD/RIWT)
• Group function (Simultaneous broadcast of transient transmission)
• Routing function (Data can be transmitted to the stations of other
networks where the own station is not connected directly)
• Interrupt program (Interruption by data reception of other station)
Others • Interlink transmission (When there is multiple networks, cyclic data
are automatically transmitted to the other network)
• Offline test (hardware test, Self-loopback test)
• Network diagnostics by GX Works2 (Network status, monitor of other
station status)
• Network diagnostics by SB/SW
• Control station switching function (Alternative administration station
Maintenance function
function for an faulty control station)
• Loopback function
• External power supplied function is supported
• Optical fiber cable check function enhancement (Connector insertion
error, fault detection)

1- 9
1.4 Abbreviations

(1) Abbreviation
Abbreviation Name
MP Control station
NS Normal station

(2) Symbol format

□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).

Serial number (first 5 digits)


Function version

Relevant regulation standards

1.5.1 Single network system

The transmission in the CC-Link IE Controller Network is performed in the optical loop
system only.

(1) Optical loop system


(a) When a Universal model QCPU is used for a control station
Up to 120 stations including one control station and 119 normal stations can
be connected.
(b) When a high performance QCPU is used for a control station
Up to 64 stations including one control station and 63 normal stations can be
connected.

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)

Power QCPU QJ71 Power QCPU QJ71 Power QCPU QJ71


GP21(S) GP21(S) GP21(S)
-SX -SX -SX

Optical fiber cable

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.

1st 2nd 3rd 4th

Network No.1 Network No.4

Network No.2 Network No.3

*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

CC-Link IE Controller CC-Link IE Controller


Network No.1 Network No.2

Power QCPU QJ71 QJ71 Power QCPU QJ71


GP21(S) BR11 Control station GP21(S) Normal station
-SX 3MP1 -SX 2NS3

1NS3 MELSECNET/H
Normal station network No.3

Power Q C PU QJ71 Power Q C PU Q J 71 Power QCPU Q J 71


BR11 BR11 BR11

3NS 2 3NS 3 3NS 4


Normal station Normal station Normal station

1 - 12
1.6 Applicable systems

This section describes the applicable systems.


The number of mountable modules represents the maximum number of CC-Link IE
Controller Network modules that can be used together with MELSECNET/H modules.
(1) Applicable modules and base units, and number of modules
(a) When mounted with a CPU module
The table below lists the CPU modules and base units applicable to the
CC-Link IE Controller Network module and quantities for each CPU model.
Depending on the combination with other modules or the number of mounted
modules, power supply capacity may be insufficient.
Pay attention to the power supply capacity before mounting modules, and if
the power supply capacity is insufficient, change the combination of the
modules.

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).

(b) Mounting to a MELSECNET/H remote I/O station


The CC-Link IE Controller Network module cannot be mounted to any
MELSECNET/H remote I/O station.
Mount it to a remote master station.

(2) Support of the multiple CPU system


When using the CC-Link IE Controller Network module in the multiple CPU system,
refer to the QCPU User's Manual (Multiple CPU System) first.
(a) Applicable CC-Link IE Controller Network module
The function version of the CC-Link IE Controller Network module has been
"B" from the first release and it supports the multiple CPU system.
(b) Network parameters
Network parameters must be set to the control CPU of the CC-Link IE
Controller Network module.

1 - 14
CHAPTER 2 PRACTICAL EXERCISES, PARAMETER TYPES, AND SETTINGS AND
PROCEDURES BEFORE OPERATION

2.1 Practical exercises

Following table shows the content of practical exercises.


2
Item Check item
Task I Common parameters Confirm that the data link can be performed by setting
(Cyclic transmission) parameters with peripheral devices.
Monitor/test of peripheral Confirm the data link status with the monitor and test of
devices peripheral devices.
Direct access Confirm that the link devices (LB, LW, LX, LY, SB, SW) of
network module can be read and written directly.
Task II Link dedicated instructions Confirm that the transient transmission can be performed by the
(Transient transmission) SEND/RECV instruction.
Other station access Confirm that when accessing other station, the same functions
operation can be used as during the own station access.
Task III Routing parameters Confirm that a PLC that is in another network can be accessed
(Routing function) via multiple networks.

2- 1
2.2 Parameter types

To operate the CC-Link IE Controller Network, it is required to set the parameters of


network module mounted to PLC CPU by GX Works2.
The parameter setting starts from the CC-Link IE Controller Network No. selection to
detailed functional settings.
Each parameter setting screen is shown below. (The setting descriptions are
examples.)

(1) Number of modules setting (Network type)


Set the network type and station type for each module.
*1
In the CC-Link IE Controller Network module, up to four modules , or up to eight
modules when including Ethernet, can be selected.
In the CC-Link IE Controller Network system, select from the control station or
normal station.

*1: High Performance model QCPU: Up to two modules


(up to four modules including MELSECNET/H)
Universal model QCPU
• Q02UCPU: Up to two modules (up to two modules including MELSECNET/H)
• Other than Q02UCPU: Up to four modules (up to four modules including
MELSECNET/H)
• In case of Q00UJ, Q00U and Q01U it is not possible to mount multiple modules.

(2) Network setting


Set the Start I/O No., Network No., Total Stations, Group No., Station No., and
Mode for each module.

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.

(4) Network refresh parameter


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).

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.

(6) Routing parameters


Set a "root" that is necessary for executing a transient transmission to other
network No. stations in the multiple network system.

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

The following shows the procedures to be taken before operation.

Pre-operational procedure

Mount the CC-Link IE Controller Network module to the


base unit.

Perform a unit test on the CC-Link IE Controller Network


module.

Connect cables to the CC-Link IE Controller Network


module.

Perform a communication test on the CC-Link IE


Controller Network module.

Set network parameters for the CC-Link IE Controller


Network module.

Perform the CC-Link IE Controller Network diagnostics.

Perform programming and/or debugging.

Operation

2- 6
CHAPTER 3 EXERCISE 1 (CYCLIC TRANSMISSION)

3.1 System configuration for the training

Content of the Exercise 1 (Chapter 3) is based on the following system configuration.


Same configuration is used also with the Exercise 2 (Chapter 4).

Control station, st. no. 1 Normal station, st. no. 2

Q61P Q06 Q61P Q06

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

Power supply module Input module


Base module Q3□B

Q61P Q06 QX QY Q64 Q62 QJ71

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

Y6F Y60 Y5F Y50 Y4F Y40


Y77 Y76 Y75 Y74 Y73 Y72 Y71 Y70

Y7F Y7E Y7D Y7C Y7B Y7A Y79 Y78

X3F X30 X2F X20


X7 X6 X5 X4 X3 X2 X1 X0
ON 1 9 4 2 4 1 3 6 MELSEC-Q
OFF

XF XE XD XC XB XA X9 X8 A/D INPUT D/A OUTPUT

ON
OFF

3-2
3.2 Name of CC-Link IE Controller Network module (QJ71GP21-SX)

(1) LED indication

(2) IN/OUT Connector


Used to connect the optical fiber connector
(IN connector)
Forward loop, receiving/Reverse loop, sending
(OUT connector)
Forward loop, sending/Reverse loop, receiving

3-3
(1) Indicator LEDs

No. Name Description


1) No. Name LED status Description
1 RUN ON, green Operating normally
OFF Hardware fault or watchdog timer error
2 PRM ON, green Operating as a Control station
OFF Operating as a Normal station
3 MODE ON, green Online mode
Flashing, Test mode
green
OFF Offline mode
4 D LINK ON, green Data link in operation (Cyclic transmission operated)
Flashing, Data link in operation (Cyclic transmission stopped)
green
OFF Data link not in operation (Parameter reception not
completed, own station CPU error, data link stop
instruction)
5 SD ON, green Sending data
OFF Not sending data
6 RD ON, green Receiving data
OFF Not receiving data
7 ERR. ON, red The following errors occur.
• Received data are erroneous. (Receive frame error)
• A frame error above a certain level has occurred
between stations.
• The Control station or a station number is
duplicated.
• Cable disconnection, or incorrect cable connection
between OUT and IN
• Network parameters are corrupted, or some settings
(Reserved station specification, Total number of
stations, Network No.) are inconsistent between the
Control and Normal stations.
OFF Normal status
8 1 × 100 ON, green
1, 2, 4, 8 × 10 (Numeric The station No. is set.
1, 2, 4, 8 × 1 display)
OFF No station No. is set.

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.

(1) Hardware test


Checks the hardware inside the CC-Link IE Controller Network module.

(2) Self-loopback test


Checks the internal circuit including the communication circuit of the network
module and the hardware of the cable.

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

Figure 3.1 Offline test flow (Unit test)

3-5
3.3.1 Hardware test

Check the hardware inside the CC-Link IE Controller Network module.

(1) Connect GX Works2 to the CPU module.


Do not connect optical fiber cables to the CC-Link IE Controller Network module.

Normal station (No.2)

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

Powering OFF and ON or resetting the CPU module


starts the test.

During test execution


The MODE LED flashes, and each of the 1,2,4
and 8×1 LED LEDs turns ON and OFF in order
(1→2→4→8→1... ).

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?

When completed normally


End The CC-Link IE Controller Network module hardware may
be faulty. Please consult your local Mitsubishi representative.

Figure 3.2 Hardware test flow

3-7
REMARK

In case of CC-Link IE Controller Network, because the link refresh is performed


even if the module is offline, users can check the status and results of the test with
link special relay (using peripheral device or sequence program).
The hardware test result can be confirmed with the link special relay (SB0090,
SB0091).

3-8
3.3.2 Self-loopback test

Check the hardware of the communication circuit by Network module itself.


Use a normal optical fiber cable when conducting the self-loopback test.

(1) Connect GX Works2 to the CPU module.

Normal station (No.2)

GX Works2

(2) Connect the IN and OUT of the QJ71GP21-SX network module using optical fiber
cable.

Normal station (No.2)

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

Powering OFF and ON or resetting the CPU


module starts the test.

During test execution


The MODE LED flashes, and each of the 1,2,
4 and 8×10 LEDs turns ON and OFF in order
(1→2→4→8→1...).
Note that, upon detection of an error, the test
is immediately terminated (error completion).

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?

When completed normally


End Replace the optical fiber cable and execute the test
again. If it fails again, the CC-Link IE controller
network module hardware may be faulty. Please
consult your local Mitsubishi representative.

Figure 3.3 Self-loopback test flow

3 - 10
REMARK

In case of CC-Link IE Controller Network, because the link refresh is performed


even if the module is offline, users can check the status and results of the test with
link special relay (using peripheral device or sequence program).
The self-loopback result can be confirmed with the link special relay (SB0092,
SB0093).

3 - 11
3.4 Cable connection

(1) Connection method


Connect an optical fiber cable between OUT and IN as shown below.
Note that there is no need to connect the cables in the order of station numbers.
Any number can be assigned to a control station.
Control station Normal station
Station No.1 Station No.2
QCPU QJ71 QCPU QJ71
Power

Power
GP21 GP21
-SX -SX

IN OUT IN OUT

(2) Connecting an optical fiber cable


The following shows how to connect an optical fiber cable.
Connection

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

Lightly pull it to check that it is securely


connected. Connector hook

End

(3) Disconnecting the optical fiber cable


The following shows how to disconnect the optical fiber cable.
Disconnection CC-Link IE Controller
Network module

Turn OFF the power.

Cable-side
Press the connector hook to disconnect connector
the cable.
Module-side
connector
End Connector hook

3 - 12
3.5 Cabling status check

Check the cabling status by using the network parameter of GX Works2.

3.5.1 Circuit test

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.

(1) Cable connection


The IN and OUT of the network module are connected by an optical fiber cable.

Circuit test control station Online normal station


Station No.1 Station No.2

(2) Test mode setting


After setting the control station to the Loop Test mode and the normal station to
the Online mode, write the data to the respective CPU modules.

Executing station (station No.n) Target station (station No.n+1)

Setting Setting

3 - 13
(3) Executing the circuit test

Control station Normal station

Powering OFF and ON or resetting the CPU


Powering OFF and ON or resetting the CPU
module activates the online mode.
module starts the test.

During circuit test execution, data link stops on


all stations.
During test execution
The MODE and D LINK LEDs flash, and each of the During test execution
1,2,4 and 8×1 LEDs and each of the 1,2,4 and 8×10
LEDs turn ON and OFF in order(1→2→4→8→1...). The MODE and D LINK LEDs flash, and 1×100
Note that, upon detection of an erro
r, the test is LED alternates ON and OFF.
immediately terminated (error completion).

Test completion While the control station is in online mode,


The D LINK LED turns ON. normal stations operate in online mode.
When completed normally
The MODE LED flashes, and 1, 2, 4 and 8 (×1 End
and 10) LEDs turn OFF.

The LED corresponding to the error type turns ON.


Control station duplicated
Station No. duplicated
Out-of-range station No. setting exists.
Reserved station setting error
(A station set as reserved actually exists.)

When failed Cable fault


The MODE LED flashes, and the ERR.LED and any Cable insertion error
one of 1, 2, 4 and 8 (×1 and×10) LEDs turn ON.
Cable disconnection

ON
Flashing
OFF

When failed
Test result?

When completed normally


Set it to online mode, and turn the power OFF By the CC IE Control diagnostics, check the error
and ON or reset the CPU module. factor and take corrective actions according to the
troubleshooting.

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.)

(1) Cable connection

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

(2) Test mode setting


After setting the [Loop Test] mode for the executing station (CC IE Control
(Control Station)) and the [Online] mode for the target station (CC IE Control
(Normal Station)), write the data to the respective CPU modules.

Executing station Target station

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.

Executing station Target station

Powering OFF and ON or resetting the CPU module


activates the online mode.

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.)

During test execution During test execution


The MODE LED flashes, and the target station No. The MODE LED flashes, and the executing station No.
turns ON. turns ON.

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

Test completion (Failed)


The MODE LED flashes, and the target station No.
and ERR.LED turn ON.

ON
Flashing
OFF

The cable used in the station-to-station test is faulty.


Replace it.

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.6.1 Starting GX Works2

(1) Click the Start button.

(2) Select the [MELSOFT Application].

(3) Select the [GX Works2].

It is possible to operate the selection only by


moving the mouse cursor.
(Click and double click are not necessary.)

(4) Click the [GX Works2].

(5) GX Works2 starts up.

(6) GX Works2 is started.

3 - 19
3.6.2 Sequence program reading

Read the control program "1MP1".

(1) In the Toolbar, click the or [Project] →


[Open] ( Ctrl + O ) from the menu.

(1) Click !

(2) Specify the destination where the project to


read is stored.

(3) Click the project to read.

(3) Click ! (4) Read the project that has been clicked and
(2) Specify the storage specified.
destination of project!

(4) Click !

(5) The read ladder is displayed.

3 - 20
3.6.3 Specify connection to the PLC

Specify the connection destination interface of peripheral device and CPU module.

(1) In the Navigation window, click Connection


Destination.

(2) In "Current Connection", click "Connection1"


in "Current Connection".

(3) Check the following settings in the Transfer


Setup screen.
[PC side I/F]: "Serial USB"
[PLC side I/F]: "PLC Module"
[Other Station Setting]: "No Specification"

(4) Click the OK button.


Settings are finished.

3 - 21
3.6.4 Writing of the sequence program and the CPU parameter

Write the control program to the CPU module.

(1) In the Toolbar click on the or [Online]


→ [Write to PLC].

(2) In the Online Data Operation screen, click


the Parameter+Program button and
select "MAIN" in Program(Program File)
and "PLC/Network" in Parameter.

(3) Click the Execute button.

(4) When the writing is finished, a dialog box


on the left will appear. Click the Close
button.

(5) Click the [Close] button and the dialog box


will disappear.

3 - 22
3.7 Setting parameters

To operate the CC-Link IE Controller Network module, it is required to set the


parameters of network module mounted to PLC CPU with GX Works2.

(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

(2) Each Station send range (LB/LW setting)


Set the send range for each station to 256 points as shown below.

Station 1 Station 2

Network No.1

Common parameter each station send range


LB/LW Station 1 Station 2
0 Own station
FF send range
100 Own station
1FF send range
200

1FFF

3 - 23
3.7.1 Set parameters with GX Works2

(1) Double click on [Ethernet/CC IE/MELSECNET] in


[Network Parameter] of the Project View.

(2) The MELSECNET/CC IE/Ethernet Module Configuration


screen is displayed. Configure the settings as below.

Control station Set the CC IE Control (Control station)

Set the start I/O number which is


assigned to the module

Set the network number (1 to 239)

Set the total number of stations for link

Norman station Set the CC IE Control (Normal station)

Set the start I/O number which


is assigned to the module

Set the network number (1 to 239)

To the next page

3 - 24
From the previous page

(3) Click the Network Range Assignment button.


(Control station only)

(4) The Network Range Assignment screen is displayed.


Configure the settings as shown below.

Control station only


Set the maximum value + 50msec of
the link scan at loopback execution

Set the assignment settings of LB and LW


(LB in 16-point units, LW in 1-point unit)

(5) Click the End button to close the screen.

To the next page

3 - 25
From the previous page

(6) Click the Refresh Parameters button.

(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.

(8) Click the End button in the Network Range


Assignment screen.
The network parameter settings are finished.

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

* In GX Works2, the ON/OFF status of the master control circuit is displayed


on the title tag of the monitor screen.

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

* In GX Works2, the ON/OFF status of the master control circuit is displayed


on the title tag of the monitor screen.

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.

It is convenient to use the following devices as target CPU-side devices of transfer


from LW.
• When the transfer range value is 8K (1FFFH) or less:
Link register (W)
• When the transfer range value is more than 8K (1FFFH):
Extended link register (W)

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.

(1) Select [Diagnostics] → [CC IE Control Diagnostics].

(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) The "CC-Link IE Control Diagnostics" dialog box is displayed.

3 - 30
3.9.1 Network information display

The result of checking the line status and parameter setting status is displayed.

(1) Description of network information display


Item Description
Module□ Displays the module No. of network which is being diagnosed.
Network No. Displays the network No. of network which is being diagnosed.
Total number of Stations Displays the total number of stations in a network.
I/O Master Station Displays the station No. of I/O master station.
Current Link Scan Time Displays the current link scan time.
Icon Displays the status of each station and status between stations.
When the total number of stations is 61 or more, the window prior
to network information display is displayed by clicking this
button.

When the total number of stations is 61 or more, the window next


to network information display is displayed by clicking this
button.

(2) Icon
The status of each station and status between stations are displayed.
1)
1)
2)
2)

3)
3)
4)
4)

1) Station number 1 to 120: Displays the station No. of the CC-Link IE


Controller Network module.
Undef.: Displayed for the station for which station No. is
not assigned.
2) Connected Station This is displayed for the station connected (own station)
to GX Works2.

3 - 31
3) Icon Double-clicking the station icon displays the "System Monitor" window.

Icon
Station status
Module Board

Normally operating station

Focusing (icon enclosed by dotted line)

Selected station

Faulty station (Cyclic transmission is stopped.)

Warning (Although cyclic transmission is executed, an


error occurred with a module and a cable)

Station in a different shared group

– Reserved station (gray)

– Disconnected station (black)


Current connected station, specified in the connection

destination setting
Number unspecified station (Although "Specify Station
– No. by Program" is selected in parameter (normal station
only), a station number is not set in the program.)

4) Present Control and Assign Control


Present Control: Displayed to the station actually operating as control station.
Assign Control: Displayed to the station set by network parameters.

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.

1) Conditions for normal connection information obtaining and timing


When all of the following conditions are met, the normal connection
information is stored in the CC-Link IE Controller Network module.
• All stations are in data link status (Cyclic transmission status of each
station (SB00B0) is OFF.)
• No loopback station (Loopback status (SB0065) is OFF.)
• No station has a parameter error. (Parameter status of each station
(SB00E0) is OFF.)
• The number of actually connected stations is the same as the total of
stations that is set for the control station (except reserved stations).
If any of the above conditions is not met, the normal connection information
will be updated after all the conditions are met again.

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.

(b) When normal connection information has not been obtained


The disconnected 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.

(1) Description of network device status display


There are operating status, LED status, communication status, error details
button.
Item Display Description

Normal operation

Operation error (data link


Operating status
continued) (yellow)
Operation error (data link
stopped) (red)

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.

(1) How to display the logging dialog box


In the "CC-Link IE Controller Diagnostics" dialog box, click "Logging" to display
the logging dialog box.

(2) "Monitor Details" tab description


The history for the communication path switching and transient transmission error
is displayed.

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.

• Drive/Path: Specify a save location of the CSV file.


• File name: Specify the CSV file name to be saved. (*.csv)

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.

(1) How to display the system monitor dialog box

In the "CC-Link IE Controller Diagnostics" dialog box, double-click , or click


the "System Monitor", to display the system monitor dialog box.

(2) Select a module to confirm


Select "QJ71GP21-SX", the forth module of [Main Base], and click "Detail
Information". The Module's Detailed Information dialog box is displayed.

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.

The description and corrective action of an error code selected in


Error and Solution
the error information are displayed.
The LED information and switch information of the module can be
checked.

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

Control station/Normal station


0: Normal station
1: Control station

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.

(2) Remote Operation 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) Remote Operation


Select the [Operation] in the Remote Operation dialog box.
Change from [RUN] to [STOP] and select [Specify Execution Target] - [Currently
Specified Station].
Clicking the [Execute] turns OFF the green LED in the RUN display of the actual
PLC CPU.
After changing from [STOP] to [RUN], click the [Operation] to turn ON the green
LED in the RUN display of the actual PLC CPU.

3 - 42
3.10 Access directly to link devices of Network module (Direct Access)

Data can be directly read from or written to link devices (LB/LW/LX/LY/SB/SW) of


the CC-Link IE Controller Network module using the sequence program. Specify a
link device in the link direct device (J ¥ ) for direct access.

Control station Normal station


Station No.1 Station No.2

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.

Link relay B0 to 7FFF


Link register W0 to 1FFFF
Link input X0 to 1FFF
Link output Y0 to 1FFF
Link special relay SB0 to 1FF
Link special register SW0 to 1FF

Network No. 1 to 239

(2) Link device address specification range


(a) Reading form a link device
All of the link device address specification range can be specified.

(b) Writing to a link device


An area within the link device address specification range and within the own
station send range and outside the link refresh range can be specified.

CC-Link IE
CPU module Controller Network
B module LB

Link refresh

Own station send range


Writable to
this area.

Link refresh Other station send range

3 - 44
3.10.1 Direct access operation

Near step 0 and near END, the access time is different.

(1) Direct access on the sending side


(a) When near step 0
Access time between the CPU module and CC-Link IE Controller Network
module using direct access is faster by up to one sequence scan time when
compared to using link refresh, .

Link refresh

B0

Sequence scan 0 END


0 END

Link scan

Direct access

J1\B0 Same as completion status of END processing

Sequence scan 0 END 0 END

Link scan

(b) When near END


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

B0

Sequence scan 0 END 0 END

Link scan

Direct access

J1\B0

Sequence scan 0 END 0 END

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

Sequence scan END 0 END 0 END

B0 B0

Direct access

Link scan

Sequence scan END 0 END 0 END

J1\B0 J1\B0

(b) When near END


Access time between the CPU module and CC-Link IE Controller Network
module using direct access is, when compared to using link refresh, faster by
up to one sequence scan time.

Link refresh

Link scan

Sequence scan END 0 END 0 END

B0 B0

Direct access

Link scan

Sequence scan END 0 END 0 END

J1\B0

3 - 46
3.10.2 Using direct access in system configuration with 2 stations

In this task, execute the direct access.


Confirm that communication can be performed after changing the parameters and the
sequence program of "Cyclic transmission (Configuration with 2 stations)" in 3.8.1.

(1) Parameters (common for Station No. 1 and No. 2)

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

* In GX Works2, the ON/OFF status of the master control circuit is displayed


on the title tag of the monitor screen.

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

* In GX Works2, the ON/OFF status of the master control circuit is displayed


on the title tag of the monitor screen.

3 - 49
3.11 Additional exercise with cyclic transmission function

3.11.1 Cyclic transmission (Configuration with 3 stations)

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.

Station No.1 Station No.2 Station No.3

Network No.1

(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.

(a) Number of modules setting


In case of control station (station No.1)

Total number of stations for link: 3

Station No.: 1

In case of normal station (station No.2)

Station No.: 2

In case of normal station (station No.3)

Station No.: 3

3 - 50
(b) Network range assignment (Control station only)

(c) Refresh parameter (common for all stations)

3 - 51
(2) Sequence program
The programs of each station are shown below.

(a) Program for control station (Station No. 1)

Path Cyclic transmission: 3 modules


Program name 1MP1

3 - 52
(b) Program for normal station (Station No. 2)

Path Cyclic transmission: 3 modules


Program name 1NS2

3 - 53
(c) Program for normal station (Station No. 3)

Path Cyclic transmission: 3 modules


Program name 1NS3

(3) Operation method (Each station common)

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.

In this program, the link error detection program is omitted.

Station No.1 Station No.2 Station No.3

Network No.1

Station No.5 Station No.4

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.

(a) Number of modules setting


In case of control station (station No.1)

Total number of stations for link: 5

Station No.: 1

In case of normal station (station No.2)

Station No.: 2

In case of normal station (station No.3)

Station No.: 3

In case of normal station (station No.4)

Station No.4

In case of normal station (station No.5)

Station No.5

3 - 56
(b) Network range assignment (Control station only)

(c) Refresh parameter (Each station common)

3 - 57
(2) Sequence program
The programs of each station are shown below.

(a) Program for control station (Station No. 1)

Path Cyclic transmission: 5 modules


Program name 1MP1

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)

Path Cyclic transmission: 5 modules


Program name 1NS2

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)

Path Cyclic transmission: 5 modules


Program name 1NS3

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)

Path Cyclic transmission: 5 modules


Program name 1NS4

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)

Path Cyclic transmission: 5 modules


Program name 1NS5

3 - 66
* In GX Works2, the ON/OFF status of the master control circuit is displayed
on the title tag of the monitor screen.

(3) Operation method (Each station common)

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

Transient transmission function allows communications when a request is made among


stations.
The transient transmission request can be sent from GX Works2, intelligent function
module, or with link dedicated instruction (SEND, RECV, READ, WRITE, REQ, ZNRD,
ZNWR, RECV).
In the CC-Link IE Controller Network, data communication can be performed with other
stations on the same network (where the own station is connected), as well as with
stations in other networks.
4.1.1 Link dedicated instruction types and description

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.

List of dedicated instructions


Dedicated
Application Description
instruction
Setting station No. UINI For Universal model QCPUs, the station No. of a normal station (own station) can be set.

List of CC-link dedicated instructions


Dedicated
Application Description
instruction
Read/Write of another RIRD Reads the specified points of data from the target station's devices.
station's data RIWT Writes the specified points of data to the target station's devices.

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

This section describes a SEND/RECV instruction format.


(1) SEND instruction
The SEND instruction sends data to a programmable controller on another
station.
(Specified Network No.)
Send command
JP.SEND Jn (S1) (S2) (D1) JP: Execution at the rise

(Specified start I/O number of network module)


Send command
GP.SEND Un (S1) (S2) (D1) GP:Execution at the rise

Setting description Range


1 to 239
254: The network specified in
Jn Network No. of the own station
valid module during other
station access
Start I/O number of the own station's network module
Un 0 to FEH
The higher two digits of the 3-digit I/O number.
Start device that stores control data 2
(S1) Word device*
Specify the start device of the own station that stores control data.
Start device that stores the send data 2
(S2) Word device*
Specify the start device of the own station that stores send data.
Send completion device
The own station's device that is turned on for one scan upon send Bit device*
1
(D1) completion. 3
Specified bits of word device *
(D1) ··········OFF: Not complete ON: Complete
(D1) + 1 ·····OFF: Normal ON: Abnormal
*1: Bit device ································· X, Y, M, L, F, V, B
*2: Word device ······························ T, C, D, W, ST, R, ZR (Q00JCPU can not use R, ZR.)
*3: Specified bits of word device ········ Word device, bit No.

(Control data configuration (S1))


For the detailed description, refer to the next page.
Data set
Device Item User System
1 2
(Execution time)* (Completion time)*
(S1) + 0 Execution/Error completion type 
(S1) + 1 Completion status 
(S1) + 2 Channel used by own station 
(S1) + 3 Target station channel 
(S1) + 4 Target station network No. 
(S1) + 5 Target station No. 
(S1) + 6 Unused – –
(S1) + 7 Number of resends  
(S1) + 8 Arrival monitoring time 
(S1) + 9 Send data length 
(S1) + 10 Unused – –
(S1) + 11 Clock set flag 
Year (last two digits)/month on error
(S1) + 12 
completion
These are used only
(S1) + 13 Day/hour on error completion 
when Error
(S1) + 14 Minute/second on error completion 
completion type is
Year (first two digits)/day of week on
(S1) + 15  "Set clock data".
error completion
(S1) + 16 Error-detected network No. 
(S1) + 17 Error-detected station No. 

*1: Set by the sequence program


*2: Stored when instruction complete

4-2
Control data detailed description
1
Device Item Description Setting side*

b15 to b7 to b0
0 (2) 0 (1)

(1) Execution type (bit 0)


0: No arrival confirmation
When the target station is on the same network ······· Completed when data are
sent from the own station.

Execution source Target station

Completed

When the target station is on another network ·········· Completed when data
reach a relay station on the
same network.

Execution source Relay station Target station


Completed
Execution/Error
(S1) + 0 User
completion type

1: With arrival confirmation


Completed when data are stored in the specified channel of the target station.

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

(3) All stations


FFH: All stations of the target network No. (Except the own station)
(Setting is available when the execution type is set to "0: No arrival confirmation" in
(S1)+0.)
(S1) + 6 – Unused User
1) For instruction execution
Valid when the execution type specified in (S1) is "1: With arrival confirmation". For
the case where the instruction is not completed within the monitoring time specified
by (S1)+8, specify the number of times the instruction is resent.
(S1) + 7 Number of resends User system
0 to 15 (time)
2) At instruction completion
Valid when the execution type specified in ((S1) + 0) is "1: With arrival confirmation".
The number of resends (result) is stored.
Valid when the execution type specified in (S1) is "1: With arrival confirmation". Specify
the monitoring time until instruction completion.
Arrival monitoring If an instruction is not completed within this time, it will be resent the number of times
(S1) + 8 User
time specified in (S1)+7.
0 : 10 seconds
1 to 32767 : 1 to 32767 seconds
Specify the send data size of (S2) to (S2)+n.
When the target station is QCPU: 1 to 960 words
When the target station is QnACPU: 1 to 480 words
(S1) + 9 Send data length When the target station has a QCPU, check the version of the network module on the User
target station.
The size of receive data is restricted depending on the version.
1 to 960 (words)
(S1) + 10 – Unused User
The valid/invalid status of the data of (S1) + 12 to (S1) + 17 is stored.
2
(S1) + 11 Clock set flag* 0: Invalid System
1: Valid
(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 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-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)

Minute and second are stored with a BCD code.


Minute/second on b15 to b8 b7 to b0
(S1) + 14 2 System
error completion* Second (00H to 59H) Minute (00H to 59H)

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*

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
(S1) + 17 2 (However, it is not stored when an error is detected in own station.)) System
station 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 not stored when Completion status ((S1)+1) is "Channel busy".
*3: Logical channel setting is not available for the CC-Link IE Controller Network module.

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

(Sending station) CPU Network CPU Network Network


module module module
(Target station)(1st module) (2nd module)
SEND

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

(Specified start I/O number of network module)


Receive command
GP.RECV Un (S1) (D1) (D2) GP: Execution at the rise

Setting description Range


1 to 239
254: The network specified in Valid
Jn Network No. of the own station
module during other station
access
Start I/O number of the own station's Network module
Un 0 to FEH
Specify the 3- digit I/O number with the 2 two higher digits.
Start device that stores control data.
2
(S1) Specify start device of the own station that stores control Word device*
data.
Start device that stores the received data
2
(D1) Specify the start device of the own station that stores Word device*
received data.
Received completion device
The own station's device that is turned on for one scan upon 1
Bit device*
(D2) completion of receiving. 3
Specified bits of word device *
(D2)·········· OFF: Uncompleted ON: Complete
(D2) + 1 ···· OFF: Normal ON: Abnormal
*1: Bit device ···························· X, Y, M, L, F, V, B
*2: Word device ························ T, C, D, W, ST, R, ZR (Q00JCPU can not use R, ZR.)
*3: Specified bits of word device ··· Word device, bit No.

(Control data configuration (S1))


For the detailed description refer next page.
Data set
Device Item User System
(Execution time)*1 (Completion time)*2
(S1) + 0 Execution/Error completion type 
(S1) + 1 Completion status 
(S1) + 2 Own station channel 
(S1) + 3 Channel used by sending station 
(S1) + 4 Network No. of sending station 
(S1) + 5 Sending station No. 
(S1) + 6 Unused – –
(S1) + 7 Unused
(S1) + 8 Arrival monitoring time 
(S1) + 9 Receive data length 
(S1) + 10 Unused – –
(S1) + 11 Clock set flag 
(S1) + 12 Year (last two digits)/month on error 
completion
These are used only
(S1) + 13 Day/hour on error completion 
when Error
(S1) + 14 Minute/second on error completion 
completion type is
(S1) + 15 Year (first two digits)/day of week on 
"Set clock data".
error completion
(S1) + 16 Error-detected network No. 
(S1) + 17 Error-detected station No. 
*1: Set by sequence program
*2: Stored when instruction complete

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

(1) Error completion type (bit 7)


(S1) + 0 Error completion type Specify the clock data setup status for error completion. User
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 (About error code, refer to APPENDIX 5 of this textbook)
Specify the channel where data to be read are stored.
(S1) + 2 Own station channel User
1 to 8 (Channel)
Channel used by Stores the channel used by the sending station.
(S1) + 3 System
sending station 1 to 8 (Channel)
Network No. of Stores network No. of the sending station.
(S1) + 4 System
sending station 1 to 239: Network No.
Stores station No. of the sending station.
(S1) + 5 Sending station No. System
1 to 120 (Station No.)
(S1) + 6 ― Unused User
(S1) + 7 ― Unused User
Specify the monitoring time required for instruction completion.
If not completed within the monitoring time, the instruction is terminated with an error.
(S1) + 8 Arrival monitoring time User
0 : 10 seconds
1 to 32767 : 1 to 32767 seconds
Stores the receive data size stored in (D1) to (D1)+n.
(S1) + 9 Receive data length System
1 to 960 (words)
(S1) + 10 ― Unused User
The valid/invalid status of the data of (S1) + 12 to (S1) + 15 is stored.
2
(S1) + 11 Clock set flag* 0: Invalid System
1: Valid
The month and year (last two digits) are stored with a BCD code.
Month/year (last two
(S1) + 12 digits) on error b15 to b8 b7 to b0 System
2 Month (01H to 12H) Year (00H to 99H)
completion*

Hour and day are stored with a BCD code.


Hour/day on error b15 to b8 b7 to b0
(S1) + 13 2 System
completion* Hour (00H to 23H) Day (01H to 31H)

Second and minute are stored with a BCD code.


Second/minute on b15 to b8 b7 to b0
(S1) + 14 2 System
error completion* Second (00H to 59H) Minute (00H to 59H)

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*

(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 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-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

In this task, execute the transient transmission.


Confirm that data can be sent (1MP1) and received (1NS2) by the link dedicated
instructions (SEND/RECV). Modify the practice machine configuration as follows, write
the parameters and the sequence program to each station to check the operation.

Control station, 1 station Normal station, 2 stations

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

(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.

(a) Number of modules setting


In case of control station

Total number of stations for link: 2

Station No.: 1

In case of normal station

Station No.: 2

4 - 10
(b) Network range assignment (Control station only)

(c) Refresh parameter (Each station common)

4 - 11
(2) Sequence program
The programs of each station are shown below.

(a) Program of control station (Station No. 1)

Path Transient transmission (SEND/RECV)


Program name 1MP1

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.

(3) Operation method

(1) Set send data (Send side 1MP1)


Set send data on digital switch (X20 to X2F) and store the data in D1 by
turning ON X0.

(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)

(3) Send data (Send side 1MP1)


Turn ON X1.
When data is sent correctly, Y71 lights. When there is an error, Y71 flashes.

(4) Confirm receiving and read data (Received side 1NS2)


When data is received, Y71 flashes.
When the reception is checked, turn ON X3 and read the received data.
When the reading is completed, Y71 turns OFF.

(5) Display the received data (Received side 1NS2)


Turn ON X7 and check if the received data points are displayed on the digital
display (Y40 to Y4F).

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.

Control station, 1 station Normal station, 2 stations

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

(1) In the Navigation window view, click


Connection Destination.

(2) The Connection Destination view is


displayed. Double-click "Connection1" in
"Current Connection".
(2) Click !

(3) From [Other Station Setting], click [Other


Station (Single Network)].
(3) Click !

To the next page

4 - 16
From the previous page
(4) The confirmation message is displayed. Click
Yes .

(4) Click !

(5) From [Network Communication Route], click


[CC IE Cont NET/10(H)].
(5) Double click !

(6) Set access destination network No. and


station number then click OK .

(7) Confirm that Network No. and Station No.


have been changed.

(8) Click the OK button.

(8) Click !

(9) The information is displayed on the left


Other station
PC Type specification Network No. bottom of the screen.

Station No.

(10) Click the button to execute the PLC


reading.
(10) Click !
(Parameter and program are read.)

4 - 17
Memo

4 - 18
CHAPTER 5 EXERCISE 3 (ROUTING FUNCTION)

5.1 Routing function

This function allows transient transmissions to stations located on other networks in a


multi-network system.
By setting routing parameters for a relay station on the own network, transient data can
be sent to another network through this relay station.

■ Operation of the routing function


This example describes when transient data are sent from the request source
(1NS3) to the request target (3NS4).

(Request source)

Network No.1 Network No.3


(Relay station 1) (Relay station 2)

Network No.2 (Request target)

Station Transient transmission (request) Transient transmission (response) 5


Target Relay Relay
network No. network No. station No.
Request
source
Passes data to relay station 1NS4 on its
own network to reach network No.3.

Target Relay Relay


network No. network No. station No.
Relay
station 1
Passes data to relay station 1NS4 on its Passes the data to No.3 on network
own network to reach network No.3. No.1.

Passes the data to 3Ns4 on network Target Relay Relay


No.3. network No. network No. station No.
Relay
station 2
Passes data to relay station 2MP1 on its
own network to reach network No.1.

Automatically gives data to the relay


Request
station.
target

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

Q06 X Y AD DA Q06 X Y AD DA Q06 X Y AD DA


Blank

Blank
Blank
UDH UDH UDH

Network No.1 Network No.50

Station 2
Station 1

Station 2
PLC D PLC E

Q06 X Y AD DA Q06 X Y AD DA
Blank

Blank
UDH UDH

Network No.100 Network No.150

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.

<Things to know before starting parameter setting>


• The routing parameters are set according to the procedure like "To go to the
station of the network No. , it is required to pass through the station No.  of
network No. □".
: Transfer network No. □: Relay network No. : Relay station No.
• For relay stations, routing parameters to go "from request source to request
destination" and "from request destination to request source" are required.
• When a request destination exists in the same network, routing parameters are not
required.

(1) Route for request source (A) to request destination (E)

(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

Target Relay Relay Target Relay Relay


A network No. network No. station No. D station No.
network No. network No.
A→E 150 1 2 No need to set, because D and E are in the
D→E
same network
A←D 1 100 1
Target Relay Relay
B station No.
network No. network No.
B→E 150 50 2
No need to set, because A and B are in the
A←B same network

Target Relay Relay


C station No.
network No. network No.
C→E 150 100 2
A←C 1 50 1

5-3
(2) PLC A (Request source) routing parameter
<Routing Information screen>

(3) PLC B (Relay station) routing parameter


<Routing Information screen>

(4) PLC C (Relay station) routing parameter


<Routing Information screen>

(5) PLC D (Relay station) 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.

(1) How to display communication test dialog box

(1) Select [Diagnostics] → [CC IE Control Diagnostics]

* When two or more CC-Link IE Controller Network


modules are mounted, the [Select Diagnostics
Destination] dialog box appears. Select a network
and click the OK button.

(2) Click [Communication Test] in the [CC-Link IE Controller Network Diagnostics] dialog box.

(3) The [Communication Test] dialog box is displayed.

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) Set the communication test as below.

1: Target Station
Network No.: ···· 150
Station No.: ···· 2

2: Communication Data Setting


Data Length: ···· 100 Bytes
Communication Count: ···· 1 Count
Communication Timeout: ···· 5 Seconds

(2) Click the button.

(3) The communication test result dialog box is displayed.

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.

5.5.1 Other station word device Read/Write

(1) READ/WRITE instruction format


(a) READ
(Specified Network No.)
Reading command
JP.READ Jn (S1) (S2) (D1) (D2) JP: Execution at the rise

Reading command
GP.READ Un (S1) (S2) (D1) (D2) GP: Execution at the rise

(Available when own station is a Universal model QCPU)


Reading command
JP.READ Jn (S1) “(S2)” (D1) (D2) JP: Execution at the rise

Reading command
GP.READ Un (S1) “(S2)” (D1) (D2) GP:Execution at the rise

Setting description Data type


Network number of the own station (1 to 239, 254)
Jn
254: The network specified in valid module during other station access
Binary 16 bits
Start I/O number of the own station's CC-Link IE Controller Network module
Un
(00 to FEH: The higher two digits of the 3-digit I/O number)
(S1) Start device of the own station that stores control data
(S2) Target station's start device where data to be read are stored
Device name
The own station's start device where readout data will be stored
(D1)
(A continuous area for the read data length is required.)
The own station's device that is turned on for one scan upon completion of
(D2) the instruction. Bit
(D2) + 1 also turns on if the instruction execution has failed.
*1: Local devices and file registers for each program cannot be used in the setting data.

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

(Available when own station is a Universal model QCPU)


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

Setting description Data type


Network number of the own station (1 to 239, 254).
Jn
254: The network specified in valid module during other station access
Binary 16 bits
Start I/O number of the own station's CC-Link IE Controller Network module
Un
(00 to FEH: The higher two digits of the 3-digit I/O number.)
(S1) Start device of the own station that stores control data.
(S2) The target station's start device where write data are stored.
Device name
Target station's start device to which data are to be written.
(D1)
(A continuous area for the write data length is required.)
The own station's device that is turned on for one scan upon completion of
(D2) the instruction. Bit
(D2) + 1 also turns on if the instruction execution has failed.
*1: Local devices and file registers for each program cannot be used in the setting data.

5-9
5.5.2 Parameter settings

(1) Number of modules setting

5 - 10
(2) Network range assignment (Each control station common)

(3) Refresh parameter

(a) PLC A (Request source)

(b) PLC B (Relay station)


Module 1

Module 2

5 - 11
(c) PLC C (Relay station)
Module 1

Module 2

(d) PLC D (Relay station)


Module 1

Module 2

5 - 12
(e) PLC E (Request source)

(4) Routing parameters


Same settings as in P5-4.

Transfer network No. Relay network No. Relay station No.

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

(1) Sequence program of request source PLC A


(The link error detection program is omitted.)

Path Routing
Program name A

(2) Sequence program of request destination PLC E


(The link error detection program is omitted.)

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

(2) When transient transmission is performed to a remote network using the


routing parameters, the amount of transmission data and the number of
transmissions may affect the entire system since data is transferred through
many networks.
For example, in networks No.2 to 5 in the figure above, the link scan time may
become temporarily longer and the transient transmission within the own
station may be delayed because of the transient transmissions from other
networks.
When using the routing parameters, design the route considering the entire
system.

5 - 15
5.6 Multiple network (Interlink transmission)

5.6.1 Performing interlink transmission of multiple network

Communication is executed by the cyclic transmission in the multiple network system.


Configure the practice machine as follows, write the parameters and the sequence
program to each station to check the operation. The data transmission between
networks is executed by the interlink transmission. In this program, the link error
detection program is omitted.
Station 1

Station 2
Station 1

Station 2
PLC A PLC B PLC C

Q06 Y AD DA Q06 Y AD DA Q06 Y AD DA

Blank
X X X
Blank

Blank
UDH UDH UDH

Network No.1 Network No.50

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

Data of network No.2 Data of network No.1


Network No.1 Network No.2

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.

(a) Number of modules setting


PLC A

PLC B

PLC C

(b) Network range assignment (PLC A and module No. 2 of PLC B)

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)

Transfer from: Module 1: CC IE Control(Normal station)


Transfer to: Module 2: CC IE Control(Control station)

Transfer from: Module 2: CC IE Control(Control station)


Transfer to: Module 1: CC IE Control(Normal station)

5 - 19
(2) Sequence program
The programs of each station are shown below.

(a) Program of PLC A

Path Multiple network (Interlink transmission)


Program name A

(b) Program of PLC B

Path Multiple network (Interlink transmission)


Program name B
* Network No. 1 is replaced with Network No. 2 automatically.
* Network No. 2 is replaced with Network No. 1 automatically.

(c) Program of PLC C

Path Multiple network (Interlink transmission)


Program name C

(3) Operation method

(1) Send from PLC A to PLC C


Turn ON X2 of PLC A and confirm that Y70 of PLC C turns ON.

(2) Send from PLC C to PLC A


Turn ON X2 of PLC C and confirm that Y70 of PLC A turns ON.

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.58Nm
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

Appendix 2.1 Differences in LED display and switch settings

Although CC-Link IE Controller Network Module QJ71GP21-SX/QJ71GP21S-SX also


has the LED display as MELSECNET/H network module QJ71LP21, QJ71LP21-25,
QJ71LP21S-25, QJ71BR11, there are differences between each network module as
shown below. Be careful when operating the modules.

Model name QJ71LP21, QJ71LP21-25,


QJ71GP21-SX QJ71GP21S-SX
Item QJ71LP21S-25, QJ71BR11
RUN RUN
MODE -
PRM MNG
- T.PASS
LED display D LINK D LINK
SD SD
RD RD
1 1
ERR.* ERR.*
1
- L ERR.*
STATION NO.
Station number setting switch -
×10, ×1
STATION NO.
Station No. setting status (LED) -
×100, ×10, ×1
MODE
2
0: Online* (The parameters are valid)
1: Self-loopback test
2: Internal self-loopback test
No switch.
3: Hardware test
Mode setting switch Set the each diagnostic function in the network 3
4: Online *
parameter. 3
5: Self-loopback test *
3
6: Internal self-loopback test *
3
7: Hardware test*
8 or later: Use prohibited
Compatible CPU QCPU
Compatible base Q3□B,Q6□B Q3□B,Q6□B
External dimensions Except QJ71LP21S-25: 98 × 27.4 × 90
98 × 27.4 × 90 98 × 55.2 × 90
(H×W×D(mm)) QJ71LP21S-25: 98 × 55.2 × 90
Weight (kg) Except QJ71LP21S-25: 0.11
0.18 0.28
QJ71LP21S-25: 0.20

*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.

(1) Optical fiber cable


(a) Applicable optical fiber cable
The cable for the MELSECNET/H module cannot be used with the CC-Link IE
Controller Network module.

(b) Station-to-station distance


The station-to-station distance for the CC-Link IE Controller Network is up to
550m.
When the station-to-station distance is longer than 550m, shorten it to 550m
or less.

(2) Content set by switch of the MELSECNET/H module main body


Setting should be made at network parameters in the CC-Link IE Controller
Network module.

(3) Diversion of network parameters


When changing "Network Type" with GX Works2, data set is canceled.
When diverting network parameters, copy the setting contents to text editor etc.
before changing "Network Type".
Copy can be made from [Copy] under [Edit] in GX Works2.

REMARK

The operations of cutting, copying, or pasting network parameters cannot be


performed in some range.

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.)

Link special relay (SB) list


Availability
No. Name Description Control Normal
station station
Restarts cyclic transmission of own station.*1
SB0000 Link start (own station) OFF : Startup not directed  
ON : Startup directed (valid at rising)
Stops cyclic transmission of own station.*1
SB0001 Link stop (own station) OFF : No stop instruction  
ON : Stop directed (valid at rising)
Restarts cyclic transmission of the entire system.*1
The station to restart cyclic transmission can be specified by Link stop/startup
direction (SW0000 to SW0008) or Group specification for link stop/startup
SB0002 System link startup  
(SW0012 to SW0013).
OFF : Startup not directed
ON : Startup directed (valid at rising)
Stops cyclic transmission of the entire system.*1
The station to stop cyclic transmission can be specified by Link stop/startup
direction (SW0000 to SW0008) or Group specification for link stop/startup
SB0003 System link stop  
(SW0012 to SW0013).
OFF : No stop instruction
ON : Stop directed (valid at rising)
Clears the communication error count that is displayed at CC IE Control
Clear communication diagnostics into 0.
SB0006  
error count OFF : Clear not directed
ON : Clear directed (ON Valid)
Clears the IN-side line error detection area (SW0068, SW0069, SB006E, SB0140,
Clear IN-side
SW0074, SW0140 to SW0147) into 0.
SB0007 transmission error  
OFF : Clear not directed
counter
ON : Clear directed (Number of errors is not counted during ON)
Clears the OUT-side line error detection area (SB006F, SB0150, SW006A,
Clear OUT-side
SW006B, SW0084, SW0150 to SW0157) into 0.
SB0008 transmission error  
OFF : Clear not directed
counter
ON : Clear directed (Number of errors is not counted during ON)
Clears the own station's path switching detection area (SB008E, SB0160,
Clear loop switching SW006E, SW0160 to SW0167) to 0.
SB0009  
counter OFF : Clear not directed
ON : Clear directed (Number of errors is not counted during ON)
Clears the own station's area for transient transmission errors (SB008F, SB0170,
Clear transient
SW006F, SW170 to SW0177) to 0.
SB000A transmission error  
OFF : Clear not directed
counter
ON : Clear directed (Number of errors is not counted during ON)

*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.)

Link special registers (SW) list

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

Transmission path information 1


(00: Optical)
Transmission path information 2
(0: Duplex system)
SW0046 Module type Topology  
(0: Loop type)
Cable type
(0: Supports SX)
External power supply function
(0: Not provided, 1: Provided)
Model type
(01: Module)

Stores the communication status of own station.


0: Data linking
1: Data link stop in execution
SW0047 Baton pass status 2: Baton pass being executed  
3: Baton pass stop in execution
4: Test being executed
5: Offline
Stores the cause of interrupting communication (baton pass) of the own station.
00H: Normal communication
30H: Cable disconnection or power-on
31H: Cable insertion error
Cause of baton pass 32H: Cable IN-OUT checking
SW0048  
interruption 33H: Disconnection or reconnection processing
40H: Offline mode
41H: Hardware test
42H: Self-loopback test
50H: Self-diagnostics in execution
Stores the cause of stopping data link of the own station.
00H: Normal communication
01H: Stop directed
02H: Monitoring timeout
03H: Circuit test being executed
10H: Parameter unreceived
11H: Own station No. out of range
12H: Own station reserved station setting
13H: Own station No. duplication
Cause of data link 14H: Control station duplication
SW0049  
stop 15H: Control station/own station No. duplication
16H: Station No. unset
17H: Network No. improper
18H: Parameter error
19H: Parameter communicating
20H: CPU module stop error
21H: CPU module power stop error
The CPU module power stop error (21H) can be detected in CC-Link IE Controller
Network modules with external power supply function.
The above data are detected when a CPU module is powered ON and then OFF.
The station No. of the station where a cyclic transmission stop request is executed is
stored into own station.
Range: 1 to 120
Data linking stop The stop request of cyclic transmission is executed by System link stop (SB0003).
SW004A  
request station (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.
Stores the CPU module status of the own station.
01H: STOP (Normal)
02H: STOP (Stop error is occurring)
03H: STOP (Continuation error is occurring)
Own station's CPU 04H: RUN (Normal)
SW004B  
status 05H: RUN (Continuation error is occurring)
06H: STEP-RUN
07H: PAUSE
0EH: CPU module resetting
0FH: CPU module initial processing

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

Parameter Network range assignment


SW0054 (0: No, 1: Yes)  
information
Refresh parameter or interrupt setting
(0: No, 1: Yes)
(Condition)
• Valid when Received parameter error (SB0055) is OFF.
Stores the status of parameters.
0: Normal
Parameter setting
SW0055 1 or later: Error  
status (Condition)
• Valid when Received parameter error (SB0055) is ON.
Stores the station No. of the station which is actually operating as a control
SW0056 Current control station station.(Including sub-control station)  
Range: 1 to 120
Stores the station No. of the control station which is set by network parameters.
Designated control
SW0057 0: Control station or sub-control station does not exist in a network.  
station 1 to 120: Station No.
Total number of link Stores the total number of link stations which is set by network parameters.
SW0059  
stations Range: 2 to 120
1
Maximum baton pass Stores the largest No. of the station which performs baton pass.*
SW005A  
station Range: 2 to 120
Stores the largest No. of the station where cyclic transmission is performed.*2
Maximum cyclic Range: 1 to 120
SW005B  
transmission station (Condition)
• Valid when Data link status of own station (SB0049) is OFF.
Stores the station No. for I/O master station of block 1.*2
0: No I/O master station
I/O master station
SW005C 1 to 120: Station No.  
(Block 1)
(Condition)
• Valid when Data link status of own station (SB0049) is OFF.
Stores the station No. for I/O master station of block 2.*2
0: No I/O master station
I/O master station
SW005D 1 to 120: Station No.  
(Block 2)
(Condition)
• Valid when Data link status of own station (SB0049) is OFF.
Maximum link scan Stores the maximum value of link scan time at cyclic transmission. *1
SW0060 (Unit: ms)  
time
1
Minimum link scan Stores the minimum value of link scan time at cyclic transmission.*
SW0061 (Unit: ms)  
time
1
Stores the current value of link scan time at cyclic transmission.*
SW0062 Current link scan time The stored value includes an error of up to 1ms.  
(Unit: ms)
*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 - 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

OUT-side mis-cabling OUT OUT OUT OUT


SW0072  
station No.

SW0072:3 SW0072:3 SW0072:2 SW0072:2

0 : No station connects cable incorrectly


1 to 120 : Station No.
(Condition)
• Valid when IN-side loopback factor (SW0071) is 03H (OUT-side cable insertion error).
IN-side cable Stores the number (accumulation) of detecting cable disconnection at IN-side.
SW0074 disconnection The number of detections is cleared when Clear IN-side transmission error counter  
detection count (SB0007) is turned 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 - 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.  

SW0082:3 SW0082:3 SW0082:2 SW0082:2

0 : No station connects cable incorrectly


1 to 120 : Station No.
(Condition)
• Valid when OUT-side loopback factor (SW0081) is 03H (IN-side cable insertion error).
OUT-side cable Stores the number (accumulation) of detecting cable disconnection at OUT-side.
SW0084 disconnection The number of detections is cleared when Clear OUT-side transmission error counter  
detection count (SB0008) is turned ON.
Stores the station No. of the target station where a station-to-station test is performed.
(Valid only at station-to-station test)
Station-to-station test Stores the station No. of a target station when monitoring an executing station.
SW0096  
station Stores the station No. of an executing station when monitoring a target station.
0 : Station No. not set
1 to 120 : Station No. for target station of station-to-station test
Stores the baton pass status of each station.*1
0: Baton pass normally operating station
1: Baton pass faulty station
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
SW00A0 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW00A1 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW00A2 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
SW00A0
Baton pass status of SW00A3 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
to  
each station
SW00A7 SW00A4 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW00A5 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW00A6 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW00A7 - - - - - - - - 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 - 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

SW00D0 Parameter SW00D3 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49


to communication status SW00D4 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65  
SW00D7 of each station SW00D5 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW00D6 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW00D7 - - - - - - - - 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 - 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

Current IN-side SW0122 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33


SW0120
errorframe reception SW0123 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
to  
status SW0124 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0127
SW0125 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0126 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0127 - - - - - - - - 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.*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
SW0130 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0131 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17

Current OUT-side SW0132 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33


SW0130
error framereception SW0133 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
to  
status SW0134 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SW0137
SW0135 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
SW0136 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
SW0137 - - - - - - - - 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)
*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 - 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 5.1 Error code of controller network

Error code list


Error
Description Error detail Corrective action
No.
4000H
to Errors detected by the CPU module
4FFFH
7000H
to Errors detected by the serial communication module, etc.
7FFFH
B000H
to Errors detected by the CC-Link system
BFFFH
C000H
to Errors detected by the Ethernet interface module
CFFFH
E000H
• Please consult your local Mitsubishi
to Network module error The hardware has failed.
E005H representative.
• Temporarily stop the transient transmission,
and then retry it.
• Reduce the operation frequency of transient
transmission, and then retry the operation.
E006H Receive queue full The receive queue 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.
E007H
• Please consult your local Mitsubishi
to Network module error The hardware has failed.
E011H representative.
E012H • Write correct network parameters to the
programmable controller.
Parameter check
The network parameter setting is not correct. • If the error persists even after taking the above
E013H result error
actions, please consult your local Mitsubishi
representative.
E014H
to Network module error The hardware has failed.
E018H • Please consult your local Mitsubishi
No response has been received from the representative.
E019H CPU module error
CPU for 5 seconds.
CPU module stop A stop error has occurred in the CPU • Check the error in "PLC Diagnostics" of GX
E01AH
error module. Works2, and take corrective actions.
• The CPU module has been powered off.
E01BH CPU module power failure Power failure occurred in the CPU module.
Power it on again.
• Write correct network parameters to the
programmable controller.
Some of the network parameters are
E101H Parameter error • If the error persists even after taking the above
incorrect.
action, please consult your local Mitsubishi
representative.

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.

CPU module Network module CC-Link IE


Controller
Network

Main routine Interrupt


program condition check

Execute the interrupt


- Link device when the conditions are met
(LB/LW/LX) change?

FEND - Network status


I50 (SB/SW) change?
Interrupt
program
- Data reception status
IRET of specified channel?
END
Channel ABC...... SEND
3 instruction

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)

Setting condition Channel


Device Word device Interrupt
Detection method Interrupt condition No./Connection
No. setting value (SI) No.
Device code No.
Scan Completed (Fixed)
Interrupt occurs when the
RECVS – Edge Detect (Fixed) – 1 to 8 0 to 15
specified channel has received
data
0 to Edge Detect/Level Detect + ON/OFF
LB – – 0 to 15
7FFFH Interrupt occurs with the following conditions
*1
0 to At ON : (ON + Level Detect )
LX *1 – – 0 to 15
1FFFH At OFF : (OFF + Level Detect )
0 to At rising : (ON + Edge Detect)
SB – – 0 to 15
1FFH At falling : (OFF + Edge Detect)
Edge Detect/Level detect + Equal/Unequal
0 to
LW Interrupt occurs with the following conditions 0 to 65535 – 0 to 15
1FFFH *1
At value match : (Equal + Level Detect )
1
At value mismatch : (Unequal + Level Detect* )
At value match (the first time only)
0 to
SW : (Equal + Edge Detect) 0 to 65535 – 0 to 15
1FFH
At value mismatch (the first time only)
: (Unequal + Edge Detect)
*1: When selecting the "Level detect" as the detection method, an interrupt occurs by checking the level condition of the specified device
for every configured link scan of network module.

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).

The following settings are shown as examples.


<Intelligent Module Side>
(1) Start I/O No.: 0000 ····· Network module mount position
(2) Start SI No.: 0 ··········· Interrupt (SI) No. start number (0 to 6)

<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

Channel 1 Channel 1 Interrupt program


execution
Channel 2 Channel 2
SM400
SEND Channel 3 Channel 3 I50 RECVS
Channel 4 Channel 4
Channel 5 Channel 5 IRET
Channel 6 Channel 6
Channel 7 Channel 7
Channel 8 Channel 8

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 ─ ─ ○

(Interrupt pointer setting)


CPU side Intelligent module side
Interrupt pointer Interrupt pointer
Start I/O No. Start SI No.
start No. count
50 1 0000 0

Network module Network module


CPU station No. 3 station No. 15 CPU
LB LB Interrupt program
execution
SM400
J7\B100 I50 Receive
processing

LB100 LB100 IRET

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)

It is possible to execute interrupt program by setting data link information (SB/SW)


as an interrupt condition.
In the following example, set the interrupt setting parameter so that the interrupt
program is started up with the ON of SB49 (Data link error) in channel 15.
(Interrupt setting parameter)
Device Device Detection Interrupt Word device Channel Interrupt (SI)
code No. method condition setting value No./connection No. No.
SB 49 Edge detect ON ─ ─ ○

(Interrupt pointer setting)


CPU side Intelligent Module Side
Interrupt pointer Interrupt pointer
Start I/O No. Start SI No.
start No. count
51 1 0000 0

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

Setting description Range Usable devices


Start I/O number of the own station's Network module
Un 0 to FEH –
Specify the 3- digit I/O number with the two higher digits.
Start device that stores control data. 2
(S1) Within the range of the specified device Word device*
Start device of the own station that stores control data.
Start device that stores the received data 2
(D1) Within the range of the specified device Word device*
Specify the start device of the own station that stores received data.
1
Bit device*
(D2) Dummy – Specify the bits of
3
word device*

*1: Bit device ··································X, Y, M, L, F, V, B


*2 Word device ·······························T, C, D, W, ST, R, ZR (Q00JCPU can not use R, ZR.)
*3: Specified bits of word device·········Word device, bit No.

Control data detailed description


Setting
Device Item Description Range
side*1
Execution/Error completion b15 to b0
(S1) + 0 0000H (fixed) 0000H User
type
The instruction completion status is stored.
(S1) + 1 Completion status 0 : Normal – System
Other than 0 : Error
Specify the channel of the own station, where
(S1) + 2 Own station channel 1 to 8 User
receive data are stored.
Channel used by sending Stores the channel used by the sending station.
(S1) + 3 – System
station 1 to 8 : Channel
Stores network No. of the sending station.
(S1) + 4 Network No. of sending station – System
1 to 239 : Network No.
Stores station No. of the sending station.
(S1) + 5 Sending station No. – System
1 to 120 : Station No.
(S1) + 6 – Unused 0 User
(S1) + 7 – Unused 0 User
(S1) + 8 – Unused 0 User
Stores the receive data size stored in (D1) to
(S1) + 9 Receive data length (D2)+n. – System
1 to 960 : Receive data size (words)
*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 module stores the execution result of the link dedicated instruction.

Appendix - 37
(2) Instruction execution timing
1) When completed normally

SEND (With arrival confirmation)

Sequence scan 0 END 0 END 0 END 0 END 0 END

Send command
Sending station's CPU

Send completion device


(Device specified in (D1)) 1 scan

Network module Channel 3

Data
transmission Storage
completed

Network module Channel 15

RECVS

Interrupt program IRET

Sequence scan END 0 END END 0 END 0 END

1 scan completed
Receiving station's CPU

SM0 error flag OFF

SD0 error code =0

Receive data storage device


(Device specified in (D1)) Receive data

Appendix - 38
2) When failed
In case of RECVS instruction

Data
reception

Network module Channel 15

RECVS

Interrupt program IRET

Sequence scan END 0 END END 0 END 0 END

Receiving station's CPU


SM0 error flag

SD0 error code Error code

Receive data storage device


(Device specified in (D1))

Appendix - 39
Appendix 6.6 Example of use

Network module Network module


CPU station No.1 station No.15 CPU

Channel 1 Channel 1 Interrupt program


Channel 2 Channel 2 execution
SEND Channel 3 Channel 3 I50 RECVS
Channel 4 Channel 4
Channel 5 Channel 5 IRET
Channel 6 Channel 6
Channel 7 Channel 7
Channel 8 Channel 8

Network No.7

(1) Parameter setting in the interrupt setting screen (network parameter)


Set the device code, Channel No., and Interrupt (SI) No. so that the event is
issued to the CPU side when data are received in channel 5 of the station No. 15
network module.
Word
Device Device Detection Event Channel Interrupt
device
code No. method condition No. (SI) No.
value
RECVS (Edge (Scan
0005 0
instruction Detect) completed)

(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

Processing program for send completion


Processing program for normal completion
Processing program for error completion Error code reading

(b) Program of station number 15


Before using the following program, establish an interlock according to
Appendix 7.1.1.
Enable Interrupt
Main program
Main program complete
Interrupt program Always ON
Reception confirmation storage channel No. of own station
Store 4 words from channel 5 of network module
(network No.7) to "D1000 to D1003".

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)

The system configuration for the practice is the same as task 1.


Parameter and sequence program are written to the each station to check the operation.
Control station, 1 station Normal station, 2 stations

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

(1) Set parameters with GX Works2


Double-click [Ethernet/CC IE/MELSECNET] in [Network Parameter] of the Project
View, configure settings as described below.

(a) Number of modules setting


In case of control station (station No.1)

Total number of stations for link: 2

Station No.: 1

In case of normal station (station No.2)

Station No.: 2

Appendix - 42
(b) Network range assignment (Control station only)

(c) Refresh parameter (Each station common)

(d) Interrupt setting (Normal 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.

(a) Program of control station (Station No. 1)

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

● Interrupt processing (1) (LB0 = ON: Edge Detection)


Confirm that the interrupt processing is executed by ON of X2 of station No. 1
and the value displayed on the digital display of station No. 2 changes.
● Interrupt processing (2) (LW0 = 500: Edge Detection)
Confirm that the interrupt processing is executed by ON of X3 while the
station No. 1 digital switches (X20 to X2F) are set to 500, and that the value
displayed on the digital display of station No. 2 changes.
● Interrupt processing (3) (SB64 = ON: Level Detection)
Confirm that the interrupt processing is executed by disconnecting the optical
fiber cable and the lamp of station No. 2 (Y70) lights.
● Interrupt processing (4) (SWF0 is not 0: Level Detection)
Confirm that the interrupt processing is executed by setting the CPU to the
STOP status and the lamp of station No. 2 (Y71) lights.
● Interrupt processing (5) (Data reception)
Confirm that the interrupt processing is executed by ON of X5 of station No. 1,
and the value displayed on the digital display of station No. 2 changes.

Appendix - 49
Appendix 7 Programming

Appendix 7.1 Precautions on programming

Appendix 7.1.1 Interlock related signals

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)

Set the following value to the timer constant K□.


Baton pass status
(Link scan time ×6) + (CPU target station scan time × 6) or more
(T0, T2)
Cyclic transmission status
(Link scan time × 3) or more
(T1, T3)

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.

Appendix 7.2.1 32-bit data assurance

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.

Parameter setting of network range assignment

(2) (1) (4) (3)

For the sending data of 32-bits or less, the interlock program is not required when
meeting the conditions.

QCPU QJ71 I/O QCPU QJ71 I/O QCPU QJ71 I/O


Positioning
Positioning

GP21 GP21 GP21


-SX -SX -SX

Floating points CC-Link IE Controller Network

Present value, command speed, 32 bits I/O data etc.

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.

CC IE Control Supplementary Setting

By selecting "Block data assurance per station is available", an interlock is not


necessary for the link data between the stations.
CPU module Network module
device W LW

Updated part of Refresh A Station No.1


refresh A

Updated part of Refresh B Station No.2


refresh B (Host 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

ST : Sequence scan time on sending side (excluding link refresh time)


SR : Sequence scan time on receiving side (excluding link refresh time)
αT : Link refresh time*1 on sending side
αR : Link refresh time *1 on receiving side
LS : Link scan time
*1 Total of the number of mounted network modules.

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)

(1) Send command turns ON.


(2) The contents of D0 to D2 are stored in W0 to W2.
(3) Upon completion of storage in W0 to W2, B0 for handshaking turns ON.
(4) By cyclic transmission, link relay (B) data are sent after link register (W) data
transmission, which turns ON B0 of the receiving station.
(5) The contents of W0 to W2 are stored in D100 to D102.
(6) Upon completion of storage in D100 to D102, B100 for handshaking turns ON.
(7) When the data are sent to the receiving station, B0 turns OFF.

Appendix - 56
Appendix 7.3 Transient transmission

In the transient transmission, it is required to establish the following interlock.


The network module has 8 channels to execute instructions.
These 8 channels can be used at the same time, but the same channel cannot be used
simultaneously by multiple instructions.
When using the same channel simultaneously, the following instructions have to wait.
Therefore, create a program that sets a flag until the previous instruction is completed.

(Example) When executing the same channel by two instructions

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

Control station Control station Control station Control station


Station No.: 1 Station No.: 2 Station No.: 1 Station No.: 2

Control station Control station Control station Control station


Station No.: 4 Station No.: 3 Station No.: 4 Station No.: 3

Block 2
I/O master station

(Example communication using LX/LY)

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.

Control station, 1 station Normal station, 2 stations

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/Y80X/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

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.

(a) Number of modules setting


In case of control station (station No.1)

Total number of stations for link: 2

Station No.: 1

In case of normal station (station No.2)

Station No.: 2

Appendix - 59
(b) Network range assignment (Control station only)

(LB/LW setting (1))

(LX/LY setting (1))


After selecting the I/O master station number (station No.1), click the [Specify
I/O Master Station] button.

Select!

Click !

(c) Refresh parameter (Each station common)

Appendix - 60
(2) Sequence program
The programs of each station are shown below.

(a) Program of control station (Station No. 1)

Path LX-LY
Program name 1MP1

* In GX Works2, the ON/OFF status of the master control circuit is displayed on


the title tag of the monitor screen.

Appendix - 61
(b) Program of normal station (Station No. 2)

Path LX-LY
Program name 1NS2

* In GX Works2, the ON/OFF status of the master control circuit is displayed on


the title tag of the monitor screen.

Appendix - 62
(3) Demonstration machine operation

1) Turn ON X2 of station No.1.


When Y1000 of station No. 1 turns ON, confirm that the lamp of station No. 2
lights.
2) Operate the digital switch (X20 to X2F) of station No. 1.
By the data of Y1020 to Y102F of station No. 1, confirm the value displayed
on the digital display of station No. 2 changes.
3) Turn ON X2 of station No. 2.
When Y1000 of station No. 2 turns ON, confirm that the lamp of station No. 1
lights.
4) Operate the digital switch (X20 to X2F) of station No. 2.
By the data of Y1020 to Y102F of station No. 1, confirm the value displayed
on the digital display of station No. 2 changes.

Appendix - 63
Memo

Appendix - 64 SH-081375ENG-A
Mitsubishi Programmable Controllers Training Manual
CC-Link IE Controller Network (for GX Works2)

MODEL

MODEL
CODE

SH-081375ENG-A (1403) MEE

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.

Specifications subject to change without notice.

You might also like