GX Works2 (Simpled Project)
GX Works2 (Simpled Project)
GX Works2 (Simpled Project)
Training Manual
CC-Link (for GX Works3)
SAFETY PRECAUTIONS
(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, power off the system 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.
● Power off the system before mounting 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 the "Power
switch" or "Emergency switch" to turn off.
● When a problem occurs, notify the instructor as soon as possible.
A-1
MEMO
A-2
REVISIONS
*The text number is given on the bottom left of the back cover.
Revision date *Manual number Description
November 2017 SH(NA)-081676ENG-A First edition
This manual confers no industrial property 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 manual.
A-3
TRADEMARKS
Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan.
Microsoft, Microsoft Access, Excel, SQL Server, Visual Basic, Visual C++, Visual Studio, Windows, Windows NT, Windows
Server, Windows Vista, and Windows XP are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
A-4
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 1
REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 3
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 4
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 9
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 9
ABBREVIATIONS AND TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 10
CONTENTS
CHAPTER 1 OVERVIEW 1-1
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 1
1.2 CC-Link System Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 6
A-5
4.3 Parameter Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 4
4.3.1 Parameter settings (master station) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 4
4.3.2 Initial procedure registration of the remote device stations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 6
4.4 Monitoring and Test of the Remote Device Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 11
4.5 Creating a Sequence Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 14
4.6 Communications with the Remote Device Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 21
APPENDICES App. - 1
Appendix 1 Specifications of CC-Link Cables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 1
Appendix 1.1 Maximum overall cable length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 1
Appendix 1.2 Ver.1.10-compatible CC-Link dedicated cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 1
Appendix 2 Buffer Memory Assignment of RX, RY, RWr, and RWw . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 2
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes . . . . . . . . . . . App. - 7
Appendix 3.1 List of link special relay (SB) areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 7
Appendix 3.2 List of link special register (SW) areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 13
Appendix 3.3 List of error codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 23
Appendix 4 Dedicated Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 34
Appendix 4.1 RIRD (Reading data from the target station) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 35
Appendix 4.2 RIWT (Writing data to the target station) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 39
Appendix 4.3 RIRCV (Reading data from the buffer memory of the specified intelligent device station) . . . App. - 43
Appendix 4.4 RISEND (Writing data to the buffer memory of the specified intelligent device station) . . . . . App. - 46
Appendix 4.5 RIFR (Reading data from the automatic update buffer). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 49
Appendix 4.6 RITO (Writing data to the automatic update buffer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 51
Appendix 4.7 RDMSG (Performing a message transmission to a remote device station). . . . . . . . . . . . . . . App. - 53
Appendix 4.8 RLPASET (Setting network parameters) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 59
Appendix 5 Precautions for Creating Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 64
Appendix 6 List of I/O Signals and Remote Register Assignment of the AJ65BT-64AD. . . . . . . . . . . App. - 65
Appendix 7 List of I/O Signals and Remote Register Assignment of the AJ65BT-64DAV . . . . . . . . . App. - 67
Appendix 8 List of I/O Signals and Remote Register Assignment of the FR-E520-0.1KN . . . . . . . . . App. - 69
Appendix 9 Exercise 5 (Connecting an Inverter). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 71
Appendix 9.1 System configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 71
A-6
Appendix 9.2 Setting and connecting the inverter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 72
Appendix 9.3 Parameter settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 73
Appendix 9.4 Setting parameters of the inverter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 75
Appendix 9.5 Creating a sequence program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 76
Appendix 9.6 Communications with the inverter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 82
Appendix 10 Standby Master Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App. - 83
CONTENTS
A-7
MEMO
A-8
INTRODUCTION
This school textbook helps you to easily understand a CC-Link system using MELSEC iQ-R series modules.
For a good understanding of the CC-Link system features, this textbook describes GX Works3, a basic system in which
remote I/O modules or remote device modules are connected, and an application system in which an inverter is connected.
RELEVANT MANUALS
Manual name [manual number] Description Available
form
MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Startup) Procedures, system configuration, and wiring required for e-Manual
[SH-081269ENG] using the MELSEC iQ-R CC-Link system master/local PDF
module
MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application) Functions, programming, and troubleshooting required for e-Manual
[SH-081270ENG] using the MELSEC iQ-R CC-Link system master/local PDF
module
GX Works3 Operating Manual System configuration of GX Works3, parameter settings, and e-Manual
[SH-081215ENG] operation method of the online function PDF
Digital-Analog Converter Module type AJ65BT-64DAV/DAI User's Manual Specifications and handling of the AJ65BT-64DAV/DAI PDF
[SH-3615] digital-analog converter module
AJ65BT-64AD Analog-Digital Converter Module User's Manual Specifications, handling, and programming method of the PDF
[SH-3614] AJ65BT-64AD analog-digital converter module
FR-E500(CC-Link) INSTRUCTION MANUAL Handling and precautions for using the FREQROL-E500 PDF
[IB-66864] series (CC-Link type) general purpose inverter
e-Manual refers to the Mitsubishi FA electronic book manuals that can be browsed using a dedicated tool.
e-Manual has the following features:
• Required information can be cross-searched in multiple manuals.
• Other manuals can be accessed from the links in the manual.
• The hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
A-9
ABBREVIATIONS AND TERMS
The following table lists the abbreviations and terms used in this textbook.
Abbreviations and terms Description
Buffer memory A memory in an intelligent function module, where data (such as setting values and monitoring values) is stored.
When using the CPU module, the memory is indicated for storing data (such as setting values and monitored
values) of the Ethernet function and data used for data communications of the multiple CPU function.
CPU module A generic term for the MELSEC iQ-R series CPU module
Cyclic transmission A function by which data is periodically exchanged between the master station and other stations on the same
system using link devices
Data link A generic term for cyclic transmission and transient transmission
Dedicated instruction An instruction for using functions of the module
Device A device (X, Y, M, D, or others) in a CPU module
Disconnection A process of stopping data link if a data link error occurs
Engineering tool Another term for the software package for the MELSEC programmable controllers
Global label A label that is enabled for all program data when multiple program data is created in the project.
There are two types of global labels: module labels that are automatically generated by GX Works3 and labels that
can be created for any of the specified devices.
Intelligent device station A station that exchanges I/O signals (bit data) and I/O data (word data) with another station by cyclic transmission.
This station responds to a transient transmission request from another station and also issues a transient
transmission request to another station.
Intelligent function module A module that has functions other than input and output, such as an A/D converter module and D/A converter
module
Label A label that represents a device in a given character string
Link device A device (RX, RY, RWr, RWw, SB, or SW) in a CC-Link module
Link scan (link scan time) Time required for all stations in a system to transmit data.
The link scan time depends on data volume and the number of transient transmission requests.
Link special register (SW) Word data that indicates the operating status and data link status of modules on the master and local stations
Link special relay (SB) Bit data that indicates the operating status and data link status of modules on the master and local stations
Local station A station that performs cyclic transmission and transient transmission with the master station and other local
stations
Master station A station that controls the entire system. This station can perform cyclic transmission and transient transmission
with all stations. Only one master station can be used in a system.
Master/local module The abbreviation for the RJ61BT11 CC-Link system master/local module
Message transmission A function to communicate data between a master station and slave stations when the model names of slave
stations are read or the dedicated instructions are requested
Module label A label that represents one of memory areas (I/O signals and buffer memory areas) specific to each module in a
given character string.
GX Works3 automatically generates this label, which can be used as a global label.
RAS The abbreviation for Reliability, Availability, and Serviceability.
This term refers to the overall usability of automated equipment.
RDMSG A generic term for the G.RDMSG and GP.RDMSG
Remote device net mode A generic term for the remote device net Ver.1 mode and remote device net Ver.2 mode
Remote device net Ver.1 mode A mode used to configure a system only with a master station and Ver.1-compatible remote stations
Remote device net Ver.2 mode A mode used to configure a system only with a master station and remote stations including Ver.2-compatible slave
stations or to add Ver.2-compatible slave stations in future (a system only with a master station and Ver.1-
compatible remote stations).
Remote device station A station that exchanges I/O signals (bit data) and I/O data (word data) with the master station by cyclic
transmission.
This station cannot perform transient transmission.
Remote I/O net mode A mode used to perform high-speed communications in a system consisting of a master station and remote I/O
station(s) only
Remote I/O station A station that exchanges I/O signals (bit data) with the master station by cyclic transmission. This station cannot
perform transient transmission.
Remote input (RX) Bit data input from a slave station to the master station (For some areas in a local station, data is output in the
opposite direction.)
Remote net mode A mode used to communicate data with all stations (remote I/O station, remote device station, local station,
intelligent device station, and standby master station) in a CC-Link system.
There are two modes: remote net Ver.1 mode and remote net Ver.2 mode.
A - 10
Abbreviations and terms Description
Remote net Ver.1 mode A mode used to configure a system only with a master station and Ver.1-compatible slave stations.
Data can be communicated with all stations (remote I/O station, remote device station, local station, intelligent
device station, and standby master station) in a CC-Link system.
Remote net Ver.2 mode A mode used to configure a system containing a master station and Ver.2-compatible slave stations or to add Ver.2-
compatible slave stations in future.
Data can be communicated with all stations (remote I/O station, remote device station, local station, intelligent
device station, and standby master station) in a CC-Link system.
Compared to the remote net Ver.1 mode, the number of cyclic points per station is increased from 128 to 896 for
RX/RY, and from 16 to 128 for RWr/RWw.
Remote output (RY) Bit data output from the master station to a slave station (For some areas in a local station, data is output in the
opposite direction.)
Remote register (RWr) Word data input from a slave station to the master station (For some areas in a local station, data is output in the
opposite direction.)
Remote register (RWw) Word data output from the master station to a slave station (For some areas in a local station, data is output in the
opposite direction.)
Remote station A generic term for a remote I/O station and a remote device station
Return A process of restarting data link when a station recovers from an error
RIFR A generic term for the G.RIFR and GP.RIFR
RIRCV A generic term for the G.RIRCV and GP.RIRCV
RIRD A generic term for the G.RIRD and GP.RIRD
RISEND A generic term for the G.RISEND and GP.RISEND
RITO A generic term for the G.RITO and GP.RITO
RIWT A generic term for the G.RIWT and GP.RIWT
RLPASET A generic term for the G.RLPASET and GP.RLPASET
Slave station A generic term for a remote I/O station, remote device station, local station, intelligent device station, and standby
master station
Transient transmission A function of communications with another station, which is used when requested by a dedicated instruction or the
engineering tool
Ver.1-compatible slave station A slave station that supports the remote net Ver.1 mode or remote device net Ver.1 mode
Ver.2-compatible slave station A slave station that supports the remote net Ver.2 mode or remote device net Ver.2 mode
A - 11
MEMO
A - 12
1 OVERVIEW
1
CC-Link (Control & Communication Link) is a network suitable for configuring a distributed system enabling wiring and cost
reduction.
This chapter describes the features of CC-Link and how the CC-Link system operates.
1.1 Features
(1) Reduced wiring and space by distributed control
Since modules can be installed to devices and equipment such as conveyor lines and machinery by using the bus
network for distributed control, the wiring of the entire system can be reduced. In addition, the distributed control enables
an efficient installation of modules, resulting in reduced space.
Machinery Machinery
Master station
CC-Link dedicated cable
Machinery Machinery
1 OVERVIEW
1.1 Features 1-1
(4) Configuring systems meeting needs
(a) Transmission distance
The overall cable distance varies depending on the transmission speed. It ranges from 100m (at 10Mbps) to 1.2km
(at 156kbps).
(b) Number of connectable stations
Up to 64 stations (remote I/O station, remote device station, and local station) can be connected to one master
station.
In remote net Ver.1 mode, the maximum number of stations is 64 for remote I/O stations, 42 for remote device
stations, and 26 for local stations.
(8) Setting the data link status when an error occurs in the CPU module of the master station
The data link status (stop or continue) when an operation stop error such as SP.UNIT ERROR occurs in the CPU module
of the master station can be set.
When an operation continuation error such as BATTERY ERROR occurs, data link continues regardless of the setting.
(9) Setting the status of data input from a data link faulty station
Data input (received) from a data link faulty station can be cleared or held. (The data just before the error has occurred
can be held.)
1 OVERVIEW
1-2 1.1 Features
(10) Standby master function
If the master station goes down due to an error in the CPU module or power supply, data link can be continued by
switching the control to the standby master station (a backup station for the master station). This function is used not to 1
stop the entire system even if the master station goes down.
The master station controls data link.
The master station is down. → The standby master station controls data link.
Remote device station Intelligent device station Standby master station
(station No.: 2, number of (station No.: 4, number of (station No.: 1 → 0*1)
Master station occupied stations: 2) occupied stations: 1) Controlling
The master station in the normal state returns to the system. → The master station is on standby in case of a standby master station failure.
Master station Remote device station Intelligent device station Standby master station
(station No.: 0 → 1*2, number of (station No.: 2, number of (station No.: 4, number of (station No.: 0)
occupied stations: 1) occupied stations: 2) occupied stations: 1) Controlling
Standby status
An error has occurred in the standby master station. → The master station controls data link.
Master station Remote device station Intelligent device station
(station No.: 1 → 0) (station No.: 2, number of (station No.: 4, number of
Controlling occupied stations: 2) occupied stations: 1) Standby master station
The standby master station in the normal state returns to the system. → The standby master station is on standby in case of a master station failure.
*1 The dot matrix LED displays the station number set in the module instead of "0". The MST LED turns on and the S MST LED turns off.
*2 When the master station returns to the system, it operates with the station number of the standby master station, but the dot matrix
LED displays the station number set in the module ("0" for the master station). The MST LED turns off and the S MST LED turns on.
1 OVERVIEW
1.1 Features 1-3
(11) Remote device station initialization procedure registration function
This function is used for initial settings of remote device stations by using GX Works3 without creating a sequence
program.
*1 This mode cannot be selected when "Station Type" under "Required Settings" is set to something other than "Master Station".
(Reserved station)
Station No.4
1 OVERVIEW
1-4 1.1 Features
(15) Error invalid station setting function
This function prevents the module that is powered off from being handled as a data link faulty station by the master
station and local stations by setting the network parameters. 1
Note that errors are no longer detected.
Stations set as error invalid stations
1 OVERVIEW
1.1 Features 1-5
1.2 CC-Link System Operation
This section describes the basic configuration of the CC-Link system and how the system operates.
Terminating
resistor
Terminating
resistor
1 OVERVIEW
1-6 1.2 CC-Link System Operation
(3) Basic communication flow in the CC-Link system (Master station Remote I/O station)
Only on/off information (remote input RX and remote output RY) is communicated.
CPU module Master module Remote I/O station (input) 1
Remote input (on/off data) External input
On/off information is
read by auto refresh. Buffer memory
RX0F to 0
0101010101010101
CPU device for RX
0101010101010101
(such as X/M) Area for RX RX1F to 10
Refresh
Signals are input from the external device to the remote I/O station.
The remote input signals (on/off) of the remote I/O station are stored in the buffer memory (areas for remote input
signals) of the master module by data link.
The remote input signal information of the remote I/O station is read from the buffer memory (areas for remote input
signals) of the master module to the CPU module by auto refresh. (This information is used for operations as device
data of the CPU module.)
The operation result is written from the CPU module to the buffer memory (areas for remote output signals) of the
master module by auto refresh.
The on/off information in the buffer memory (areas for remote output signals) of the master module is stored as the
remote output signals of the remote I/O station by data link.
Signals are output from the remote I/O station to the external device.
In the "Data link over CC-Link" part of the figure above, the master module operates according to the set
condition.
In "Refresh (Between CPU device areas and buffer memory areas of the master module)", the CPU module
operates according to the link refresh parameters.
As shown in the figure above, the remote device can be used like the CPU device.
Note) The refresh method varies depending on the CPU module type.
1 OVERVIEW
1.2 CC-Link System Operation 1-7
(4) Basic communication flow in the CC-Link system (Master station Remote device station)
On/off information (remote input RX and remote output RY) and numerical value data (remote register) are
communicated.
CPU module Master module Remote device station
On/off information is
read by auto refresh. Buffer memory RX0F to 0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Remote input
CPU device for RX
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 (on/off data)
(such as X/M) Area for RX RX1F to 10
On/off information is
written by auto refresh. RY0F to 0
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 Remote output
CPU device for RY
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 (on/off data)
(such as Y/M) Area for RY RY1F to 10
Numerical value data is
written by auto refresh.
Word data (RWw0)
Word data
CPU device for
Remote register
RWw to
(numerical value data)
Word data
Word data (RWw3)
(such as D/W) Area for RWw
Numerical value data is
read by auto refresh.
Word data (RWr0)
Word data
CPU device for Remote register
RWr to
(numerical value data)
Word data
Word data (RWr3)
(such as D/W) Area for RWr
Refresh
The remote input signals (on/off) of the remote device station are stored in the buffer memory (areas for remote input
signals) of the master module by data link.
The remote input signal information of the remote device station is read from the buffer memory (areas for remote
input signals) of the master module to the CPU module by auto refresh. (This information is used for operations as
device data of the CPU module.)
The operation result is written from the CPU module to the buffer memory (areas for remote output signals) of the
master module by auto refresh.
The on/off information in the buffer memory (areas for remote output signals) of the master module is stored as the
remote output signals of the remote device station by data link.
The numerical value data is written from the CPU module to the buffer memory (areas for sending to the remote
register) of the master module by auto refresh.
The numerical value data in the buffer memory (areas for sending to the remote register) of the master module is
written to the remote register of the remote device station by data link.
The remote register (numerical value data) of the remote device station is stored in the buffer memory (areas for
receiving from the remote register) of the master module by data link.
The numerical value data of the remote device station is read from the buffer memory (areas for receiving from the
remote register) of the master module to the CPU module by auto refresh.
1 OVERVIEW
1-8 1.2 CC-Link System Operation
(5) Basic communication flow in the CC-Link system (Master station Local station)
Bit information (remote input RX and remote output RY) and word information (remote register) is communicated
between CPU modules on an N-to-N (N:N) basis. 1
Remote I/O station Remote device station Local station Local station
Master station (station No.1) (station No.2) (station No.3) (station No.4)
Since the master station and local stations have a CPU module independently, data in RY of the own station is sent to
RX of the destination station in communications between the master station and a local station, as shown below.
The operation differs as that of the communications between the master station and remote station.
The operation is the same as that for the remote registers RWw and RWr.
1 OVERVIEW
1.2 CC-Link System Operation 1-9
MEMO
1 OVERVIEW
1 - 10 1.2 CC-Link System Operation
2 SPECIFICATIONS AND OPERATION SETTINGS
This chapter describes the specifications and operation settings of CC-Link for the MELSEC iQ-R series.
For details, refer to the following.
MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Startup) 2
2.1 Specifications
Number of occupied stations, station numbers, and numbers of modules and stations
The following describes how the number of occupied stations, station numbers, and the numbers of modules and stations are
related.
(1) Number of occupied stations
The number of occupied remote I/O stations, remote device stations, and local stations are fixed for each module.
However, the number of occupied local stations can be set (1 to 4 stations).
Module Number of occupied stations
Remote I/O station (8-point, 16-point, and 32-point 1 station
module)
Remote device station AJ65BT-64AD 2 stations
AJ65BT-64DAV 2 stations
AJ65BT-64DAI 2 stations
AJ65BT-D62 4 stations
AJ65BT-D62D(S1)
AJ65BT-68TD 4 stations
AJ65BT-64RD3 4 stations
AJ65BT-64RD4
Local station RJ61BT11 1 to 4 stations (The number of stations
can be changed in the parameter
settings.)
Intelligent device station AJ65BT-R2N 1 station
AJ65BT-D75P2-S3 4 stations
GT15-J61BT13 1 or 4 stations
Station No.1 Station No.2 Station No.3 Station No.4 Station No.5 Station No.6 Station No.7 Station No.8 Station No.9 2
ON
Remote station
(power supply status)
OFF
Remote station
(module power supply and input
external power supply)
Remote station
(internal 5VDC)
Input (Xn)
Turning off the input external power supply turns off an input (Xn) after the response time
between the input module turning on and it turning off.
CPU
module
module
Remote I/O module
AC input
Master module
Power supply
CPU
module
module
Remote I/O module
■Input signals
Device No. Signal name
X0 Module failure
X1 Own station data link status
X2 Use prohibited
X3 Data link status of other stations
X4 to XE Use prohibited
XF Module ready
X10 to X1F Use prohibited
■Output signals
Device No. Signal name
Y0 to Y1F Use prohibited
Do not use (turn on) any "use prohibited" signals as an input or output signal to the CPU module.
Doing so may cause malfunction of the programmable controller system.
■Module failure: X0
This signal indicates whether the module is normal or faulty.
Off: Module normal
On: Module failure
Module failure
(X0)
Module ready
(XF)
It takes maximum of six seconds for Data link status of other stations (X3) to turn on after a slave station
connected to the master station or local station becomes faulty. The time until this signal turns on differs
depending on the system configuration and error status.
■Module ready: XF
This signal indicates whether the module is ready for operation. When the module becomes ready, this signal turns on.
When the module is in the following state, this signal turns off.
• When Module failure (X0) turns on
Power-on
Module ready
(XF)
Module failure
(X0)
11H (17) 32 31 30 29 to 20 19 18 17
12H (18) 48 47 46 45 to 36 35 34 33
13H (19) 64 63 62 61 to 52 51 50 49
Error invalid station setting Stores the error invalid station specification status. Only the bit corresponding to the start station number turns on.
Default: 0 (Not set)
Range: The bit corresponding to the station number turns on.
b15 b14 b13 b12 to b3 b2 b1 b0
14H (20) 16 15 14 13 to 4 3 2 1
15H (21) 32 31 30 29 to 20 19 18 17
16H (22) 48 47 46 45 to 36 35 34 33
17H (23) 64 63 62 61 to 52 51 50 49
1 to 64
(01H to 40H)
Automatic update buffer Stores the buffer memory sizes assigned for a local station, intelligent device station, and standby master station during
assignment transient transmission.
Default: 128 words
Range: 0 (word) (not set) or 128 (words) to 4096 (words)
Note that the total size must be within 4096 (words).
■1st station
• 80H (128): Use prohibited
• 81H (129): Use prohibited
• 82H (130): Automatic update buffer size only for intelligent device stations
■26th station
• CBH (203): Use prohibited
• CCH (204): Use prohibited
• CDH (205): Automatic update buffer size only for intelligent device stations
8-point remote I/O station setting Stores the station number of the remote I/O station where 8 points have been set in the remote I/O station points setting.
When "8 Points + 8 Points (Reserved)" has been set, the station number is stored in both 8-point remote I/O station setting
and 16-point remote I/O station setting.
Default: 0 (Not set)
Range: The bit corresponding to the station number turns on.
b15 b14 b13 b12 to b3 b2 b1 b0
D0H (208) 16 15 14 13 to 4 3 2 1
D1H (209) 32 31 30 29 to 20 19 18 17
D2H (210) 48 47 46 45 to 36 35 34 33
D3H (211) 64 63 62 61 to 52 51 50 49
16-point remote I/O station setting Stores the station number of the remote I/O station where 16 points have been set in the remote I/O station points setting.
When "8 Points + 8 Points (Reserved)" has been set, the station number is stored in both 8-point remote I/O station setting
and 16-point remote I/O station setting.
Default: 0 (Not set)
Range: The bit corresponding to the station number turns on.
b15 b14 b13 b12 to b3 b2 b1 b0
D4H (212) 16 15 14 13 to 4 3 2 1
D5H (213) 32 31 30 29 to 20 19 18 17
D6H (214) 48 47 46 45 to 36 35 34 33
D7H (215) 64 63 62 61 to 52 51 50 49
D9H (217) 32 31 30 29 to 20 19 18 17
DAH (218) 48 47 46 45 to 36 35 34 33
DBH (219) 64 63 62 61 to 52 51 50 49
1. System configuration
Configure the CC-Link system and set parameters required for start-up, the station number for slave stations, and the
transmission speed.
• Wiring
• Parameter settings
• Slave station number and transmission speed settings
3. Programming
Create a program. For details, refer to the following.
MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
Power-on
CC-Link system CPU reset CC-Link system
network network
parameter area parameter area
(3) Setting link refresh parameters for the MELSEC iQ-R series
Link refresh parameters for updating devices between the master/local module and the CPU module are set with GX
Works3 and written into parameter areas of the CPU module.
(Link refresh parameters are not transferred to the master station.)
Link refresh parameters cannot be set with a sequence program.
Note) Link refresh parameters are set on the window for network parameters with GX Works3. Link refresh parameters
and network parameters are written to the CPU module at the same time.
Demonstration machine
24V power
supply cable
RJ61
BT11
R61P RCPU Empty R60 R60 (32
(Power (CPU AD4 DA4 points)
supply No.1) (16 (16 X30 Y30
module) points) points) to to
X4F Y4F
X100 Y170
to to
X10F Y17F
GOT2000
Initial indication device D0 Initial indication device D1 Initial indication device D10 (32 bits)
Initial input device D20 Initial input device D21 Initial input device D30 (32 bits)
Screen 1 Screen 2
Screen 3 Screen 4
3
(1)
(2)
(3)
(4)
Setting parameters
The parameter settings of the RJ61BT11 are described on Page 3 - 18 Parameter settings (master station) or later. Thus,
detailed explanations are omitted here.
1. Select program elements (objects) from the "Element Selection" window and arrange them in the "Module Configuration"
window. 3
Double-click [Module Configuration] in the "Navigation" window.
2. The parameters of the master/local module includes the required settings, basic settings, and application settings.
Double-click the master/local module on the Module Configuration window to set parameters.
4. Write the parameters to the CPU module using the engineering tool.
[Online] [Write to PLC]
5. The parameters are reflected by resetting the CPU module or powering off and on the system.
Required Settings
Set the station type and mode of the master/local module.
*1 When "Setting Method of Basic/Application Settings" in "Parameter Setting Method" is set to "Program", the setting range is fixed to
"Master Station".
Mode
Set the mode of the master/local module.
Item Description Setting range
Master station*1 Master station (duplex Standby master station, local
function) station
Mode Set the mode of the master/ • Remote Net Ver.1 Mode • Remote Net Ver.1 Mode • Remote Net Ver.1 Mode
local module. • Remote Net Ver.2 Mode • Remote Net Ver.2 Mode • Remote Net Ver.2 Mode
• Remote Device Net Ver.1 Mode • Offline • Offline
• Remote Device Net Ver.2 Mode • Line Test • Hardware Test
• Remote I/O Net Mode • Hardware Test (Default: Remote Net Ver.1 Mode)
• Offline (Default: Remote Net Ver.1 Mode)
• Line Test
• Hardware Test
(Default: Remote Net Ver.1 Mode)
*1 When "Setting Method of Basic/Application Settings" in "Parameter Setting Method" is set to "Program", "Remote I/O Net Mode" cannot
be set.
Station Number
Set the station number of the master/local module.
Item Description Setting range
Master station Master station (duplex Standby master station, local
function) station
Station No. Set the station number of the Fixed to 0*1 0 to 64 1 to 64
master/local module. (Default: 0) (Default: Blank) (Default: Blank)
Transmission Speed
Set the transmission speed of the master/local module.
Item Description Setting range
Master station, master station Standby master station, local station
(duplex function)
Transmissi Set the transmission speed of the master/local • 156kbps • 156kbps
on Speed module. • 625kbps • 625kbps
• 2.5Mbps • 2.5Mbps
• 5Mbps • 5Mbps
• 10Mbps • 10Mbps
(Default: 156kbps) • Auto-tracking
(Default: Auto-tracking)
■AJ65BTB2-16D
(2) Set "0" according
to the master
Set "0".
(1) module setting
(156kbps).
Set "1".
(3) Station No.: 1
(4) Set "0".
(2) Transmission speed setting switch Set the transmission speed setting switch within the range of 0 to 4.
(3) Station number setting switch Set a station number within the range of 01 to 64.
Set a unique station number.
Use "10" to set the tens place.
Use "1" to set the ones place.
(4) External wiring terminal block Terminal block for power supply, transmission, and input signals
DB SLD FG DB SLD FG
Terminating
resistor
*1 (External I/O)
power supply
24V power supply
connector
*1 The external I/O power supply of the AJ65BTB2-16D has both polarities. (Both the combination of COMA+ and COMB- and the
combination of COMA- and COMB+ are available.)
Operating procedure
2. Click!
7. Click!
9. Click!
10. Click!
Operating procedure
1. Double-click [Module Configuration] in the
"Navigation" window.
When the dialog box about parameter
information appears, click the [OK] button. 3
1. Double-click!
3. Added!
Slot No.1:
Analog input "R60AD4"
Slot No.2:
6. Added! Analog output "R60DA4"
Slot No.3:
Network module "RJ61BT11"
8. Click!
9. Added!
Operating procedure
1. Double-click the RJ61BT11 module in the
module configuration.
1. Double-click!
2. Click!
4. Added!
5. Added!
6. Click!
7. Click!
8. Set!
9. Click!
Operating procedure
1. Double-click the R60AD4 module in the
module configuration.
1. Double-click!
Operating procedure
1. Click!
3. Click!
4. Click!
5. Click!
7. Click!
Operating procedure
1. Select [Online] [Write to PLC] from the
menu of the engineering tool. 3
1. Click!
3. Click!
4. Click!
6. Click!
Procedure
1. Check the following before powering on the module.
• Module mounting status
3
• Input power supply voltage
• The RUN/STOP/RESET switch of the CPU module is in the STOP position.
4. Power off and on the system or reset the CPU module to start the hardware test.
Do not perform a hardware test during connection with another station. Doing so may result in a failure of the
test.
If the test fails, check if the terminating resistor provided with the master/local module has been connected between the DA
and DB terminals. If the terminating resistor has been connected, the possible cause is a hardware failure. Replace the
master/local module.
Procedure
1. Open the "CC-Link Diagnostics" window.
[Diagnostics] [CC-Link Diagnostics]
4. Select the slave station where the line test is performed under "Test Target".
• Select "All stations (Station 1-64)" to perform the test for all stations connected.
• Select "Specified station" to perform the test for the station specified. Specify the start station number when the number of
occupied stations is two or more.
5. Click the [Execute] button to start the line test. After the line test is completed, the result is displayed on the right side in
the window.
• Do not write data to the buffer memory areas (buffer memory address: 5E0H and 608H) during line test.
• Do not perform a line test using a program and other peripherals at the same time. The line test may not be normally
performed.
When performing a line test, do not set the transmission speed of slave stations to auto-tracking. The
transmission speed of slave stations needs to be the same as that of the master station. An error may occur
during the line test for slave stations whose transmission speed is set only to auto-tracking. If the error has
occurred, check the cable connection status and the network line status by following the troubleshooting
procedure.
Operating procedure
1. Click!
7. Click!
8. Check that turning on or off "X200" turns on or
off Y0 of the AJ65SBTC1-32T. This means
that data link and link refresh of the output
(RY) were performed normally.
to
15FH
to
1DFH
Turn on this
(11) Data link device when
status of
other RX1 of the
stations station No.1
is on.
N0
(14) MCR
N1
(29) MCR
END
(30)
Station No.: 0
Master (RJ61BT11)
4
Demonstration machine
Empty
24V power
supply cable
Terminating
resistor
Set "3".
Set "5".
DB SLD FG DB SLD FG
DB SLD FG DB SLD FG
Terminating
resistor
After connecting CC-Link dedicated cables and 24V power supply cables, check if the connection status is normal
through a line test. ( Page 3 - 28 Writing parameters)
Operating procedure
1. In the "CC-Link Configuration" dialog box, drag
and drop the following modules from "Module
List" to the list of stations or the network map.
2. Set!
4
3. Click!
The following describes the initial procedure registration by using initial settings as an example.
Operating procedure
1. Double-click!
2. Click!
7. Set!
9. Click!
10. Enter!
13. Click!
14. Click!
SET Y258
(RY18)
SET Y259
(RY19) Initial data processing
X258
(18) RST Y258
(RX18) (RY18)
X259
(20) RST Y259
(RX19) (RY19)
(22) END
SET Y298
(RY18)
SET Y299
(RY19) Initial data processing
X298
(12) RST Y298
(RX18) (RY18)
X299
(14) RST Y299
(RX19) (RY19)
(16) END
Operating procedure
1. Enter! 4
3. Double-click!
4. Click!
5. Set!
to
1DFH
D1118 2F2H CH3 Setting value check code Remote register (RWr)
D1119 2F3H CH4 Setting value check code CH1 Setting value check code
4
2 second Flash this
clock device
when the
own station
data link is
N0 M800 normally
operating.
N1
(31) MCR
N2
(49) MCR
N4
(67) MCR
X298
Initial
processing
request
flag
SB5F
SB0D
4
Initial
(75) Initial RST procedure
procedure registration
execution instruction
completed flag
X25B X29B
Remote Remote
ready ready
X25B X240
D1108 D10
CH1
(80) Remote CH1 A/D MOV Digital
ready conversion output
completed value
flag
X25A Y25A
(86) RET
Initial
processing
request
flag
SB5F
SB0D
Initial
(92) Initial RST procedure
procedure registration
execution instruction
completed flag
X25B X29B
Remote Remote
ready ready
D1016 D0
CH1
MOV Digital
value
setting area
(117) RET
END
(118)
Set the RUN/STOP/RESET switch of the CPU module to the RUN position.
Y170 flashes depending on the own station data link status (Data link normal).
Set "2000" to the initial input device (D20) as an example and turn on X104.
The initial indication device (D0) displays "2000".
Change the setting of the initial input device D20 (range: 0 to 4000) in the same way, and turn on X104 again (on off
on) for DA output.
Station No.: 0
Master (RJ61BT11)
Demonstration machine
24V power
supply cable
Station No.: 7
Local (RJ61BT11)
Demonstration machine
Ethernet cable
Terminating
resistor
GOT2000
DB SLD FG DB SLD FG
DB SLD FG DB SLD FG
Operating procedure
1. In the "CC-Link Configuration" dialog box, 5
select "RJ61BT11" from "Master/Local
Module" in "Module List" and drag and drop it
to the list of stations or the network map.
1. Set!
2. Set!
3. Click!
Operating procedure
1. Create a new project and add modules by
following the procedure described in Page 3 -
15 Adding master/local module data. After
configuring the following settings, fix
parameters.
(Click the [No] button on the confirmation
window for adding the module label.)
5
[Parameters to be set]
RJ61BT11
Start XY: 0030
Station Type: Local Station
1. Added!
2. Set!
3. Set!
4. Click!
••• The last two bits cannot be used for communications between the master station and a local station.
Between the master station and the local station, each data is stored diagonally.
The following table shows the flow of data between the master station and the local station (station No.7: 1 station occupied).
Master station Flow of data Local station (Station No.7)
Device Buffer memory address Device Buffer memory address
RX ECH to EDH RY 16CH to 16DH
RY 16CH to 16DH RX ECH to EDH
RWw 1F8H to 1FBH RWr 2F8H to 2FBH
RWr 2F8H to 2FBH RWw 1F8H to 1FBH
Turn on
(12) Data link this device
status of when RX1
other of the station
stations No.1 is on.
N0
(15) MCR
N1
(31) MCR
N2
(49) MCR
N6
(85) MCR
(86) FEND
Initial
processing
request
flag
SB5F
SB0D
Initial Initial
(93) procedure RST procedure
execution registration
completed instruction
flag
X25B X29B
Remote Remote
ready ready
(104) RET
X258
5
Initial
processing
request
flag
SB5F
SB0D
Initial Initial
(110) procedure RST procedure
execution registration
completed instruction
flag
X25B X29B
Remote Remote
ready ready
X29B X104
D20 D1016
CH1
(115) Remote MOVP Digital
ready value
setting area
D1016 D0
CH1
MOV Digital
value
setting area
Remote CH1
(130) ready Analog
output
enable
X29A Y29A
Processing Turn on
of station (136) this device
No.7 when X2
of the local
station is on.
SM400
D1124 D1
Data
(140) Always On MOV received
from local
stations
X106
D21 D1024
(143) MOV Data sent
to local
stations
(146) RET
END
(147)
2 second
clock
N0 M800
5
*Data link status
SM400 SW80.0 Y171
N0
(12) MCR
2 second
clock
N1 M801
N1
(25) MCR
2 second
clock
N2 M802
N2
(38) MCR
2 second
clock
N4 M804
N4
(51) MCR
2 second
clock
N6 M806
(64) Output to
the master
station
(RY2)
SM400
D1024 D1
Data
(69) Always On MOV received from
the master
station
Y201 Y176
Turn on
(72) this device
when the
remote input
station (RX1)
is on.
N6
(74) MCR
(75)
END
5
Set the RUN/STOP/RESET switches of the CPU modules of both the master station and local station to the "RUN"
position.
Y170 flashes depending on the own station data link status (Data link normal).
Turn on X102 of the local station.
When X102 in the local station program turns on, Y2C2 turns on.
When X2C2 in the master station program turns on, Y177 turns on.
• Master station side
Y177 turns on.
Check that the values set in the initial input device (D21) of the master station and that of the local station are sent to each
other.
• Master station Local station
(1) Set "1234" in the initial input device (D21) of the master station.
(2) Turn on X106 of the master station.
(3) Check that the initial indication device (D1) of the local station indicates "1234".
• Local station Master station
(1) Set "5678" in the initial input device (D21) of the local station.
(2) Turn on X106 of the local station.
(3) Check that the initial indication device (D1) of the master station indicates "5678".
Turn on the terminal block switch of the remote I/O station (AJ65BTB2-16D).
Y176 turns on when Y201 (RY1) turns on in the local station program.
* X201 (RX1) of the master station corresponds to Y201 (RY1) of the local station.
Station No.: 0
Master (RJ61BT11)
Demonstration machine
Empty
Ethernet cable
Terminating Station No.: 1 Station No.: 2
resistor Remote I/O module Remote I/O module
AJ65BTB2-16D AJ65SBTC1-32T
GOT2000
24V power
supply cable
*1 The settings of modules used in the master station and remote I/O stations and the connection methods of CC-Link dedicated cables
and 24V power supply cables are the same as those for Exercise 1.
X Y
X/Y: 100
to
10F
170 These devices are
to used for GOT
17F screens.
180
RX RY
X/Y: 200 AJ65BTB2
16 points
20F -16D
210
21F
220 These devices
AJ65SBTC
to are used for 32 points
1-32T
23F remote I/Os.
240
Operating procedure
1. After creating a module configuration, set
"Communication Mode" to "Remote I/O Net
Mode" in the "RJ61BT11 Module Parameter"
dialog box.
6
1. Set!
2. Set!
3. Set!
4. Click!
6
to
15FH
to
1DFH
(8)
Always On Data link
status of
Display a
station
No.1 error.
6
other
stations
SW80.0 X201 Y176
Turn on this
(11) Data link device when
status of
other RX1 of the
stations station No.1
is on.
N0
(14) MCR
N1
(29) MCR
END
(30)
Remote I/O station Remote I/O station Local station or intelligent Local station or intelligent
Master station or remote device or remote device device station device station
station station
For details, refer to the CC-Link Cable Wiring Manual issued by CC-Link Partner Association.
APPENDICES
Appendix 1 Specifications of CC-Link Cables App. - 1
Appendix 2 Buffer Memory Assignment of RX, RY,
RWr, and RWw
Remote input (RX) and remote output (RY)
These buffer memory areas are used when the remote net Ver.1 mode, remote device net Ver.1 mode, or remote I/O net
mode is selected.
• In remote net Ver.1 mode, remote device net Ver.1 mode, or remote I/O net mode, data is stored in the remote input (RX)
and remote output (RY).
APPENDICES
App. - 2 Appendix 2 Buffer Memory Assignment of RX, RY, RWr, and RWw
Ver.2-compatible remote input (RX) and Ver.2-compatible remote output (RY)
These buffer memory areas are used when the remote net Ver.2 mode or remote device net Ver.2 mode is selected.
In remote net Ver.2 mode, data is stored in the remote input (RX) and remote output (RY) in all slave stations (including Ver.1-
compatible slave stations).
For the master station, data input from slave stations is stored.
For local stations, data input from the master station is stored.
Address Remote input (RX) Remote output (RY) Address Remote output (RY) Address
Station 4000H RX F to RX 0 Station Station
X0F to X00 RY F to RY 0 4200H RY F to RY 0 4200H
No.1
No.1 No.1
Station 4001H RX 1F to RX 10 X1F to X10 RY 1F to RY 10 4201H Station RY 1F to RY 10 4201H Station
No.2 4002H RX 2F to RX 20 X2F to X20 RY 2F to RY 20 4202H No.2 RY 2F to RY 20 4202H No.2
4003H RX 3F to RX 30 RY 3F to RY 30 4203H RY 3F to RY 30 4203H
4004H RX 4F to RX 40 RY 4F to RY 40 4204H RY 4F to RY 40 4204H
Station Station Station
No.3 No.3 No.3
400FH RX FF to RX F0 RY FF to RY F0 420FH RY FF to RY F0 420FH
4010H RX 10D to RX 100 RY 10D to RY 100 4210H RY 10D to RY 100 4210H
4011H RX 11F to RX 110 RY 11F to RY 110 4211H RY 11F to RY 110 4211H
4012H RX 12F to RX 120 RY 12F to RY 120 4212H RY 12F to RY 120 4212H
Station Station Station
No.7 No.7 No.7
400DH RX 1DF to RX 1D0 RY 1DF to RY 1D0 421DH RY 1DF to RY 1D0 421DH
400EH RX 1EF to RX 1E0 RY 1EF to RY 1E0 421EH RY 1EF to RY 1E0 421EH
APPENDICES
Appendix 2 Buffer Memory Assignment of RX, RY, RWr, and RWw App. - 3
Remote register (RWw) and remote register (RWr)
These buffer memory areas are used when the remote net Ver.1 mode or remote device net Ver.1 mode is selected.
• In remote net Ver.1 mode or remote device net Ver.1 mode, data is stored in the remote register (RWr and RWw).
APPENDICES
App. - 4 Appendix 2 Buffer Memory Assignment of RX, RY, RWr, and RWw
Ver.2-compatible remote register (RWw) and Ver.2-compatible remote register (RWr)
These buffer memory areas are used when the remote net Ver.2 mode or remote device net Ver.2 mode is selected.
In remote net Ver.2 mode or remote device net Ver.2 mode, data is stored in the remote register (RWr/RWw) of all slave
stations (including Ver.1-compatible slave stations).
Ex.
Remote device station
(station No.: 1, number of Local station
occupied stations: 1, extended (station No.: 2, number of occupied stations: 1,
Master station cyclic setting: single) extended cyclic setting: quadruple)
Address Remote register (RWw) Remote register (RWw) Remote register (RWr) Address
4400H RWw 0 RWw 0 RWr 0 4C00H
For station 4401H RWw 1 RWw 1 RWr 1 4C01H For station
No.1 4402H RWw 2 RWw 2 RWr 2 4C02H No.1
4403H RWw 3 RWw 3 RWr 3 4C03H
4404H RWw 4 RWr 4 4C04H
4405H RWw 5 RWr 5 4C05H
4406H RWw 6 RWr 6 4C06H
4407H RWw 7 RWr 7 4C07H
4408H RWw 8 RWr 8 4C08H
4409H RWw 9 RWr 9 4C09H
440AH RWw A RWr A 4C0AH
For station 440BH RWw B RWr B 4C0BH For station
No.2 440CH RWw C RWr C 4C0CH No.2
440DH RWw D RWr D 4C0DH
440EH RWw E RWr E 4C0EH
440FH RWw F
RWw 10
RWr F
RWr 10
4C0FH
A
4410H 4C10H
4411H RWw 11 RWr 11 4C11H
4412H RWw 12 RWr 12 4C12H
4413H RWw 13 RWr 13 4C13H
APPENDICES
Appendix 2 Buffer Memory Assignment of RX, RY, RWr, and RWw App. - 5
Link special relay (SB)
This area stores bit (on/off) data indicating the data link status.
Buffer memory addresses 5E0H to 5FFH correspond to link special relay areas SB0000 to SB01FF.
For details on link special relay areas (SB0000 to SB01FF), refer to Appendix 3.
The following table lists the relationship between buffer memory addresses 5E0H to 5FFH and link special relay areas
SB0000 to SB01FF.
Address b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
5E0 H F E D C B A 9 8 7 6 5 4 3 2 1 0
5E1 H 1F 1E 1D 1C 1B 1A 19 18 17 16 15 14 13 12 11 10
5E2 H 2F 2E 2D 2C 2B 2A 29 28 27 26 25 24 23 22 21 20
5E3 H 3F 3E 3D 3C 3B 3A 39 38 37 36 35 34 33 32 31 30
5E4 H 4F 4E 4D 4C 4B 4A 49 48 47 46 45 44 43 42 41 40
5E5 H 5F 5E 5D 5C 5B 5A 59 58 57 56 55 54 53 52 51 50
5E6 H 6F 6E 6D 6C 6B 6A 69 68 67 66 65 64 63 62 61 60
5E7 H 7F 7E 7D 7C 7B 7A 79 78 77 76 75 74 73 72 71 70
5E8 H 8F 8E 8D 8C 8B 8A 89 88 87 86 85 84 83 82 81 80
5E9 H 9F 9E 9D 9C 9B 9A 99 98 97 96 95 94 93 92 91 90
5EAH AF AE AD AC AB AA A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
5EBH BF BE BD BC BB BA B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
5ECH CF CE CD CC CB CA C9 C8 C7 C6 C5 C4 C3 C2 C1 C0
5EDH DF DE DD DC DB DA D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
5EEH EF EE ED EC EB EA E9 E8 E7 E6 E5 E4 E3 E2 E1 E0
5EF H FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0
5F0 H 10F 10E 10D 10C 10B 10A 109 108 107 106 105 104 103 102 101 100
5F1 H 11F 11E 11D 11C 11B 11A 119 118 117 116 115 114 113 112 111 110
5F2 H 12F 12E 12D 12C 12B 12A 129 128 127 126 125 124 123 122 121 120
5F3 H 13F 13E 13D 13C 13B 13A 139 138 137 136 135 134 133 132 131 130
5F4 H 14F 14E 14D 14C 14B 14A 149 148 147 146 145 144 143 142 141 140
5F5 H 15F 15E 15D 15C 15B 15A 159 158 157 156 155 154 153 152 151 150
5F6 H 16F 16E 16D 16C 16B 16A 169 168 167 166 165 164 163 162 161 160
5F7 H 17F 17E 17D 17C 17B 17A 179 178 177 176 175 174 173 172 171 170
5F8 H 18F 18E 18D 18C 18B 18A 189 188 187 186 185 184 183 182 181 180
5F9 H 19F 19E 19D 19C 19B 19A 199 198 197 196 195 194 193 192 191 190
5FA H 1AF 1AE 1AD 1AC 1AB 1AA 1A9 1A8 1A7 1A6 1A5 1A4 1A3 1A2 1A1 1A0
5FB H 1BF 1BE 1BD 1BC 1BB 1BA 1B9 1B8 1B7 1B6 1B5 1B4 1B3 1B2 1B1 1B0
5FCH 1CF 1CE 1CD 1CC 1CB 1CA 1C9 1C8 1C7 1C6 1C5 1C4 1C3 1C2 1C1 1C0
5FDH 1DF 1DE 1DD 1DC 1DB 1DA 1D9 1D8 1D7 1D6 1D5 1D4 1D3 1D2 1D1 1D0
5FE H 1EF 1EE 1ED 1EC 1EB 1EA 1E9 1E8 1E7 1E6 1E5 1E4 1E3 1E2 1E1 1E0
5FF H 1FF 1FE 1FD 1FC 1FB 1FA 1F9 1F8 1F7 1F6 1F5 1F4 1F3 1F2 1F1 1F0
APPENDICES
App. - 6 Appendix 2 Buffer Memory Assignment of RX, RY, RWr, and RWw
Appendix 3 List of Link Special Relay Areas/Link
Special Register Areas/Error Codes
Do not turn on or off areas whose numbers are not on the following list. Doing so may cause malfunction of
the programmable controller system.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 7
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SB0004 Temporary error invalid Determines the stations specified by SW0003 to SW0007 as a temporary
request error invalid station.
Off: Not requested
On: Requested
SB0005 Temporary error invalid Cancels the temporary error invalid station setting configured for the
cancel request stations specified by SW0003 to SW0007.
Off: Not requested
On: Requested
SB0007 Master station Clears a master station duplication error. *1
duplication error Off: Not instructed
cancel request On: Instructed
SB0008 Line test request Executes a line test to the station specified by SW0008.
Off: Not requested
On: Requested
SB000B Transmission speed Executes a transmission speed test. *1
test request Off: Not requested
On: Requested
SB000C Forced master Forcibly transfers data link control from the standby master station during
switching data link control to the master station that stands by for system down of the
standby master station.
Off: Not requested
On: Requested
SB000D Remote device station Performs an initial processing using the information registered by the
initialization procedure initialization procedure registration using an engineering tool.
registration instruction While SB000D is on, the remote I/O and remote registers are stopped to
be refreshed.
Off: Not instructed
On: Instructed
SB0020 Module status Stores the communication status between the master/local module and
CPU module.
Off: Normal
On: Error
SB0040 Data link restart Stores whether the data link restart instruction has been accepted.
acceptance Off: Not accepted
On: Accepted
SB0041 Data link restart Stores whether the data link restart instruction has been completed.
completion Off: Not completed
On: Started
SB0042 Refresh instruction Stores whether the refresh instruction at standby master switching has
acceptance status at been accepted.
standby master Off: Not executed
switching On: Accepted
SB0043 Refresh instruction Stores whether the refresh instruction at standby master switching has
completion status at been completed.
standby master Off: Not executed
switching On: Switched
SB0044 Data link stop Stores whether the data link stop instruction has been accepted.
acceptance Off: Not accepted
On: Accepted
SB0045 Data link stop Stores whether the data link stop instruction has been completed.
completion Off: Not completed
On: Stopped
SB0046 Forced master Stores whether Forced master switching (SB000C) can be executed. *2
switching enable Off:Cannot be executed
status On: Can be executed
SB0048 Temporary error invalid Stores whether the remote station temporary error invalid instruction has
acceptance status been accepted.
Off: Not executed
On: Accepted
APPENDICES
App. - 8 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SB0049 Temporary error invalid Stores whether the remote station temporary error invalid instruction has
completion status been completed.
Off: Not executed
On: A temporary error invalid station determined
SB004A Temporary error invalid Stores whether the remote station temporary error invalid cancel
cancel acceptance instruction has been accepted.
status Off: Not executed
On: Accepted
SB004B Temporary error invalid Stores whether the remote station temporary error invalid cancel
cancel completion instruction has been completed.
status Off: Not executed
On: Temporary error invalid station setting canceled
SB004C Line test acceptance Stores whether a line test request has been accepted.
status Off: Not executed
On: Accepted
SB004D Line test completion Stores whether a line test has been completed.
status Off: Not executed
On: Completed
SB0050 Offline test status Stores whether an offline test is being executed.
Off: Not executed
On: In process
SB0057 Master station Stores whether a master station duplication error cancel request has been
duplication error accepted.
cancel acceptance Off: Not accepted
On: Accepted
SB0058 Master station Stores whether a master station duplication error cancel request has been
duplication error completed.
cancel completion Off: Not completed
On: Completed A
SB005A Master switching Stores whether the standby master station has detected the system down *2
request acceptance of the master station and has accepted a request of switching from standby
master operation to master operation.
Off: Not accepted
On: Accepted
SB005B Master switching Stores whether the standby master station has been switched as a master *2
request completion station.
Off: Not completed
On: Completed
SB005C Forced master Stores whether a forced master switching request has been accepted.
switching request Off: Not accepted
acceptance On: Accepted
SB005D Forced master Stores whether a forced master switching request has been completed.
switching request Off: Not completed
completion On: Completed
SB005E Execution status of Stores whether the initialization procedure is being performed.
remote device station Off: Not executed
initialization procedure On: In process
SB005F Completion status of Stores whether the initialization procedure has been completed.
remote device station Off: Not completed
initialization procedure On: Completed
SB0060 Mode of own station Stores the mode setting status of the own station.
Off: Online
On: Mode other than online
SB0061 Type of own station Stores the station type of the own station.
Off: Master station (station number: 0)
On: Local station (station number: 1 to 64)
SB0062 Standby master station Stores whether the own station has been set as a standby master station.
setting status of own Off: Not set
station On: Set
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 9
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SB0065 Input data status of Stores the setting status of "Input Data from Data Link Faulty Station"
own data link faulty configured for the own station.
station Off: Clear
On: Hold
SB0066 Number of own station Stores the number of occupied stations of the own station. *1
occupied stations ■1 station occupied
SB0067
• SB0066: OFF
• SB0067: OFF
■2 stations occupied
• SB0066: OFF
• SB0067: ON
■3 stations occupied
• SB0066: ON
• SB0067: ON
■4 stations occupied
• SB0066: ON
• SB0067: OFF
SB006D Parameter setting Stores whether the parameters have been correctly set. *1
status Off: Normal
On: Setting incorrect (An error code is stored in SW0068.)
SB006E Operation status of Stores whether data link with other stations is being performed.
own station Off: In process
On: Not performed
SB006F Setting status of block Stores whether the block guarantee of cyclic data per station has been set
guarantee of cyclic to the own station.
data per station Off: Not set
On: Set
SB0070 Master station Stores the data link status.
information Off: Data link control by the master station
On: Data link control by the standby master station
SB0071 Standby master station Stores whether a standby master station exists.
information Off: Absent
On: Present
SB0072 Scan mode setting Stores the setting status of the scan mode.
information Off: Link scan is performed asynchronously with a sequence scan.
On: Link scan is performed synchronously with a sequence scan.
SB0073 Data link setting when Indicates the data link status specified by the parameter when CPU is
CPU is down down.
Off: Data link stopped
On: Data link continued
SB0074 Reserved station Stores whether a reserved station has been specified by the parameter.
specification status Off: Not specified
On: Specified (The set station number is stored in SW0074 to SW0077.)
Depending on the link refresh timing, SB0074 may be updated with the
time difference of one sequence scan from the update of Reserved station
specification status (SW0074 to SW0077).
SB0075 Error invalid station Stores whether an error invalid station has been specified using the
specification status parameter.
Off: Not specified
On: Specified (The set station number is stored in SW0078 to SW007B.)
Depending on the link refresh timing, SB0075 may be updated with the
time difference of one sequence scan from the update of Error invalid
station specification status (SW0078 to SW007B).
SB0076 Temporary error invalid Stores whether a temporary error invalid station has been set.
station setting Off: Not set
information On: Set (The set station number is stored in SW007C to SW007F.)
Depending on the link refresh timing, SB0076 may be updated with the
time difference of one sequence scan from the update of Temporary error
invalid status (SW007C to SW007F).
SB0077 Parameter receive Stores whether parameters have been received from the master station.
status Off: Received
On: Not received
APPENDICES
App. - 10 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SB0079 Master station return Stores whether "Master Station" or "Master Station (Duplex Function)" has
specification been set in "Station Type" in the module parameter window.
information Off: Master station
On: Master station (duplex function)
SB007A Standby master station Stores whether the own station has ever operated as a standby master
operation history of station.
own station Off: Has no history of operating as a standby master station
On: Has a history of operating as a standby master station
SB007B Master/standby master Stores whether the own station is operating as a master station or standby
operation status of master station.
own station Off:The own station is operating as a master station.
On:The own station is operating as a standby master station.
SB007C Slave station refresh/ Stores the parameter setting status of output data in case of CPU STOP.
compulsory clear Off: Receives remote output (RY).
setting status in case On: Sends 0 data.
of programmable
controller CPU STOP
SB0080 Data link status of Stores the communication status with slave stations.
other stations Off: All stations normal
On: Faulty station found (The faulty station number is stored in SW0080
to SW0083.)
It takes maximum of six seconds for Data link status of other stations
(SB0080) to turn on after a slave station connected to the master station or
local station becomes faulty.
SB0081 Watchdog timer error Stores whether a watchdog timer error has occurred in other stations.
status of other stations Off: No error
On: Error
Depending on the link refresh timing, SB0081 may be updated with the
time difference of one sequence scan from the update of Watchdog timer
error occurrence status of other stations (SW0084 to SW0087). A
SB0082 Fuse blown status of Stores whether a fuse blown error has occurred in other stations. (SW0088
other stations to SW008B)
Off: No error
On: Error
Depending on the link refresh timing, SB0082 may be updated with the
time difference of one sequence scan from the update of Fuse blown
status of other stations (SW0088 to SW008B).
SB0083 Switch change status Detects whether the setting of setting switches of other stations during data
of other stations link has been changed.
Off: No change
On: Changed
Depending on the link refresh timing, SB0083 may be updated with the
time difference of one sequence scan from the update of Switch change
status of other stations (SW008C to SW008F).
SB0090 Line status of own Stores whether the line to the own station is normally operating.
station Off: Normal
On: Error (disconnected)
SB0094 Transient transmission Stores whether a transient transmission error has occurred.
status Off: No error
On: Error
SB0095 Master stations Stores whether the master station is normally performing transient
transient transmission transmission.
status Off: Normal
On: Error
SB00B4 Standby master station Stores the result of the line test 1.
test result Off: Normal
On: Error
SB0160 Remote register use Stores whether the use of remote registers is prohibited.
prohibited status Off: Available
On: Use prohibited
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 11
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SB0184 Transmission speed Stores the result of the transmission speed test to the standby master
test result of standby station.
master station Off: Normal (same transmission speed as the master station) or no
response from the module
On: Error (different transmission speed from the master station)
SB0185 Transmission speed Stores whether Transmission speed test request (SB000B) has been
test acceptance status accepted.
Off: Not accepted
On: Accepted
SB0186 Transmission speed Stores whether a transmission speed test has been completed.
test completion status Off: Not completed
On: Completed
APPENDICES
App. - 12 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
Appendix 3.2 List of link special register (SW) areas
The link special register (SW) stores the information during data link. Error locations and causes can be checked by the using
and monitoring the link special register (SW) in programs.
Range where data are stored by users and range where data are stored by the system
The following ranges correspond to when the link special register (SW) areas are assigned from SW0000 to SW01FF.
• Stored by users: SW0000 to SW001F
• Stored by the system: SW0020 to SW01FF
Do not write any data to an area whose number is not on the following list. Doing so may cause malfunction of
the programmable controller system.
A
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW0003 Multiple Selects whether to specify multiple temporary error invalid stations.
temporary error 00: Multiple stations set in SW0004 to SW0007 specified
invalid station 01 to 64:A single station specified from 1 to 64
specification (The number represents the station number to be set as a temporary error
invalid station.)
SW0004 Temporary error Specifies a temporary error invalid station.
to invalid station 0: Temporary error invalid station not specified
SW0007 specification 1: Temporary error invalid station specified
SW0005 32 31 30 29 to 20 19 18 17
SW0006 48 47 46 45 to 36 35 34 33
SW0007 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 13
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW0009 Monitoring time Sets monitoring time when dedicated instructions are used.
setting Default: 10 (seconds) (value = 0)
Setting range: 1 to 360 (seconds)
If a value outside the range is set, the monitoring time will be 360 seconds.
When SW000B is set, the time until a dedicated instruction fails is as follows:
(Number of retries + 1) monitoring time
SW000A CPU monitoring Sets the monitoring time of CPU response when the CPU module is accessed
time setting through transient transmission.
Default: 90 (seconds) (value = 0)
Setting range: 1 to 3600 (seconds)
If a value outside the range is set, the monitoring time will be 3600 seconds.
SW000B Dedicated Sets the number of retries of when dedicated instructions are used.
instruction retry Default: 0 (No retry)
count setting Setting range: 0 to 7 (time)
If a value outside the range is set, the number of times will be 7.
SW0014 Specification of Specifies a station where an initial processing is performed using the
to remote device information registered by the initialization procedure registration using an
SW0017 station to be engineering tool.
initialized 0: Initial processing not performed
1: Initial processing performed
SW0015 32 31 30 29 to 20 19 18 17
SW0016 48 47 46 45 to 36 35 34 33
SW0017 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
APPENDICES
App. - 14 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW0057 Master station Stores whether a master station duplication error cancel request has been
duplication error normally completed.
cancel result 0: Normal completion
Values other than 0:Error code ( Page App. - 23 List of error codes)
SW0058 Detailed LED Stores the details of the LED display status.
display status 0: Off
1: On
b15b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0
ERR.: Error
b15 b14 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 to 0 0 0 0
10Mbps A
5Mbps
2.5Mbps
625kbps
156kbps
Auto-tracking
SW005B Transmission Stores the transmission speed operation status. The bit "During auto-tracking"
speed operation (b15) is enabled only at local stations.
status 0: Not in operation
1: In operation
b15 b14 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 to 0 0 0 0
10Mbps
5Mbps
2.5Mbps
625kbps
156kbps
During auto-tracking
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 15
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW005C Detailed LED Stores the detailed display status of the module LED.
display status (2) 0: Off
1: On
Station type
0: Master station/local station
1: Standby master station
Master station duplex function
0: Disable
1: Enable
Input data from data link faulty station
0: Clear
1: Hold
Number of occupied stations
00: 1 station occupied
10: 2 station occupied
11: 3 station occupied
01: 4 station occupied
Setting Method of Basic/Application Settings
0: Parameter Editor
1: Program
Output mode upon CPU STOPcase of
programmable controller CPU STOP
0: Refresh to remote output (RY)
1: Send 0 data to remote output (RY)
Extended cyclic setting
00: Single
01: Double
10: Quadruple
11: Octuple
Station-based block data assurance
0: Disable
1: Enable
SW0064 Number of retries Stores the set number of retries upon an abnormal response.
information 1 to 7 (time)
APPENDICES
App. - 16 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW0065 Number of Stores the set number of automatic return stations in one link scan.
automatic return 1 to 10 (station)
stations
SW0067 Parameter Stores the information of the setting method basic/application settings.
information 0H:Parameter editor
3H:Program
SW0068 Parameter status Stores whether the parameters have been correctly set.
of own station 0: Normal
Values other than 0:Error code ( Page App. - 23 List of error codes)
SW0069 Installation status Stores whether unique station numbers have been assigned for modules and
whether parameter settings match with connected module status.
0: Normal
Values other than 0:Error code ( Page App. - 23 List of error codes)
Error details are stored in SW0098 to SW009B and SW009C to SW009F.
This item is checked, and the result is stored only at link startup.
SW006D Maximum link Stores the maximum link scan time.
scan time (unit: 1ms)
SW006E Current link scan Stores the current link scan time.
time (unit: 1ms)
SW006F Minimum link scan Stores the minimum link scan time.
time (unit: 1ms)
SW0070 Total number of Stores the end station number set using the parameter.
stations 1 to 64 (station)
SW0071 Maximum Stores the maximum station number during data link (station number set using
communication the station number setting switches).
station number 1 to 64 (station)
Reserved stations are excepted.
SW0072 Number of
connected
Stores the number of modules performing data link.
Reserved stations are excepted.
A
modules
SW0073 Standby master Stores the standby master station number.
station number 1 to 64 (station)
SW0074 Reserved station Stores whether a station has been set as a reserved station.
to specification 0: A station other than a reserved station
SW0077 status 1: Reserved station
SW0075 32 31 30 29 to 20 19 18 17
SW0076 48 47 46 45 to 36 35 34 33
SW0077 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Only the bit corresponding to the start station number turns on.
The station with the end station number and stations later than that are
excepted.
SW0078 Error invalid Stores whether a station has been set as an error invalid station.
to station 0: A station other than an error invalid station
SW007B specification 1: Error invalid station
status
b15 b14 b13 b12 to b3 b2 b1 b0
SW0078 16 15 14 13 to 4 3 2 1
SW0079 32 31 30 29 to 20 19 18 17
SW007A 48 47 46 45 to 36 35 34 33
SW007B 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Only the bit corresponding to the start station number turns on.
Reserved stations, station with the end station number, and stations later than
that are excepted.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 17
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW007C Temporary error Stores whether a station is in the temporary error invalid status.
to invalid status 0: Normal
SW007F 1: Temporary error invalid status
SW007D 32 31 30 29 to 20 19 18 17
SW007E 48 47 46 45 to 36 35 34 33
SW007F 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
SW0081 32 31 30 29 to 20 19 18 17
SW0082 48 47 46 45 to 36 35 34 33
SW0083 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
SW0085 32 31 30 29 to 20 19 18 17
SW0086 48 47 46 45 to 36 35 34 33
SW0087 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Only the bit corresponding to the start station number turns on.
Reserved stations, station with the end station number, and stations later than
that are excepted.
SW0088 Fuse blown status Stores whether a fuse blown error has occurred.
to of other stations 0: Normal
SW008B 1: Fuse blown
SW0089 32 31 30 29 to 20 19 18 17
SW008A 48 47 46 45 to 36 35 34 33
SW008B 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
APPENDICES
App. - 18 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW008C Switch change Stores whether the setting of switches of other stations during data link has
to status of other been changed.
SW008F stations 0: No change
1: Changed
SW008D 32 31 30 29 to 20 19 18 17
SW008E 48 47 46 45 to 36 35 34 33
SW008F 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Only the bit corresponding to the start station number turns on.
Reserved stations, station with the end station number, and stations later than
that are excepted.
SW0090 Line status Stores the line status.
0: Normal
1: Data link disabled (disconnected)
SW0094 Transient Stores whether a transient transmission error has occurred.
to transmission 0: No transient transmission error
SW0097 status 1: Transient transmission error
SW0095 32 31 30 29 to 20 19 18 17
SW0096 48 47 46 45 to 36 35 34 33
SW0097 64 63 62 61 to 52 51 50 49
A
1 to 64 in the table indicate station numbers.
Only the bit corresponding to the start station number turns on.
Reserved stations, station with the end station number, and stations later than
that are excepted.
SW0098 Station number Stores whether station numbers are unique when the start station numbers of
to overlap status modules are different.
SW009B 0: Normal
1: Station number in use (start station number only)
SW0099 32 31 30 29 to 20 19 18 17
SW009A 48 47 46 45 to 36 35 34 33
SW009B 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Reserved stations, station with the end station number, and stations later than
that are excepted.
Only the bit corresponding to the start station number turns on. This item is
checked, and the result is stored only upon data link start and the change of a
parameter.
For a slave station with the transmission speed auto-tracking setting, whether
the station number is already used for other stations may not be detected.
When the station number of a station is the same as that of the standby master
station, the status cannot be detected.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 19
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW009C Installation/ Stores the matching statuses such as the matching of CC-Link versions
to parameter between the parameter settings and the modules on slave stations.
SW009F matching status ■ The station types do not match. (This mismatch occurs in the following
combinations of station types.)
Installation Parameter
Remote device station Remote I/O station
Intelligent device station Remote I/O station
Remote device station
SW009D 32 31 30 29 to 20 19 18 17
SW009E 48 47 46 45 to 36 35 34 33
SW009F 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Reserved stations, station with the end station number, and stations later than
that are excepted.
Only the bit corresponding to the start station number turns on. This item is
checked, and the result is stored only upon data link start and the change of a
parameter.
SW00B4 Line test 1 result Stores the result of the line test 1.
to 0: Normal
SW00B7 1: Error
SW00B5 32 31 30 29 to 20 19 18 17
SW00B6 48 47 46 45 to 36 35 34 33
SW00B7 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
SW0141 32 31 30 29 to 20 19 18 17
SW0142 48 47 46 45 to 36 35 34 33
SW0143 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
APPENDICES
App. - 20 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW0144 CC-Link Ver. Stores whether a CC-Link version matches between the parameter settings and
to installation/ the modules on slave stations.
SW0147 parameter 0: Normal
matching status 1: Mismatch error
SW0145 32 31 30 29 to 20 19 18 17
SW0146 48 47 46 45 to 36 35 34 33
SW0147 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Installation Parameter
Ver.2-compatible remote device Ver.1-compatible remote device
station station
Ver.1-compatible remote device Ver.2-compatible remote device
station station
The bits corresponding to the start station number and the number of occupied
stations turn on.
Reserved stations, station with the end station number, and stations later than
that are excepted.
SW0148 Parameter mode Stores the mode set to a system.
0: Remote net Ver.1 mode, Remote device net Ver.1 mode, Remote I/O net
mode
2: Remote net Ver.2 mode, Remote device net Ver.2 mode
SW0149 Parameter mode Stores the mode set to the own station.
of own station 0: Remote net Ver.1 mode, Remote device net Ver.1 mode, Remote I/O net
mode
A
2: Remote net Ver.2 mode, Remote device net Ver.2 mode
SW0152 Maximum Stores the maximum station number during data link in real time (1 to 64: station
communication number in the station number setting).
station number Reserved stations, error invalid stations, and temporary error invalid stations are
excepted.
SW0153 Number of Stores the number of modules performing data link in real time.
connected Reserved stations, error invalid stations, and temporary error invalid stations are
modules involved excepted.
in communication
SW0160 Remote register Stores whether the use of remote registers is prohibited.
to use prohibited 0: Available
SW0163 status 1: Use prohibited
SW0161 32 31 30 29 to 20 19 18 17
SW0162 48 47 46 45 to 36 35 34 33
SW0163 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Only the bit corresponding to the start station number turns on.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 21
No. Name Description Availability (: Available, : Not
available)
Online Offline
Master Local
station station
SW0164 Remote device Stores whether the remote device station initialization procedure registration
to station has been completed.
SW0167 initialization 0: Not completed
procedure 1: Completed
registration
b15 b14 b13 b12 to b3 b2 b1 b0
completion status
SW0164 16 15 14 13 to 4 3 2 1
SW0165 32 31 30 29 to 20 19 18 17
SW0166 48 47 46 45 to 36 35 34 33
SW0167 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Only the bit corresponding to the start station number turns on.
SW0183 Transmission Stores the result of a transmission speed test.
speed test result 0: Normal
Values other than 0:Error code ( Page App. - 23 List of error codes)
SW0184 Transmission Stores the result of the transmission speed test for each station.
to speed test result 0: Normal (same transmission speed as the master station) or no response
SW0187 of each station from the module
1: Error (different transmission speed from the master station)
SW0185 32 31 30 29 to 20 19 18 17
SW0186 48 47 46 45 to 36 35 34 33
SW0187 64 63 62 61 to 52 51 50 49
1 to 64 in the table indicate station numbers.
Only the bit corresponding to the start station number turns on.
The timing of when data in link special register area (SW) are updated differs depending on the link special register number.
The following table lists the update timing.
Link special register Data update timing Link special register Data update timing
SW0041 Updated regardless of the SB status SW0071 Updated regardless of the SB status
(Updated after each station becomes stable.)
SW0045 SW0072
SW0060 When the SB0060 status is changed SW0074 to SW0077 When the SB0074 status is changed
SW0061 When the SB0061 status is changed SW0078 to SW007B When the SB0075 status is changed
SW0062 Updated regardless of the SB status SW0080 to SW0083 When the SB0080 status is changed
SW0067 SW0088 to SW008B Updated regardless of the SB status
SW0068 SW0090 When the SB0090 status is changed
SW0069 SW0098 to SW009B Updated regardless of the SB status
SW006A SW009C to SW009
SW006D SW00B4 to SW00B7
SW006E SW00B8
SW006F
SW0070
APPENDICES
App. - 22 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
Appendix 3.3 List of error codes
This section lists the error codes, error details and causes, and action for the errors occur in the processings for data
communication between master/local module and slave stations or caused by processing requests from the CPU module on
the own station.
Error Error details and causes Action Detailed
code information
1080H The number of writes to the flash ROM has exceeded Replace the module.
100000. (Number of writes > 100000 times)
1810H The hardware has failed. • The possible cause is a malfunction due to noise. Check
the wire and cable distances and ground condition of
each device, and take measures to reduce noise.
• Perform a hardware test. If the error occurs again, the
possible cause is a hardware failure of the module.
Please consult your local Mitsubishi representative.
20E0H The module cannot communicate with the CPU module. The hardware failure of the CPU module may have been
occurred. Please consult your local Mitsubishi
representative.
24C0H The hardware has failed. • The possible cause is a malfunction due to noise. Check Parameter information
the wire and cable distances and ground condition of • I/O No.
each device, and take measures to reduce noise. • Base No.
• Perform a hardware test. If the error occurs again, the • Slot No.
possible cause is a hardware failure of the module. • CPU No.
Please consult your local Mitsubishi representative.
24C1H The bus communication has failed. • The possible cause is a malfunction due to noise. Check Parameter information
the wire and cable distances and ground condition of • I/O No.
each device, and take measures to reduce noise. • Base No.
• Perform a hardware test. If the error occurs again, the • Slot No.
possible cause is a hardware failure of the module. • CPU No.
Please consult your local Mitsubishi representative.
24C2H The bus communication has failed. • The possible cause is a malfunction due to noise. Check Parameter information
the wire and cable distances and ground condition of • I/O No.
each device, and take measures to reduce noise.
• Perform a hardware test. If the error occurs again, the
• Base No.
• Slot No.
A
possible cause is a hardware failure of the module. • CPU No.
Please consult your local Mitsubishi representative.
24C3H The bus communication has failed. • The possible cause is a malfunction due to noise. Check Parameter information
the wire and cable distances and ground condition of • I/O No.
each device, and take measures to reduce noise. • Base No.
• Perform a hardware test. If the error occurs again, the • Slot No.
possible cause is a hardware failure of the module. • CPU No.
Please consult your local Mitsubishi representative.
24C6H The bus communication has failed. • The possible cause is a malfunction due to noise. Check
the wire and cable distances and ground condition of
each device, and take measures to reduce noise.
• Perform a hardware test. If the error occurs again, the
possible cause is a hardware failure of the module.
Please consult your local Mitsubishi representative.
3C00H A hardware failure has been detected. • The possible cause is a malfunction due to noise. Check
the wire and cable distances and ground condition of
each device, and take measures to reduce noise.
• Perform a hardware test. If the error occurs again, the
possible cause is a hardware failure of the module.
Please consult your local Mitsubishi representative.
3C02H A bus error has been detected. • The possible cause is a malfunction due to noise. Check
the wire and cable distances and ground condition of
each device, and take measures to reduce noise.
• Perform a hardware test. If the error occurs again, the
possible cause is a hardware failure of the module.
Please consult your local Mitsubishi representative.
3C10H A hardware failure has been detected. • Take measures to reduce noise.
• Reset the CPU module, and run it again. If the same
error code is displayed again, the possible cause is a
hardware failure of the error module. Please consult your
local Mitsubishi representative.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 23
Error Error details and causes Action Detailed
code information
3C14H A bus error has been detected. Reset the CPU module, and run it again. If the same error
code is displayed again, the possible cause is a hardware
failure of the error module or CPU module. Please consult
your local Mitsubishi representative.
B002H System error Please consult your local Mitsubishi representative.
B101H System error Please consult your local Mitsubishi representative.
B102H System error Please consult your local Mitsubishi representative.
B103H System error Please consult your local Mitsubishi representative.
B104H System error Please consult your local Mitsubishi representative.
B105H System error Please consult your local Mitsubishi representative.
B106H System error Please consult your local Mitsubishi representative.
B109H System error Please consult your local Mitsubishi representative.
B10AH System error Please consult your local Mitsubishi representative.
B10CH System error Please consult your local Mitsubishi representative.
B110H A line error has occurred. Check and correct the wiring.
B111H A line error has occurred. Check and correct the wiring.
B112H A line error has occurred. Check and correct the wiring.
B113H A line error has occurred. Or a momentary power failure Modify the line, or check the power supply module and
has occurred in the sending station. power supplied to the sending station.
B115H A line error has occurred. Check and correct the wiring.
B116H A line error has occurred. Check and correct the wiring.
B120H With the remote device station initialization procedure Complete all the procedures before turning off the remote
registration function, the remote device station initialization device station initialization procedure registration
procedure registration instruction was turned off before all instruction.
procedures are completed.
B122H System error Please consult your local Mitsubishi representative.
B123H System error Please consult your local Mitsubishi representative.
B124H The remote device station initialization procedure Turn on the remote device station initialization procedure
registration instruction was turned on in a station other than registration instruction in the master station (station No.0).
the master station.
B125H • The remote device station initialization procedure • Set the remote device station initialization procedure
registration instruction was turned on without setting the registration before turning on the remote device station
remote device station initialization procedure initialization procedure registration instruction.
registration. • Turn on only the bit corresponding to the start station
• A bit other than the one corresponding to the start station number in SW0014 to SW0017 (Specification of remote
number was turned on in SW0014 to SW0017 device station to be initialized).
(Specification of remote device station to be initialized) to
instruct the remote device station initialization procedure
registration.
B201H A data link error has occurred in the corresponding station Check the communication status of other stations, if a
during transient transmission. temporary error invalid station is present, or if the
corresponding station is stopped.
B202H System error Please consult your local Mitsubishi representative.
B203H System error Please consult your local Mitsubishi representative.
B204H Too many transient requests were sent to the Wait for a while and send the request again.
corresponding station.
B205H A transient request was issued to a station other than an Check the target station.
intelligent device station.
B301H A line test request was issued during link stop. Perform a line test while data link is being performed.
B302H The specified station number for a line test request, Specify a station number smaller than or equal to the
temporary error invalid request, or temporary error invalid maximum communication station number.
canceling request is greater than the maximum station
number that can communicate.
B303H Target station number is not set for temporary error invalid Set the station number. (SW0003, SW0004 to SW0007)
request or temporary error invalid cancellation request.
B304H When a line test was executed, an error has been detected Check if the remote station, intelligent device station, or
in a remote station, intelligent device station, or standby standby master station have been started, and that the
master station. cables are not disconnected.
B305H System error Please consult your local Mitsubishi representative.
APPENDICES
App. - 24 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
Error Error details and causes Action Detailed
code information
B306H A station number other than the start station number has Specify the start station for the temporary error invalid
been specified in the temporary error invalid request or request or temporary error invalid cancellation request.
temporary error invalid canceling request.
B307H When one of the following requests is issued, a data link Issue the request again after the data link returns to
error has occurred in all stations. normal.
• SB0000 (Data link restart)
• SB0002 (Data link stop)
B308H A slave station number is not within 1 to 64. Set the station number for the slave station within 1 to 64.
B309H The station number of the connected module is duplicated Check the station number of the module.
(including the number of occupied stations). However,
excluding duplication of the start station number.
B30AH • The station type differs between the mounted modules • Correct the parameter.
and parameter settings. • Set the parameters of the master station, local station, or
• The mode setting is invalid in the master station, local standby master station again, and reset the CPU
station, or standby master station. module.
• The mode of the master station differs from that of the
standby master station.
B30BH The module parameter details do not match the installation Correct the installation status or module parameters so that
status. both are matched.
B30CH The master station switching was instructed to a station Specify the standby master station number.
other than the standby master station.
B30DH A request, such as the temporary error invalid station Issue the request after the data link is started.
specification, line test request, or data link stop/restart
request, was issued before data link is started.
B30EH Execution of a function that is started using SB, SW and Execute the corresponding function from the master
executable only on the master station was attempted on a station.
local station.
B30FH System error Please consult your local Mitsubishi representative.
B310H SB0000 (Data link restart) was turned on specifying the Turn on SB0000 (Data link restart) specifying the station
station that was performing data link. where data link has been stopped using SB0002 (Data link
stop).
B311H SB0002 (Data link stop) was turned on specifying the Turn on SB0002 (Data link stop) specifying the station A
station where data link had been stopped. performing data link.
B312H SB000C (Forced master switching) was turned on in a Start the data link of the standby master station then turn
system where no standby master station exists or the on SB000C (Forced master switching).
standby master station was down.
B313H SB000C (Forced master switching) was turned on in a Start the data link of the standby master station then turn
system where all stations were faulty. on SB000C (Forced master switching).
B314H SB000C (Forced master switching) was turned on for a Turn on SB000C (Forced master switching) in the master
station other than the master station. station.
B315H While the master station was being switched to the standby Correct the status of SB000C (Forced master switching).
master station, SB000C (Forced master switching) was
turned on again.
B316H System error Please consult your local Mitsubishi representative.
B317H • The RLPASET instruction was executed to a module Clear parameters for the target module using the
where parameters had been set using the engineering engineering tool then set the parameters using the
tool. RLPASET instruction.
• The parameter setting was changed without powering off
and on the programmable controller system or resetting
the CPU module.
B31AH The master station duplication error canceling instruction Do not execute the master station duplication error
was executed while data link had already been started. cancellation instruction during data link.
B31BH The transmission speed test was performed during data Turn on SB000B (Transmission speed test request) after
link. turning on SB0002 (Data link stop).
B31CH System error Please consult your local Mitsubishi representative.
B31DH System error Please consult your local Mitsubishi representative.
B31EH Logging was started while logs were being deleted. Delete the logs then start logging.
B31FH Logs were deleted during logging. Stop the logging then delete the logs.
B320H Logging was executed or logs were deleted in the remote I/ Set the remote net mode then start the logging or delete
O net mode. the logs.
B321H System error Please consult your local Mitsubishi representative.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 25
Error Error details and causes Action Detailed
code information
B322H The logs were deleted during data link with "RAM + Flash Terminate the data link then delete the logs.
ROM" selected.
B323H Although the logs had been set to be deleted with "RAM + Delete the logs again with "RAM + Flash ROM" selected.
Flash ROM" selected, logging was started before deletion
of logs was complete.
B324H Storing logs to the flash ROM was attempted when the Delete the logs with "RAM + Flash ROM" selected then
flash ROM was not ready for storage. start logging, or start logging with "RAM" selected.
B325H The cumulative number of times that logs are stored on the Start logging with "RAM" selected.
flash ROM has exceeded 100000 times. To execute logging with "RAM + Flash ROM" selected,
replace the module.
B326H System error Please consult your local Mitsubishi representative.
B384H In the station information parameter, a number other than Set the number within the range of 1H to 40H.
1H to 40H is set for a station number (including the number
of occupied stations).
B385H The total number of occupied stations set in the station Set the value to 64 or less.
information parameter exceeded 64.
B386H In the station information parameter, all the number of Set the value within the range of 1 to 4.
occupied stations is set to 0.
B388H The station type in the station information parameter is out Set a value within 0 to 2 in the remote net Ver.1 mode.
of the range in the remote net Ver.1 mode.
B38AH System error Please consult your local Mitsubishi representative.
B38BH More than 42 remote device stations are set in the station Set the number of remote device stations to 42 or less.
information parameter. Set the stations to remote device net mode.
B38CH More than 26 intelligent device stations (including local Set the number of intelligent device stations to 26 or less.
stations) are set in the station information parameter.
B38DH In the invalid station specification parameter, a station Set the start station number of the module. Do not set a
number other than the start station number of the module station number not set in the parameter.
or a station number not set in the parameter is set.
[Example of when a station number other than the start
station number is set]
For a module that occupies 4 stations (station No.5 to
No.8), a bit corresponding to a station number other than
the station No.5 is on.
B38FH The total size of the automatic update buffer set in the Set the total size of the automatic update buffer within 4K
station information parameter exceeded 4K words. words.
B390H A value other than 1 to 64 is set in the standby master Set the value within the range of 1 to 64.
station specification parameter.
B391H A value other than 1 to 7 is set in the number of retries Set the value within the range of 1 to 7.
parameter.
B392H A value other than 0 or 1 is set in the parameter of data link Set 0 or 1.
setting when CPU is down.
B393H A value other than 0 or 1 is set in the scan mode setting Set 0 or 1.
parameter.
B394H A value other than 1 to 10 is set in the number of automatic Set the value within the range of 1 to 10.
return stations parameter.
B395H System error Please consult your local Mitsubishi representative.
B396H The station number is already in use in the station Set a unique number.
information parameter.
B397H The station information parameter setting does not meet Set parameters so that the conditions described in the left
the following condition: are satisfied.
(16 A) + (54 B) + (88 C) 2304
A: The number of remote I/O stations
B: The number of remote device stations
C: The number of intelligent device stations (including
local stations)
B398H A value other than 1 to 4 is set as the number of occupied Set the value within the range of 1 to 4.
stations in the station information parameter.
B399H A value other than 1 to 64 is set in the number of Set the value within the range of 1 to 64.
connected modules parameter.
APPENDICES
App. - 26 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
Error Error details and causes Action Detailed
code information
B39AH The station number set using the station number setting of Change the parameter for the master station, or change
the standby master station differs from the one set in the station number setting of the local station or standby
"Standby master station number" of the module parameter master station. Then reset the CPU module on the local
for the master station. Or the station set in "Standby master station or standby master station.
station number" of the module parameter for the master
station is a local station.
B39BH All stations are set as a reserved station. Correct the reserved station specification.
B39CH • A station type other than an intelligent device station is • Specify the standby master station as an intelligent
set as the station type for the station specified in device station.
"Standby master station number" of the module • Set the same mode for the master station and the
parameter for the master station. standby master station.
• The mode setting of the master station differs from that
of the standby master station.
B39DH Zero points are set for a station other than a reserved Set zero points for a reserved station.
station.
B39EH • 8 points or 16 points are set for a station other than a • 8 points and 16 points are set for the same remote I/O
remote I/O station. station.
• 8 points and 16 points are set for the same remote I/O • Set either 8 points or 16 points for the remote I/O station.
station.
B3A0H The mode setting is invalid in the master station, local Correct the mode setting of the master station, local
station, or standby master station. station, or standby master station again, and reset the CPU
• The mode of the master station differs from that of the module.
standby master station.
• The local station is in the remote net Ver.2 mode, and the
master station is in the remote net Ver.1 mode.
B3A2H In the remote I/O net mode, a station other than a remote I/ Set all stations as a remote I/O station.
O station is set in the station type parameter using the
dedicated instruction.
B3A3H In the remote net Ver.2 mode, the total number of remote Change the number of remote station points set in the
points in station information exceeded 8192, the maximum station information settings.
number of points.
B3A4H While the standby master station was operating as a Undo the module parameters of the master station.
master station by the master station duplex function, the A
network parameter setting of the faulty master station was
changed.
B3A6H In the remote device net mode, a station type other than a Set all stations as a remote device station.
remote I/O station or remote device station is set in the
station type parameter using the dedicated instruction.
B3F1H System error Please consult your local Mitsubishi representative.
B3F2H System error Please consult your local Mitsubishi representative.
B3F3H System error Please consult your local Mitsubishi representative.
B401H The parameter setting was changed during transient Change the parameters after all transient requests are
request. completed or before the request is issued.
B404H A response is not received from the request destination Increase the monitoring time value.
station within the monitoring time. If the error occurs again, check the modules and cables at
the destination.
B405H A transient request was issued to a remote I/O station or a Set a local station or an intelligent device station as the
remote device station. Or too many transient requests were target station or wait for a while and send the request
sent to the corresponding station. again. (Transient overload state)
B407H System error Please consult your local Mitsubishi representative.
B409H System error Please consult your local Mitsubishi representative.
B411H The number of read/write points in the control data of the Set a number of read points or write points within range.
dedicated instruction is out of the range.
B412H The station number in the control data of the dedicated Set the station number within range.
instruction is out of the range.
B413H Multiple dedicated instructions were executed to the same Review the program.
station.
B414H The value set in the interlock signal storage device of the Set the interlock signal storage device value within range.
RIRCV instruction or RISEND instruction is out of range.
B415H The dedicated instruction which is executable only on the Check if the own station type is a master station.
master station was attempted to be executed on a station
other than the master station.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 27
Error Error details and causes Action Detailed
code information
B416H System error Please consult your local Mitsubishi representative.
B417H System error Please consult your local Mitsubishi representative.
B418H With the message transmission function, an abnormal data Set the receivable data size to a value larger than the
was received. receive data size.
B419H System error Please consult your local Mitsubishi representative.
B41AH System error Please consult your local Mitsubishi representative.
B601H An unsupported request was received. Check and correct the request data or the target station
number.
B602H Too many transient requests were sent to the Wait for a while and send the request again.
corresponding station.
B603H Too many transient requests were sent to the Wait for a while and send the request again.
corresponding station.
B604H Transient transmission was performed during a line test. Wait for a while and send the request again.
B605H The transient storage buffer data was failed to be obtained. Wait for a while and send the request again.
B606H System error Please consult your local Mitsubishi representative.
B607H The CPU module on the target station is in error. Check the CPU module of the target station.
B608H Transient transmission was performed to the AJ61BT11 or Set the target station to intelligent mode.
A1SJ61BT11 in the I/O mode.
B60CH System error Please consult your local Mitsubishi representative.
B700H System error Please consult your local Mitsubishi representative.
B701H Transient transmission failed. • Reduce the load placed on the transient transmission
and perform the transmission again.
• If the error occurs again even after taking the above,
please consult your local Mitsubishi representative.
B702H Transient transmission failed. • Reduce the load placed on the transient transmission
and perform the transmission again.
• If the error occurs again even after taking the above,
please consult your local Mitsubishi representative.
B703H Transient transmission failed. • Reduce the load placed on the transient transmission
and perform the transmission again.
• If the error occurs again even after taking the above,
please consult your local Mitsubishi representative.
B704H Transient transmission failed. • Reduce the load placed on the transient transmission
and perform the transmission again.
• If the error occurs again even after taking the above,
please consult your local Mitsubishi representative.
B705H System error Please consult your local Mitsubishi representative.
B706H System error Please consult your local Mitsubishi representative.
B771H Too many transient requests were sent to the Wait for a while and send the request again.
corresponding station.
B772H System error Please consult your local Mitsubishi representative.
B773H System error Please consult your local Mitsubishi representative.
B774H The target station was not an intelligent device station. Check if the target station is an intelligent device station.
B775H Unsupported transient data was received. Check the application on the source that issued the
request.
B776H Unsupported transient data was received. Check the application on the source that issued the
request.
B777H Unsupported transient data was received. Check the application on the source that issued the
request.
B778H A response is not received from the request destination. Check the modules and cables at the request destination.
B779H System error Please consult your local Mitsubishi representative.
B780H Transient transmission was performed although the target Set the target station to intelligent mode.
station was set to I/O mode.
B781H System error Please consult your local Mitsubishi representative.
B782H When connection to another station is set, the sending Check the station number of the destination or change the
destination station and the sending source station are the setting to connection to the own station.
same.
APPENDICES
App. - 28 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
Error Error details and causes Action Detailed
code information
B783H When data larger than 1K was being sent in transient Wait for a while and send the request again.
transmission, an error has occurred in the transient storage
buffer.
B801H A non-existing access code or attribute is set. Set the correct access code or attribute.
B802H A non-existing access code was used. Use the correct access code.
B803H The number of data points is out of the range. Set the number of data points within 1 to 960 bytes.
B804H • The attribute definition is invalid. • Correct the attributes definition.
• A transient transmission was performed although the • Correct the target station number setting.
target station does not support transient transmission. • Correct the function version of the target local station
and software version.
B805H The number of data points is out of the range. Set a value within 1 to 100 for writing and within 1 to 160
for reading.
B807H • The start device number is out of the range. • Set the start device number within the range.
• The address was not a multiple of 16 when the bit device • Set the address in multiples of 16 when the bit device is
was accessed. accessed.
B80AH System error Please consult your local Mitsubishi representative.
B80DH The set combination (address and number of points) Set the number of points to be processed within the device
exceeded the processable range. range.
B80FH System error Please consult your local Mitsubishi representative.
B810H System error Please consult your local Mitsubishi representative.
B811H System error Please consult your local Mitsubishi representative.
B812H System error Please consult your local Mitsubishi representative.
B814H The file register capacity is not set. Set the file register capacity.
B815H Transient transmission was performed although the target Set the target station to intelligent mode.
station was set to I/O mode.
B817H System error Please consult your local Mitsubishi representative.
B821H System error Please consult your local Mitsubishi representative.
B822H System error Please consult your local Mitsubishi representative.
B823H The mode setting of the remote control is not correct. Correct the mode specification. A
B824H System error Please consult your local Mitsubishi representative.
B826H System error Please consult your local Mitsubishi representative.
B830H System error Please consult your local Mitsubishi representative.
B903H A transient request was issued to a station that had not Secure a communication buffer area using the parameter.
secured a communication buffer.
B981H System error Please consult your local Mitsubishi representative.
B982H System error Please consult your local Mitsubishi representative.
B983H System error Please consult your local Mitsubishi representative.
B984H System error Please consult your local Mitsubishi representative.
B985H System error Please consult your local Mitsubishi representative.
B986H System error Please consult your local Mitsubishi representative.
B987H System error Please consult your local Mitsubishi representative.
B988H An error has been detected in the CPU module. Check the error of the CPU module and take action using
the module diagnostics.
A hardware failure has been detected. Please consult your local Mitsubishi representative.
B989H An error has been detected in the CPU module. Check the error of the CPU module and take action using
the module diagnostics.
A hardware failure has been detected. Please consult your local Mitsubishi representative.
B9FFH An error has been detected in the CPU module. Check the error of the CPU module and take action using
the module diagnostics.
A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA01H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA02H System error Please consult your local Mitsubishi representative.
BA05H System error Please consult your local Mitsubishi representative.
BA06H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA07H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA08H A hardware failure has been detected. Please consult your local Mitsubishi representative.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 29
Error Error details and causes Action Detailed
code information
BA09H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA0AH A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA0BH A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA0CH A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA0DH A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA0EH A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA0FH A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA10H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA11H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA12H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA13H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA14H A hardware (communication circuit) failure has been • Check that the terminating resistor provided with the
detected. master/local module is connected between the DA and
DB terminals, and execute the hardware test again.
• If the error occurs again even after taking the above,
please consult your local Mitsubishi representative.
BA15H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA16H A hardware (communication circuit) failure has been • Check that the terminating resistor provided with the
detected. master/local module is connected between the DA and
DB terminals, and execute the hardware test again.
• If the error occurs again even after taking the above,
please consult your local Mitsubishi representative.
BA17H A hardware (communication circuit) failure has been • Check that the terminating resistor provided with the
detected. master/local module is connected between the DA and
DB terminals, and execute the hardware test again.
• If the error occurs again even after taking the above,
please consult your local Mitsubishi representative.
BA19H The target station of the line test 2 cannot be Check the cables and the target station.
communicated.
BA1BH A communication failure has occurred in all stations during Check the cables.
execution of the line test 1.
BA1FH A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA20H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BA21H A hardware failure has been detected. Please consult your local Mitsubishi representative.
BB01H Execution of some of the following was attempted at the Execute after other processing is completed.
same time on the same station (Including the same
request).
• Remote device station initialization procedure
registration function
• RISEND or RIRCV instruction
• Access from a peripheral to a remote device station
BBC1H System error Please consult your local Mitsubishi representative.
BBC2H System error Please consult your local Mitsubishi representative.
BBC3H System error Please consult your local Mitsubishi representative.
BBC5H • Multiple master stations exist on the same line. • Reduce the number of master stations on the same line
• Noise has been detected on the line at power-on. to one.
• When the data link starts by turning on SB0007 (Master
station duplication error cancel request), check the line
status.
BBC7H System error Please consult your local Mitsubishi representative.
BBC8H System error Please consult your local Mitsubishi representative.
BBCAH Multiple standby master stations exist on the same line. • Reduce the number of standby master stations on the
same line to one.
• Check the line status.
BBCBH System error Please consult your local Mitsubishi representative.
BBD1H System error Please consult your local Mitsubishi representative.
BBD3H System error Please consult your local Mitsubishi representative.
BC01H A data link error has occurred on all stations during a Issue the request after the data link is started.
message transmission.
APPENDICES
App. - 30 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
Error Error details and causes Action Detailed
code information
BC02H System error Please consult your local Mitsubishi representative.
BC03H The target station specified for the message transmission Check the parameters or operation on the target station.
function is in any of the following status.
• No network parameter is set.
• The specified station number is not the start station
number.
• The station is set as a reserved station.
• A data link error has occurred (including error on all
stations).
BC04H The message transmission was performed to a station Check the target station.
other than a remote device station or intelligent device
station.
BC05H The target station number specified for message Check the specified station number.
transmission function is not within 1 to 64.
BC06H The message transmission function was attempted to be Execute the message transmission function on the master
executed on a station other than the master station. station.
BC07H The transmission data size was out of the range when Set the transmission data size within the range.
message transmission function was executed.
BC33H System error Please consult your local Mitsubishi representative.
BC34H System error Please consult your local Mitsubishi representative.
BC35H System error Please consult your local Mitsubishi representative.
BC36H System error Please consult your local Mitsubishi representative.
BC37H System error Please consult your local Mitsubishi representative.
BC38H System error Please consult your local Mitsubishi representative.
BC39H System error Please consult your local Mitsubishi representative.
BC50H With the message transmission function, an abnormal data Check the program to see if any prohibited remote output
was received. (RY) has not been accessed. If the error occurs again even
after checking the above, the possible cause is a failure of
a master/local module or remote device station. Please
consult your local Mitsubishi representative.
BC51H • During execution of message transmission function, a • Check the operation of the target remote device station. A
data link error has occurred on the corresponding • Stop the data link then change the parameters.
station. • Check the program to see if any prohibited remote
• During execution of message transmission, some output (RY) has not been accessed. If the error occurs
parameters were changed. again even after checking the above, the possible cause
• With the message transmission function, an abnormal is a failure of a master/local module or remote device
data was received. station. Please consult your local Mitsubishi
representative.
BC52H • With the message transmission function, a • Set a larger value in SW0009 (Monitoring time setting) If
communication timeout has occurred. the error occurs again, check the modules and cables at
• SB0002 (Data link stop) was turned on during message the destination.
transmission. • Stop data link after completion of message transmission.
• With the message transmission function, a stop error in • To execute message transmission while there is a stop
the CPU module was detected. error in the CPU module, set the data link setting when
CPU is down to "Continue Data Link".
BC53H • With the message transmission function, a • Set a larger value in SW0009 (Monitoring time setting) If
communication timeout has occurred. the error occurs again, check the modules and cables at
• SB0002 (Data link stop) was turned on during message the destination.
transmission. • Stop data link after completion of message transmission.
• With the message transmission function, a stop error in • To execute message transmission while there is a stop
the CPU module was detected. error in the CPU module, set the data link setting when
CPU is down to "Continue Data Link".
BC54H With the message transmission function, an abnormal data Execute the message transmission function again. If the
was received. error occurs again, the possible cause is a failure of a
master/local module or remote device station. Please
consult your local Mitsubishi representative.
BC55H With the message transmission function, an abnormal data Execute the message transmission function again. If the
was received. error occurs again, the possible cause is a failure of a
master/local module or remote device station. Please
consult your local Mitsubishi representative.
BC57H Multiple peripherals tried to access the same remote Execute after other processing is completed.
device station at the same time.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 31
Error Error details and causes Action Detailed
code information
BC58H With the message transmission function, an abnormal data Execute the message transmission function again. If the
was received. error occurs again, the possible cause is a failure of a
master/local module or remote device station. Please
consult your local Mitsubishi representative.
BC59H With the message transmission function, an abnormal data Execute the message transmission function again. If the
was received. error occurs again, the possible cause is a failure of a
master/local module or remote device station. Please
consult your local Mitsubishi representative.
BC5AH System error Please consult your local Mitsubishi representative.
BC5BH With the message transmission function, an abnormal Check the operation of the target remote device station.
response was received.
BC5CH With the message transmission function, an abnormal data Execute the message transmission function again. If the
was received. error occurs again, the possible cause is a failure of a
master/local module or remote device station. Please
consult your local Mitsubishi representative.
BC5DH With the message transmission function, an abnormal data Execute the message transmission function again. If the
was received. error occurs again, the possible cause is a failure of a
master/local module or remote device station. Please
consult your local Mitsubishi representative.
BC5EH With the message transmission function, an abnormal data Execute the message transmission function again. If the
was received. error occurs again, the possible cause is a failure of a
master/local module or remote device station. Please
consult your local Mitsubishi representative.
BC5FH With the message transmission function, an abnormal data Execute the message transmission function again. If the
was received. error occurs again, the possible cause is a failure of a
master/local module or remote device station. Please
consult your local Mitsubishi representative.
BC60H • The message transmission function was executed Reduce the number for simultaneous execution to four or
simultaneously for five or more remote device stations. less.
• The message transmission function was executed
simultaneously for five or more intelligent device
stations.
BC70H The peripherals sent requests to the remote device station Reduce the number for simultaneous execution to four or
exceeding the number of concurrent execution. less.
BC71H The remote device station access function was attempted Execute the function from the master station.
to be performed from a station other than the master
station.
BC72H The remote device station to be accessed from the Check the parameters or operation on the target station.
peripherals is in any of the following.
• The station is not set in the network parameter.
• The specified station number is not the start station
number.
• The station is set as a reserved station.
• A data link error has occurred (including error on all
stations).
BC73H The remote device station to be accessed from the Check the station number and station type of the specified
peripherals is a remote I/O station. target station.
BC74H The specified device (RX, RY, RWw, or RWr) number is out Check the parameters and the device range of the target
of the valid device range for the connected target station. station.
BC75H A data link error has occurred in all stations during access Issue the request after the data link is started.
from the peripherals to the remote device station.
BC76H Time check over has occurred during access from the Increase the time check time in the application of the
peripherals to the remote device station. request source, or check the operation of the target slave
station.
BC81H System error Please consult your local Mitsubishi representative.
BC90H The message transmission result read request was Correct the target station number at the request source and
received from the station with an unacceptable target retry the operation.
station number.
BC91H Timeout has occurred in receiving response data of Set a larger value in SW0009 (Monitoring time setting) for
message transmission. execution. If the error occurs again, check the modules and
cables at the destination.
BD83H System error Please consult your local Mitsubishi representative.
BD84H System error Please consult your local Mitsubishi representative.
APPENDICES
App. - 32 Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes
Error Error details and causes Action Detailed
code information
BD85H An error was detected in the CPU module. Check the error of the CPU module and take action using
the module diagnostics.
A hardware failure has been detected. Please consult your local Mitsubishi representative.
BD86H System error Please consult your local Mitsubishi representative.
BD87H System error Please consult your local Mitsubishi representative.
BF11H System error Please consult your local Mitsubishi representative.
BF12H System error Please consult your local Mitsubishi representative.
BF13H System error Please consult your local Mitsubishi representative.
BF14H System error Please consult your local Mitsubishi representative.
BF15H System error Please consult your local Mitsubishi representative.
BF16H System error Please consult your local Mitsubishi representative.
BF17H System error Please consult your local Mitsubishi representative.
BF18H System error Please consult your local Mitsubishi representative.
BF19H System error Please consult your local Mitsubishi representative.
BF1AH System error Please consult your local Mitsubishi representative.
BF1BH System error Please consult your local Mitsubishi representative.
BF1CH System error Please consult your local Mitsubishi representative.
BF20H System error Please consult your local Mitsubishi representative.
BF30H System error Please consult your local Mitsubishi representative.
BF31H System error Please consult your local Mitsubishi representative.
BF32H System error Please consult your local Mitsubishi representative.
BF33H System error Please consult your local Mitsubishi representative.
BF34H System error Please consult your local Mitsubishi representative.
BF35H System error Please consult your local Mitsubishi representative.
BF36H System error Please consult your local Mitsubishi representative.
BF37H System error Please consult your local Mitsubishi representative.
BF38H An error has been detected in reading the execution result • Check the application on the source that issued the A
in access from the peripherals to the remote device station. request.
• Check if another peripheral is accessing the remote
device station.
BF39H An error has been detected in the request procedure in • Check the application on the source that issued the
access from the peripherals to the remote device station. request.
• Check if multiple peripherals are accessing the remote
device station.
• Check if a value is written in the system area in the buffer
memory.
BF40H System error Please consult your local Mitsubishi representative.
BF41H System error Please consult your local Mitsubishi representative.
BF42H System error Please consult your local Mitsubishi representative.
BF43H The station type of the target station for message Correct the target station at the request source and retry
transmission is neither a remote device station nor the operation.
intelligent device station.
BF44H System error Please consult your local Mitsubishi representative.
BF50H System error Please consult your local Mitsubishi representative.
BFFAH The message transmission function was executed Reduce the number for simultaneous execution to four or
simultaneously for five or more intelligent device stations. less.
BFFBH Too many transient requests were sent from the Wait for a while and send the request again.
engineering tool or GOT.
APPENDICES
Appendix 3 List of Link Special Relay Areas/Link Special Register Areas/Error Codes App. - 33
Appendix 4 Dedicated Instructions
Dedicated instructions facilitate programming for using intelligent function modules.
A master/local module can perform the following operations by using dedicated instructions.
• Transient transmission to a master station, local station, and intelligent device station
• Module parameter settings for a master station
APPENDICES
App. - 34 Appendix 4 Dedicated Instructions
Appendix 4.1 RIRD (Reading data from the target station)
G(P).RIRD
RnSFCPU RnSFCPU
RnCPU RnENCPU RnPCPU (Standard) (Safety)
This instruction reads data of the specified number of points from the buffer memory of the target station or the device of its
CPU module.
Ladder ST
ENO:=G_RIRD(EN,U,s,d1,d2);
ENO:=GP_RIRD(EN,U,s,d1,d2);
(U) (s) (d1) (d2)
FBD/LD
EN ENO
U d1
s d2
■Execution condition
Instruction Execution condition
G.RIRD
GP.RIRD
Setting data
A
■Description, range, data type
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit 00H to FEH 16-bit unsigned binary ANY16
hexadecimal representation) of a module
(s) Start device where control data is stored Refer to the control data. Device name ANY16*1
(d1) Start device for storing the read data Device name ANY16*1
(d2) Device to be turned on one scan upon completion Bit ANYBIT_ARRAY
of the instruction (Number of elements:
(d2)+1 also turns on when the instruction 2)
completes with an error.
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
*1 When specifying data with a label, define the array so that an area required for operation can be secured, and specify the array label
element.
APPENDICES
Appendix 4 Dedicated Instructions App. - 35
■Applicable devices
Operand Bit Word Double word Indirect Constant Others
X, Y, M, L, J\ T, ST, C, D, W, U\G, Z LT, LST, LZ specification K, H E $ (U)
SM, F, B, SB, SD, SW, FD, R, J\, LC
FX, FY ZR, RD U3E\(H)G
(U)*1
*3
(s)
(d1) *3
(d2) *2 *4
■Control data
Operand: (s)
Device Item Description Setting range Set by
+0 Completion status The instruction completion status is stored. System
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
+1 Station number Specify the station number of the target station. 0 to 64 User
+2 Access/attribute code Specify the type of the buffer memory or device from which to read data. Refer to User
••• ••• "Access/attribute
b15 b8 b7 b0
code."
Access code Attribute code
+3 Buffer memory address Specify the start address of the buffer memory or the start device from which to read Refer to the User
or device number data. manual of the
target station.*1
+4 Number of read points Specify the number of read points in units of words. 1 to 480*2 User
1 to 32*3
*1 When specifying the random access buffer, specify the address with the start of the random access buffer defined as 0.
*2 Specify a value within the capacity of the target station buffer memory area or device.
*3 If data is to be read from a device of the target station CPU module and the CPU module is other than RCPU, QCPU (Q mode), QCPU
(A mode), LCPU, QnACPU, or AnUCPU, the setting range is 1 to 32 words.
APPENDICES
App. - 36 Appendix 4 Dedicated Instructions
■Access/attribute code
• When data is read from the buffer memory in the CC-Link module
Contents of buffer memory Access code Attribute code
Buffer in intelligent device station 00H 04H
Buffer in master, local, or standby master station Random access buffer 20H 04H
Remote input 21H 04H
Remote output 22H 04H
Remote register 24H 04H
Link special relay 63H 04H
Link special register 64H 04H
*1 Only the above devices can be specified. To read data from a bit device, specify it with 0 or a multiple of 16.
*2 None of D65536 and the subsequent extended data register areas and of W10000 and the subsequent extended link register areas are
accepted.
APPENDICES
Appendix 4 Dedicated Instructions App. - 37
Processing details
• This instruction reads data of the specified number of points from the buffer memory of the target station or the device of its
CPU module.
• From the master station, the instruction can be executed for the local station, standby master station, or intelligent device
station. From the local station or standby master station, the instruction can be executed for the master station, local
station, or standby master station.
• The following figure shows how the G(P).RIRD instruction operates during execution.
[Own station] [Target station]
CPU module CC-Link master station CC-Link local station CPU module
G(P).RIRD
(d1) (s)+2
(s)+3
Data is read from the buffer memory area specified by (s)+2 and (s)+3 that is included in the station specified by (s)+1 or from the device of the CPU module.
The read data is stored in the receive buffer of the master station.
The read data is stored in the device specified by (d1) and later, and the device specified by (d2) is turned on.
• Normal/error completion of the G(P).RIRD instruction can be checked with the completion device specified by the setting
data (d2) and the completion status indication device (d2)+1.
• Completion device (d2)
This device turns on during END processing of the scan that arises upon completion of the G(P).RIRD instruction, and turns off during
the next END processing.
• Completion status indication device (d2)+1
This device turns on or off depending on the status resulting from completion of the G(P).RIRD instruction.
When completed successfully: The device remains off.
• When completed with an error: The device turns on during END processing of the scan that arises upon completion of the G(P).RIRD
instruction, and turns off during the next END processing.
Precautions
• The monitoring time and the number of retries can be set with the following link special register (SW) areas.
• Monitoring time setting (SW0009)
• Setting of the number of retries for dedicated instruction (SW000B)
• The G(P).RIRD instruction can be concurrently executed for two or more local stations, standby master stations, or
intelligent device stations. Two or more dedicated instructions, including those other than this instruction, cannot be
concurrently executed for a single station. If the next dedicated instruction is issued before completion of the preceding one
that has started, the next one will be ignored. Create the program so that the next dedicated instruction will start after the
completion device turns on, because processing of a dedicated instruction takes several scans until its completion.
Operation error
Error code Description
((s)+0)
4000H to 4FFFH MELSEC iQ-R CPU Module User's Manual (Application)
B000H to BFFFH MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
APPENDICES
App. - 38 Appendix 4 Dedicated Instructions
Appendix 4.2 RIWT (Writing data to the target station)
G(P).RIWT
RnSFCPU RnSFCPU
RnCPU RnENCPU RnPCPU (Standard) (Safety)
This instruction writes data of the specified number of points to the buffer memory of the target station or the device of its CPU
module.
Ladder ST
ENO:=G_RIWT(EN,U,s1,s2,d);
ENO:=GP_RIWT(EN,U,s1,s2,d);
(U) (s1) (s2) (d)
FBD/LD
EN ENO
U d
s1
s2
■Execution condition
Instruction Execution condition
G.RIWT
GP.RIWT
A
Setting data
■Description, range, data type
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit 00H to FEH 16-bit unsigned binary ANY16
hexadecimal representation) of a module
(s1) Start device where control data is stored Refer to the control data. Device name ANY16*1
(s2) Start device for storing the data to be written Device name ANY16*1
(d) Device to be turned on one scan upon Bit ANYBIT_ARRAY
completion of the instruction (Number of elements: 2)
(d)+1 also turns on when the instruction
completes with an error.
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
*1 When specifying data with a label, define the array so that an area required for operation can be secured, and specify the array label
element.
APPENDICES
Appendix 4 Dedicated Instructions App. - 39
■Applicable devices
Operand Bit Word Double word Indirect Constant Others
X, Y, M, L, J\ T, ST, C, D, W, U\G, Z LT, LST, LZ specification K, H E $ (U)
SM, F, B, SB, SD, SW, FD, R, J\, LC
FX, FY ZR, RD U3E\(H)G
(U)*1
*3
(s1)
(s2) *3
(d) *2 *4
■Control data
Operand: (s1)
Device Item Description Setting range Set by
+0 Completion status The instruction completion status is stored. System
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
+1 Station number Specify the station number of the target station. 0 to 64 User
+2 Access/attribute code Specify the type of the buffer memory or device to which to write data. Refer to User
••• ••• "Access/attribute
b15 b8 b7 b0
code."
Access code Attribute code
+3 Buffer memory address Specify the start address of the buffer memory or the start device to which to write Refer to the User
or device number data. manual of the
target station.*1
+4 Number of write points Specify the number of write points in units of words. 1 to 480*2 User
1 to 32*3
*1 When specifying the random access buffer, specify the address with the start of the random access buffer defined as 0.
*2 Specify a value within the capacity of the target station buffer memory area or device.
*3 If data is to be written to a device of the target station CPU module and the CPU module is other than RCPU, QCPU (Q mode), QCPU
(A mode), LCPU, QnACPU, or AnUCPU, the setting range is 1 to 32 words.
APPENDICES
App. - 40 Appendix 4 Dedicated Instructions
■Access/attribute code
• When data is written to the buffer memory in the CC-Link module
Contents of buffer memory Access code Attribute code
Buffer in intelligent device station 00H 04H
Buffer in master or local station Random access buffer 20H 04H
Remote input 21H 04H
Remote output 22H 04H
Remote register 24H 04H
Link special relay 63H 04H
Link special register 64H 04H
*1 Only the above devices can be specified. To write data to a bit device, specify it with 0 or a multiple of 16.
*2 None of D65536 and the subsequent extended data register areas and of W10000 and the subsequent extended link register areas are
accepted.
APPENDICES
Appendix 4 Dedicated Instructions App. - 41
Processing details
• This instruction writes data of the specified number of points to the buffer memory of the target station or the device of its
CPU module.
• From the master station, the instruction can be executed for the local station, standby master station, or intelligent device
station. From the local station or standby master station, the instruction can be executed for the master station, local
station, or standby master station.
• The following figure shows how the G(P).RIWT instruction operates during execution.
[Own station] [Target station]
CPU module CC-Link master station CC-Link local station CPU module
(s2) (s1)+2
G(P).RIWT (s1)+3
Send buffer
Buffer memory
(d)
The data specified by (s2) is stored in the send buffer of the master station.
Data is stored in the buffer memory area specified by (s1)+2 and (s1)+3 that is included in the station specified by (s1)+1 or in the device of the CPU module.
The response indicating the write completion returns from the target station to the master station.
The device specified by (d) is turned on.
• Normal/error completion of the G(P).RIWT instruction can be checked with the completion device specified by the setting
data (d) and the completion status indication device (d)+1.
• Completion device (d)
This device turns on during END processing of the scan that arises upon completion of the G(P).RIWT instruction, and turns off during
the next END processing.
• Completion status indication device (d)+1
This device turns on or off depending on the status resulting from completion of the G(P).RIWT instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan that arises upon completion of the G(P).RIWT instruction, and turns
off during the next END processing.
Precautions
• The monitoring time and the number of retries can be set with the following link special register (SW) areas.
• Monitoring time setting (SW0009)
• Setting of the number of retries for dedicated instruction (SW000B)
• The G(P).RIWT can be concurrently executed for two or more local or intelligent device stations. Two or more dedicated
instructions, including those other than this instruction, cannot be concurrently executed for a single station. If the next
dedicated instruction is issued before completion of the preceding one that has started, the next one will be ignored. Create
the program so that the next dedicated instruction will start after the completion device turns on, because processing of a
dedicated instruction takes several scans until its completion.
Operation error
Error code Description
((s1)+0)
4000H to 4FFFH MELSEC iQ-R CPU Module User's Manual (Application)
B000H to BFFFH MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
APPENDICES
App. - 42 Appendix 4 Dedicated Instructions
Appendix 4.3 RIRCV (Reading data from the buffer
memory of the specified intelligent device
station)
G(P).RIRCV
RnSFCPU RnSFCPU
RnCPU RnENCPU RnPCPU (Standard) (Safety)
This instruction automatically performs a handshake with the specified intelligent device station and reads data from its buffer
memory. The instruction can be used for communications with a module supporting a handshake signal such as AJ65BT-
R2N.
Ladder ST
ENO:=G_RIRCV(EN,U,s1,s2,d1,d2);
ENO:=GP_RIRCV(EN,U,s1,s2,d1,d2);
(U) (s1) (d1) (s2) (d2)
FBD/LD
EN ENO
U d1
s1 d2
s2
■Execution condition
Instruction Execution condition
G.RIRCV
A
GP.RIRCV
Setting data
■Description, range, data type
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit 00H to FEH 16-bit unsigned binary ANY16
hexadecimal representation) of a module
(s1) Start device where control data is stored Refer to the control data. Device name ANY16*1
(d1) Start device for storing the read data Device name ANY16*1
(s2) Start device for storing the interlock signal Device name ANY16*1
(d2) Device to be turned on one scan upon Bit ANYBIT_ARRAY
completion of the instruction (Number of elements: 2)
(d2)+1 also turns on when the instruction
completes with an error.
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
*1 When specifying data with a label, define the array so that an area required for operation can be secured, and specify the array label
element.
APPENDICES
Appendix 4 Dedicated Instructions App. - 43
■Applicable devices
Operand Bit Word Double word Indirect Constant Others
X, Y, M, L, J\ T, ST, C, D, W, U\G, Z LT, LST, LZ specification K, H E $ (U)
SM, F, B, SB, SD, SW, FD, R, J\, LC
FX, FY ZR, RD U3E\(H)G
(U)*1
*3
(s1)
(d1) *3
(s2) *3
*2 *4
(d2)
■Control data
Operand: (s1)
Device Item Description Setting range Set by
+0 Completion status The instruction completion status is stored. System
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
+1 Station number Specify the station number of the target station. 1 to 64 User
+2 Access/attribute code Specify 0004H. 0004H User
+3 Buffer memory address Specify the start address of the buffer memory area from which to read data. Refer to the User
manual of the
target station.
+4 Number of read points Specify the number of read points in units of words. 1 to 480*1 User
*1 Specify a value within the capacity of the target station buffer memory area.
■Interlock signal
Operand: (s2)
Device Item Description Setting range Set by
+0 RY: Specify the number of the read completion signal (RY) to be used for 00H to 7FH User
b15 ••• b8 b7 ••• b0 interlock.*1
0 RY
+1 RX: Specify the number of the read request signal (RX) to be used for 00H to 7FH User
b15 ••• b8 b7 ••• b0 interlock.*1
0 RX
APPENDICES
App. - 44 Appendix 4 Dedicated Instructions
Processing details
• This instruction automatically performs a handshake with the specified intelligent device station and reads data from its
buffer memory.
• The instruction can be executed, from the master station, for an intelligent device station with a handshake signal (e.g.
AJ65BT-R2N).
• The following figure shows how the G(P).RIRCV instruction operates during execution.
[Own station] [Target station]
RY RY
(d2)
A request is issued to read data from the buffer memory address specified by (s1)+3 that is included in the station specified by (s1)+1.
The remote input (RX) specified by (s2)+1 that is in the station specified by (s1)+1 is monitored.
Turning on the remote input (RX) causes the master station to read the data from the buffer memory of the target station. The read data
is stored in the receive buffer of the master station.
The master station turns on the remote output (RY) specified by (s2)+0. It turns off the remote output (RY) specified by (s2)+0 by
turning on and off the remote input (RX) specified by (s2)+1.
The data read from the target station is stored in the device specified by (d1) and later, and the device specified by (d2) is turned on.
• Normal/error completion of the G(P).RIRCV instruction can be checked with the completion device specified by the setting
data (d2) and the completion status indication device (d2)+1.
• Completion device (d2)
This device turns on during END processing of the scan that arises upon completion of the G(P).RIRCV instruction, and turns off during A
the next END processing.
• Completion status indication device (d2)+1
This device turns on or off depending on the status resulting from completion of the G(P).RIRCV instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan that arises upon completion of the G(P).RIRCV
instruction, and turns off during the next END processing.
Precautions
• The monitoring time and the number of retries can be set with the following link special register (SW) areas.
• Monitoring time setting (SW0009)
• Setting of the number of retries for dedicated instruction (SW000B)
• The G(P).RIRCV instruction can be concurrently executed for two or more intelligent device stations. Two or more
dedicated instructions, including those other than this instruction, cannot be concurrently executed for a single station. If the
next dedicated instruction is issued before completion of the preceding one that has started, the next one will be ignored.
Create the program so that the next dedicated instruction will start after the completion device turns on, because
processing of a dedicated instruction takes several scans until its completion.
Operation error
Error code Description
((s1)+0)
4000H to 4FFFH MELSEC iQ-R CPU Module User's Manual (Application)
B000H to BFFFH MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
APPENDICES
Appendix 4 Dedicated Instructions App. - 45
Appendix 4.4 RISEND (Writing data to the buffer memory
of the specified intelligent device station)
G(P).RISEND
RnSFCPU RnSFCPU
RnCPU RnENCPU RnPCPU (Standard) (Safety)
This instruction automatically performs a handshake with the specified intelligent device station and writes data to its buffer
memory. The instruction can be used for communications with a module supporting a handshake signal such as AJ65BT-
R2N.
Ladder ST
ENO:=G_RISEND(EN,U,s1,s2,s3,d);
ENO:=GP_RISEND(EN,U,s1,s2,s3,d);
(U) (s1) (s2) (s3) (d)
FBD/LD
EN ENO
U d
s1
s2
s3
■Execution condition
Instruction Execution condition
G.RISEND
GP.RISEND
Setting data
■Description, range, data type
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit 00H to FEH 16-bit unsigned binary ANY16
hexadecimal representation) of a module
(s1) Start device where control data is stored Refer to the control data. Device name ANY16*1
(s2) Start device for storing the data to be written Device name ANY16*1
(s3) Start device for storing the interlock signal Device name ANY16*1
(d) Device to be turned on one scan upon Bit ANYBIT_ARRAY
completion of the instruction (Number of elements: 2)
(d)+1 also turns on when the instruction
completes with an error.
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
*1 When specifying data with a label, define the array so that an area required for operation can be secured, and specify the array label
element.
APPENDICES
App. - 46 Appendix 4 Dedicated Instructions
■Applicable devices
Operand Bit Word Double word Indirect Constant Others
X, Y, M, L, J\ T, ST, C, D, W, U\G, Z LT, LST, LZ specification K, H E $ (U)
SM, F, B, SB, SD, SW, FD, R, J\, LC
FX, FY ZR, RD U3E\(H)G
(U)*1
*3
(s1)
(s2) *3
(s3) *3
*2 *4
(d)
■Control data
Operand: (s1)
Device Item Description Setting range Set by
+0 Completion status The instruction completion status is stored. System
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
+1 Station number Specify the station number of the target station. 1 to 64 User
+2 Access/attribute code Specify 0004H. 0004H User
+3 Buffer memory address Specify the start address of the buffer memory to which to write data. Refer to the User
manual of the
target station.
+4 Number of write points Specify the number of write points in units of words. 1 to 480*1 User
*1 Specify a value within the capacity of the target station buffer memory area.
■Interlock signal A
Operand: (s3)
Device Item Description Setting range Set by
+0 RY: Specify the number of the write request signal (RY) to be used for 00H to 7FH User
b15 ••• b8 b7 ••• b0 interlock.*1
0 RY
+1 RX: Specify the number of the write completion signal (RX) to be used for 00H to 7FH User
b15 ••• b8 b7 ••• b0 interlock.*1
RWr*1 RX
RWr: Specify the number of the device (RWr) in which to store the error 00H to 0FH, User
code. If the error code storage device does not exist, specify FFH. FFH*2
+2 Specifies how the completion signal behaves. 0, 1 User
b15 ••• b0 • 0: Using Device 1
Completion mode At completion, the RX signal specified by (s2)+1 turns on.
• 1: Using Device 2
For normal completion, the RX signal specified by (s2)+1 turns on. For
error completion, both RX and RX+1 turn on simultaneously.
APPENDICES
Appendix 4 Dedicated Instructions App. - 47
Processing details
• This instruction automatically performs a handshake with the specified intelligent device station and writes data to its buffer
memory.
• The instruction can be executed, from the master station, for an intelligent device station with a handshake signal (e.g.
AJ65BT-R2N).
• The following figure shows how the G(P).RISEND instruction operates during execution.
[Own station] [Target station]
RY RY
A request is issued to write data to the buffer memory address specified by (s1)+3 that is included in the station specified by (s1)+1.
The data from the device specified by (s2) and later is stored in the send buffer of the master station.
The master station writes the data of the send buffer in the buffer memory of the target station.
The master station turns on the remote output (RY) specified by (s3)+0.
Upon completion of processing to the remote output (RY), the target station turns on the remote input (RX) specified by (s3)+1. It turns
off the remote input (RX) specified by (s3)+1 by turning on and off the remote output (RY) specified by (s3)+1.
The device specified by (d) is turned on.
• Normal/error completion of the G(P).RISEND instruction can be checked with the completion device specified by the setting
data (d) and the completion status indication device (d)+1.
• Completion device (d)
This device turns on during END processing of the scan that arises upon completion of the G(P).RISEND instruction, and turns off
during the next END processing.
• Completion status indication device (d)+1
This device turns on or off depending on the status resulting from completion of the G(P).RISEND instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan that arises upon completion of the G(P).RISEND
instruction, and turns off during the next END processing.
Precautions
• The monitoring time and the number of retries can be set with the following link special register (SW) areas.
• Monitoring time setting (SW0009)
• Setting of the number of retries for dedicated instruction (SW000B)
• The G(P).RISEND instruction can be concurrently executed for two or more intelligent device stations. Two or more
dedicated instructions, including those other than this instruction, cannot be concurrently executed for a single station. If the
next dedicated instruction is issued before completion of the preceding one that has started, the next one will be ignored.
Create the program so that the next dedicated instruction will start after the completion device turns on, because
processing of a dedicated instruction takes several scans until its completion.
Operation error
Error code Description
((s1)+0)
4000H to 4FFFH MELSEC iQ-R CPU Module User's Manual (Application)
B000H to BFFFH MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
APPENDICES
App. - 48 Appendix 4 Dedicated Instructions
Appendix 4.5 RIFR (Reading data from the automatic
update buffer)
G(P).RIFR
RnSFCPU RnSFCPU
RnCPU RnENCPU RnPCPU (Standard) (Safety)
This instruction reads data from the automatic update buffer or random access buffer. The instruction can be used for
communications with a module having the automatic update buffer such as AJ65BT-R2N.
Ladder ST
ENO:=G_RIFR(,ENU,s1,s2,n,d);
ENO:=GP_RIFR(EN,U,s1,s2,n,d);
(U) (s1) (s2) (d) (n)
FBD/LD
EN ENO
U d
s1
s2
■Execution condition
Instruction Execution condition
G.RIFR
A
GP.RIFR
Setting data
■Description, range, data type
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit 00H to FEH 16-bit unsigned binary ANY16
hexadecimal representation) of a module
(s1) If data is read from the automatic update buffer: 1 to 64 16-bit unsigned binary ANY16
Station number of the intelligent device station
If data is read from the random access buffer: Specify 00FFH 16-bit unsigned binary ANY16
the random access buffer.
(s2) Offset value from the start of the random access buffer 0 to parameter set 16-bit unsigned binary ANY16
or automatic update buffer assigned to the target value*1
station
(d) Start device for storing the read data Device name ANY16*2
(n) Number of read points 1 to 4096 16-bit unsigned binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
*1 Value that was set in the CC-Link Configuration window of the engineering tool.
*2 When specifying data with a label, define the array so that an area required for operation can be secured, and specify the array label
element.
APPENDICES
Appendix 4 Dedicated Instructions App. - 49
■Applicable devices
Operand Bit Word Double word Indirect Constant Others
X, Y, M, L, J\ T, ST, C, D, W, U\G, Z LT, LST, LZ specification K, H E $ (U)
SM, F, B, SB, SD, SW, FD, R, J\, LC
FX, FY ZR, RD U3E\(H)G
(U)*1
*2 *3
(s1)
(s2) *2 *3
(d) *3
(n) *2 *3
Processing details
• This instruction reads data from the automatic update buffer or random access buffer of the master station.
• The instruction can be executed, from the master station, for an intelligent device station that performs communications
with the automatic update buffer (e.g. AJ65BT-R2N).
• The following figure shows how the G(P).RIFR instruction operates during execution.
[Own station] [Target station]
(s1) G(P).RIFR
Automatic update
buffer Communications Buffer memory
(s2) start when conditions
are satisfied.
Random access Automatic update
buffer buffer memory
(d)
Data is read from the automatic update buffer or random access buffer specified by (s1) and (s2) that is in the master station.
The read data is stored in the device specified by (d) and later.
Precautions
• Assignment of the automatic update buffer can be achieved by CC-Link configuration setting of the module parameters.
Operation error
Error code Description
(SD0)
4000H to 4FFFH MELSEC iQ-R CPU Module User's Manual (Application)
APPENDICES
App. - 50 Appendix 4 Dedicated Instructions
Appendix 4.6 RITO (Writing data to the automatic update
buffer)
G(P).RITO
RnSFCPU RnSFCPU
RnCPU RnENCPU RnPCPU (Standard) (Safety)
This instruction writes data to the automatic update buffer or random access buffer. The instruction can be used for
communications with a module having the automatic update buffer such as AJ65BT-R2N.
Ladder ST
ENO:=G_RITO(EN,U,s,n,d1,d2);
ENO:=GP_RITO(EN,U,s,n,d1,d2);
(U) (d1) (d2) (s) (n)
FBD/LD
EN ENO
d1
d2
■Execution condition
Instruction Execution condition
G.RITO A
GP.RITO
Setting data
■Description, range, data type
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit 00H to FEH 16-bit unsigned binary ANY16
hexadecimal representation) of a module
(d1) If data is written to the automatic update buffer: Station 1 to 64 16-bit unsigned binary ANY16
number of the target station
If data is written to the random access buffer: Specify 00FFH 16-bit unsigned binary ANY16
the random access buffer.
(d2) Offset value from the start of the random access buffer 0 to parameter set 16-bit unsigned binary ANY16
or automatic update buffer assigned to the target station value*1
(s) Start device for storing the data to be written Device name ANY16*2
(n) Number of write points 1 to 4096 16-bit unsigned binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
*1 Value that was set in the CC-Link Configuration window of the engineering tool.
*2 When specifying data with a label, define the array so that an area required for operation can be secured, and specify the array label
element.
APPENDICES
Appendix 4 Dedicated Instructions App. - 51
■Applicable devices
Operand Bit Word Double word Indirect Constant Others
X, Y, M, L, J\ T, ST, C, D, W, U\G, Z LT, LST, LZ specification K, H E $ (U)
SM, F, B, SB, SD, SW, FD, R, J\, LC
FX, FY ZR, RD U3E\(H)G
(U)*1
*2 *3
(d1)
(d2) *2 *3
(s) *3
(n) *2 *3
Processing details
• This instruction writes data to the automatic update buffer or random access buffer of the master station.
• The instruction can be executed, from the master station, for an intelligent device station that performs communications
with the automatic update buffer (e.g. AJ65BT-R2N).
• The following figure shows how the G(P).RITO instruction operates during execution.
[Own station] [Target station]
CC-Link intelligent device
CPU module CC-Link master station station
G(P).RITO
Buffer memory
Automatic update
buffer
(s) Automatic update
Communications
buffer memory
start when
Random access
conditions are
buffer
(d1) satisfied.
(d2)
Data is read from the device specified by (s) and later of the master station.
The read data is written to the automatic update buffer or random access buffer specified by (d1) and (d2).
Precautions
• Assignment of the automatic update buffer can be achieved by CC-Link configuration setting of the module parameters.
Operation error
Error code Description
(SD0)
4000H to 4FFFH MELSEC iQ-R CPU Module User's Manual (Application)
APPENDICES
App. - 52 Appendix 4 Dedicated Instructions
Appendix 4.7 RDMSG (Performing a message
transmission to a remote device station)
G(P).RDMSG
RnSFCPU RnSFCPU
RnCPU RnENCPU RnPCPU (Standard) (Safety)
This instruction reads/writes parameters from/to the remote device station and reads the status of the remote device station.
This instruction can be used for communications with a remote device station, for example NZ2AW1C2AL, that supports the
message transmission function.
Ladder ST
ENO:=G_RDMSG(EN,U,s1,s2,d1,d2);
ENO:=GP_RDMSG(EN,U,s1,s2,d1,d2);
(U) (s1) (s2) (d1) (d2)
FBD/LD
EN ENO
U d1
s1 d2
s2
■Execution condition
Instruction Execution condition
G.RDMSG
A
GP.RDMSG
Setting data
■Description, range, data type
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit 00H to FEH 16-bit unsigned binary ANY16
hexadecimal representation) of a module
(s1) Start device where control data is stored Refer to the control data. Device name ANY16*2
*1
(s2) Start device for storing the message data to be sent Device name ANY16*2
(d1)*1 Start device for storing the message data received Device name ANY16
(d2) Device to be turned on one scan upon completion of Bit ANYBIT_ARRAY
the instruction (Number of elements: 2)
(d2)+1 also turns on when the instruction completes
with an error.
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
*1 For details on the send data and receive data, refer to the following.
*2 Manuals for the remote device stations that support the message transmission function
*3 When specifying data with a label, define the array so that an area required for operation can be secured, and specify the array label
element.
APPENDICES
Appendix 4 Dedicated Instructions App. - 53
■Applicable devices
Operand Bit Word Double word Indirect Constant Others
X, Y, M, L, J\ T, ST, C, D, W, U\G, Z LT, LST, LZ specification K, H E $ (U)
SM, F, B, SB, SD, SW, FD, R, J\, LC
FX, FY ZR, RD U3E\(H)G
(U)*1
(s1)
(s2)
(d1)
(d2)
■Control data
Operand: (s1)
Device Item Description Setting range Set by
+0 Completion status The instruction completion status is stored. System
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
+1 Station number Specify the station number of the target station. 1 to 64 User
+2 Send data size Specify the send message data size in bytes. 1 to 255 User
+3 Receivable data size Specify the maximum size of the device that stores the receive message data in 0 to 255 User
bytes.
+4 Receive data size The receive message data size is stored in bytes. System
APPENDICES
App. - 54 Appendix 4 Dedicated Instructions
Processing details
• This instruction performs a message transmission to a remote device station.
• The instruction can be executed to a remote device station, for example NZ2AW1C2AL, that supports the message
transmission function.
• The following figure shows how the G(P).RDMSG instruction operates during execution.
[Own station] [Target station]
(d1) Response
Receive data message
The send data specified by (s2) is stored to the master station for the size specified by (s1)+2.
The master station sends data to the target station specified by (s1)+1.
Processing is performed for the data in the target station specified by (s1)+1.
The master station receives a processing result from the target station specified by (s1)+1.
The master station stores data in the device specified by (d1) and later, and the device specified by (d2) turns on.
• Normal/error completion of the G(P).RDMSG instruction can be checked with the completion device specified by the setting
data (d2) and the completion status indication device (d2)+1.
• Completion device (d2)
This device turns on during END processing of the scan that arises upon completion of the G(P).RDMSG instruction, and turns off
during the next END processing.
• Completion status indication device (d2)+1 A
This device turns on or off depending on the status resulting from completion of the G(P).RDMSG instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan that arises upon completion of the G(P).RDMSG
instruction, and turns off during the next END processing.
ON
Completion device (d2) OFF OFF
Completed
ON with an error
Completion status
indication device (d2)+1 OFF OFF
Completed
successfully
1 scan
APPENDICES
Appendix 4 Dedicated Instructions App. - 55
■Send data size
CPU module CC-Link master station CC-Link remote device station
(s2)
When the number of bytes in the send data ((s1)+2) is odd, the lower byte is sent as for the last data.
CPU module CC-Link master station CC-Link remote device station
(s2)
APPENDICES
App. - 56 Appendix 4 Dedicated Instructions
■Receivable data size and receive data size
Set the receivable data size ((s1)+3) so that it satisfies the following.
Receivable data size ((s1)+3) Receive data size ((s1)+4)
CPU module CC-Link master station CC-Link remote device station
(d1)
If the receivable data size ((s1)+3) is smaller than the receive data size ((s1)+4), the master station cannot receive data from
the remote device station. The G(P).RDMSG instruction completes with an error (error code: B418H).
• When the number of bytes in the receivable data ((s1)+3) is odd
If the receive data has the same number of bytes, 0 is stored in the upper byte of the last data.
(d1)
In the upper byte
of the last data, 0 Receive data Response
is stored. message
(d1)
In the upper byte
of the last data, 0 Receive data Response
is stored. message
APPENDICES
Appendix 4 Dedicated Instructions App. - 57
Precautions
• The G(P).RDMSG instruction can be simultaneously executed to two or more remote device stations (up to four stations).
Two or more dedicated instructions, including those other than this instruction, cannot be concurrently executed for a single
station. If the next dedicated instruction is issued before completion of the preceding one that has started, the instruction
will be completed with an error. Create the program so that the next dedicated instruction will start after the completion
device turns on, because processing of a dedicated instruction takes several scans until its completion.
• The G(P).RDMSG instruction uses a part or all of remote register that performs cyclic transmissions between the master
station and the target station in the system. For programming, refer to the manual for the remote device station targeted.
Add SW0160 to SW0163 (Remote register use prohibited status) in a program as an interlock.
Operation error
Error code Description
((s1)+0)
B000H to BFFFH MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
APPENDICES
App. - 58 Appendix 4 Dedicated Instructions
Appendix 4.8 RLPASET (Setting network parameters)
G(P).RLPASET
RnSFCPU RnSFCPU
RnCPU RnENCPU RnPCPU (Standard) (Safety)
This instruction sets network parameters in the master station and starts up the data link.
Ladder ST
ENO:=G_RLPASET(EN,U,s1,s2,s3,s4,s5,d);
ENO:=GP_RLPASET(EN,U,s1,s2,s3,s4,s5,d);
(U) (s1) (s2) (s3) (s4) (s5) (d)
FBD/LD
EN ENO
U d
s1
s2
s3
s4
s5
■Execution condition
Instruction Execution condition
G.RLPASET
A
GP.RLPASET
Setting data
■Description, range, data type
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit 00H to FEH 16-bit unsigned binary ANY16
hexadecimal representation) of a module
(s1) Start device where control data is stored Refer to the control data. Device name ANY16*1
*2
(s2) Start device containing the slave station setting data Device name ANY16*1
*2
(s3) Start device containing the reserved station Device name ANY16*1
specification data
(s4)*2 Start device containing the error invalid station Device name ANY16*1
specification data
(s5)*2 Start device containing the automatic update buffer Device name ANY16*1
assignment data
(d) Device to be turned on one scan upon completion of Bit ANYBIT_ARRAY
the instruction (Number of elements: 2)
(d)+1 also turns on when the instruction completes with
an error.
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
*1 When specifying data with a label, define the array so that an area required for operation can be secured, and specify the array label
element.
*2 If this operand is omitted, specify the dummy device or label.
APPENDICES
Appendix 4 Dedicated Instructions App. - 59
■Applicable devices
Operand Bit Word Double word Indirect Constant Others
X, Y, M, L, J\ T, ST, C, D, W, U\G, Z LT, LST, LZ specification K, H E $ (U)
SM, F, B, SB, SD, SW, FD, R, J\, LC
FX, FY ZR, RD U3E\(H)G
(U)*1
*3
(s1)
(s2) *3
(s3) *3
*3
(s4)
(s5) *3
(d) *2 *4
■Control data
Operand: (s1)
Device Item Description Setting range Set by
+0 Completion status The instruction completion status is stored. System
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
+1 Setting flag Specify whether the setting data in (s2) to (s5) is valid/invalid. User
• 0: Invalid*1
• 1: Valid
b15 b14 b13 b12 b11 ••• b4 b3 b2 b1 b0
0 0 (6) (5) 0 0 (4) (3) (2) (1)
*1 The default value will be used for any setting data specified as invalid. For the default values, refer to the following.
Page App. - 61 Slave station setting data
Page App. - 61 Reserved station specification data
Page App. - 61 Error invalid station specification data
Page App. - 62 Automatic update buffer assignment data
APPENDICES
App. - 60 Appendix 4 Dedicated Instructions
■Slave station setting data
Operand: (s2)
Device Item Description Setting range Set by
+0 to +63 Station information Specify the station number, the number of occupied stations, and the station type User
settings*1 for each slave station.
b15 ••• b12 b11 ••• b8 b7 ••• b0
(3) (2) (1)
The default value range is 0101H to 0140H, meaning that the station number is 1 to
64, the number of occupied stations is 1 station occupied, and the station type is
Ver.1-compatible remote I/O station.
(1) Station number setting 01H to 40H User
1 to 64
(2) Number of occupied stations setting 1H to 4H User
• 1H: 1 station occupied
• 2H: 2 stations occupied
• 3H: 3 stations occupied
• 4H: 4 stations occupied
(3) Station type setting*2 0H to FH User
• 0H: Ver.1-compatible remote I/O station
• 1H: Ver.1-compatible remote device station
• 2H: Ver.1-compatible intelligent device station
• 5H: Ver.2-compatible remote device station (single)
• 6H: Ver.2-compatible intelligent device station (single)
• 8H: Ver.2-compatible remote device station (double)
• 9H: Ver.2-compatible intelligent device station (double)
• BH: Ver.2-compatible remote device station (quadruple)
• CH: Ver.2-compatible intelligent device station (quadruple)
• EH: Ver.2-compatible remote device station (octuple)
• FH: Ver.2-compatible intelligent device station (octuple)
(s3)+1 32 31 30 29 ••• 20 19 18 17
(s3)+2 48 47 46 45 ••• 36 35 34 33
(s3)+3 64 63 62 61 ••• 52 51 50 49
*1 For two or more stations occupied, specify only the slave station start number.
(s4)+1 32 31 30 29 ••• 20 19 18 17
(s4)+2 48 47 46 45 ••• 36 35 34 33
(s4)+3 64 63 62 61 ••• 52 51 50 49
*1 For two or more stations occupied, specify only the slave station start number.
*2 If both the reserved and error invalid stations are specified for the same station, the reserved station specification will take priority.
APPENDICES
Appendix 4 Dedicated Instructions App. - 61
■Automatic update buffer assignment data
Operand: (s5)
Device Item Description Setting range Set by
+0 to +77 Automatic update buffer Specify the assigned buffer memory size (words) that is used for the transient 0H (no setting), User
assignment specification transmission with the automatic update buffer that is performed to the local or 0080H to
intelligent device station.*1 1000H*2
• 0: Not specified
• 1: Specified
(s5)+0 Dummy
Dummy For the 1st
(s5)+1
module
(s5)+2 Automatic update buffer size
(s5)+75 Dummy
For the 26th
(s5)+76 Dummy
module
(s5)+77 Automatic update buffer size
*1 Beginning at the smallest station number, set the size for the slave stations for which the local or intelligent device station has been set
with the slave station setting data ((s2)+0 to (s2)+63).
*2 The automatic update buffer size must be 1000H (4096) words or less in total. For the automatic update buffer size, specify the required
size for each intelligent device station.
Processing details
• This instruction sets network parameters in the master station and starts up the data link.
• This instruction can be executed only for the master station.
• The following figure shows how the G(P).RLPASET instruction operates during execution.
Module
parameter
The network parameters specified by (s1) to (s5) are written to the master station.
The data link is started up.
The device specified by (d) is turned on.
• Normal/error completion of the G(P).RLPASET instruction can be checked with the completion device specified by the
setting data (d) and the completion status indication device (d)+1.
• Completion device (d)
This device turns on during END processing of the scan that arises upon completion of the G(P).RLPASET instruction, and turns off
during the next END processing.
• Completion status indication device (d)+1
This device turns on or off depending on the status resulting from completion of the G(P).RLPASET instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan that arises upon completion of the
G(P).RLPASET instruction, and turns off during the next END processing.
APPENDICES
App. - 62 Appendix 4 Dedicated Instructions
• After completion of the G(P).RLPASET instruction, turn on SB0003, a refresh instruction that is used for parameter change
with the dedicated instruction, to start the cyclic data refresh.
• If no stations are faulty
Sequence scan END 0 END 0 END 0 END 0 END 0 END 0 END 0
G(P).RLPASET instruction
ON
Completion device (d) OFF
ON Completed with an error
Completion status indication OFF
device (d)+1 Completed
successfully
1 scan
G(P).RLPASET instruction
ON
Completion device (d) OFF
ON Completed with an error
Completion status indication
device (d)+1 OFF
Completed
successfully
1 scan Modules
return to the
system.
Precautions
• Two or more G(P).RLPASET instructions cannot be executed concurrently.
• The G(P).RLPASET instruction is not available in a system containing a standby master station.
• Do not set network parameters using the engineering tool for modules for which network parameters are set using the
G(P).RLPASET instruction. If the G(P).RLPASET instruction is executed for a module for which network parameters are set
using the engineering tool, the instruction will be terminated with an error and the network parameter settings are not
reflected.
• Stop the data link using "Data Link Stop" (SB0002) before executing the G(P).RLPASET instruction.
Operation error
Error code Description
((s1)+0)
B000H to BFFFH MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
APPENDICES
Appendix 4 Dedicated Instructions App. - 63
Appendix 5 Precautions for Creating Programs
Interlock program
When creating a cyclic transmission program, provide an interlock circuit with 'Data link status of other stations' (SW0080 to
SW0083).
Ex.
Devices used in the program example
Device Description
X0 Module failure
X1 Own station data link status
XF Module ready
SW0080.0 Data link status of other stations (station No.1)
SW0080.1 Data link status of other stations (station No.2)
APPENDICES
App. - 64 Appendix 5 Precautions for Creating Programs
Appendix 6 List of I/O Signals and Remote Register
Assignment of the AJ65BT-64AD
List of I/O signals
The AJ65BT-64AD uses 32 inputs and 32 outputs for data communications with the master module.
Signal direction: AJ65BT-64AD → Master module Signal direction: Master module → AJ65BT-64AD
Device No. Signal name Device No. Signal name
RXn0 CH1 A/D conversion completed flag RYn0 Offset/gain value selection
RXn1 CH2 A/D conversion completed flag RYn1 Voltage/current selection
RXn2 CH3 A/D conversion completed flag RYn4 Use prohibited
RXn3 CH4 A/D conversion completed flag
RY(n+1)7
RXn4 Use prohibited
RX(n+1)7
RX(n+1)8 Initial data processing request flag RY(n+1)8 Initial data processing complete flag
RX(n+1)9 Initial data setting complete flag RY(n+1)9 Initial data setting request flag
RX(n+1)A Error flag RY(n+1)A Error reset request flag
RX(n+1)B Remote READY RY(n+1)B Use prohibited
RX(n+1)C Use prohibited
RY(n+1)F
RX(n+1)F
n: Address assigned by the master module with the station No. setting
If a "Use prohibited" device is turned on or off in a sequence program, the functions of the AJ65BT-64AD
cannot be guaranteed.
] A
APPENDICES
Appendix 6 List of I/O Signals and Remote Register Assignment of the AJ65BT-64AD App. - 65
Remote register assignment
m, n: Address assigned by the master module with the station No. setting
Do not read/write data from/to the use prohibited remote register areas. Otherwise, the functions of the
AJ65BT-64AD cannot be guaranteed.
APPENDICES
App. - 66 Appendix 6 List of I/O Signals and Remote Register Assignment of the AJ65BT-64AD
Appendix 7 List of I/O Signals and Remote Register
Assignment of the AJ65BT-64DAV
List of I/O signals
The AJ65BT-64DAV uses 32 inputs and 32 outputs for data communications with the master station.
Signal direction: AJ65BT-64DAV → Master station Signal direction: Master station → AJ65BT-64DAV
Device No. Signal name Device No. Signal name
RXn0 Use prohibited RYn0 CH1 Analog output enable/disable
flag
RXnF
RYn1 CH2 Analog output enable/disable
flag
RYn2 CH3 Analog output enable/disable
flag
RYn3 CH4 Analog output enable/disable
flag
RYn4 Offset/gain value selection
RYn5 Use prohibited
RYnF
RX(n+1)0 Use prohibited RY(n+1)0 Use prohibited
RX(n+1)7 RY(n+1)7
RX(n+1)8 Initial data processing request flag RY(n+1)8 Initial data processing complete flag
RX(n+1)9 Initial data setting complete flag RY(n+1)9 Initial data setting request flag
RX(n+1)A Error flag RY(n+1)A Error reset request flag
RX(n+1)B Remote READY RY(n+1)B Use prohibited
RX(n+1)C Use prohibited RY(n+1)C
A
RX(n+1)D RY(n+1)D
RX(n+1)E RY(n+1)E
RX(n+1)F RY(n+1)F
n: Address assigned by the master station with the station No. setting
If a "Use prohibited" device is turned on or off in a sequence program, the functions of the AJ65BT-64DAV
cannot be guaranteed.
APPENDICES
Appendix 7 List of I/O Signals and Remote Register Assignment of the AJ65BT-64DAV App. - 67
Remote register assignment
m, n: Address assigned by the master station with the station No. setting
Do not read/write data from/to the use prohibited remote register areas. Otherwise, the functions of the
AJ65BT-64DAV cannot be guaranteed.
APPENDICES
App. - 68 Appendix 7 List of I/O Signals and Remote Register Assignment of the AJ65BT-64DAV
Appendix 8 List of I/O Signals and Remote Register
Assignment of the FR-E520-0.1KN
List of I/O signals
n: Address assigned by the master station with the station No. setting
*1 With Pr.180 to Pr.183 (input terminal (remote output) signal function selection), the function of the signal can be changed. (However, for
some functions, commands cannot be turned on or off from CC-Link.)
*2 With Pr.190 to Pr.192 (output terminal (remote input) function selection), output contents can be changed.
*3 Unused output signals need to be off (Enter 0.).
If unused (reserved for the system) devices are turned on or off in a sequence program, the functions of the
FR-E520-0.1KN cannot be guaranteed.
APPENDICES
Appendix 8 List of I/O Signals and Remote Register Assignment of the FR-E520-0.1KN App. - 69
Remote register assignment
m, n: Address assigned by the master station with the station No. setting
APPENDICES
App. - 70 Appendix 8 List of I/O Signals and Remote Register Assignment of the FR-E520-0.1KN
Appendix 9 Exercise 5 (Connecting an Inverter)
In this exercise, set parameters for the CC-Link type inverter via CC-Link and operate the system.
Station No.: 0
Master (RJ61BT11)
Inverter
Demonstration machine (Remote device station) Station No.:1
FR-E520-0.1KN
GOT2000
APPENDICES
Appendix 9 Exercise 5 (Connecting an Inverter) App. - 71
Appendix 9.2 Setting and connecting the inverter
This section describes how to set and connect the general-purpose inverter (FR-E520-0.1KN) through CC-Link connection.
Set "0".
Station No.: 1
Set "1".
FG
APPENDICES
App. - 72 Appendix 9 Exercise 5 (Connecting an Inverter)
Appendix 9.3 Parameter settings
Set parameters of the master station.
After setting, write the parameters to the CPU module.
For how to write parameters, refer to Page 3 - 25 Writing parameters.
Operating procedure
1. In the "CC-Link Configuration" dialog box, drag
and drop the following modules from "Module
List" to the list of stations or the network map.
1. Set!
2. Set!
APPENDICES
Appendix 9 Exercise 5 (Connecting an Inverter) App. - 73
(From the previous page)
3. Click!
APPENDICES
App. - 74 Appendix 9 Exercise 5 (Connecting an Inverter)
Appendix 9.4 Setting parameters of the inverter
Set all the required parameters of the inverter before operation.
The remote output (RY) and remote register (RWw) can be used to set the parameters of the CC-Link type inverter.
The following figure shows the overview of parameter settings via CC-Link.
For the I/O signals and remote register areas of the inverter FR-E500-0.1KN, refer to Page App. - 69 List of I/O Signals and
Remote Register Assignment of the FR-E520-0.1KN.
For how to set the parameters with a parameter unit and details on each parameter, refer to the instruction manual for the
inverter.
CPU module Master station CC-Link type inverter
Instruction
RWw2 Instruction code
code
1) 2)
RWw3 Write data Write data
RYF ON
3)
5) 4)
RXF ON Parameter setting
1) Set an instruction code and write data in the remote register with sequence programs and turn on the instruction code
execution request signal (RYF).
2) The data is sent to the inverter by the data link.
3) Change the corresponding parameter value according to the instruction code.
4) Turn on the instruction code execution completed signal (RXF) at completion of writing.
5) Check the completion of writing with the instruction code execution completed signal.
A
*1 The instruction code depends on what needs to be executed by the inverter.
<Example> Operation mode writing code: FBH
Pr.4 Multi-speed setting (high speed) writing code: 84H
APPENDICES
Appendix 9 Exercise 5 (Connecting an Inverter) App. - 75
Appendix 9.5 Creating a sequence program
1DFH
to
3DFH
APPENDICES
App. - 76 Appendix 9 Exercise 5 (Connecting an Inverter)
Setting sheet
■Station information setting sheet
Station Station type No. of Reserved/invalid station Intelligent buffer specification (word)
No. occupied specification Send Receive Automatic
stations update
1 Intelligent device station 1 No setting
APPENDICES
Appendix 9 Exercise 5 (Connecting an Inverter) App. - 77
Sequence program
Create the following sequence program and write it to the CPU module.
Project name EX5
1 2 3 4 5 6 7 8 9 10 11 12
X30 X3F X31 SW80.0
N0 M800
1 (0) Module Module Own Data link MC
failure ready station status of
data link other
status stations
SM413 Y170
Flash this
2 2 second device when
the own station
clock data link is
normally
operating.
N0 M800
D1101 D1
6 MOV
7 *Control program
X21B X200 X201 M0
K4000 D1003
Write data
10 MOV
Y20F
Instruction
11 SET code
execution
request
M1
12 SET
APPENDICES
App. - 78 Appendix 9 Exercise 5 (Connecting an Inverter)
1 2 3 4 5 6 7 8 9 10 11 12
H0 D1003
Write data
16 MOV
Y20F
Instruction
17 SET code
execution
request
M1
18 RST
M5
19 SET
Y20D
Frequency
24 SET setting
command
(RAM) A
M11
25 SET
M11
27 RST
M20
28 SET
APPENDICES
Appendix 9 Exercise 5 (Connecting an Inverter) App. - 79
1 2 3 4 5 6 7 8 9 10 11 12
X102 X103 X200 Y201
X201
34 Reverse
running
38 Multi- Multi- RH
speed speed terminal
setting 1 setting 2 function
39 Multi- Multi- RL
speed speed terminal
setting 1 setting 2 function
40 *Error detection
X21A
M40
41 (123) Error flag PLS
M40
H74 D1002
Instruction
42 (127) MOV code
Y20F
Instruction
43 SET code
execution
request
Y176
44 SET
APPENDICES
App. - 80 Appendix 9 Exercise 5 (Connecting an Inverter)
1 2 3 4 5 6 7 8 9 10 11 12
M41
46 SET
Y21A X21A
Y21A
Error reset
49 (142) Error reset Error flag RST request
request flag
flag
Y176
50 RST
M41
51 RST
N0
52 (147) MCR
END
53 (148)
APPENDICES
Appendix 9 Exercise 5 (Connecting an Inverter) App. - 81
Appendix 9.6 Communications with the inverter
Switch operation of the demonstration machine
Set the RUN/STOP/RESET switch of the CPU module to the RESET position (for approximately one second) to reset the
CPU module.
Set the RUN/STOP/RESET switch of the CPU module to the RUN position.
Y170 flashes depending on the own station data link status (X0A1) (Data link normal).
Y176 turns on due to an error in the inverter.
(An error occurs in the inverter by resetting the CPU module.)
Turn on X102.
Forward run starts at the set frequency (20.00Hz) of E2PROM.
D1 digital display displays "2000" (output frequency).
Turn on X104. (X102 is on, X103 is off, X104 is on, and X105 is off.)
Forward running at the frequency of the initial value of the parameter (multi-speed setting (middle speed)) (30.00Hz)
D1 digital display displays "3000" (output frequency).
Turn on X105. (X102 is on, X103 is off, X104 is on, and X105 is on.)
Forward running at the frequency written in the parameter (multi-speed setting (high speed)) (40.00Hz)
D1 digital display displays "4000" (output frequency).
Turn off X104. (X102 is on, X103 is off, X104 is off, and X105 is on.)
Forward running at the frequency of the initial value of the parameter (multi-speed setting (low speed)) (10.00Hz)
Turn on X101.
The frequency output of the inverter stops.
(The motor coasts to a stop.)
* To decelerate the motor to stop, turn off X102 (Forward run command) and X103 (Reverse run command).
APPENDICES
App. - 82 Appendix 9 Exercise 5 (Connecting an Inverter)
Appendix 10 Standby Master Function
If the master station goes down due to an error in a CPU module, power supply, or others, switching the control to the standby
master station (a backup station for the master station) continues data link. This function is used not to stop the entire system
even if the master station goes down.
Type
The standby master function can be categorized into three types as listed below.
: Enabled, : Disabled
Function When the master When a failed master When only a standby Setting of "Station Type" in
station goes down, the station becomes normal master station is started the module parameters
standby master station again, it returns in case up, it starts data link. Master Standby
continues data link. of the standby master station master
station going down. station
Master station *1 Master station Standby master
switching function station
Master station duplex *1 Master station Standby master
function (duplex station
function)
Data link startup by Master station Master station
standby master (duplex (duplex
station*2 function) function)
*1 A standby master station does not start data link until the master station starts up.
*2 Set the same system for the master station and standby master station (same modules connected, module parameters, and program).
Operation
For the operation of the standby master function, refer to 1 - 3 Page (10) Standby master function.
Setting method
A
Set the standby master function in the module parameters of the engineering tool.
For details, refer to the following.
MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
APPENDICES
Appendix 10 Standby Master Function App. - 83
(2) Setting of the standby master station
Set "Station Type" to "Standby Master Station" in the module parameters.
Set "Mode" according to the mode setting of the master station.
Precautions
(1) The number of standby master stations
One standby master station can be connected in one system.
(5) If the terminal block of the master station is removed while the master station is controlling data link
If the terminal block of the master station is removed without powering off the master station and reconnected, both of the
master station and standby master station will perform master operation because the right of controlling data link is
transferred to the standby master station; therefore, communications cannot be normally performed.
By powering off the master station and reconnecting the terminal block and powering on the master station, the master
station is reconnected as standby master station operation; therefore, communications can be normally performed.
(6) The status of an LED when data link control is transferred to a standby master station
When the master station goes down and the standby master station starts to take in control of data link, the ERR. LED on
the standby master station flashes. The station number of the standby master station is changed from the one set in the
module parameters to the station number 0, and the standby master station is regarded that it is not connected. Data link
is normally performed.
To prevent this situation, set the standby master station as an error invalid station.
APPENDICES
App. - 84 Appendix 10 Standby Master Function
(7) Number of points and range of devices to save data using a program
The points and range of devices where data from a master station (station operating as a master station) to a standby
master station (station operating as a standby master station) are saved using a program vary depending on the system.
(8) If an error is detected in the master station in the initial status (before data link is started)
Data link control is not switched to the standby master station and data link is not started. (This applies only to the master
station switching function and master station duplex function.)
(9) When the data link startup by standby master station is used
• Parameters and program set in the master station and standby master station
Set the same module parameters and program in the master station and standby master station. If not, the operation is
not guaranteed.
• Line test
When the data link startup by standby master station is used, a line test cannot be executed using the mode setting. Use
an engineering tool to execute a line test.
(10) Processing that sets the link devices saved at master switching and refresh instruction at standby master switching
After saving the link devices, wait a fixed number of scans and execute the processing that sets the link devices saved at
master switching and 'Refresh instruction at standby master switching' (SB0001).
The number of scans for waiting after saving the link devices differs depending on the mode setting. Use the following
values.
APPENDICES
Appendix 10 Standby Master Function App. - 85
MEMO
APPENDICES
App. - 86 Appendix 10 Standby Master Function
Mitsubishi Programmable Controllers Training Manual
CC-Link (for GX Works3)
MODEL
MODEL
CODE
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.