qj61bt11n User - S Manual Rukovodstva English Controller
qj61bt11n User - S Manual Rukovodstva English Controller
User's Manual
QJ61BT11N
CC-Link Master/Local Module
Before using this product, please read this manual and the relevant manuals carefully and pay full
attention to safety to handle the product correctly.
The precautions given in this manual are concerned with this product only. For the safety precautions of
the programmable controller system, please read the user's manual of the CPU module used.
In this manual, the safety precautions are classified into two levels: "DANGER" and "CAUTION".
Under some circumstances, failure to observe the precautions given under " ! CAUTION" may lead to
serious consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future
reference.
[DESIGN PRECAUTION]
! DANGER
• See Chapter 5 of this manual for each station's operating status when a communication error
has occurred in the data link.
• When changing data of running programmable controller from a personal computer connected to
an intelligent function module or a peripheral connected to a CPU module, configure an interlock
circuit in the sequence program to ensure that the entire system will always operate safely.
For program modification and operating status change, read relevant manuals carefully and
ensure the safety before operation.
Especially, in the case of a control from an external device to a remote programmable controller,
an immediate action cannot be taken for a problem on the programmable controller due to a
communication failure.
To prevent this, configure an interlock circuit in the sequence program, and determine corrective
actions to be taken between the external device and CPU module in case of a communication
error.
A-1 A-1
[DESIGN PRECAUTION]
! DANGER
• Do not write any data into the "system area" of the buffer memory of each intelligent function
module. Also, do not output any "prohibited" signal to an intelligent function module from the
programmable controller CPU.
Writing data into the "system area" or outputting a "prohibited" signal may cause malfunction in
the programmable controller system.
• When setting automatic refresh parameters, specify "Y" for the remote output RY refresh device.
If a value other than "Y" (for example, M or L) is specified, the previous status of the device will
be held when the CPU is stopped.
See Section 4.4.10 for how to stop the data link.
• If a CC-Link dedicated cable is disconnected, the line status may become unreliable, resulting in
a data link communication error at multiple stations. Configure an interlock circuit in the
sequence program to operate the system safely even if a data link communication error occurs
at multiple stations. Failure to do so may result in an accident due to an incorrect output or
malfunction.
[DESIGN PRECAUTION]
! CAUTION
• Do not install the control lines or communication cables together with the main circuit lines or
power cables.
Keep a distance of 100mm (3.9 inches) or more between them.
Failure to do so may malfunction due to noise.
[INSTALLATION PRECAUTIONS]
! CAUTION
• Use the module in an environment that meets the general specifications contained in the CPU
user's manual to use.
Using this module in an environment outside the range of the general specifications may cause
electric shock, fire, malfunction, and damage to or deterioration of the product.
• To mount the module, while pressing the module mounting lever located in the lower part of the
module, fully insert the module fixing projection(s) into the hole(s) in the base unit and press the
module until it snaps into place.
Incorrect mounting may result in malfunction, failure, or drop of the module.
When using the module in an environment of frequent vibrations, fix the module with a screw.
• Tighten the screws within the range of specified torque.
Undertightening can cause drop or the screw, short circuit, or malfunction.
Overtightening can damage to the screw and/or module, resulting in drop, short circuit or
malfunction.
• Shut off the external power supply for the system in all phases before mounting or removing the
module.
Failure to do so may result in damage to the product.
• Do not directly touch any conductive area or electronic components of the module.
Doing so may cause malfunction or failure of the module.
A-2 A-2
[WIRING PRECAUTIONS]
! CAUTION
• After wiring, attach the included terminal cover to the module before turning it on for operation.
Failure to do so may result in malfunction.
• Use applicable solderless terminals and tighten them within the specified torque range. If any
spade solderless terminal is used, it may be disconnected when the terminal screw comes
loose, resulting in failure.
• Tighten the terminal screws within the specified torque range.
Undertightening can cause short circuit, or malfunction.
Overtightening can cause damage to the screw and/or the module, resulting in drop, short
circuit, or malfunction.
• Prevent foreign matter such as dust or wire chips from entering the module.
Such foreign matter can cause a fire, failure, or malfunction.
• A protective film is attached to prevent foreign matter, such as wire chips, from entering the
module during wiring.
Do not remove this film during wiring.
Remove it for head dissipation before system operation.
• Use dedicated cables as specified by the manufacturer for the CC-Link system. If a cable other
than the one specified by the manufacturer is used, the performance of the CC-Link system is
not guaranteed. Also, follow the specifications listed in Chapter 3 for the overall cable distance
and the station-to-station cable length. If the wiring does not meet the specifications, accurate
data transmission is not guaranteed.
• Place the cables in the duct or clamp them.
If not, dangling cables may swing or inadvertently be pulled, resulting in damage to the module
or cables or malfunction due to poor contact.
• Do not install the control lines or communication cables together with the main circuit lines or
power cables. Failure to do so may result in malfunction due to noise.
• Place the cables in a duct or clamp them. When disconnecting the cable with connector, hold
and pull the connector on the side that is connected to the module.
When removing the cable connected to the terminal block, loosen the screws of the connector
connected to the terminal block.
Failure to do so may cause malfunction or damage to the module or cable.
A-3 A-3
[STARTING AND MAINTENANCE PRECAUTIONS]
! CAUTION
• Do not disassemble or modify each module.
Doing so could cause failure, malfunction, injury or a fire.
• Shut off the external power supply for the system in all phases before mounting or removing the
module.
Failure to do so may cause the module to fail or malfunction.
• Do not touch any terminal while power is on.
Doing so will cause malfunction.
• Shut off the external power supply for the system in all phases before cleaning the module or
retightening the terminal screws or module fixing screws.
Failure to do so may cause failure or malfunction of the module.
Undertightening the terminal screws can cause drop, short circuit, or malfunction.
Overtightening can damage the screws and/or module, resulting in drop, short circuit, or
malfunction.
• After the first use of the product, do not mount/remove the module to/from the base unit, and the
terminal block to/from the module more than 50 times (IEC 61131-2 compliant) respectively.
Exceeding the limit of 50 times may cause malfunction.
• Before handling the module, touch a grounded metal object to discharge the static electricity
from the human body.
Failure to do so may cause the module to fail or malfunction.
[DISPOSAL PRECAUTIONS]
! CAUTION
• When disposing of this product, treat it as industrial waste.
A-4 A-4
REVISIONS
The manual number is given on the bottom left of the back cover.
Print Date Manual Number Revision
May, 2003 SH (NA)-080394E-A First edition
May, 2004 SH (NA)-080394E-B Addition
Appendix 6
Partial correction
SAFETY PRECAUTIONS, Section 2.2.1, Section 2.2.3, Section 2.2.4,
Chapter 4, Section 4.1, Section 4.3.3, Section 4.4.14, Section 7.2.1,
Section 8.2.2, Section 8.3.1, Section 8.3.2, Section 8.4.1, Section 8.4.2,
Section 13.1, Section 13.3, Appendix 3
Dec., 2004 SH (NA)-080394E-C Partial correction
SAFETY PRECAUTIONS, Chapter 1, Section 2.2.1, Section 3.1,
Section 4.4.1, Section 4.4.2, Section 4.4.3, Section 4.4.14,
Section 5.4.1, Section 7.3, Section 8.4.2, Section 13.3, Appendix 2,
Appendix 2.3, Appendix 2.4, Appendix 2.5, Appendix 2.6, Appendix 2.7
Jul., 2005 SH (NA)-080394E-D Addition
Section 11.1
Partial correction
SAFETY PRECAUTIONS, Section 2.2.1, Section 2.2.2, Section 4.4.3,
Section 4.4.6, Section 6.2, Section 6.3.1, Section 6.3.2, Section 6.4.1,
Section 6.4.2, Section 6.5.1, Section 6.5.2, Section 8.4.1, Section 8.4.2,
Section 9.1.2, Section 10.1.2, Section 10.2.2, Section 10.3.2,
Section 11.1.2, Section 11.2.3, Section 11.2.4, Section 11.2.5,
Section 11.3.2, Section 11.3.3, Section 11.3.4, Section 11.3.5,
Section 11.4.2, Section 11.4.3, Section 11.4.4, Section 11.4.5,
Section 13.3, Appendix 2.7, Appendix 7.1
Dec., 2005 SH (NA)-080394E-E Addition
Section 4.3.7, Appendix 7
Partial correction
Section 1.3, Section 2.2.3, Section 4.1, Section 5.1,
Section 7.8, Section 13.1
A-5 A-5
The manual number is given on the bottom left of the back cover.
Print Date Manual Number Revision
Apr., 2006 SH (NA)-080394E-F Addition
Section 4.3.8, Appendix 2.1
Partial correction
Section 1.3, Section 2.2.1, Section 2.2.3, Section 2.2.4,
Section 3.1, Section 4.1, Section 5.2, Section 5.4, Section 6.2,
Section 6.3.1, Section 6.3.3, Section 6.4.1, Section 6.4.3, Section 6.5.1,
Section 6.5.3, Section 6.6.1, Section 7.1, Section 7.5, Section 8.3.2,
Section 8.4.1, Section 8.4.2, Section 9.1.2, Section 10.1.2,
Section 10.1.3, Section 10.2.2, Section 10.2.3, Section 10.3.2,
Section 10.3.3, Section 11.2.2, Section 11.2.3, Section 11.3.2,
Section 11.3.3, Section 11.4.2, Section 11.4.3, Section 13.1,
Section 13.3, Appendix 2, Appendix 2.2, Appendix 2.3, Appendix 2.4,
Appendix 2.5, Appendix 6, Appendix 7
Oct., 2006 SH (NA)-080394E-G Partial correction
Section 2.2.2, Section 4.2.6, Section 4.4.1, Section 4.5.1, Section 5.3.1,
Section 5.3.2, Section 5.3.3, Section 6.2, Section 7.5.1, Section 8.4.1,
Section 8.4.2, Section 10.3.2, Section 11.2.3, Section 11.3.2,
Section 11.3.3, Section 11.4.2, Section 11.4.3, Appendix 2.1,
Appendix 7, Appendix 8.1
Nov., 2007 SH (NA)-080394E-H Partial correction
Section 1.3, Section 2.2.1, Section 4.1, Section 4.2.3, Section 4.2.6,
Section 4.4.1, Section 6.2, Section 6.3.2, Section 6.3.4, Section 6.4.2,
Section 6.4.4, Section 6.5.2, Section 6.5.4, Section 6.6.2, Section 6.7,
Section 7.3, Section 8.4.1, Section 8.4.2, Section 9.1.1, Section 10.1.1,
Section 10.2.1, Section 10.3.1, Section 11.2.1, Section 11.3.1,
Section 11.4.1, Appendix 1, Appendix 2.1, Appendix 2.2, Appendix 2.3,
Appendix 2.4, Appendix 2.5, Appendix 2.6, Appendix 2.7, Appendix 2.8
Apr., 2008 SH (NA)-080394E-I Change of a term
"PLC" was changed to "programmable controller".
Addition
Section 7.9, Appendix 2.9
Partial correction
About the Generic Terms and Abbreviations, Section 2.2.1,
Section 4.3.6, Section 4.4.3, Section 5.4.1, Section 7.2.1,
Section 7.4, Section 7.7.2, Section 8.1, Section 8.4.1, Section 8.4.2,
Section 9.1.2, Section 13.2, Section 13.3, Section 13.4, Appendix 2,
Appendix 2.1 to 2.7, Appendix 6, Appendix 7
A-6 A-6
The manual number is given on the bottom left of the back cover.
Print Date Manual Number Revision
Jan., 2009 SH (NA)-080394E-J Partial correction
SAFETY PRECAUTIONS, About the Generic Terms and Abbreviations,
Section 2.2.1, Section 2.2.3, Section 2.2.4, Section 3.1,
Section 5.3.1 to 5.3.3, Section 5.4.1, Section 7.1, Section 7.2,
Section 7.2.1, Section 7.3 to 7.6, Section 7.8, Section 7.9, Section 8.2.2,
Section 13.3, Appendix 1, Appendix 2.2, Appendix 2.3, Appendix 2.5,
Appendix 6
Aug., 2009 SH (NA)-080394E-K Addition
Section 13.3.1
Partial correction
Section 2.2.1, 2.2.3, 5.2.3, 8.4.2, 11.4.4, 13.3.2, Appendix 7
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
© 2003 MITSUBISHI ELECTRIC CORPORATION
A-7 A-7
INTRODUCTION
CONTENTS
SAFETY PRECAUTIONS..............................................................................................................................A- 1
REVISIONS ....................................................................................................................................................A- 5
INTRODUCTION............................................................................................................................................A- 8
Compliance with the EMC and Low Voltage Directives................................................................................A-15
Generic Terms and Abbreviations .................................................................................................................A-16
PACKING LIST...............................................................................................................................................A-18
1 OVERVIEW 1- 1 to 1-14
1.1 Overview.................................................................................................................................................. 1- 1
1.2 Compatibility with CC-Link...................................................................................................................... 1- 2
1.3 Features .................................................................................................................................................. 1- 2
3 SPECIFICATIONS 3- 1 to 3- 6
4 FUNCTIONS 4- 1 to 4-94
A-8 A-8
4.3 Functions for Improving System Reliability ............................................................................................ 4-27
4.3.1 Disconnecting data link faulty stations and continuing the data link with only normal stations
(Slave station cut-off function)......................................................................................................... 4-27
4.3.2 Automatically reconnecting a disconnected data link faulty station when it returns to normal
(Automatic return function) .............................................................................................................. 4-28
4.3.3 Continuing the data link when an error occurs in the master station programmable controller CPU
(Data link status setting when the master station programmable controller CPU has an error)... 4-29
4.3.4 Retaining the device status of a data link faulty station
(Setting the status of input data from a data link faulty station) ..................................................... 4-30
4.3.5 Clearing data in case of programmable controller CPU STOP
(Slave station refresh/compulsory clear setting in case of programmable controller CPU STOP)
.......................................................................................................................................................... 4-31
4.3.6 Continuing the data link even when the master station is faulty
(Standby master function) ............................................................................................................... 4-33
4.3.7 Data link start by standby master station (First 5 digits of serial No. is 07112 or later)................. 4-47
4.3.8 Guaranteeing the cyclic data for each slave station (block guarantee of cyclic data per station)
.......................................................................................................................................................... 4-50
4.4 Handy Functions ..................................................................................................................................... 4-57
4.4.1 Simplifying the initialization procedure registration of remote device stations
(Remote device station initialization procedure registration function) ........................................... 4-57
4.4.2 Performing high-speed processing (Event issuance for the interrupt program) ............................ 4-68
4.4.3 Enabling the data link simply by powering on (Automatic CC-Link startup) .................................. 4-71
4.4.4 Communicating with intelligent device stations (Remote net mode).............................................. 4-73
4.4.5 Speeding up the response from remote I/O stations (Remote I/O net mode) ............................... 4-73
4.4.6 Creating a program that contains modules to be added in the future
(Reserved station function) ............................................................................................................. 4-74
4.4.7 Powering off a station in operation without error detection
(Error invalid station setting function).............................................................................................. 4-75
4.4.8 Synchronizing the link scan with the sequence scan (Scan synchronous function)...................... 4-76
4.4.9 Replacing modules without error detection (Temporary error invalid station setting function) ..... 4-80
4.4.10 Checking operations for each local station (Data link stop/restart) .............................................. 4-81
4.4.11 Station number overlap checking function .................................................................................... 4-82
4.4.12 Multiple CPU system support ........................................................................................................ 4-83
4.4.13 Reducing the reserved points of the remote I/O stations (Remote I/O station points setting) .... 4-84
4.4.14 Increasing the number of cyclic points (Remote net ver.2 mode) ................................................ 4-86
4.5 Transient Transmission Functions ......................................................................................................... 4-94
4.5.1 Performing transient transmission (Dedicated instructions) ........................................................... 4-94
8 PROGRAMMING 8- 1 to 8-43
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE I/O STATIONS 9- 1 to 9-10
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS 11- 1 to 11-47
A - 12 A - 12
11.2.4 Creating a program ...................................................................................................................... 11-10
(1) Master station program..................................................................................................................... 11-12
(2) Local station program ....................................................................................................................... 11-12
11.2.5 Performing the data link ............................................................................................................... 11-14
(1) Confirming the operation with the LED display................................................................................ 11-14
(2) Confirming the operation with the sequence program..................................................................... 11-15
11.3 When Remote Net Ver. 2 Mode is Used............................................................................................ 11-16
11.3.1 Configuring a system ................................................................................................................... 11-16
(1) Setting the master and local stations ............................................................................................... 11-17
11.3.2 Setting the master station parameters ........................................................................................ 11-18
(1) Setting the network parameters of the master station..................................................................... 11-18
(2) Setting the automatic refresh parameters of the master station ..................................................... 11-20
11.3.3 Setting the local station parameters ............................................................................................ 11-21
(1) Setting the network parameters of the ver.1 compatible local station (station number 1) ............. 11-21
(2) Setting the automatic refresh parameters of the ver.1 compatible local station
(station number 1)............................................................................................................................. 11-23
(3) Setting the network parameters of the ver.2 compatible local station (station number 5) ............. 11-24
(4) Setting the automatic refresh parameters of the ver.2 compatible local station
(station number 5)............................................................................................................................. 11-26
11.3.4 Creating a program ...................................................................................................................... 11-27
(1) Master station program..................................................................................................................... 11-29
(2) Local station program ....................................................................................................................... 11-29
11.3.5 Performing the data link ............................................................................................................... 11-30
(1) Confirming the operation with the LED display................................................................................ 11-30
(2) Confirming the operation with the sequence program..................................................................... 11-31
11.4 When Remote Net Additional Mode is Used ..................................................................................... 11-32
11.4.1 Configuring a system ................................................................................................................... 11-32
(1) Setting the master and local stations ............................................................................................... 11-33
11.4.2 Setting the master station parameters ........................................................................................ 11-34
(1) Setting the network parameters of the master station..................................................................... 11-34
(2) Setting the automatic refresh parameters of the master station ..................................................... 11-36
11.4.3 Setting the local station parameters ............................................................................................ 11-37
(1) Setting the network parameters of the ver.1 compatible local station (station number 1) ............. 11-37
(2) Setting the automatic refresh parameters of the ver.1 compatible local station
(station number 1)............................................................................................................................. 11-39
(3) Setting the network parameters of the ver.2 compatible local station (station number 5) ............. 11-40
(4) Setting the automatic refresh parameters of the ver.2 compatible local station
(station number 5)............................................................................................................................. 11-42
11.4.4 Creating a program ...................................................................................................................... 11-43
(1) Master station program..................................................................................................................... 11-45
(2) Local station program ....................................................................................................................... 11-45
11.4.5 Performing the data link ............................................................................................................... 11-46
(1) Confirming the operation with the LED display................................................................................ 11-46
(2) Confirming the operation with the sequence program..................................................................... 11-47
A - 13 A - 13
13 TROUBLESHOOTING 13- 1 to 13-31
A - 14 A - 14
Compliance with the EMC and Low Voltage Directives
A - 15 A - 15
Generic Terms and Abbreviations
This manual uses the following generic terms and abbreviations to describe the QJ61BT11N CC-Link
System Master/Local Module, unless otherwise specified.
A - 16 A - 16
Generic Term/Abbreviation Description
Ver. 1 compatible slave station Slave station compatible with the remote net ver. 1 mode.
Ver. 2 compatible slave station Slave station compatible with the remote net ver. 2 mode.
Link special relay (for CC-Link)
SB Bit unit information that indicates the module operating status and data link status of
the master station/local station.
Link special register (for CC-Link)
SW 16-bit unit information that indicates the module operating status and data link status
of the master station/local station.
Remote input (for CC-Link)
RX
Information entered in bit units from the slave station to the master station.
Remote output (for CC-Link)
RY
Information output in bit units from the master station to the slave station.
Remote register (Write area for CC-Link)
RWw
Information output in 16-bit units from the master station to the slave station.
Remote register (Read area for CC-Link)
RWr
Information entered in 16-bit units from the slave station to the master station.
Generic term for AOJ2HCPU, A1SCPU, A1SHCPU, A1SJCPU-S3, A1SJHCPU,
A2SCPU, A2SHCPU, A2USCPU, A2USCPU-S1, A2USHCPU-S1, A1NCPU,
ACPU
A2NCPU, A2NCPU-S1, A3NCPU, A2ACPU, A2ACPU-S1, A3ACPU, A2UCPU,
A2UCPU-S1, A3UCPU and A4UCPU
Generic term for A2USCPU, A2USCPU-S1, A2USHCPU-S1, A2UCPU, A2UCPU-S1,
AnUCPU
A3UCPU and A4UCPU
Generic term for Q2ASCPU, Q2ASCPU-S1, Q2ASHCPU, Q2ASHCPU-S1, Q2ACPU,
QnACPU
Q2ACPU-S1, Q3ACPU, Q4ACPU and Q4ARCPU
Generic term for Q00JCPU, Q00CPU, Q01CPU, Q02CPU, Q02HCPU, Q06HCPU,
Q12HCPU, Q25HCPU, Q02PHCPU, Q06PHCPU, Q12PHCPU, Q25PHCPU,
Q12PRHCPU, Q25PRHCPU, Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU,
QCPU (Q mode)
Q03UDCPU, Q04UDHCPU, Q06UDHCPU, Q10UDHCPU, Q13UDHCPU,
Q20UDHCPU, Q26UDHCPU, Q03UDECPU, Q04UDEHCPU, Q06UDEHCPU,
Q10UDEHCPU, Q13UDEHCPU, Q20UDEHCPU and Q26UDEHCPU
Basic model QCPU Generic term for Q00JCPU, Q00CPU and Q01CPU
High Performance model
Generic term for Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU and Q25HCPU
QCPU
Process CPU Generic term for Q02PHCPU, Q06PHCPU, Q12PHCPU and Q25PHCPU
Redundant CPU Generic term for Q12PRHCPU and Q25PRHCPU
Generic term for Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU,
Q04UDHCPU, Q06UDHCPU, Q10UDHCPU, Q13UDHCPU, Q20UDHCPU,
Universal model QCPU
Q26UDHCPU, Q03UDECPU, Q04UDEHCPU, Q06UDEHCPU, Q10UDEHCPU,
Q13UDEHCPU, Q20UDEHCPU and Q26UDEHCPU
Generic term for Q03UDECPU, Q04UDEHCPU, Q06UDEHCPU, Q10UDEHCPU,
Built-in Ethernet port QCPU
Q13UDEHCPU, Q20UDEHCPU and Q26UDEHCPU
QCPU (A mode) Generic term for Q02CPU-A, Q02HCPU-A and Q06HCPU-A
C Controller module Generic term for Q06CCPU-V, Q06CCPU-V-B, and Q12DCCPU-V
Generic product name for SWnD5C-GPPW-E, SWnD5C-GPPW-EA, SWnD5C-
GX Developer
GPPW-EV, and SWnD5C-GPPW-EVA. ("n" in the model name is 4 or greater)
Q series modules other than the CPU module, power supply module and I/O module
Intelligent function module
that are mounted on the base unit.
A series and QnA series modules that are mounted on the base unit, excluding the
Special function module
CPU module, power supply module and I/O module.
A - 17 A - 17
PACKING LIST
QJ61BT11N 1
A - 18 A - 18
MEMO
A - 19 A - 19
1 OVERVIEW
MELSEC-Q
1 OVERVIEW
1 This manual describes the specifications, parts names and settings of the QJ61BT11N
CC-Link System Master/Local Module (hereinafter referred to as the QJ61BT11N)
which is used with the MELSEC-Q series programmable controller CPUs.
When applying the following program examples to the actual system, make sure to
examine the applicability and confirm that it will not cause system control problems.
1.1 Overview
The CC-Link system is a system that connects distributed modules such as I/O modules,
intelligent function modules, and special function modules using dedicated cables so that
these modules can be controlled by a programmable controller CPU.
(2) Each module’s on/off information of input/output and numeric data can easily be
sent and received at high-speed.
(4) Since various devices from Mitsubishi's partner manufacturers can be connected,
the system can provide flexible solutions depending on the user’s requirements.
Master station
Programmable
controller CPU
Master station ................The station that controls the data link system.
Remote I/O station ........The remote station that handles bit data only.
Remote device station ....The remote station that handles bit and word data.
Local station ..................The station having a programmable controller CPU and the
ability to communicate with the master and other local
stations.
Intelligent device station ..The station that can perform transient transmission.
1-1 1-1
1 OVERVIEW
MELSEC-Q
1.3 Features
Programmable
Master station Remote I/O station
controller CPU
1-2 1-2
1 OVERVIEW
MELSEC-Q
Programmable
Master station Remote device station
controller CPU
Remote Remote
Automatic refresh Link scan
W register register
(RWw) (RWw)
1-3 1-3
1 OVERVIEW
MELSEC-Q
Programmable Programmable
Master station Local station
controller CPU controller CPU
Remote Remote
Automatic refresh Link scan Automatic refresh
W register register W
(RWw) (RWr)
Programmable Programmable
controller CPU Master station Local station controller CPU
Transient transmission
Transient
G(P).RIWT Transient transmission transmission
Transient area
transmission W
Transient transmission
area
G(P).RIRD Buffer
Transient transmission
memory
1-4 1-4
1 OVERVIEW
MELSEC-Q
Remote Remote
Automatic refresh Link scan
W register register
RWw RWw
G(P).RIWT
Transient transmission
Transient
transmission Buffer memory
area
G(P).RIRD
Transient transmission
1-5 1-5
1 OVERVIEW
MELSEC-Q
Local Local
Master station station
station Station number 1 Station number 3 (occupies Station number 5 (occupies
1 station) 4 stations)
Remote station Remote station Remote station
(occupies 2 stations) (occupies 1 station) (occupies 2 stations)
1-6 1-6
1 OVERVIEW
MELSEC-Q
(8) Data link status setting when the master station programmable
controller CPU has an error
The data-link status can be set to either "stop" or "continue" when an error
causing the operation to stop such as "SP. UNIT ERROR" occurs in the
programmable controller CPU at the master station. With errors enabling the
operation to continue such as "BATTERY ERROR," the data link will continue
regardless of the setting (see Section 4.3.3).
(9) Setting the status of input data from a data link faulty station
The data entered (received) from a data-link faulty station can be cleared or the
previous status immediately before the error can be maintained (see Section
4.3.4).
Master station is down Data link control by the standby master station Standby master station
Master station Station number 1 0
1-7 1-7
1 OVERVIEW
MELSEC-Q
Problem occurrence in the standby master station Data link control by the master station
Master station
Station number 1 0 Standby master station
Standby master station returns to normal and comes back online Standby master station
Standby master station prepares itself for master station system down Station number 1
Master station Occupies 1 station
1-8 1-8
1 OVERVIEW
MELSEC-Q
(11) Data link start by standby master station (First 5 digits of serial No.
is 07112 or later)
This function allows data link to start by turning on either of the master or standby
master station.
When the standby master station is turned on, even if no power is applied to the
master station, data link will start.
To enable this function, the same parameters and programs must be set to the
master and standby master stations. (Refer to Section 4.3.7.)
When using the standby station as a backup for the master station, utilize the
standby master function explained in (10).
When standby master station only is started, it controls data link. Standby master station
Station number 1 0
Master station
Master station joins the network. It stands by waiting for a standby master station failure.
Master station Standby master station
Station number 0 1 Station number 0
1-9 1-9
1 OVERVIEW
MELSEC-Q
Error occurred in standby master station Master station controls data link.
Master station Standby master station
Station number 1 0
1 - 10 1 - 10
1 OVERVIEW
MELSEC-Q
1 - 11 1 - 11
1 OVERVIEW
MELSEC-Q
(Reserved station)
Station number 4
Local
Master station (Reserved station)
station Station number 1 Station number 3 (occupies Station number 8 Station number 10
4 stations)
Remote station Remote station Remote station Remote station
(occupies 2 stations) (occupies 1 station) (occupies 2 stations) (occupies 1 station)
Local Local
Master station station
station Station number 1 Station number 3 (occupies Station number 5 (occupies
1 station) 4 stations)
Remote station Remote station Remote station
(occupies 2 stations) (occupies 1 station) (occupies 2 stations)
Local Local
Master station station
station Station number 1 Station number 3 (occupies Station number 5 (occupies
1 station) 4 stations)
Remote station Remote station Remote station
(occupies 2 stations) (occupies 1 station) (occupies 2 stations)
1 - 12 1 - 12
1 OVERVIEW
MELSEC-Q
Buffer memory
Device memory
G(P).RIRD
Buffer memory
Device memory
Send buffer
1 - 13 1 - 13
1 OVERVIEW
MELSEC-Q
(27) Block guarantee of cyclic data per station (First 5 digits of serial
number are 08032 or later)
The cyclic data are guaranteed for each slave station according to the setting of
parameters. (Refer to Section 4.3.8.)
1 - 14 1 - 14
2 SYSTEM CONFIGURATION
MELSEC-Q
2 SYSTEM CONFIGURATION
Master station Master station Master station Local station Local station Local station
Total 64
2-1 2-1
2 SYSTEM CONFIGURATION
MELSEC-Q
2-2 2-2
2 SYSTEM CONFIGURATION
MELSEC-Q
Total 64
2-3 2-3
2 SYSTEM CONFIGURATION
MELSEC-Q
Applicable programmable controller CPUs and notes on the system configuration are
described below.
1 2
Mountable CPU module No. of mountable modules ( ) Base unit ( )
When setting When setting
CPU model parameters by parameters by Main base Extension
CPU type
name software dedicated unit base unit
package instructions
Q00JCPU
Basic model
Q00CPU Up to 2 Up to 2
QCPU
Q01CPU
Q02CPU
Q02HCPU
High Performance 3
Q06HCPU Up to 8( ) Up to 64
model QCPU
Q12HCPU
Q25HCPU
Q02PHCPU
Q06PHCPU 3
Process CPU Up to 8( ) Up to 64
Q12PHCPU
Q25PHCPU
4 5
Programmable Q12PRHCPU Up to 4( )( ) 7 7
Redundant CPU 6 Not mountable ( ) ( )
controller CPU Q25PRHCPU ( )
Q00UJCPU Up to 2 Up to 8
Q00UCPU
Up to 2 Up to 24
Q01UCPU
Q02UCPU Up to 4 Up to 36
Q03UDCPU
Universal model Q04UDHCPU
QCPU Q06UDHCPU
Q10UDHCPU
Up to 8 Up to 64
Q13UDHCPU
Q20UDHCPU
Q26UDHCPU
Q03UDECPU
: Mountable, : Not mountable
2-4 2-4
2 SYSTEM CONFIGURATION
MELSEC-Q
1 2
Mountable CPU module No. of mountable modules ( ) Base unit ( )
When setting When setting
CPU model parameters by parameters by Main base Extension
CPU type
name software dedicated unit base unit
package instructions
Q04UDEHCPU
Q06UDEHCPU
Programmable Universal model Q10UDEHCPU
Up to 8 Up to 64
controller CPU QCPU Q13UDEHCPU
Q20UDEHCPU
Q26UDEHCPU
Q06CCPU-V
7 7
C Controller module Q06CCPU-V-B Up to 8 Not mountable ( ) ( )
Q12DCCPU-V
: Mountable, : Not mountable
1 Limited to the range of the number of I/O points in the CPU module.
2 Mountable on any I/O slot of the base unit.
3 When the number of mountable modules is set to "8", use a CPU module whose
serial No. (first 5 digits) is "08032" or later.
Operation cannot be guaranteed when an incompatible Programmable Controller
CPU is used.
When a CPU module whose first 5 digits of serial number are "08031" or earlier is
used, the number of mountable modules is four.
4 For use in a redundant system, select the QJ61BT11N whose serial No. (first 5 digits)
is "06052" or later.
When any incompatible QJ61BT11N is used, the operation cannot be guaranteed.
5 The number of QJ61BT11N modules on the either system is counted.
Example: When one QJ61BT11N module is mounted on the system A and the
system B respectively, the number of modules is counted as one.
6 When setting 8 for the number of modules, use CPU modules whose serial No. (first
5 digits) is 09102 or later for both systems.
If an incompatible programmable controller CPU is used, proper operation is not
guaranteed.
For a CPU module whose serial No. (first 5 digits) is 09101 or earlier, up to four
modules can be mounted.
7 Not applicable when parameters are set by dedicated instructions.
REMARK
For using with a C Controller module, refer to the C Controller Module User’s
Manual.
2-5 2-5
2 SYSTEM CONFIGURATION
MELSEC-Q
1 Limited to the range of the number of I/O points in the CPU module.
2 Mountable on any I/O slot of the mountable base unit.
REMARK
Basic model QCPUs and C Controller modules cannot create a MELSECNET/H
remote I/O network.
2-6 2-6
2 SYSTEM CONFIGURATION
MELSEC-Q
Q00JCPU
(CPU module (CPU module with
Q00CPU
function version B first 5 digits of serial
Q01CPU
or later) No. 06112 or later)
Q02CPU
Q02HCPU
(CPU module with (CPU module with
Q06HCPU
first 5 digits of serial first 5 digits of serial
Q12HCPU
No. 05032 or later) No. 08032 or later)
Q25HCPU
Q02PHCPU
Q06PHCPU
2-7 2-7
2 SYSTEM CONFIGURATION
MELSEC-Q
Remarks
For the functional upgrade of the QJ61BT11N, refer to Appendix 7.
2-8 2-8
2 SYSTEM CONFIGURATION
MELSEC-Q
The system should be designed with the following considerations to prevent mis-input
from the remote I/O modules:
During operation
Master module
(data link status) During stop
ON
Remote I/O module
(power status)
OFF
Input (Xn)
2-9 2-9
2 SYSTEM CONFIGURATION
MELSEC-Q
Master module
Programmable
~
controller CPU
Remote I/O module
For DC input
For AC input
Module power supply Input external-
supply power
Stabilized
24 V DC
power supply
REMARK
When supplying power from a single power source to multiple remote I/O modules,
select the proper type of cable and perform the wiring in consideration of the voltage
decline.
Connections can be established if the receiving port voltage at the remote I/O
module is within the specified range of the remote I/O module to be used.
Stabilized
~
power supply
2 - 10 2 - 10
2 SYSTEM CONFIGURATION
MELSEC-Q
2 - 11 2 - 11
2 SYSTEM CONFIGURATION
MELSEC-Q
The serial No. and function version of the QJ61BT11N can be confirmed on the rating
plate, on the front of the module, and from the System Monitor window of GX
Developer.
(1) How to check the function version and serial No. of the
QJ61BT11N
(a) Checking the "SERIAL" section of the rating plate, which is located on the
side of the module.
SERIAL 100917000000000-B
MADE IN JAPAN
Function version
Serial No.
2 - 12 2 - 12
2 SYSTEM CONFIGURATION
MELSEC-Q
REMARK
Serial No. labelling on the front of the module was started from August in 2008.
Note that, however, some of the modules manufactured around the time of change
may not have the serial No. label attached.
(c) Confirming from the System Monitor window (Product Information List)
In GX Developer, select [Diagnostics] [System monitor…] and click the
Product Inf. List button.
Function version
POINT
The serial No. displayed in the Product Information List of GX Developer may be
different from the one on the rating plate and the front of the module.
• The serial No. on the raging plate and the front of the module indicates the
management information on the product.
• The serial No. in the Product Information List of GX Developer indicates the
functional information on the product, which is updated when a new function is
added.
2 - 13 2 - 13
2 SYSTEM CONFIGURATION
MELSEC-Q
POINT
The specifications for Version 1.00 must be applied to the maximum cable overall
length and station-to-station cable length if a system contains all of Ver.1.00,
Ver.1.10, and Ver.2-compatible modules.
See Section 3.1.1 for the maximum overall cable length and station-to-station cable
length of Ver.1.00.
MODEL
SERIAL 100917000000000-B
MADE IN JAPAN
2 - 14 2 - 14
3 SPECIFICATIONS
MELSEC-Q
3 SPECIFICATIONS
1 Indicates the number of link points for remote net ver.1 mode. For number of link points for remote net
ver.2 mode/remote net additional mode. Refer to the table 3.2.
2 Ver.1.10-compatible CC-Link dedicated cables, CC-Link dedicated cables (Ver.1.00) and CC-Link
dedicated high-performance cables cannot be used together. If used together , correct data transmission
will not be guaranteed. Also attach the terminating resister which matches the kind of the cable. (Refer to
section 7.5)
3-1 3-1
3 SPECIFICATIONS
MELSEC-Q
Table 3.2 Number of link points for remote net ver.2 mode/remote net additional mode
Item Specifications
Remote I/O (RX, RY) : 8192 points
Remote register (RWw) : 2048 points (master station remote device
station/local station/intelligent device
Maximum No. of link points per system station/standby master station)
Remote register (RWr) : 2048 points (remote device station/local
station/intelligent device station/standby
master station master station)
Expanded cyclic setting Single Double Quadruple Octuple
32 points 32 points 64 points 128 points 3
No. of link (30 points (30 points (62 points (126 points
Remote I/O (RX, RY)
points per for local for local for local for local
station station) station) station) station)
Remote register (RWw) 4 points 8 points 16 points 32 points
Remote register (RWr) 4 points 8 points 16 points 32 points
Remote I/O
32 points 32 points 64 points 128 points
(RX, RY)
Occupies Remote
4 points 8 points 16 points 32 points
1 station register (RWw)
Remote
4 points 8 points 16 points 32 points
register (RWr)
Remote I/O
64 points 96 points 192 points 384 points
(RX, RY)
Occupies Remote
8 points 16 points 32 points 64 points
Number 2 stations register (RWw)
of link Remote
8 points 16 points 32 points 64 points
points per register (RWr)
number of Remote I/O
96 points 160 points 320 points 640 points
occupied (RX, RY)
stations Occupies Remote
12 points 24 points 48 points 96 points
3 stations register (RWw)
Remote
12 points 24 points 48 points 96 points
register (RWr)
Remote I/O
128 points 224 points 448 points 896 points
(RX, RY)
Occupies Remote
16 points 32 points 64 points 128 points
4 stations register (RWw)
Remote
16 points 32 points 64 points 128 points
register (RWr)
3-2 3-2
3 SPECIFICATIONS
MELSEC-Q
The relationship between the transmission speed and the maximum overall cable
distance is described below:
(1) For a system consisting of only remote I/O stations and remote
device stations
Remote I/O station Master station Remote I/O station Remote I/O station Remote I/O station
or remote or remote or remote or remote
device station device station device station device station
2 2 1 1
The cable length between remote I/O stations or remote device stations is within
this range and if even one location is wired, the maximum overall cable distance will
be as indicated above.
3-3 3-3
3 SPECIFICATIONS
MELSEC-Q
(Example) When the transmission speed is 10 Mbps, and 43 remote I/O stations
and remote device stations are connected using the CC-Link dedicated
high performance cable, because the cable connecting the second and
third stations is "35 cm (13.78 in.)", the maximum overall cable distance
will be "80 cm (31.5 in.)".
First Second Third 4th 43th
2 1 2 2
3-4 3-4
3 SPECIFICATIONS
MELSEC-Q
The relation of the transmission speed and maximum overall cable distance when
configuring the entire system with Version 1.10 modules and cable is shown below.
Station to station
cable length
Maximum overall cable distance
Version 1.10 compatible CC-Link dedicated cable (terminal resistor of 110Ω used)
Transmission speed Station to station cable length Maximum overall cable distance
156kbps 1200m
625kbps 900m
2.5Mbps 20cm or longer 400m
5Mbps 160m
10Mbps 100m
3-5 3-5
3 SPECIFICATIONS
MELSEC-Q
Use the CC-Link dedicated cables for the CC-Link system. If a cable other than the
CC-Link dedicated cable is used, the performance of the CC-Link system cannot be
guaranteed.
For the specifications of the CC-Link dedicated cables or any other inquiries, visit the
following website:
CC-Link Partner Association: http://www.cc-link.org/
REMARK
For details, refer to the CC-Link cable wiring manual issued by CC-Link Partner
Association.
3-6 3-6
4 FUNCTIONS
MELSEC-Q
4 FUNCTIONS
This chapter explains the functions of QJ61BT11N, dividing them into four sections:
"Basic Functions", "Functions for Improving System Reliability", "Handy Functions" and
"Transient Transmission Functions".
Some functions are unavailable depending on the mounted CPU.
Refer to Appendix 6 for details.
4.1 Function List
(1) Table 4.1 lists the "basic functions".
4-1 4-1
4 FUNCTIONS
MELSEC-Q
(2) Table 4.2 lists the "functions for improving system reliability".
4-2 4-2
4 FUNCTIONS
MELSEC-Q
4-3 4-3
4 FUNCTIONS
MELSEC-Q
Two types of communication modes are available for the CC-Link system: remote net
mode and remote I/O net mode.
Network 1) Network
parameters parameters
Automatic
refresh
parameters
Buffer memory
3) 2)
Remote input
X Automatic refresh Link scan Input
RX
4) 5)
Remote output
Y Automatic refresh Link scan Output
RY
4-4 4-4
4 FUNCTIONS
MELSEC-Q
[Remote input]
2) The input status of a remote I/O station is stored automatically (for each
link scan) in the master station's "remote input RX" buffer memory.
3) The input status stored in the "remote input RX" buffer memory is
stored in the CPU device set with the automatic refresh parameters.
Remote I/O station Remote I/O station
Programmable (Station number 1: (Station number 2:
controller CPU Master station occupies 1 station) occupies 1 station)
Remote input RX
RX0F to RX00 2) X0F to X00
3) RX1F to RX10
X 2)
RX2F to RX20 X0F to X00
RX3F to RX30 X1F to X10
RX4F to RX40
to
[Remote output]
4) The on/off data of the CPU device set with the automatic refresh
parameters is stored in the "remote output RY" buffer memory.
5) The output status stored in the "remote output RY" buffer memory is
output automatically (for each link scan) to remote I/O stations.
Remote I/O station Remote I/O station
Programmable (Station number 3: (Station number 4:
controller CPU Master station occupies 1 station) occupies 1 station)
Remote output RY
RY0F to RY00
RY1F to RY10
RY2F to RY20
RY3F to RY30
RY4F to RY40 5) Y0F to Y00
4) RY5F to RY50
Y 5)
RY6F to RY60 Y0F to Y00
RY7F to RY70 Y1F to Y10
RY8F to RY80
to
4-5 4-5
4 FUNCTIONS
MELSEC-Q
This section explains an overview of the communication between the master and the
remote device stations.
In the communication with remote device stations, the signals for handshaking with
remote device stations (initial data request flag, error reset request flag, etc.) are
communicated using remote input RX and remote output RX. Numeric data (averaging
processing specification, digital output value, etc.) is communicated using remote
register RWw and remote register RWr.
Programmable
controller CPU Master station Remote device station
Network 1) Network
parameters parameters
Automatic
refresh
parameters Buffer memory
Remote input
3) 2) RX
Remote input Handshaking signals
X Automatic refresh Link scan
RX such as remote READY
and initial data
processing request flag
Remote output
4) 5) RY
Remote output Handshaking signals such
Y Automatic refresh Link scan as error reset request flag
RY
and initial data processing
complete flag
Remote register
6) 7) RWw
Remote register Numeric data for
W Automatic refresh Link scan
RWw averaging processing
setting, A-D conversion
enable/disable setting,
etc.
Remote register
9) 8) RWr
Automatic refresh Remote register
W Link scan Numeric data such as
RWr digital output values,
detected temperature
value, etc.
4-6 4-6
4 FUNCTIONS
MELSEC-Q
[Remote input]
2) The remote input RX of a remote device station is stored automatically
(for each link scan) in the master station's "remote input RX" buffer
memory.
3) The input status stored in the "remote input RX" buffer memory is
stored in the CPU device set with the automatic refresh parameters.
Remote device station Remote device station
Programmable (Station number 1: (Station number 3:
controller CPU Master station occupies 2 stations) occupies 2 stations)
Remote input RX
Handshaking signals
such as remote READY
and initial data
processing request flag
Remote input RX
Remote input RX
RX0F to RX00 RX0F to RX00
Handshaking signals
RX1F to RX10 2) RX1F to RX10 such as remote READY
RX2F to RX20 and initial data
processing request flag
3) RX3F to RX30
X
RX4F to RX40 RX0F to RX00
RX5F to RX50 2) RX1F to RX10
RX6F to RX60
RX7F to RX70
RX8F to RX80
to
RX7FF to RX7F0
4-7 4-7
4 FUNCTIONS
MELSEC-Q
[Remote output]
4) The on/off data of the CPU device set with the automatic refresh
parameters is stored in the "remote output RY" buffer memory.
5) Remote output RY is automatically set to on/off (for each link scan)
according to the output status stored in the "remote output RY" buffer
memory.
to
RY7FF to RY7F0
4-8 4-8
4 FUNCTIONS
MELSEC-Q
to
RWwFF
4-9 4-9
4 FUNCTIONS
MELSEC-Q
to
RWrFF
4 - 10 4 - 10
4 FUNCTIONS
MELSEC-Q
This section explains an overview of the communication between the master and local
stations.
Automatic Automatic
refresh refresh
parameters parameters
Buffer memory Buffer memory Buffer memory
to to to
to to to
to to to
to to to
POINT
The master station sends only the data for the stations that have started the data link.
The data for the stations that have not started the data link are not sent.
4 - 11 4 - 11
4 FUNCTIONS
MELSEC-Q
[On/off data from a local station to the master station or other local
stations]
2) The on/off data of the CPU device set with the automatic refresh
parameters is stored in the "remote output RY" buffer memory of the
local station. The remote output RY is used as output data in local
station systems.
3) The data in the "remote output RY" buffer memory of the local station is
automatically stored (for each link scan) in the "remote input RX" buffer
memory of the master station and the "remote output RY" buffer
memory of other local stations.
4) The input status stored in the "remote input RX" buffer memory is
stored in the CPU device set with the automatic refresh parameters.
The remote input RX is used as input data in local station systems.
5) The input status stored in the "remote output RY" buffer memory is
stored in the CPU device set with the automatic refresh parameters.
to to to
The last two bits cannot be used in the communication between the master
and local stations.
4 - 12 4 - 12
4 FUNCTIONS
MELSEC-Q
The last two bits cannot be used in the communication between the master
and local stations.
4 - 13 4 - 13
4 FUNCTIONS
MELSEC-Q
to to to
4 - 14 4 - 14
4 FUNCTIONS
MELSEC-Q
[Word data from a local station to the master and other local
stations]
12) Word data set with the automatic refresh parameters is stored in the
"remote register RWw" buffer memory of the local station. However, the
data is stored only in the area corresponding to its own station number.
13) The data in the "remote register RWw" buffer memory is stored
automatically (for each link scan) in the "remote register RWr" of the
master station and the "remote register RWw" of other local stations.
14) The word data stored in the "remote register RWr" buffer memory is
stored in the CPU device set with the automatic refresh parameters.
15) The word data stored in the "remote register RWw" buffer memory is
stored in the CPU device set with the automatic refresh parameters.
to to to
4 - 15 4 - 15
4 FUNCTIONS
MELSEC-Q
1) 2)
G(P).RIWT Send buffer
Device memory
Buffer memory
4) 3)
[Reading data from the buffer memory in a local station using the
G(P).RIRD instruction]
1) The data in the buffer memory of the local station is accessed.
2) The data read is stored in the receive buffer of the master station.
3) The data is stored in the device memory of the programmable controller
CPU and the devices specified with the G(P).RIRD instruction are
turned on.
Master station Intelligent device station
Programmable controller CPU Master module
1)
G(P).RIRD
Device memory
Buffer memory
3)
2)
Receive buffer
POINT
Before performing data communication using transient transmission, the sizes of
the send and receive buffers must be set up in the buffer memory of the master
station. For more details on setting the sizes of the send and receive buffers, see
Section 6.2.
4 - 16 4 - 16
4 FUNCTIONS
MELSEC-Q
This section explains an overview of the communication between the master and
intelligent device stations.
Programmable Intelligent
controller CPU Master station device station
Network 1) Network
parameters parameters
Automatic
refresh
parameters
Buffer memory
Remote input
3) 2) RX
Remote input Handshaking signals
X Automatic refresh Link scan
RX such as initial data
processing request and
positioning complete
Remote output
4) 5) RY
Remote output
Y Automatic refresh Link scan Handshaking signals
RY such as initial data
processing complete
and positioning start
Remote register
6) 7) RWw
Remote register
W Automatic refresh Link scan Numeric data such
RWw as positioning start
number and speed
change value
Remote register
9) 8)
Remote register RWr
W Automatic refresh Link scan Numeric data such
RWr
as present feed
value and send speed
4 - 17 4 - 17
4 FUNCTIONS
MELSEC-Q
[Remote input]
2) The remote input RX of an intelligent device station is stored
automatically (for each link scan) in the master station's "remote input
RX" buffer memory.
3) The input status stored in the "remote input RX" buffer memory is
stored in the CPU device set with the automatic refresh parameters.
to
RX7FF to RX7F0
4 - 18 4 - 18
4 FUNCTIONS
MELSEC-Q
[Remote output]
4) The on/off data of the CPU device set with the automatic refresh
parameters is stored in the "remote output RY" buffer memory.
5) Remote output RY of the intelligent device station is automatically set to
on/off (for each link scan) according to the output status stored in the
"remote output RY" buffer memory.
to
RY7FF to RY7F0
4 - 19 4 - 19
4 FUNCTIONS
MELSEC-Q
to
RWwFF
4 - 20 4 - 20
4 FUNCTIONS
MELSEC-Q
RWr0 RWr0
RWr1 RWr1
RWr2 RWr2
RWr3 RWr3
RWr4 RWr4
RWr5 RWr5
RWr6 RWr6
9) RWr7 8) RWr7
W
RWr8 RWr8
RWr9 RWr9
RWrA RWrA
RWrB RWrB
RWrC RWrC
RWrD RWrD
RWrE RWrE
RWrF RWrF
RWr10
to
RWrFF
4 - 21 4 - 21
4 FUNCTIONS
MELSEC-Q
1) 2)
G(P).RIWT Send buffer
Device memory
Buffer memory
4) 3)
1)
G(P).RIRD
Device memory
Buffer memory
3)
2)
Receive buffer
POINT
Before performing data communication using transient transmission, the sizes of
the send and receive buffers must be set up in the buffer memory of the master
station. For more details on setting the sizes of the send and receive buffers, see
Section 6.2.
4 - 22 4 - 22
4 FUNCTIONS
MELSEC-Q
Using GX Developer makes the setting of the network parameters and automatic
refresh parameters easier.
The data link is automatically started if GX Developer is used to set the parameters.
Using GX Developer to set the parameters has the following advantages:
• It is not necessary to write a program for setting the parameters.
• It is possible to perform automatic refresh in the system.
POINT
In case a system includes both a module for which the network parameters are set
by GX Developer and a module for which the network parameters are set by the
dedicated instruction (G(P).RLPASET), the module for which the network
parameters are set by the G(P).RLPASET instruction should not be included in the
"No. of boards in module" setting of GX Developer.
Network parameter
Write to
Automatic refresh parameter programmable
controller
[Setting method]
For more details on the setting, see Sections 6.3 to 6.6.
4 - 23 4 - 23
4 FUNCTIONS
MELSEC-Q
It is possible to use the G(P).RLPASET instruction to set the network parameters of the
master station and start the data link.
Using the G(P).RLPASET instruction to set the parameters has the following
advantages:
• It is possible to mount nine or more QJ61BT11N modules (see Section 2.2.1 for
details about the number of CPUs that can be mounted).
• It is possible to change the network parameter settings while the programmable
controller CPU is running.
POINT
It is recommended to use GX Developer to set the parameters when the number of
QJ61BT11N mounted is 8 or less.
Parameter setting
direction
Control
data set
G(P).RLPASET
instruction
G(P).RLPASET Write to
instruction completion programmable
controller
Refresh
direction
Master station
GX Developer
Local station Remote I/O station Remote device station
4 - 24 4 - 24
4 FUNCTIONS
MELSEC-Q
(e) Do not use GX Developer for setting the network parameters, if the
network parameters of all the modules are set by the G(P).RLPASET
instruction.
Change the "No. of boards in module" setting to blank if the network
parameters have been already set by GX Developer.
Moreover, in case a system includes both a module for which the network
parameters are set by GX Developer and a module for which the network
parameters are set by the G(P).RLPASET instruction, the module for which
the network parameters are set by the G(P).RLPASET instruction should
not be included in the "No. of boards in module" setting of GX Developer.
(h) It is not possible to set input status from a data link faulty station.
Inputs from a data link faulty station are cleared.
4 - 25 4 - 25
4 FUNCTIONS
MELSEC-Q
(j) In order to change the parameter setting method, turn the power supply to
the programmable controller system off and back on, or reset the
programmable controller CPU.
The following table shows how the programmable controller CPU operates
when changing the parameter setting method without turning the power
supply to the programmable controller system off and back on, or resetting
the programmable controller CPU.
Parameter setting method Parameter setting method
Error notification method Continuity of data link
(before change) (after change)
The G(P).RLPASET
Parameter setting with GX Parameter setting with the
instruction completes with Data link continues.
Developer G(P).RLPASET instruction
an error.
LINK.PARA.ERR occurs in
Parameter setting with the Parameter setting with GX
the programmable controller Data link stops.
G(P).RLPASET instruction Developer
CPU.
Note that data link continues to be performed if the designation of
operation at CPU down ((S1) + 5) of the G(P).RLPASET instruction is
set to "Continue."
(k) When the programmable controller CPU is switched from RUN to STOP,
RY of the master station and outputs to the remote, local, intelligent device
and standby master stations are retained (for the QJ61BT11N whose first 5
digits of serial number is "09111" or earlier).
4 - 26 4 - 26
4 FUNCTIONS
MELSEC-Q
This section explains the functions for improving the reliability of the CC-Link system.
4.3.1 Disconnecting data link faulty stations and continuing the data link with only normal
stations (Slave station cut-off function)
This function disconnects remote stations, local stations, intelligent device stations,
and a standby master station that have become data link faulty due to power off, and
continues the data link among normal remote stations, local stations, intelligent device
stations, and standby master station (no setting is required).
Remote Remote
station station
Terminal Terminal
resistor resistor
POINT
In the event of cable disconnection, the data link cannot be performed because
there is no terminal resistor ("ERR." LED lights up).
Remote Remote
station station
4 - 27 4 - 27
4 FUNCTIONS
MELSEC-Q
4.3.2 Automatically reconnecting a disconnected data link faulty station when it returns to
normal (Automatic return function)
This function allows remote stations, local stations, intelligent device stations, and a
standby master station that have been disconnected from the data link due to power
off to automatically reconnect to the data link when they return to the normal status.
[Setting method]
Set the "Automatic reconnection station count" value in the network
parameters using the GX Developer. For more details on the setting, see
Sections 6.3 to 6.5.
4 - 28 4 - 28
4 FUNCTIONS
MELSEC-Q
4.3.3 Continuing the data link when an error occurs in the master station programmable
controller CPU
(Data link status setting when the master station programmable controller CPU has an
error)
This function sets the data link status when the master station programmable controller
CPU falls into an error that stop the operation. It is possible to continue the data link
among the local stations.
POINT
(1) The data link continues when the master station programmable controller CPU
falls into an "error that stops the operation".
(2) If a standby master station is being set, the data link will not continue when the
master station programmable controller CPU is down even when the data link
status at CPU down is set to "Continue". The standby master function
overrides and the data link control is transferred to the standby master station.
[Setting method]
Set the above data link status with the "PLC down select" value in the
network parameters using GX Developer. For more details on the setting,
see Sections 6.3 to 6.6.
4 - 29 4 - 29
4 FUNCTIONS
MELSEC-Q
This function sets the input (receiving) data from a data link faulty station.
The remote input RX in the master station and the remote input RX and remote output
RY in local stations either clear or retain data from faulty stations according to the
setting. The remote register RWr in the master station and the remote register RWw
and remote register RWr in local stations retain data from faulty stations regardless of
the setting.
POINT
When the data link faulty station is set as an error invalid station, input data (remote
input RX) from that station is retained regardless of the setting.
4 - 30 4 - 30
4 FUNCTIONS
MELSEC-Q
4.3.5 Clearing data in case of programmable controller CPU STOP (Slave station
refresh/compulsory clear setting in case of programmable controller CPU STOP)
This function compulsorily clears output (send) data to slave stations when the
programmable controller CPU comes to STOP.
Remote output RY refresh device setting in the automatic refresh parameter dialog box
provides the following choices.
When "Y" is specified, the remote output RY is cleared regardless of the parameter
setting.
When specifying any device other than "Y" (e.g. M or L), make parameter setting
whether the remote output RY will be refreshed or compulsorily cleared.
When using GX Developer for setting, use Version 8.03D or later.
4 - 31 4 - 31
4 FUNCTIONS
MELSEC-Q
POINT
(1) Specifying compulsory clear disables compulsory output to slave stations at
CPU STOP using GX Developer.
(2) This setting is also valid when the TO instruction is used for RY refresh.
4 - 32 4 - 32
4 FUNCTIONS
MELSEC-Q
4.3.6 Continuing the data link even when the master station is faulty
(Standby master function)
This function enables the data link to continue working by switching to a standby
master station (meaning a backup station for the master station) if a system down
occurs in the master station due to a malfunction in the programmable controller CPU
or power supply.
The master station can return to normal mode and to system operation as the standby
master station, even during data-link control by the standby master station, thus
preparing itself for a standby master station system down (master station duplex
function).
4 - 33 4 - 33
4 FUNCTIONS
MELSEC-Q
Master station is down Data link control by the standby master station Standby master station
Master station Station number 1 0 1
Master station returns to normal mode and system operation Master station prepares itself for standby master station system down
Master station Standby master station
Station number 0 1 2 Occupies 1 station
Station number 0
4 - 34 4 - 34
4 FUNCTIONS
MELSEC-Q
Problem occurs in the standby master station Data link control by the master station
Master station
Station number 1 0 Standby master station
Standby master station returns to normal mode and system operation Standby master station prepares itself for master
station system down Standby master station
Station number 1
Master station Occupies 1 station
4 - 35 4 - 35
4 FUNCTIONS
MELSEC-Q
Data sent from the master station to the remote input RX and remote
register RWr in the standby master station (shown by the shaded areas
in the figure above) is used as output data when the master station
becomes faulty; it should be saved in another device using the sequence
program.
When the master station becomes faulty, the saved data is transferred to
the remote output RY and remote register RWw in the standby master
station using the sequence program.
Data sent to the remote output RY and remote register RWw in the
standby master station is used as input data by the standby master
station when local stations are operating; thus, it does not need to be
saved in another device.
4 - 36 4 - 36
4 FUNCTIONS
MELSEC-Q
(b) When the master station is faulty and the standby master station is
controlling the data link
Data sent to the remote output RY and remote register RWw in the
standby master station by the sequence program is sent to other
stations as output data.
Data in the shaded areas in the standby master station is either input or
retained according to the "Data link faulty station setting" in the network
parameters.
4 - 37 4 - 37
4 FUNCTIONS
MELSEC-Q
(c) When the master station has returned to system operation and the standby
master station is controlling the data link
Data sent from the standby master station to the remote input RX and
remote register RWr in the standby master station (shown by the shaded
areas in the figure above) is used as output data when the master
station becomes faulty; it should be saved in another device using the
sequence program.
When the standby master station becomes faulty, the saved data is
transferred to the remote output RY and remote register RWw in the
master station using the sequence program.
Data sent to the remote output RY and remote register RWw in the
master station is being used as input data by the master station when
local stations are operating; thus, it does not need to be saved in another
device.
4 - 38 4 - 38
4 FUNCTIONS
MELSEC-Q
(d) When the standby master station becomes faulty and the master station
controls the data link
Data sent to the remote output RY and remote register RWw in the
master station by the sequence program is sent to other stations as
output data.
Data in the shaded areas in the master station is either input or retained
according to the "Operational settings" in the network parameters.
4 - 39 4 - 39
4 FUNCTIONS
MELSEC-Q
4 - 40 4 - 40
4 FUNCTIONS
MELSEC-Q
(b) If an error is detected at the master station in the initial status (before
parameter communication starts), switching to the standby master station
will not be executed.
(c) When the master station becomes faulty, the data link control will
automatically be transferred to the standby master station, but the refresh
instruction of the cyclic data will not be issued. Specify the cyclic data refresh
using the sequence program. Once specified, the information prior to the
error detection at the master station will be output to each station.
(d) When the data link is being controlled by the standby master station, the
master station's parameters cannot be updated.
(e) An error (error code: B39AH) occurs at the standby master station if there is
a difference between the station number setting of the station number setting
switches of the standby master station and the station number setting of the
network parameter "standby master station number" of the master station.
If an error has occurred, change the parameter setting of the master station
or the station number setting switch setting of the standby master station,
and then reset the programmable controller CPU of the standby master
station.
(f) If the terminal block of the master station is removed and then replaced in its
original position without turning the power off when the master station is
controlling the data link, both the master and standby master stations
operate as master stations. An error occurs since the data link control has
been transferred to the standby master station ("ERR." LED lights up).
(g) When the master station becomes faulty and the data link control is
transferred to the standby master station, the "ERR." LED of the standby
master station flashes. (This is because the station number of the standby
master station will change from the one set with a parameter to "0" and the
standby station becomes nonexistent. Data link itself is performed normally.)
To avoid this situation, set the standby master station to be an error invalid
station.
(h) The number and range of devices that will be saved by the sequence
program among the data sent from (the station operating as) the master
station to (the station operating as) the standby station may differ according
to the system used.
4 - 41 4 - 41
4 FUNCTIONS
MELSEC-Q
(4) Link special relays/registers (SB and SW) relating to the standby
master function
The following explains the link special relays and registers relating to the standby
master function. These are stored in the buffer memory.
When the standby master station is controlling the data link, its applicability is
basically identical to that of the master station. When the standby master station
is operating as a local station, its applicability is identical to that of the local
station.
Table 4.5 List of link special relays relating to the standby master function (1/2)
Applicability
( : Applicable, : Not applicable)
Number Name Description
Master
Local station Offline
station
Gives refresh instruction for cyclic data after the data link control
SB0001 Refresh instruction at is transferred to the standby master station.
(5E0H, b1) standby master switching 0: No instruction
1: Instructed
Forcefully transfers the data link control from the standby master
station that controls the data link to the master station that stands
SB000C
Forced master switching by in case the standby master station becomes faulty.
(5E0H, b12)
0: No request
1: Requested
Refresh instruction Indicates whether the refresh instruction at standby master
SB0042 acknowledgement status switching has been acknowledged or not.
(5E4H, b2) at standby master 0: Not acknowledged
switching 1: Instruction acknowledged
Indicates whether the refresh instruction at standby master
Refresh instruction
SB0043 switching is complete or not.
complete status at standby
(5E4H, b3) 0: Not complete
master switching
1: Switching complete
Indicates whether the forced master switching (SB000C) signal
SB0046 Forced master switching can be executed or not.
(5E4H, b6) executable status OFF: Cannot be executed.
ON: Can be executed.
Indicates the acknowledgement status of the standby master
station when it has received a master switching request from the
SB005A Master switching request
line.
(5E5H, b10) acknowledgement
OFF: Not acknowledged
ON: Request acknowledged
Indicates whether or not the switch from the standby master
SB005B Master switching request station to the master station is complete.
(5E5H, b11) complete OFF: Not complete
ON: Complete
Indicates whether a forced master switching request has been
SB005C Forced master switching acknowledged or not.
(5E4H, b12) request acknowledgement 0: Not acknowledged
1: Instruction acknowledged
4 - 42 4 - 42
4 FUNCTIONS
MELSEC-Q
Table 4.5 List of link special relays relating to the standby master function (2/2)
Applicability
( : Applicable, : Not applicable)
Number Name Description
Master
Local station Offline
station
Indicates whether a forced master switching request
SB005D Forced master switching acknowledgement is complete or not.
(5E5H, b13) request complete 0: Not complete
1: Switching complete
Indicates whether or not the standby master station setting exists
SB0062 Host standby master for the host.
(5E6H, b2) station setting information 0: No setting
1: Setting exists
Shows the data link status.
SB0070
Master station information 0: Data link control by the master station
(5E7H, b0)
1: Data link control by the standby master station
Indicates whether or not there is a standby master station.
SB0071 Standby master station
0: No standby master station
(5E7H, b1) information
1: Standby master station exists
Indicates whether the "Type" setting in the network parameters is
SB0079 Master station return set to "Master station" or "Master station (Duplex function)."
(5E7H, b9) specification information OFF: Master station
ON: Master station (Duplex function)
Indicates whether the host operates as the master or standby
SB007B Host master/standby master station.
(5E7H, b11) master operation status OFF: Operates as a master station (controlling data link)
ON: Operates as a standby master station (standby)
Table 4.6 List of link special registers relating to the standby master function
Applicability
( : Applicable, : Not applicable)
Number Name Description
Master
Local station Offline
station
Indicates the execution result of refresh instruction at standby
Refresh instruction at
SW0043 master switching.
standby master switching
(643H) 0 : Normal
result
Other than 0: Stores the error code (see Section 13.3).
Stores the execution result of the forced master switching
SW005D Forced master switching instruction with SB000C.
(65DH) instruction result 0 : Normal
Other than 0: Stores the error code (see Section 13.3).
SW0073 Standby master station Stores the station number of the standby master station.
(673H) number 1 to 64 (station)
4 - 43 4 - 43
4 FUNCTIONS
MELSEC-Q
(5) On/off timings of link special relays (SB) relating to the standby
master function
The following shows the on/off timings of the link special relays (SB) relating to
the standby master function.
ON
SB70 OFF
(Master station information)
SB7B ON
(Host master/standby master operation status) OFF
ON
SB5A
(Master switching request acknowledgement) OFF
ON
SB5B
(Master switching request complete) OFF
ON
SB01(User operation)
(Refresh instruction at standby master switching) OFF
SB42 ON
(Refresh instruction acknowledgement status OFF
at standby master switching)
ON
SB43
(Refresh instruction complete status at standby OFF
master switching)
When SB5B is turned on, the program switches RX to RY and RWr to RWw.
In addition, the program turns SB01 on.
4 - 44 4 - 44
4 FUNCTIONS
MELSEC-Q
4 - 45 4 - 45
4 FUNCTIONS
MELSEC-Q
(d) Program example when standby master function (master station duplex
function) is used
Control start relay used when master station is operating..................M10
Control start relay used when standby master station is operating....M11
Control start relay when the master
station is operating
Initial device set
Control start relay when the station
master station is (local station) is
operating
(e) When forcibly switching the data link control right from the standby master
station to the master station
The areas enclosed by the broken and dotted lines in the program example
shown in (d) must be modified as shown below.
Forced master switching request.........................................................M200
4 - 46 4 - 46
4 FUNCTIONS
MELSEC-Q
4.3.7 Data link start by standby master station (First 5 digits of serial No. is 07112 or later)
This function allows data link to start by turning on either of the master or standby
master station.
When the standby master station is turned on, even if no power is applied to the
master station, data link will start.
To enable this function, the same parameters and programs must be set to the master
and standby master stations.
When using the standby station as a backup for the master station, utilize the standby
master function explained in Section 4.3.6.
Controlling : Controlling the data link of the CC-Link system
Standby status : Standing by, waiting for a failure of the station controlling the data link of the CC-Link system
When standby master station only is started, it controls data link. Standby master station
Master station Station number 1 0*1
Master station joins the network. It stands by waiting for a standby master station failure.
Master station Standby master station
Station number 0 1*2, Occupies 1 station Station number 0
4 - 47 4 - 47
4 FUNCTIONS
MELSEC-Q
Error occurred in standby master station Master station controls data link.
Master station
Station number 1 0 Standby master station
4 - 48 4 - 48
4 FUNCTIONS
MELSEC-Q
(e) Write the same parameters and sequence programs to the master and
standby master stations.
(2) Precautions when starting data link by the standby master station
(a) Be sure to set the same parameters and programs to the master and
standby master stations.
Otherwise, correct operation cannot be guaranteed.
(b) When replacing the standby master station module, be sure to use a module
whose first 5 digits of serial No. is 07112 or later. If it is 07111 or earlier, the
LINK PARA.ERROR (Error code 3105) will be generated on the standby
master station.
(c) When data link has started by the standby master station, Line test 1 and 2
are not executable. To perform these line tests, use GX Developer.
4 - 49 4 - 49
4 FUNCTIONS
MELSEC-Q
4.3.8 Guaranteeing the cyclic data for each slave station (block guarantee of cyclic data per
station)
This function allows guaranteeing of the cyclic data for each slave station according to
the parameter setting. (This function is supported by the QJ61BT11N with first 5 digits
of serial No. 08032 or later. For compatible CPU module versions, refer to Section
2.2.1.)
Cyclic data could be separated into new data and old data in 2-word (32-bit) units
depending on the auto refresh timing. Using this function guarantees the data
consistency for each slave station.
Set this function to master stations, local stations and standby master stations.
Note that the consistency of 2-word data is also guaranteed in the QJ61BT11N whose
first five digits of serial No. is 08031 or earlier. To ensure the consistency of data
exceeding two words, use this function.
The following example shows the range in which data of remote register RWw is
secured when this function is set in the remote net Ver.1 mode.
Programmable
controller CPU Master station Remote station
Station number 1
Device Remote register
RWw0
RWw1
RWw2
RWw3
RWw4
Automatic RWw5
refresh RWw6
RWwE
RWwF
For slave station number 1 that has setting of "4 stations occupied" in the remote net
Ver.1 mode, remote register data in the range RWw0 to RWwF are guaranteed.
Data are guaranteed in the same way for other remote devices (RX, RY and RWr).
They are also guaranteed for remote devices (RX, RY, RWr and RWw) in the remote
I/O network mode.
4 - 50 4 - 50
4 FUNCTIONS
MELSEC-Q
The following example shows the range in which data of remote register RWw are
guaranteed when this function is set in the remote net Ver.2 mode.
Programmable
controller CPU Master station Remote station
Station number 1
RWw0
Automatic
refresh
4 stations occupied
W
Octuple setting
RWw7F
For slave station number 1 that has setting of "4 stations occupied" and "octuple" in the
remote net Ver.2 mode, remote register data in the range RWw0 to RWw7F are
guaranteed.
Data are guaranteed in the same way for other remote devices (RX, RY and RWr).
They are also guaranteed for remote devices (RX, RY, RWr and RWw) in the remote
net additional mode.
4 - 51 4 - 51
4 FUNCTIONS
MELSEC-Q
(b) The [Operational settings] screen is displayed. Check the [Block guarantee
of cyclic data per station] checkbox.
(c) Make the auto refresh settings for each remote device.
4 - 52 4 - 52
4 FUNCTIONS
MELSEC-Q
(2) Precautions when using the block guarantee of cyclic data per
station
(a) When using this function, be sure to make the auto refresh settings.
If the auto refresh settings have not been made for all devices, remote input
(RX), remote output (RY) and remote registers (RWr, RWw) in the buffer
memory may not be refreshed.
The following message is displayed if the auto refresh settings have not
been completed.
If this message is displayed, check the settings.
(b) When replacing the QJ61BT11N, use a module whose first 5 digits of the
serial No. are 08032 or later.
When a QJ61BT11N whose first 5 digits of the serial No. are 08031 or
earlier is used, the LINK PARA.ERROR (error code 3105) occurs on the
programmable controller CPU after the network parameters are written to
the programmable controller.
4 - 53 4 - 53
4 FUNCTIONS
MELSEC-Q
(c) When this function is used, the transmission delay time increases
(compared with when this function is not used).
When designing a new system by using an existing system as it is, confirm
the delay time of the data from the remote station before starting the
system.
POINT
For the formula for calculating the transmission delay time when the block
guarantee of cyclic data per station is used, refer to Section 5.2.
(When the block guarantee of cyclic data per station is not used)
SM + (LS×2) + Rio
= 20 + (3×2) + 1.5 = 27.5ms
4 - 54 4 - 54
4 FUNCTIONS
MELSEC-Q
(When the block guarantee of cyclic data per station is not used)
SM×n+ [LS×{(2×m) +1}]+{SL× (k+1)}
20+ [3×{(2×3) +1}]+10=51ms
4 - 55 4 - 55
4 FUNCTIONS
MELSEC-Q
(d) When this function is used, the link refresh time increases (compared with
when this function is not used).
When designing a new system by using an existing system as it is, confirm
the link refresh time before starting the system.
POINT
For a formula for calculating the link refresh time when the block guarantee of cyclic
data per station is used, refer to Section 5.4.
The following shows examples of how to calculate the link refresh time
when this function is used and not used.
Conditions:
A Q06HCPU is used with the QJ61BT11N mounted on the main base and
is defined as a master station in remote net Ver.1 mode.
Data of 2048 RX points, 2048 RY points, 256 RWw points, 256 RWr points,
512 SB points, and 512 SW points are refreshed to areas other than file
registers.
4 - 56 4 - 56
4 FUNCTIONS
MELSEC-Q
4.4.1 Simplifying the initialization procedure registration of remote device stations (Remote
device station initialization procedure registration function)
The initial settings of remote device stations, which in previous models were done
using the sequence program, can now be performed using the GX Developer for
registration to the programmable controller CPU.
The QJ61BT11N instructs registration of remote device station initialization procedure,
and then stores the number of the currently executing procedure to the buffer memory.
For this reason, when processing has stopped, the relevant information such as the
procedure number or target station number can be confirmed. For details on procedure
numbers, refer to (1)(b)(9) in this section.
Also, if a running remote device station is replaced due to a failure, initial processing
that has been done for all stations before can be performed for the replaced remote
device station by specifying it. Remote device stations other than the specified station
continue to operate.
Settings such as "A-D conversion enable/disable" and "Averaging processing
specification" can be performed easily with the AJ65BT-64AD.
For an example of an initialization procedure using the GX Developer, see Sections
10.1.3, 10.2.3 and 10.3.3.
Check if this function is available for the remote device station to be used. The function
is currently available for the following remote device stations. (As of November 2007)
• AJ65BT-64AD • AJ65BT-64DAI • AJ65BT-64DAV
• AJ65BT-64RD3 • AJ65BT-64RD4 •AJ65BT-68TD
• AJ65BT-D35ID2 • AJ65SBT-62DA • AJ65SBT-64AD
• AJ65VBTCU-68ADIN • AJ65VBTCU-68ADVN • AJ65VBTCU-68DAVN
4 - 57 4 - 57
4 FUNCTIONS
MELSEC-Q
(a) In "Target", set the station number of a module for which the initial settings
are to be performed.
Setting range: 1 to 64
1) Input format
Set the data input format for "Write data" in details of execution.
Setting range: DEC.
HEX.
Default: DEC.
2) Execute Flag
Set whether or not to execute the specified initialization procedure.
Setting range: Execute
Only set (use as a memo when the execution conditions
are the same as when the execution flag is set as
"Execute", but the content of execution is different.)
Default: Execute
4 - 58 4 - 58
4 FUNCTIONS
MELSEC-Q
3) Operational condition
Specify whether new settings or the previous settings are used for the
initialization conditions.
Setting range: Set new
Same as prev. set
Default: Set new
When "Same as prev. set" is selected, the processing is performed as
follows:
Example)
RX1
0 SET RY3
4 - 59 4 - 59
4 FUNCTIONS
MELSEC-Q
Item of procedure
Item of procedure
number2
4 - 60 4 - 60
4 FUNCTIONS
MELSEC-Q
1) First of all, register the initialization procedures for all remote device
stations (station numbers 1, 3, 5, 7).
4 - 61 4 - 61
4 FUNCTIONS
MELSEC-Q
(b) When initial processing of all preset stations is completed, SB005F turns ON.
Also, the execution result is stored to SW005F (remote device station
initialization procedure instruction result).
The execution procedure numbers in SW0110 to SW011F become FF00H.
The following shows operation of the link special relays and link special registers
when remote device station initialization procedure registration is performed.
Performed by QJ61BT11N
Performed by sequence program
ON
Remote device station
initialization procedure SB000D
registration instruction OFF
ON
Remote device station
initialization procedure SB005E
OFF
registration execution status
ON
Remote device station initialization
procedure registration completion SB005F OFF
status
4 - 62 4 - 62
4 FUNCTIONS
MELSEC-Q
POINT
(1) Because one step is performed per link scan, as the number of settings
increases the processing time will extend beyond that specified in the sequence
program.
(2) While SB0D (remote device station initialization procedure registration
instruction) is on, the refresh of the remote input/output and remote registers
stops.
(3) When the remote device station initialization procedure registration instruction
(SB000D) turns OFF after completion of the initial processing, all of RY signals
that have turned ON during the registration turn OFF.
Therefore, for signals that should be kept ON (e.g. CH. Conversion enable
flag of the AJ65BT-64RD3/4), turn them ON in the sequence program.
(4) The remote device station initialization procedure registration completion status
(SB005F) does not turn ON unless all of procedure registration for the stations
specified in the remote device station initialization procedure registration station
specification (SW0014 to SW0017) is completed normally.
If any error station exists, turn OFF the remote device station initialization
procedure registration instruction (SB000D) depending on the status of the
other stations.
(5) The remote device station initialization procedure registration is not allowed for
the standby master station.
When replacing a remote device station while the standby master station is
operating as a master, perform initial setting on the sequence program.
4 - 63 4 - 63
4 FUNCTIONS
MELSEC-Q
(6) Link special relays and registers (SB, SW) relating to remote device
station initialization procedure registration
The following describes the link special relays and link special registers relating
to remote device station initialization procedure registration.
The information of link special relays and link special registers is stored in the
buffer memory.
(a) Link special relays (SB)
The following describes the link special relays (SB) relating to remote device
station initialization procedure registration.
Numerical values in parentheses "()" under relay numbers indicate the buffer
memory addresses and bit positions.
Example : Bit 13 of buffer memory address 5E0H
(5E0H, b13)
Table 4.7 List of link register relays relating to the remote device station initialization
procedure registration function
Availability
( : Available, : Not available)
Number Name Description Online
Master Local Offline
station station
Starts the initial processing using the information
registered during the initialization procedure registration.
Remote device station
SB000D While SB000D is on, the refresh of the remote input/output 1
initialization procedure
(5E0H, b13) and remote registers stops.
registration instruction
OFF : Not instructed
ON : Instructed
Indicates the execution status of the initialization
Execution status of
SB005E procedure. 1
remote device station
(5E5H, b14) OFF : Not executed
initialization procedure
ON : Being executed
Indicates the completion status of the initialization
Completion status of
SB005F procedure execution. 1
remote device station
(5E5H, b15) OFF : Not complete
initialization procedure
ON : Complete
1 Parameter setting is required in the case of a standby master station. (First 5 digits of serial No. must be
07112 or later.)
4 - 64 4 - 64
4 FUNCTIONS
MELSEC-Q
Table 4.8 List of link special registers relating to the remote device station initialization
procedure registration function (1/3)
Availability
( : Available, : Not
available)
Number Name Description
Online
Master Local Offline
station station
Specifies the station to be initialized using the information saved by
initialization procedure registration.
SW0014
0: Initial processing not performed
(614H)
1: Initial processing performed
SW0015 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
(615H) Specification of
SW0014 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
SW0015 1
remote device station 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
SW0016 SW0016 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
to be initialized
(616H) SW0017 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
4 - 65 4 - 65
4 FUNCTIONS
MELSEC-Q
Table 4.8 List of link special registers relating to the remote device station initialization
procedure registration function (2/3)
Availability
( : Available, : Not
available)
Number Name Description
Online
Master Local Offline
station station
Remote device
station initialization
SW0113 procedure
(713H) registration execution
individual information
(target 4)
Remote device
station initialization
SW0114 procedure
(714H) registration execution
individual information
(target 5)
Remote device
station initialization
SW0115 procedure
(715H) registration execution
individual information
(target 6)
Remote device
station initialization
SW0116 procedure
(716H) registration execution
individual information Stores the execution information of initialization procedure registration.
(target 7) High: Next execution procedure number (FFH at completion) 1
4 - 66 4 - 66
4 FUNCTIONS
MELSEC-Q
Table 4.8 List of link special registers relating to the remote device station initialization
procedure registration function (3/3)
Availability
( : Available, : Not available)
Number Name Description Online
Master Local Offline
station station
Remote device station
initialization procedure
SW011B
registration execution
(71BH)
individual information
(target 12)
Remote device station
initialization procedure
SW011C
registration execution
(71CH)
individual information
(target 13)
Remote device station
Stores the execution information of initialization procedure
initialization procedure
SW011D registration. 1
registration execution
(71DH) High: Next execution procedure number (FFH at completion)
individual information
Low: Targeted station number
(target 14)
Remote device station
initialization procedure
SW011E
registration execution
(71EH)
individual information
(target 15)
Remote device station
initialization procedure
SW011F
registration execution
(71FH)
individual information
(target 16)
1 Parameter setting is required in the case of a standby master station. (First 5 digits of serial No. must be
07112 or later.)
(6) Replacing a faulty QJ61BT11N
When replacing a faulty QJ61BT11N with a new one, do not use any of the
modules whose first five digits of serial number is 08031 or earlier.
Doing this by mistake and specifying a remote device station to be initialized may
result in the following operation behavior:
Master/Remote
Operation behavior
device station
Master station Ignores the specification of remote device station to be initialized (SW0014 to SW0017)
and initializes all of the remote device stations that are set in the network parameter
setting.
Remote device The remote device station replacing a faulty one completes the initial processing.
station Normally operating remote device stations may not complete their initial processing.
If this happens, check the remote device station initialization procedure registration
execution individual information (SW0110 to SW011F).
4 - 67 4 - 67
4 FUNCTIONS
MELSEC-Q
4.4.2 Performing high-speed processing (Event issuance for the interrupt program)
1) Input format
Set the data input format for "Word device".
Setting range: DEC.
HEX.
Default: DEX.
2) Device code
Set the device to be used for the event issuance conditions.
Setting range: RX
SB
RY
RWr
SW
Scan completed
3) Device No.
Set the device number to be used for the event issuance conditions.
Setting range: When RX or RY is selected 0 to 1FFF (H)
When SB or SW is selected 0 to 01FF (H)
When RWr is selected 0 to 00FF (H)
4) Detection method
Set the detection method for the event issuance conditions.
Setting range: Edge detect (Issues event only at rise and fall.)
Level detect (Issues each link scan event when the event
issuance conditions are established.)
4 - 68 4 - 68
4 FUNCTIONS
MELSEC-Q
5) Interrupt condition
Set the conditions under which events are issued.
Setting range: When RX, SB or RY is selected ON/OFF
When RWr or SW is selected Equal/Unequal
6) Word device
Set the conditions under which events are issued when RWr or SW is
selected.
Setting range: 0 to 65535 (Decimal)
0 to FFFF (Hexadecimal)
7) Interrupt (SI) No.
Set the intelligent function module interrupt pointer number.
(SI is an interrupt pointer for an intelligent function module and not a
device used in an actual program.)
Setting range: 0 to 15
POINT
Only one event issuance condition can be set for each interrupt program.
(b) Set the "PLC parameter" -- "PLC system" -- "Intelligent function module
setting" -- "Interrupt pointer settings".
1) "Interrupt pointer start No." on the PLC side.
Set the interrupt pointer start number for the CPU.
Setting range: 50 to 255
2) "Interrupt pointer No. of units" on the PLC side
Set the number of event issuance conditions specified in the "Interrupt
settings" of the Network parameters
Setting range: 1 to 16
3) "Start I/O No." on the Intelli. unit side
Set the start input/output number for the intelligent function module for
which the interrupt setting was performed.
Setting range: 0 to 0FF0 (H)
4 - 69 4 - 69
4 FUNCTIONS
MELSEC-Q
2) The event
issuance
3) The interrupt conditions are
program is established. 1) Turns on RX01
executed. using the GX
Developer.
4 - 70 4 - 70
4 FUNCTIONS
MELSEC-Q
4.4.3 Enabling the data link simply by powering on (Automatic CC-Link startup)
When the QJ61BT11N is used in a system configuration including not only remote I/O
stations but also remote device stations and intelligent device stations, the CC-Link
startup and data refresh are performed only by powering up the system and without
creating sequence programs.
Use this function to make an operation check when constructing a system. When
performing control, always set the network parameters.
3) CC-Link
startup
4) CPU refresh processing
Remote I/O station Remote I/O station Remote I/O station Remote I/O station
(first module) (64th module) (first module) (64th module)
4 - 71 4 - 71
4 FUNCTIONS
MELSEC-Q
POINT
(1) Perform an automatic CC-Link startup in the remote net ver. 1 mode.
(2) When the automatic CC-Link startup is executed on a local station, the local
station operates occupying 1 station.
(3) Make sure to perform line tests for all stations if an automatic CC-Link startup is
performed and changes such as replacement of a module, etc. are made to the
system during data link operation.
Stations whose data link has already been established (only stations whose
station numbers overlap) may also go down if stations with overlapping head
station numbers return to the system.
(4) If an automatic CC-Link startup was performed, a temporary error invalid
station cannot be used.
(5) In case of a multiple CPU system where each CPU controls several
QJ61BT11N modules, the automatic CC-Link startup is performed on the
QJ61BT11N that has the smallest head I/O number.
(6) In the Q00J/Q00/Q01CPU, automatic refresh is performed for stations No.1 to
32 only.
Because automatic refresh is not performed for station No. 33 or higher, use
FROM/TO instructions to read/write data.
(b) In the case of automatic CC-Link startup, the total number of CC-Link IE
controller network modules and MELSECNET/H modules that are
connectable to the master station’s CPU is as follows:
4 - 72 4 - 72
4 FUNCTIONS
MELSEC-Q
The remote net mode allows communication with all stations (remote I/O stations,
remote device stations, local stations, intelligent device stations, and standby master
stations). Furthermore, it allows not only cyclic transfer, but also transient transmission,
which transfers data at an arbitrary timing, to intelligent and local stations.
[Setting method]
Set the remote net mode in "Mode" of the network parameters using the
GX Developer. For more details on the setting, see Sections 6.3 to 6.5.
4.4.5 Speeding up the response from remote I/O stations (Remote I/O net mode)
The remote I/O net mode can be used for a system consisting of only the master
station and remote I/O stations. The remote I/O net mode allows cyclic transmission at
high speed, thus shortening the link scan time.
The table below lists the link scan times for both the remote I/O net mode and the
remote net mode.
Table 4.9
Number of stations Remote I/O net mode Remote net mode
8 0.61 ms 1.2 ms
16 0.94 ms 1.6 ms
32 1.61 ms 2.3 ms
64 2.94 ms 3.8 ms
(Transmission speed: at 10 Mbps)
[Setting method]
Set the remote I/O net mode in "Mode" of the network parameters
using GX Developer. For more details on the setting, see Section 6.6.
4 - 73 4 - 73
4 FUNCTIONS
MELSEC-Q
4.4.6 Creating a program that contains modules to be added in the future (Reserved station
function)
This function prevents remote stations, local stations, intelligent device stations, and a
standby master station that are not actually connected (but to be connected in the
future) from being treated as "data link faulty stations" by the master station and local
stations.
When the master station is placed in the remote net ver.2 mode, points for reserved
stations can be set to 0.
Use GX Developer to set 0 points for reserved stations.
Although dedicated instructions are not usable for this setting, if reading from or writing
to reserved stations is disabled when refreshing cyclic data with FROM/TO
instructions, the same result is obtained.
Station that will be connected in the future
(Reserved station)
Station number 4
Local station
Master (occupies (Reserved station)
station 4 stations)
Station number 1 Station number 3 Station number 8 Station number 10
Remote station Remote station Remote station Remote station
(occupies 2 stations) (occupies 1 station) (occupies 2 stations) (occupies 1 station)
POINT
If a connected remote station, local station, intelligent device station, or standby
master station is specified as a reserved station, data link with the specified station
becomes disabled.
[Setting method]
Set the reserved function in "Station information setting" of the network
parameters using the GX Developer.
Make reserved station setting by choosing "Station information setting" -
"Reserve/invalid station select".
Make 0 points setting for the reserved station by choosing "Station
information setting" - "Remote station points".
For more details on the setting, see Sections 6.3 to 6.5.
4 - 74 4 - 74
4 FUNCTIONS
MELSEC-Q
4.4.7 Powering off a station in operation without error detection (Error invalid station setting
function)
This function prevents remote stations, local stations, intelligent device stations, and a
standby master station that are powered off in the system configuration from being
treated as "data link faulty stations" by the master station and local stations, using the
network parameter settings.
Note that if a station is set as an error invalid station, problems occurring in that station
can no longer be detected. In addition, the error invalid station settings cannot be
changed while online because they are set with the network parameters.
POINT
(1) If a remote station, a local station, an intelligent device station or the standby
master station that is set as an error invalid station is "specified as a reserved
station," the reserved station function overrides the error invalid station setting
function.
(2) If errors are generated at all the stations when they are set as error-invalid
stations, the "ERR." LED will light.
[Setting method]
Set the error invalid station setting function in "Station information setting"
of the network parameters using the GX Developer. For more details on the
setting, see Sections 6.3 to 6.6.
4 - 75 4 - 75
4 FUNCTIONS
MELSEC-Q
4.4.8 Synchronizing the link scan with the sequence scan (Scan synchronous function)
This function selects whether or not the link scan should be synchronized with the
sequence scan.
IMPORTANT
While in the synchronous mode, the sequence scan time must not exceed the time
specified for the corresponding transmission speed, as listed below. If the scan
time exceeds the specified time, a time out error occurs at each station.
Transmission speed Sequence scan time
10 Mbps 50 ms
5 Mbps 50 ms
2.5 Mbps 100 ms
625 Mbps 400 ms
156 Mbps 800 ms
POINT
(1) The asynchronous mode is recommended for a mixed system of local stations
A(1S)J61BT11 and A(1S)J61QBT11 when the QJ61BT11N is used as the
master station. When using the synchronous mode, make sure to observe the
restrictions in (2) and (3) below.
(2) When using a system consisting of the QJ61BT11N as the master station in
the synchronous mode and both the A(1S)J61BT11 and A(1S)J61QBT11 as
local stations, set the sequence scan time of the local station CPU to be
shorter than ST. For more details on "ST," see Section 5.1.
(3) When using a system consisting of the QJ61BT11N as the master station in
the synchronous mode and both the A(1S)J61BT11 and A(1S)J61QBT11 as
local stations, use XnC as an interlock of the FROM/TO instructions on the
local station CPU side.
(4) When operating in the synchronous mode, the "L RUN" LED may be lit dimly.
4 - 76 4 - 76
4 FUNCTIONS
MELSEC-Q
Programmable controller
CPU (Sequence scan)
Link scan
Response time of the first station
Response time of the corresponding station
Response time of the final station
I II III IV
4 - 77 4 - 77
4 FUNCTIONS
MELSEC-Q
Programmable controller
CPU(Sequence scan)
Link scan
Response time of the first station
Response time of the corresponding station
Response time of the final station
Input 1) Input 2)
I II III IV
4 - 78 4 - 78
4 FUNCTIONS
MELSEC-Q
Programmable controller
CPU(Sequence scan)
Link scan
Response time of the first station
Response time of the corresponding station
Response time of the final station
Input 1) Input 2)
I II III IV
4 - 79 4 - 79
4 FUNCTIONS
MELSEC-Q
4.4.9 Replacing modules without error detection (Temporary error invalid station setting
function)
This function prevents remote stations, local stations, intelligent device stations, and
the standby master station that are specified with the GX Developer from being treated
as "data link faulty stations" while online. It allows the replacement of modules while
online without error detection.
4 - 80 4 - 80
4 FUNCTIONS
MELSEC-Q
4.4.10 Checking operations for each local station (Data link stop/restart)
This function stops and restarts local data links. If the data link of the master station is
stopped, the data link of the entire system stops.
[Setting method]
Set the "CC-Link / CC-Link/LT Diagnostics" in "Diagnostics" using the GX
Developer.
4 - 81 4 - 81
4 FUNCTIONS
MELSEC-Q
This function investigates the status of connected stations and checks for the
overlapping numbers of number of occupied stations and whether or not more than
one station whose station number setting is 0 exists in the system.
Duplicate
Remote device station
Station Station
(station number 4, number of occupied stations: 2)
number 4 number 5
1) When there is an duplicate, the "ERR." LED flashes, and the duplicate status
is stored in SW0098 to SW009B (Station number overlap status).
2) Even if an overlap exists, the data link continues with the remaining normally
functioning stations.
3) By correcting the switch setting to normal and resetting the programmable
controller CPU of the master station, the "ERR." LED is turned off and the
data in SW0098 to SW009B can be cleared.
However, if the starting station number overlaps, it is excluded from the overlap
checking.
(Example)
Local station (station
Station Station Station Station Station Station
number 1, number of
number 1 number 2 number 3 number 4 number 5 number 6
occupied stations: 4)
Duplicate
Check the other station data link status (SW0080 to SW0083) for a data link
error. The station number setting of the station where a data link error has
occurred may be wrong.
4 - 82 4 - 82
4 FUNCTIONS
MELSEC-Q
This function allows monitoring and reading/writing programs from/to any CPU in a
multiple CPU system mounted with the QJ61BT11N via AJ65BT-G4-S3 or other
station CPUs.
This is illustrated by the following example.
It is possible to monitor CPU4 of the local station from peripheral device A connected
to the AJ65BT-G4-S3 and read the programs of CPU2 of the master station from
peripheral device B connected to CPU3 of the local station.
This function cannot be used with function version A.
Master station
Terminal
Peripheral
resistor
AJ65BT-G4-S3 device A
Reading of
programs
Monitoring
Local station
Terminal
resistor
Peripheral
device B
POINT
Access source CPUs must be control CPUs in order to make an access.
4 - 83 4 - 83
4 FUNCTIONS
MELSEC-Q
4.4.13 Reducing the reserved points of the remote I/O stations (Remote I/O station points
setting)
Remote I/O station Remote I/O station Remote I/O station Remote I/O station
Programmable (Station number 1: (Station number 2: (Station number 3: (Station number 4:
controller CPU Master station Occupies 1 station) Occupies 1 station) Occupies 1 station) Occupies 1 station)
Remote output RY
Station Station Y07 to Y00
number 2 number 1
Station number 3
Y
Station Y07 to Y00
number 4
Y0F to Y00
to
Y0F to Y00
Y1F to Y10
8-point output module 8-point output module 16-point output module 32-point output module
POINT
Set points to even-numbered 8-point setting remote I/O stations consecutively. If
points are set to odd-numbered 8-point setting remote stations, select 8 points + 8
points reserved in the "remote station points" setting of the last of the consecutive
remote I/O stations.
Remote I/O station Remote I/O station Remote I/O station Remote I/O station
(Station number 1: (Station number 2: (Station number 3: (Station number 4:
Master station Occupies 1 station) Occupies 1 station) Occupies 1 station) Occupies 1 station)
Remote output RY
Station Station Y07 to Y00
number 2 number 1
Station
reserved number 3
Station Y07 to Y00
number 4
8-point output module 8-point output module 8-point output module 32-point output module
Odd-numbered 8-point setting remote stations cannot be set for 8 remote station
points.
Remote I/O station Remote I/O station Remote I/O station Remote I/O station
(Station number 1: (Station number 2: (Station number 3: (Station number 4:
Master station Occupies 1 station) Occupies 1 station) Occupies 1 station) Occupies 1 station)
Remote output RY
Station Station Y07 to Y00
number 2 number 1
Station
number 3
Station number 4 Y07 to Y00
Y07 to Y00
Cannot be set.
to Y0F to Y00
Y1F to Y10
8-point output module 8-point output module 8-point output module 32-point output module
4 - 84 4 - 84
4 FUNCTIONS
MELSEC-Q
[Setting method]
Using GX Developer, make setting by choosing "Station information
setting" - "Remote station points" in the network parameter dialog box.
For more details on the setting, see Section 6.4.
4 - 85 4 - 85
4 FUNCTIONS
MELSEC-Q
4.4.14 Increasing the number of cyclic points (Remote net ver.2 mode)
In the remote net ver. 1 mode, the number of cyclic points cannot be increased.
When using GX Developer for setting, use Version 8.03D or later.
The number of cyclic points per module can be increased as indicated in the following
table.
Table 4.10
Expanded cyclic setting
single double quadruple octuple
Remote I/O (RX, RY) 32 points 32 points 64 points 128 points
Occupies 1 station
Remote register (RWw , RWr) 4 points 8 points 16 points 32 points
Remote I/O (RX, RY) 64 points 96 points 192 points 384 points
Occupies 2 stations
Remote register (RWw , RWr) 8 points 16 points 32 points 64 points
Remote I/O (RX, RY) 96 points 160 points 320 points 640 points
Occupies 3 stations
Remote register (RWw , RWr) 12 points 24 points 48 points 96 points
Remote I/O (RX, RY) 128 points 224 points 448 points 896 points
Occupies 4 stations
Remote register (RWw , RWr) 16 points 32 points 64 points 128 points
4 - 86 4 - 86
4 FUNCTIONS
MELSEC-Q
to to
POINT
(1) In the remote net ver. 2 mode, the remote registers of the remote I/O station are
set to 0 points.
(2) When the ver. 2 compatible slave station is added or deleted, the refresh
devices of the programmable controller CPU will vary by the number of points
set to the added or deleted slave station in the slave stations of the station
numbers after the added or deleted slave station. Confirm the varying number of
points in Table 4.8.
[Setting method]
Using GX Developer, set the network parameters.
For more details on the setting, see Section 6.4.
4 - 87 4 - 87
4 FUNCTIONS
MELSEC-Q
to to
Ver. 2
compatible
remote
output RY
Station number 4 Station number 4
to to
double octuple
POINT
(1) Set the station numbers of the slave stations to be added after the last station
number used in the existing system.
In the above example, the slave stations are added to and after station No. 4
since the existing system uses up to station No. 3.
(2) When the ver. 2 compatible slave station is added or deleted, the refresh
devices of the programmable controller CPU will vary by the number of points
set to the added or deleted slave station in the slave stations of the station
numbers after the added or deleted slave station. Confirm the varying number of
points in Table 4.8.
(3) In the remote net additional mode, the ver. 2 compatible slave station must be
placed in the latter half as described in (1).
When there is a possibility that ver. 1 compatible slave stations will be added in
the future in the remote net additional mode, set multiple reserved stations after
the ver. 1 compatible slave station to ensure ease of expanding the system.
(4) For the system that includes a standby master station, it is recommended to
change for the remote net ver. 2 mode.
When the remote net additional mode is used, the sequence program for the
standby master station must be corrected.
[Setting method]
Using GX Developer, set the network parameters.
For more details on the setting, see Section 6.5.
4 - 88 4 - 88
4 FUNCTIONS
MELSEC-Q
QJ61BT11 3
Slave station
AJ61BT11,
A1SJ61BT11,
QJ61BT11N AJ61QBT11, Remote station
A1SJ61QBT11, Intelligent device station
A80BD-J61BT11,
A80BD-J61BT13
Standby
Local Remote I/O
Local station Standby master station master Remote device station
station station station
Ver.2 Additional Ver.1 Ver.2 Additional Ver.1 Ver.1 Ver.1 Ver.2 Ver.1 Ver.2 Ver.1 Ver.1
Master station
mode mode mode mode mode mode mode mode compatible compatible compatible compatible compatible
1 1
Ver.2 mode
QJ61BT11N
2 1 1
Additional mode
Ver.1 mode
3
QJ61BT11
Ver.1 mode
: Cyclic transmission enabled, : Cyclic transmission enabled on condition, : Cyclic transmission disabled
1 When the master station is the QJ61BT11N in remote net Ver.2 mode or remote
net additional mode, and when the local station is the QJ61BT 11N in remote net
Ver.1 mode or the QJ61BT11, the local station can communicate with the master
station. However, Ver.2 compatible stations are recognized as faulty so that data
of these stations cannot be confirmed.
Local station Local station Remote device station Remote device station
Ver. 2 mode Ver. 1 mode Ver. 2 compatible Ver. 1 compatible
Master station (Station number 1: (Station number 2: (Station number 3: (Station number 4:
Ver. 2 mode Occupies 1 station) Occupies 1 station) Occupies 1 station) Occupies 1 station)
Remote input RX All 0s
Station number 1
Station number 2
Station number 3
Station number 4 Remote output RY
Ver. 2 compatible Ver. 2 compatible
remote output RY remote input RX
Station number 1 Station number 1
Station number 2 Station number 2
Station number 3 Station number 3 Remote output RY
Station number 4 Station number 4
to to
double quadruple
4 - 89 4 - 89
4 FUNCTIONS
MELSEC-Q
2 When the master station is in the remote net additional mode of the QJ61BT11N
and the local station is in the remote net ver. 2 mode of the QJ61BT11N, a link is
performed as shown in the following areas.
to to to to
3 The remote net ver. 2 mode and remote net additional mode cannot be used with
the QJ61BT11.
4 Data link is not available when the version set in the station type of the master
station information is different from that of the remote station.
For example, when the station type of the master station information is set as
"Ver.1 remote device station" although the actual remote device station is set to
"Ver.2 remote device station", data link cannot be performed with the "ERR." LED
on the master station flashing and the "L RUN" LED on the remote device station
turned OFF.
4 - 90 4 - 90
4 FUNCTIONS
MELSEC-Q
QJ61BT11N
Receive station
Master station
4 - 91 4 - 91
4 FUNCTIONS
MELSEC-Q
— — —
— — — — — — —
— — — — — — —
— — — — — — —
— — — — — — —
— — — — — — —
— — — — — — —
4 - 92 4 - 92
4 FUNCTIONS
MELSEC-Q
Master station
remote output
Programmable 160H Station No.1
controller CPU
Y0000
16FH Station No.8
Y1000
Y10FF
Y1100
Master station
Ver.2 compatible remote output
Y12FF 4200H
4 - 93 4 - 93
4 FUNCTIONS
MELSEC-Q
Applicable Reference
Instruction Description
station section
Reads data from the buffer memory of a specified station
Appendix
G(P).RIRD or a programmable controller CPU device of a specified
2.2
Master station station.
Local station Writes data to the buffer memory of a specified station or
Appendix
G(P).RIWT a programmable controller CPU device of a specified
2.3
station.
Appendix
G(P).RIRD Reads data from the buffer memory of a specified station.
2.2
Appendix
G(P).RIWT Writes data to the buffer memory of a specified station.
2.3
Automatically performs a handshake with the specified
station and reads data from that station's buffer memory. Appendix
G(P).RIRCV
Available for modules that have handshake signals (e.g. 2.4
AJ65BT-R2(N)).
Automatically performs a handshake with the specified
Intelligent station and writes data to that station's buffer memory. Appendix
G(P).RISEND
device station Available for modules that have handshake signals (e.g. 2.5
AJ65BT-R2(N)).
Reads data from the automatic update buffer of a
specified station. Appendix
G(P).RIFR
Available for modules that have the automatic update 2.6
buffer (e.g. AJ65BT-R2(N)).
Writes data to the automatic update buffer of a specified
station. Appendix
G(P).RITO
Available for modules that have the automatic update 2.7
buffer (e.g. AJ65BT-R2(N)).
4 - 94 4 - 94
5 DATA LINK PROCESSING TIME
MELSEC-Q
This chapter explains the data link processing time such as the link scan time and
transmission delay time.
This section explains the CC-Link scan time. The following describes the method for
calculating the normal value and maximum value for the remote net mode or remote
I/O net mode.
Transmission speed 156 kbps 625 kbps 2.5 Mbps 5 Mbps 10 Mbps
BT 51.2 12.8 3.2 1.6 0.8
5 NI: The final station number in A, B and C
(It includes the number of dedicated stations but excludes the
reserved stations, and must be a multiple of 8.)
A: Last station number of remote I/O stations
B: Last station number of remote device stations (including the
number of occupied stations)
C: Last station number of local, standby master and intelligent device
stations (including the number of occupied stations)
NW: The final station number in B and C
(Includes the number of dedicated stations but excludes the reserved
stations, and must be a multiple of 8.)
5-1 5-1
5 DATA LINK PROCESSING TIME
MELSEC-Q
EX: Constant (only when remote net ver. 2 mode or remote net additional
mode is used)
50 + total in the following table
Number of occupied
Occupies Occupies Occupies Occupies
stations
1 station 2 stations 3 stations 4 stations
Expanded cyclic setting
single 0 0 0 0
70 Number of 80 Number of 90 Number of 100 Number
double
stations stations stations of stations
90 Number of 110 Number 130 Number 150 Number
quadruple
stations of stations of stations of stations
110 Number 160 Number 210 Number 260 Number
octuple
of stations of stations of stations of stations
(Example) Using the following system configuration when the transmission speed
is 10 Mbps (assuming that there is no faulty station or transient
transmission.)
Station
number 8 3
Station Station Station Station
number 1 1 number 2 2 number 4 3 number 12 1
Master Local
station Remote Remote Intelligent station Remote
I/O station device station device station I/O station
5-2 5-2
5 DATA LINK PROCESSING TIME
MELSEC-Q
Transmission speed 156 kbps 625 kbps 2.5 Mbps 5 Mbps 10 Mbps
BT 51.2 12.8 3.2 1.6 0.8
NI: NI: Final station number (must be a multiple of 8)
Final station number 1 to 8 9 to 16 17 to 24 25 to 32 33 to 40 41 to 48 49 to 56 57 to 64
NI 8 16 24 32 40 48 56 64
N: Number of connected modules
ni: Total number of occupied stations
ST: Constant
250 + (ni 10)
F: Return processing time {only when there is a faulty station (including
error invalid and temporary error invalid stations)}
Number of faulty stations 118 BT (1 + number of retries)
(Example) Using the following system configuration when the transmission speed
is 10 Mbps (assuming that there is no faulty station)
Master
station Remote Remote Remote
I/O station I/O station I/O station
1: (occupies 1 station)
5-3 5-3
5 DATA LINK PROCESSING TIME
MELSEC-Q
This section explains the transmission delay time (the time until data is transmitted).
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
n : LS÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
Rio : Remote I/O response time
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal
(SM×n)+(LS×1)+Rio {(SM×n)×1}+Rio SM+(LS×1)+Rio {(SM×n)×1}+Rio
value
Max. value (SM×n)+(LS×2)+Rio {(SM×n)×2}+Rio SM+(LS×2)+Rio {(SM×n)×2}+Rio
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms and
remote I/O response time of 1.5ms
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (20×1)+(3×1)+1.5 {(20×1)×1}+1.5 20+(3×1)+1.5 {(20×1)×1}+1.5
value = 24.5ms = 21.5ms = 24.5ms = 21.5ms
(20×1)+(3×2)+1.5 {(20×1)×2}+1.5 20+(3×2)+1.5 {(20×1)×2}+1.5
Max. value
= 27.5ms = 41.5ms = 27.5ms = 41.5ms
5-4 5-4
5 DATA LINK PROCESSING TIME
MELSEC-Q
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
n : LS÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
Rio : Remote I/O response time
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal
(SM×n)+(LS×1)+Rio (SM×n)+(LS×1)+Rio SM+(LS×1)+Rio (SM×n)+(LS×1)+Rio
value
Max. value (SM×n)+(LS×2)+Rio (SM×n)+(LS×2)+Rio SM+(LS×2)+Rio (SM×n)+(LS×2)+Rio
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms and
remote I/O response time of 1.5ms
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (20×1)+(3×1)+1.5 (20×1)+(3×1)+1.5 20+(3×1)+1.5 (20×1)+(3×1)+1.5
value = 24.5ms = 24.5ms = 24.5ms = 24.5ms
(20×1)+(3×2)+1.5 (20×1)+(3×2)+1.5 20+(3×2)+1.5 (20×1)+(3×2)+1.5
Max. value
= 27.5ms = 27.5ms = 27.5ms = 27.5ms
5-5 5-5
5 DATA LINK PROCESSING TIME
MELSEC-Q
5.2.2 Master station Remote device station (Ver. 1 compatible slave station)
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
n : LS÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
Rd : Remote device station processing time
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal
(SM×n)+(LS×1)+Rd {(SM×n)×1}+Rd SM+(LS×1)+Rd {(SM×n)×1}+Rd
value
Max. value (SM×n)+(LS×2)+Rd {(SM×n)×2}+Rd SM+(LS×2)+Rd {(SM×n)×2}+Rd
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms and
remote device station processing time of 1.5ms
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (20×1)+(3×1)+1.5 {(20×1)×1}+1.5 20+(3×1)+1.5 {(20×1)×1}+1.5
value = 24.5ms = 21.5ms = 24.5ms = 21.5ms
(20×1)+(3×2)+1.5 {(20×1)×2}+1.5 20+(3×2)+1.5 {(20×1)×2}+1.5
Max. value
= 27.5ms = 41.5ms = 27.5ms = 41.5ms
5-6 5-6
5 DATA LINK PROCESSING TIME
MELSEC-Q
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
n : LS÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
Rd : Remote device station processing time
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal
(SM×n)+(LS×1)+Rd (SM×n)+(LS×1)+Rd SM+(LS×1)+Rd (SM×n)+(LS×1)+Rd
value
Max. value (SM×n)+(LS×2)+Rd (SM×n)+(LS×2)+Rd SM+(LS×2)+Rd (SM×n)+(LS×2)+Rd
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms and
remote device station processing time of 1.5ms
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (20×1)+(3×1)+1.5 (20×1)+(3×1)+1.5 20+(3×1)+1.5 (20×1)+(3×1)+1.5
value = 24.5ms = 24.5ms = 24.5ms = 24.5ms
(20×1)+(3×2)+1.5 (20×1)+(3×2)+1.5 20+(3×2)+1.5 (20×1)+(3×2)+1.5
Max. value
= 27.5ms = 27.5ms = 27.5ms = 27.5ms
5-7 5-7
5 DATA LINK PROCESSING TIME
MELSEC-Q
5.2.3 Master station Remote device station (Ver. 2 compatible slave station)
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
n : LS÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
t : LS×m÷SM (Digits the past decimal point are rounded up to
the nearest integer.)
Rd : Remote device station processing time
m : Constant set in the extended cyclic setting
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal
(SM×n)+(LS×1×m)+Rd {(SM×t)×1}+Rd SM+(LS×1×m)+Rd {(SM×t)×1}+Rd
value
Max. value (SM×n)+(LS×2×m)+Rd {(SM×t)×2}+Rd SM+(LS×2×m)+Rd {(SM×t)×2}+Rd
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms, and
the expanded cyclic setting "double".
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (20×1)+(3×1×3)+1.5 {(20×1)×1}+1.5 20+(3×1×3)+1.5 {(20×1)×1}+1.5
value = 30.5ms = 21.5ms = 30.5ms = 21.5ms
(20×1)+(3×2×3)+1.5 {(20×1)×2}+1.5 20+(3×2×3)+1.5 {(20×1)×2}+1.5
Max. value
= 39.5ms = 41.5ms = 39.5ms = 41.5ms
5-8 5-8
5 DATA LINK PROCESSING TIME
MELSEC-Q
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
n : LS÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
t : LS×m÷SM (Digits past the decimal point are rounded up to
the nearest integer.)
Rd : Remote device station processing time
m : Constant set in the extended cyclic setting
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal
(SM×n)+[LS×{(1×m)+1}]+Rd (SM×t)+(LS×m)+Rd SM+[LS×{(1×m)+1}]+Rd (SM×t)+(LS×m)+Rd
value
Max. value (SM×n)+[LS×{(2×m)+1}]+Rd (SM×t)+(LS×m)+Rd SM+[LS×{(2×m)+1}]+Rd (SM×t)+(LS×m)+Rd
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms and
the expanded cyclic setting "double".
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (20×1)+[3×{(1×3)+1}]+1.5 (20×1)+(3×3)+1.5 20+[3×{(1×3)+1}]+1.5 (20×1)+(3×3)+ 1.5
value = 33.5ms = 30.5ms = 33.5ms = 30.5ms
(20×1)+[3×{(2×3)+1}]+1.5 (20×1)+(3×3)+1.5 20+[3×{(2×3)+1}]+1.5 (20×1)+(3×3)+1.5
Max. value
= 42.5ms = 30.5ms = 42.5ms = 30.5ms
5-9 5-9
5 DATA LINK PROCESSING TIME
MELSEC-Q
(1) Master station (RX) Local station (RY), Master station (RWr)
Local station (RWw)
This indicates the time from the moment a local station CPU device turns ON
(OFF) until the corresponding master station CPU device turns ON (OFF).
Or, it indicates the time from when data is set in a local station CPU device until
data is stored to a master station CPU device.
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
SL : Local station sequence program scan time
n : LS÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
k : LS÷SL (Digits past the decimal point are rounded up to the
nearest integer.)
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal
(SM×n)+(LS×2)+{SL×(k+1)} {(SM×n)×2}+LS+{SL×(k+1)} SM+(LS×2)+SL {(SM×n)×2}+LS+SL
value
Max. value (SM×n)+(LS×3)+{SL×(k+1)} {(SM×n)×3}+LS+{SL×(k+1)} SM+(LS×3)+SL {(SM×n)×3}+LS+SL
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms and
local station sequence scan time of 10ms
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (20×1)+(3×2)+{10×(1+1)} {(20×1)×2}+{10×(1+1)} 20+(3×2)+10 {(20×1)×2}+10
value = 46ms = 60ms = 36ms = 50ms
(20×1)+(3×3)+ {10×(1+1)} {(20×1)×3}+{10×(1+1)} 20+(3×3)+10 {(20×1)×3}+10
Max. value
= 49ms = 80ms = 39ms = 70ms
5 - 10 5 - 10
5 DATA LINK PROCESSING TIME
MELSEC-Q
(2) Master station (RY) Local station (RX), Master station (RWw)
Local station (RWr)
This indicates the time from the moment a master station CPU device turns ON
(OFF) until the corresponding local station CPU device turns ON (OFF).
Or, it indicates the time from when data is set to a master station CPU device
until data is stored in the corresponding local station CPU device.
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
SL : Local station sequence program scan time
n : LS÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
k : LS÷SL (Digits past the decimal point are rounded up to the
nearest integer.)
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal
(SM×n)+(LS×2)+{SL×(k+1)} (SM×n)+ (LS×2)+{SL×(k+1)} SM+(LS×2)+SL (SM×n)+(LS×2)+SL
value
Max. value (SM×n)+(LS×3)+{SL×(k+1)} (SM×n)+(LS×2)+{SL×(k+1)} SM+(LS×3)+SL (SM×n)+(LS×2)+SL
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms and
local station sequence scan time of 10ms
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (20×1) + (3×2) +{10×(1+1)} (20×1) + (3×2) +{10×(1+1)} 20+ (3×2) +10 (20×1) + (3×2) +10
value =46ms =46ms =36ms =36ms
(20×1) + (3×3) +{10×(1+1)} (20×1) + (3×2) +{10×(1+1)} 20+ (3×3) +10 (20×1) + (3×2) +10
Max. value
=49ms =46ms =39ms =36ms
5 - 11 5 - 11
5 DATA LINK PROCESSING TIME
MELSEC-Q
(1) Master station (RX) Local station (RY), Master station (RWr)
Local station (RWw)
This indicates the time from the moment a local station CPU device turns ON
(OFF) until the corresponding master station CPU device turns ON (OFF).
Or, it indicates the time from when data is set to a local station CPU device until
the data is stored to the corresponding master station CPU device.
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
SL : Local station sequence program scan time
n : LS SM (Digits past the decimal point are rounded up to the
nearest integer.)
t : LS x m SM (Digits past the decimal point are rounded up to the
nearest integer.)
k : LS SL (Digits past the decimal point are rounded up to the
nearest integer.)
m : Constant set in the extended cyclic setting
Expanded cyclic
Single Double Quadruple Octuple
setting
m 1 3 7 15
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (SM×n) + [LS×{(1×m) {(SM×t)×2}+{SL×(k+1)} SM+ [LS×{(1×m) +1}]+SL (SM×t)×2
value +1}]+{SL×(k+1)}
(SM×n) + [LS×{(2×m) {(SM×t)×3}+{SL×(k+1)} SM+ [LS×{(2×m) +1}]+SL (SM×t)×3
Max. value
+1}]+{SL×(k+1)}
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms,
expanded cyclic setting of "double", and local station sequence scan
time of 10ms
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
(20×1) + [3×{(1×3) {(20×1)×2}+{10×(1+1)} 20+ [3×{(1×3) +1}]+10 (20×1)×2
Normal
+1}]+{10×(1+1)} =60ms =41ms =40ms
value
=52ms
(20×1) + [3×{(2×3) {(20×1)×3}+{10×(1+1)} 20+ [3×{(2×3) +1}]+10 (20×1)×3
Max. value +1}]+{10×(1+1)} =80ms =51ms =60ms
=61ms
5 - 12 5 - 12
5 DATA LINK PROCESSING TIME
MELSEC-Q
(2) Master station (RY) Local station (RX), Master station (RWw)
Local station (RWr)
This indicates the time from the moment a master station CPU device turns ON
(OFF) until the corresponding local station CPU device turns ON (OFF).
Or, it indicates the time from when data is set to a master station CPU device
until the data is stored to the corresponding local station CPU device.
[Expression]
The meanings of symbols in the table are as follows:
SM : Master station sequence program scan time
LS : Link scan time
SL : Local station sequence program scan time
n : LS÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
t : LS x m÷SM (Digits past the decimal point are rounded up to the
nearest integer.)
k : LS÷SL (Digits past the decimal point are rounded up to the nearest
integer.)
m : Constant set in the extended cyclic setting
Expanded cyclic
Single Double Quadruple Octuple
setting
m 1 3 7 15
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
Normal (SM×n) + [LS×{(1×m) {(SM×t)×1}+{SL×(k+1)} SM+ [LS×{(1×m) +1}]+SL {(SM×t)×1}+SL
value +1}]+{SL×(k+1)}
(SM×n) + [LS×{(2×m) {(SM×t)×2}+{SL×(k+1)} SM+ [LS×{(2×m) +1}]+SL {(SM×t)×2}+SL
Max. value
+1}]+{SL×(k+1)}
Calculation example:
Master station sequence scan time of 20ms, link scan time of 3ms,
expanded cyclic setting of "double", and local station sequence scan
time of 10ms
Calculation With block guarantee of cyclic data per station Without block guarantee of cyclic data per station
value Asynchronous mode Synchronous mode Asynchronous mode Synchronous mode
(20×1) + [3×{(1×3) {(20×1)×1}+{10×(1+1)} 20+ [3×{(1×3) +1}]+10 {(20×1)×1}+10
Normal value +1}]+{10×(1+1)} =40ms =42ms =30ms
=52ms
(20×1) + [3×{(2×3) {(20×1)×2}+{10×(1+1)} 20+ [3×{(2×3) +1}]+10 {(20×1)×2}+10
Max. value +1}]+{10×(1+1)} =60ms =51ms =50ms
=61ms
5 - 13 5 - 13
5 DATA LINK PROCESSING TIME
MELSEC-Q
The transmission delay time between the master station and an intelligent device
station varies by the type of intelligent device station used.
See the User's Manual for the intelligent device module to be used.
5 - 14 5 - 14
5 DATA LINK PROCESSING TIME
MELSEC-Q
This indicates the dedicated instruction processing time (the time from the moment an
instruction is issued until a response is received).
[Expression]
[Maximum value]
(a) G(P).RIRD instruction
OT + LS [BC + {(read points + 16)/16} 1 1.067] + SL + (WT RT
2
1000) [ms]
OT: QCPU (Q mode) dedicated instruction processing time
Basic model QCPU, Q02CPU: 1 [ms]
QCPU (Q mode) (except Basic model QCPU, Q02CPU): 0.5 [ms]
LS: Link scan time (see Section 5.1)
BC: Constant
Transmission speed 156 kbps 625 kbps 2.5 Mbps 5 Mbps 10 Mbps
BC 6 7 9 11 12
SL: Local station sequence program scan time
(0 when reading buffer memory in the CC-Link)
WT: Monitoring time set in SW0009 (see Section 8.4.2.)
RT: Number of retries set in SW000B (see Section 8.4.2.)
5 - 15 5 - 15
5 DATA LINK PROCESSING TIME
MELSEC-Q
[Expression]
[Maximum value]
(a) G(P).RIRD instruction
OT + LS [BC + {(read points + 16)/72} 1 1.13] + SM + (WT RT
2
1000) [ms]
OT: QCPU (Q mode) dedicated instruction processing time
Basic model QCPU, Q02CPU: 1 [ms]
QCPU (Q mode) (except Basic model QCPU, Q02CPU): 0.5 [ms]
LS: Link scan time (see Section 5.1)
BC: Constant
Transmission speed 156 kbps 625 kbps 2.5 Mbps 5 Mbps 10 Mbps
BC 6 7 9 11 12
SM: Master station sequence program scan time
(0 when reading buffer memory in the CC-Link)
WT: Monitoring time set in SW0009 (see Section 8.4.2.)
RT: Number of retries set in SW000B (see Section 8.4.2.)
5 - 16 5 - 16
5 DATA LINK PROCESSING TIME
MELSEC-Q
Transmission speed 156 kbps 625 kbps 2.5 Mbps 5 Mbps 10 Mbps
BC 6 7 9 11 12
SM: Master station sequence program scan time
(0 when writing buffer memory in the CC-Link)
WT: Monitoring time set in SW0009 (see Section 8.4.2.)
RT: Number of retries set in SW000B (see Section 8.4.2.)
5 - 17 5 - 17
5 DATA LINK PROCESSING TIME
MELSEC-Q
[Expression]
[Maximum value]
(a) G(P).RIRD instruction
OT + LS [BC + {(read points + 16)/16} 1 1.067] + SL + (WT RT
2
1000) [ms]
OT: QCPU (Q mode) dedicated instruction processing time
Basic model QCPU, Q02CPU: 1 [ms]
QCPU (Q mode) (except Basic model QCPU, Q02CPU): 0.5 [ms]
LS: Link scan time (see Section 5.1)
BC: Constant
Transmission speed 156 kbps 625 kbps 2.5 Mbps 5 Mbps 10 Mbps
BC 6 7 9 11 12
SL: Target station sequence program scan time
(0 when reading buffer memory in the CC-Link)
WT: Monitoring time set in SW0009 (see Section 8.4.2.)
RT: Number of retries set in SW000B (see Section 8.4.2.)
5 - 18 5 - 18
5 DATA LINK PROCESSING TIME
MELSEC-Q
5 - 19 5 - 19
5 DATA LINK PROCESSING TIME
MELSEC-Q
[Expression]
[Maximum value]
(a) G(P).RIRD instruction
1
OT + LS [BC + {(read points + 16)/16} 1.067] + (WT RT 1000)
2
[ms]
OT: QCPU (Q mode) dedicated instruction processing time
Basic model QCPU, Q02CPU: 1 [ms]
QCPU (Q mode) (except Basic model QCPU, Q02CPU): 0.5 [ms]
LS: Link scan time (see Section 5.1)
BC: Constant
Transmission speed 156 kbps 625 kbps 2.5 Mbps 5 Mbps 10 Mbps
BC 6 7 9 11 12
WT: Monitoring time set in SW0009 (see Section 8.4.2.)
RT: Number of retries set in SW000B (see Section 8.4.2.)
5 - 20 5 - 20
5 DATA LINK PROCESSING TIME
MELSEC-Q
Transmission speed 156 kbps 625 kbps 2.5 Mbps 5 Mbps 10 Mbps
BC 6 7 9 11 12
WT: Monitoring time set in SW0009 (see Section 8.4.2.)
RT: Number of retries set in SW000B (see Section 8.4.2.)
5 - 21 5 - 21
5 DATA LINK PROCESSING TIME
MELSEC-Q
This section indicates link refresh time (increase of END processing time at the
programmable controller CPU).
This section indicates the link refresh time of the master/local station.
RX+RY+SB
E= +RWw+RWr+SW
16
RX : Total points of the remote input (RX) refreshed by the master/local
station
RY : Total points of the remote output (RY) refreshed by the master/local
station
RWw : Total points of the remote register (RWw) refreshed by the master/local
station
RWr : Total points of the remote register (RWr) refreshed by the master/local
station
SB : Total points of the link special relay (SB) refreshed by the master/local
station
SW : Total points of the link special register (SW) refreshed by the
master/local station
KM1 : Constant
1) Master station
KM1
Constant
CPU type With block guarantee of Without block guarantee of cyclic
cyclic data per station data per station
Q00JCPU – 0.83
Q00CPU – 0.68
Q01CPU – 0.66
Q02CPU 0.58 0.51
Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU,
Q02PHCPU, Q06PHCPU, Q12PHCPU, 0.24 0.22
Q25PHCPU
Q12PRHCPU, Q25PRHCPU – 0.22
Q00UJCPU, Q00UCPU, Q01UCPU 0.32 0.31
Q02UCPU 0.32 0.31
Q03UDCPU, Q04UDHCPU, Q06UDHCPU,
Q10UDHCPU, Q13UDHCPU, Q20UDHCPU,
Q26UDHCPU, Q03UDECPU, Q04UDEHCPU,
0.25 0.13
Q06UDEHCPU, Q10UDEHCPU,
Q13UDEHCPU, Q20UDEHCPU,
Q26UDEHCPU
-: Does not support the block guarantee of cyclic data per station.
5 - 22 5 - 22
5 DATA LINK PROCESSING TIME
MELSEC-Q
1
2) Local station
KM1
Constant With block guarantee of Without block guarantee of cyclic
CPU type cyclic data per station data per station function not set
function set
Q00JCPU – 1.05
Q00CPU – 0.86
Q01CPU – 0.79
Q02CPU 0.81 0.74
Q02HCPU, Q06HCPU, Q12HCPU,
Q25HCPU, Q02PHCPU, Q06PHCPU, 0.31 0.29
Q12PHCPU, Q25PHCPU
Q00UJCPU, Q00UCPU, Q01UCPU 0.70 0.60
Q02UCPU 0.70 0.60
Q03UDCPU, Q04UDHCPU, Q06UDHCPU,
Q10UDHCPU, Q13UDHCPU, Q20UDHCPU,
Q26UDHCPU, Q03UDECPU,
0.43 0.30
Q04UDEHCPU, Q06UDEHCPU,
Q10UDEHCPU, Q13UDEHCPU,
Q20UDEHCPU, Q26UDEHCPU
-: Does not support the block guarantee of cyclic data per station.
1 For the Q12PRHCPU and Q25PRHCPU, local station setting is not available.
5 - 23 5 - 23
5 DATA LINK PROCESSING TIME
MELSEC-Q
(Example)
When the programmable controller CPU type is the Q06HCPU, the
QJ61BT11N is mounted on the main base and used as the master
station, and 2048 points of RX, 2048 points of RY, 256 points of RWw,
256 points of RWr, 512 points of SB and 512 points of SW are refreshed
besides the file register.
(a) When the block guarantee of cyclic data per station is enabled
RX+RY+SB
E= +RWw+RWr+SW
16
2048+2048+512
= +256+256+512
16
=1312
(b) When the block guarantee of cyclic data per station is not
enabled
KM1+(KM2+KM3) E+(No. of CC-Link modules-1) KM4
5 - 24 5 - 24
5 DATA LINK PROCESSING TIME
MELSEC-Q
E= RX+RX2+RY+RY2+SB +RWw+RWw2+RWr+Rwr2+SW
16
RX : Points of the remote input (RX) refreshed by the master/local station
RX2 : Points of the ver. 2 remote input (RX) refreshed by the master/local
station
RY : Points of the remote output (RY) refreshed by the master/local station
RY2 : Points of the ver. 2 remote output (RY) refreshed by the master/local
station
RWw : Points of the remote register (RWw) refreshed by the master/local
station
RWw2 : Points of the ver. 2 remote register (RWw) refreshed by the master/local
station
RWr : Points of the remote register (RWr) refreshed by the master/local station
RWr2 : Points of the ver. 2 remote register (RWr) refreshed by the master/local
station
SB : Points of the link special relay (SB) refreshed by the master/local station
SW : Points of the link special register (SW) refreshed by the master/local
station
KM1 : Constant
1) Master station
KM1
Constant
With block guarantee of cyclic Without block guarantee of
CPU type
data per station cyclic data per station
Q00JCPU – 1.05
Q00CPU – 0.86
Q01CPU – 0.80
Q02CPU 0.75 0.68
Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU,
Q02PHCPU, Q06PHCPU, Q12PHCPU, 0.30 0.28
Q25PHCPU
Q12PRHCPU, Q25PRHCPU – 0.28
Q00UJCPU, Q00UCPU, Q01UCPU 0.88 0.85
Q02UCPU 0.55 0.43
Q03UDCPU, Q04UDHCPU, Q06UDHCPU,
Q10UDHCPU, Q13UDHCPU, Q20UDHCPU,
Q26UDHCPU, Q03UDECPU, Q04UDEHCPU, 0.25 0.17
Q06UDEHCPU, Q10UDEHCPU,
Q13UDEHCPU, Q20UDEHCPU, Q26UDEHCPU
-: Does not support the block guarantee of cyclic data per station.
5 - 25 5 - 25
5 DATA LINK PROCESSING TIME
MELSEC-Q
1
2) Local station
KM1
Constant With block guarantee of cyclic Without block guarantee of
CPU type data per station function set cyclic data per station function
not set
Q00JCPU – 1.27
Q00CPU – 1.04
Q01CPU – 0.93
Q02CPU 0.94 0.87
Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU,
Q02PHCPU, Q06PHCPU, Q12PHCPU, 0.40 0.38
Q25PHCPU
Q00UJCPU, Q00UCPU, Q01UCPU 0.91 0.85
Q02UCPU 0.73 0.60
Q03UDCPU, Q04UDHCPU, Q06UDHCPU,
Q10UDHCPU, Q13UDHCPU, Q20UDHCPU,
Q26UDHCPU, Q03UDECPU, Q04UDEHCPU, 0.47 0.35
Q06UDEHCPU, Q10UDEHCPU,
Q13UDEHCPU, Q20UDEHCPU, Q26UDEHCPU
-: Does not support the block guarantee of cyclic data per station.
1 For the Q12PRHCPU and Q25PRHCPU, local station setting is not available.
5 - 26 5 - 26
5 DATA LINK PROCESSING TIME
MELSEC-Q
(Example)
When the programmable controller CPU type is the Q06HCPU, the
QJ61BT11N is mounted on the main base and used as the master
station, and 1024 points of RX, 896 points of RX2, 1024 points of RY,
896 points of RY2, 128 points of RWw, 128 points of RWw2, 128 points
of RWr, 128 points of RWr2, 512 points of SB and 512 points of SW are
refreshed besides the file register.
(a) When the block guarantee of cyclic data per station is enabled
RX+RX2+RY+RY2+SB
E= +RWw+RWw2+RWr+RWr2+SW
16
1024+896+1024+896+512
= +128+128+128+128+512
16
= 1296
(b) When the block guarantee of cyclic data per station is not
enabled
KM1+(KM2+KM3)+ E+(No. of CC-Link modules-1) KM4
= 0.28+(0.00043+0) 1296+(1-1) 0.2
= 0.83728
= 0.84 [ms]
5 - 27 5 - 27
5 DATA LINK PROCESSING TIME
MELSEC-Q
5.5.1 Status of the master station, standby master station (when the master station is
operating) and remote I/O station at error occurrence
Table 5.1 lists the operation of the master station, standby master station (when the
master station is operating) and remote I/O station upon the occurrence of an error.
Table 5.1 The status of the master station, standby master station
(when the master station is operating) and remote I/O station at error occurrence
Master station, standby master station
Remote I/O station
(when the master station is operating)
Data link status
Remote output Remote Remote register
Remote input (RX) Input Output
(RY) register (RWw) (RWr)
When data link is stopped due to an error generated
1 1
by the master station programmable controller CPU Continue Continue Hold Continue
(data link continue)
When data link is stopped due to an error generated
2
by the local station programmable controller CPU Continue Continue Continue Continue Continue
(data link continue)
The GX Developer
When data link for Clear Clear
data link faulty By external
the entire system is Undefined Undefined Hold All points OFF
station is set (master signals
stopped Hold Hold
station setting)
Clears the receive area
from the remote I/O
When a Clear Continues Continues
The GX Developer station having a
communication error operation of operation of
data link faulty communication error By external
(power off, etc.) Continue areas other than areas other than All points OFF
station is set (master Retains the receive signals
occurs in a remote the remote I/O the remote I/O
station setting) area from the remote
I/O station Hold station station
I/O station with a
communication error
Clears the receive
Retains the Continue Continue
area from the remote
When a Clear receive area (Not affected by (Not affected by
The GX Developer device station with a
communication error from the remote the the
data link faulty communication error
(power off, etc.) Continue Continue device station communication communication
station is set (master Retains the receive
occurs in a remote with a status of the status of the
station setting) area from the remote
device station Hold communication remote device remote device
device station with a
error station) station)
communication error.
Clears the receive
area from the local Retains the Continue Continue
When a Clear
The GX Developer station with a receive area (Not affected by (Not affected by
communication error
data link faulty communication error from the local the the
(power off, etc.) Continue Continue
station is set (master Retains the receive station with a communication communication
occurs in a local
station setting) area from the local communication status of the status of the
station Hold
station with a error local station) local station)
communication error
1: If parameter setting has been made using the dedicated instructions, the data is
held. If parameter setting has been made using GX Developer, the data is cleared
when the RY refresh device is set to Y, the data is cleared or held when the RY
refresh device is set to other than Y. (See Section 4.3.5.)
2: When the RY refresh device is set to "Y" for the local station that has stopped,
only the receive area is cleared from the stopped local station ; the receive area is
retained or cleared when the RY refresh device is set to other than Y. (See
Section 4.3.5.) Operation continues for the receive areas from other stations.
5 - 28 5 - 28
5 DATA LINK PROCESSING TIME
MELSEC-Q
5.5.2 Status of the remote device station, local station, standby master station (when the
local station is operating) and intelligent device station at error occurrence
Table 5.2 lists the status of the remote device station, local station, standby master station
(when the local station is operating) and intelligent device station at error occurrence.
Table 5.2 The status of the remote device station, local station, standby master station
(when the local station is operating) and intelligent device station at error occurrence
Remote device station, Local station, standby master station
intelligent device station (when local station is operating)
Data link status Remote Remote Remote Remote
Remote Remote Remote Remote output
register register register register
input (RX) output (RY) input (RX) (RY)
(RWw) (RWr) (RWw) (RWr)
When data link is stopped due to an error generated
1
by the master station programmable controller CPU Continue Continue Continue Clear Continue Continue Continue
(data link continue)
When data link is stopped due to an error generated
3
by the local station programmable controller CPU Continue Continue Continue Continue Continue Continue Continue
(data link continue)
Clears the receive
The GX Developer Clear Clear areas from other Retains the
When data link for
data link faulty All points stations receive area
the entire system is Undefined Undefined Undefined Hold
station is set (local OFF Retains the receive from other
stopped
station setting) Hold Hold areas from other stations
stations
Clears the receive
area from a remote
Clear I/O station with a
When a
The GX Developer communication
communication error
data link faulty error
(power off, etc.) Continue Continue Continue Continue Continue Continue Continue
station is set (local Retains the receive
occurs in a remote
station setting) area from a remote
I/O station
Hold I/O station with a
communication
error
Clears the receive
Retains the
area from a remote
receive area
Clear device station with
When a from a
The GX Developer a communication
communication error remote
data link faulty error
(power off, etc.) Undefined Undefined Undefined Undefined Continue device Continue
station is set (local Retains the receive
occurs in a remote station with
station setting) area from a remote
device station a
Hold device station with
communica-
a communication
tion error
error
Clears the receive
area from a local
Retains the
Clear station with a
When a receive area
The GX Developer communication
communication error from a local
data link faulty error
(power off, etc.) Continue Continue Continue Continue Continue station with Continue
station is set (local Retains the receive
occurs in a local a
station setting) area from a local
station communica-
Hold station with a
tion error
communication
error
1: If parameter setting has been made using the dedicated instructions, the data is
held. If parameter setting has been made using GX Developer, the data is clear
when the RY refresh device is set to Y, the data is cleared or held when the RY
refresh device is set to other than Y. (See Section 4.3.5.)
2: When the RY refresh device is set to "Y" for the local station that has stopped,
only the receive area is cleared from the stopped local station; the receive area is
retained or cleared when the RY refresh device is set to other than Y. (See
Section 4.3.5.) Operation continues for the receive areas from other stations.
5 - 29 5 - 29
6 PARAMETER SETTINGS
MELSEC-Q
6 PARAMETER SETTINGS
This chapter explains the parameter settings that are required to perform data link with
the CC-Link.
The following explains the procedure from setting the parameters to starting the data
link.
The following explains the relationship between the CPU parameter area and the
master station's parameter memory.
Power ON
CC-Link system CPU reset CC-Link system
network network
parameter area parameter area
6-1 6-1
6 PARAMETER SETTINGS
MELSEC-Q
6.1.2 Procedure from parameter settings to data link startup with GX Developer
Follow the procedure below from parameter settings to data link startup:
Programmable
GX Developer controller CPU Master station
The GX Developer is used
to create the network CC-Link system
parameters and parameter area Parameter memory
automatic refresh Network Network Network
parameters, which are parameters parameters parameters
then written to the Automatic refresh Automatic refresh
programmable controller parameters parameters
CPU.
6
6.1.3 Procedure from parameter settings to data link startup with dedicated instruction
Follow the procedure below from parameter settings to data link startup:
Programmable
GX Developer is used to GX Developer controller CPU Master station
create the PLC parameters
(I/O assignment setting)
and a sequence program Program memory
(containing the G(P).
RLPASET instruction), PLC parameter PLC parameter Parameter area
which are then written to
Sequence program Sequence program Network
the programmable (G(P).RLPASET instruction) (G(P).RLPASET instruction)
controller CPU. parameter
6-2 6-2
6 PARAMETER SETTINGS
MELSEC-Q
Table 6.1 lists the items to be stored in the master station parameter memory.
Table 6.1 Parameter setting items (1/2)
Standby
Reference Master Local
Setting item Description master
section station station station
Sets the input data status from the data link disorder station.
Data link
Default value : Clear Section
disorder station
Setting range : Hold input data 4.3.4
setting
: Clear
Sets whether slave stations will be refreshed or compulsorily cleared in case of
programmable controller CPU STOP.
Case of CPU Section
Default value : Refresh
STOP setting 4.3.5
Setting range : Refresh
: Clears compulsorily
Block Specifies whether or not to secure cyclic data on a per-station basis.
guarantee of Default value : Disable Section
cyclic data per Setting range : Disable 4.3.8
station Enable
Number of Sets the number of occupied local and standby master stations.
occupied Default value : Occupies 1 station ———
stations Setting range : Occupies 1 to 4 stations
Makes the expanded cyclic setting of the local station.
Expanded Section
Default value : single
cyclic setting 4.4.14
Setting range : single, double, quadruple, octuple
Sets the total number of remote stations, local stations, intelligent device stations
Number of and standby master station that are connected to the master station (including
connected reserved stations). ———
modules Default value : 64 (modules)
Setting range : 1 to 64 (modules)
Sets the number of retries when a communication error occurs.
Number of
Default value : 3 (times) ———
retries
Setting range : 1 to 7 (times)
Sets the total number of remote stations, local stations, intelligent device stations
Number of and standby master station that can be returned to system operation by a single
Section
automatic link scan.
4.3.2
return modules Default value : 1 (module)
Setting range : 1 to 10 (modules)
Standby Specifies the station number of the standby master station.
Section
master station Default value : Blank (no standby master station specified)
4.3.6
specification Setting range : Blank, 1 to 64 (Blank: No standby master station specified)
Specifies the data link status when a master station programmable controller CPU
Operation
error occurs.
specification Section
Default value : Stop
when CPU is 4.3.3
Setting range : Stop
down
: Continue
Specifies either the synchronous or asynchronous mode for sequence scan.
Scan mode Default value : Asynchronous Section
specification Setting range : Asynchronous 4.4.8
: Synchronous
Delay time
Set 0 for the delay time. ———
setting
Specifies the reserved station.
Reserved
Default value : Not specified Section
station
Setting range : Not specified 4.4.6
specification
: Specified
Specifies the error invalid station.
Error invalid
Default value : Not specified Section
station
Setting range : Not specified 4.4.7
specification
: Specified
"Number of exclusive stations" on the screen is described as "Number of occupied stations" in this manual.
"Exclusive station 1" on the screen is described as "Occupies 1 station" in this manual.
6-3 6-3
6 PARAMETER SETTINGS
MELSEC-Q
POINT
(1) For the communication buffer size, specify the size that is calculated by adding
seven words to the data size to be sent or received.
For the automatic update buffer size, specify the size required for each
intelligent device station.
(2) The network parameters other than operational settings and mode setting are
also made valid when the programmable controller CPU is switched from
STOP to RUN.
(3) When changing the parameters and settings of master station or slave station,
stop the data link by the master station and then make the changes.
(4) When changing the parameters and settings of slave station, change the
parameters of master station along with the slave station change.
6-4 6-4
6 PARAMETER SETTINGS
MELSEC-Q
Table 6.2 indicates the reference sections for the detailed explanation of the parameter
setting methods.
Table 6.2
Reference
Mode
section
Remote net ver.1 mode Section 6.3
Parameter setting with Remote net ver.2 mode Section 6.4
GX Developer Remote net additional mode Section 6.5
Remote I/O net mode Section 6.6
Remote net ver.1 mode
Parameter setting with
Remote net ver.2 mode Section 6.7
dedicated instruction
Remote net additional mode
6-5 6-5
6 PARAMETER SETTINGS
MELSEC-Q
6.3 Example of Parameter Settings with GX Developer (Remote net ver.1 mode)
This section explains the parameter settings using the GX Developer. For more details
on the GX Developer operation, refer to the GX Developer Operating Manual.
The explanations in this section are based on the following example of the system
configuration.
Station
number 4 Station
Station Station Station number 9
Master number 1 number 2 Local station number 8 Intelligent
station Remote Remote (occupies Reserved device station
(X/Y00 to 1F) I/O station device station 4 stations) station (occupies
(occupies (occupies (occupies
1 station) 2 station) 1 station)
4 stations)
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
6-6 6-6
6 PARAMETER SETTINGS
MELSEC-Q
(c) Set the Parameter name in "Operational settings." (Even if the Parameter
name is not set, this will not affect the operation of the CC-Link system).
Default value : None
Setting range: 8 characters or less
Example) Set "CC-LinkM".
(d) Set the input status for the data link error station in "Operational settings".
Default value : Clear ("Hold input data" not checked)
Setting range: Hold ("Hold input data" checked)
Clear ("Hold input data" not checked)
Example) Set to Clear ("Hold input data" not checked).
6-7 6-7
6 PARAMETER SETTINGS
MELSEC-Q
(f) Set the block guarantee of cyclic data per station in "Operational settings".
Default value: Disable ("Enable setting" not checked)
Setting range: Disable ("Enable setting" not checked)
Enable ("Enable setting" checked)
Example) Set to Disable ("Enable setting" not checked).
(i) Set the total number of connected stations in the CC-Link system including
reserved stations for "All connect count".
Default value : 64 (modules)
Setting range: 1 to 64 (modules)
Example) Set to 5 (modules).
(j) Set the number of retries for "Retry count", when a communication error
occurs.
Default value : 3 (times)
Setting range: 1 to 7 (times)
Example) Set to 5 (times).
6-8 6-8
6 PARAMETER SETTINGS
MELSEC-Q
(k) Set the number of modules that can return to system operation by a single
link scan for "Automatic reconnection station count".
Default value : 1 (module)
Setting range: 1 to 10 (modules)
Example) Set to 2 (modules).
(l) Set the station number for the standby master station for "Standby master
station No.".
Default value : Blank (No standby master station specified)
Setting range: Blank, 1 to 64 (Blank: No standby master station
specified)
Example) Set to blank (No standby master station specified).
(m) Set the data link status for "PLC down select", when a master station
programmable controller CPU error occurs.
Default value : Stop
Setting range: Stop
Continue
Example) Set to Stop.
(n) Set whether the link scan for the sequence scan is synchronous or
asynchronous for "Scan mode setting".
Default value : Asynchronous
Setting range: Asynchronous
Synchronous
Example) Set to Asynchronous.
6-9 6-9
6 PARAMETER SETTINGS
MELSEC-Q
6 - 10 6 - 10
6 PARAMETER SETTINGS
MELSEC-Q
(3) The following shows the results of the communication buffer and automatic update
buffer assignments.
1000H First module (station number 4) 2000H First module (station number 4)
Intelligent device station Intelligent device station
Send buffer Automatic update buffer
103FH 207FH
1040H First module(station number 4) 2080H Second module (station number 9)
Intelligent device station Intelligent device station
Receive buffer Automatic update buffer
107FH 20FFH
1080H Second module (station number 9)
Intelligent device station
Send buffer
10BFH
10C0H Second module (station number 9)
Intelligent device station
Receive buffer
10FFH
6 - 11 6 - 11
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following shows an example of the parameter settings. See (2) for actual
settings.
(2) Set the automatic refresh parameters using the following procedure.
(a) Set the remote input (RX) refresh device for "Remote input (RX)".
Default value : None
Setting range: Device name - Select from X, M, L, B, D, W, R or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to X1000.
(b) Set the remote output (RY) refresh device for "Remote output (RY)".
Default value : None
Setting range: Device name - Select from Y, M, L, B, T, C, ST, D,
W, R or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to Y1000.
(c) Set the remote register (RWr) refresh device for "Remote register (RWr)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W0.
6 - 12 6 - 12
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the remote register (RWw) refresh device for "Remote register (RWw)".
Default value : None
Setting range: Device name - Select from M, L, B, T, C, ST, D, W,
R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W100.
(e) Set the link special relay (SB) refresh device for "Special relay (SB)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SB or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SB0.
(f) Set the link special register (SW) refresh device for "Special register (SW)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SW or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SW0.
POINT
(1) For the automatic refresh parameter setting, set the start device only. Devices
are automatically assigned until the last station number including reserved
stations and occupied stations.
In the example of the system configuration in this section, the last station
number is "12". Therefore, total of remote I/O points is 384 points (32 x 12 =
384) and total of remote register points is 48 points (4 x 12 = 48). If refresh
device of remote input (RX) is set to "X1000" and that of remote register (RWr)
is set to "W0", the end devices will be "X117F" and "W2F" respectively.
(2) When setting X, Y, B, W, SB and SW as refresh devices, make setting so that
they do not overlap with the device numbers used on the other networks, etc.
6 - 13 6 - 13
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
(a) Set the "No. of boards in module " for which the network parameters are to be
set.
Default value : None
Setting range: 0 to 8 (Boards)
Example) Set 1 (Board).
(b) Set the "Start I/O No." for the local station.
Default value : None
Setting range: 0000 to 0FE0
Example) Set 0000.
(c) Set the station type for "Type".
Default value : Master station
Setting range: Master station
Master station (Duplex function)
Local station
Standby master station
Example) Set to Local station.
6 - 14 6 - 14
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the Parameter name in "Operational settings". (Even if the Parameter
name is not set, this will not affect the operation of the CC-Link system).
Default value : None
Setting range: 8 characters or less
Example) Set "CC-LinkL".
(e) Set the input status for the data link error station in "Operational settings".
Default value : Clear ("Hold input data" not checked)
Setting range: Hold ("Hold input data" checked)
Clear ("Hold input data" not checked)
Example) Set to Clear ("Hold input data" not checked).
6 - 15 6 - 15
6 PARAMETER SETTINGS
MELSEC-Q
(g) Set the number of occupied local stations in "Number of occupied stations".
Default value : Occupies 1 station
Setting range: Occupies 1 station
Occupies 2 stations
Occupies 3 stations
Occupies 4 stations
Example) Set to Occupies 4 stations
(h) Set the block guarantee of cyclic data per station in "Operational settings".
Default value: Disable ("Enable setting" not checked)
Setting range: Disable ("Enable setting" not checked)
Enable ("Enable setting" checked)
Example) Set to Disable ("Enable setting" not checked).
6 - 16 6 - 16
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
(2) Set the automatic refresh parameters using the following procedure.
(a) Set the remote input (RX) refresh device for "Remote input (RX)".
Default value : None
Setting range: Device name - Select from X, M, L, B, D, W, R or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to X1000.
(b) Set the remote output (RY) refresh device for "Remote output (RY)".
Default value : None
Setting range: Device name - Select from Y, M, L, B, T, C, ST, D,
W, R or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to Y1000.
(c) Set the remote register (RWr) refresh device for "Remote register (RWr)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W0.
6 - 17 6 - 17
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the remote register (RWw) refresh device for "Remote register (RWw)".
Default value : None
Setting range: Device name - Select from M, L, B, T, C, ST, D, W,
R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W100.
(e) Set the link special relay (SB) refresh device for "Special relay (SB)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SB or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SB0.
(f) Set the link special register (SW) refresh device for "Special register (SW)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SW or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SW0.
POINT
(1) For the automatic refresh parameter setting, set the start device only. Devices
are automatically assigned until the last station number including reserved
stations and occupied stations.
In the example of the system configuration in this section, the last station
number is "12". Therefore, total of remote I/O points is 384 points (32 x 12 =
384) and total of remote register points is 48 points (4 x 12 = 48). If refresh
device of remote input (RX) is set to "X1000" and that of remote register (RWr)
is set to "W0", the end devices will be "X117F" and "W2F" respectively.
(2) When setting X, Y, B, W, SB and SW as refresh devices, make setting so that
they do not overlap with the device numbers used on the other networks, etc.
6 - 18 6 - 18
6 PARAMETER SETTINGS
MELSEC-Q
6.4 Example of Parameter Settings with GX Developer (Remote net ver.2 mode)
This section explains the parameter settings using the GX Developer. For more details
on the GX Developer operation, refer to the GX Developer Operating Manual.
The explanations in this section are based on the following example of the system
configuration.
Station Station Station
number 2 number 4 number 9
Station Ver. 2 Ver. 2 Station Ver. 1
compatible compatible compatible
Master number 1 remote device number 8
local station intelligent
station Remote station (occupies 4 Reserved device station
(X/Y00 to 1F) I/O station (occupies 2 station
stations) stations) (occupies 4
(occupies double (occupies stations)
1 station) quadruple 1 station)
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
6 - 19 6 - 19
6 PARAMETER SETTINGS
MELSEC-Q
(c) Set the Parameter name in "Operational settings." (Even if the Parameter
name is not set, this will not affect the operation of the CC-Link system).
Default value : None
Setting range: 8 characters or less
Example) Set "CC-LinkM".
(d) Set the input status for the data link error station in "Operational settings".
Default value : Clear ("Hold input data" not checked)
Setting range: Hold ("Hold input data" checked)
Clear ("Hold input data" not checked)
Example) Set to Clear ("Hold input data" not checked).
6 - 20 6 - 20
6 PARAMETER SETTINGS
MELSEC-Q
(f) Set the block guarantee of cyclic data per station in "Operational settings".
Default value: Disable ("Enable setting" not checked)
Setting range: Disable ("Enable setting" not checked)
Enable ("Enable setting" checked)
Example) Set to Disable ("Enable setting" not checked).
(i) Set the total number of connected stations in the CC-Link system including
reserved stations for "All connect count".
Default value : 64 (modules)
Setting range: 1 to 64 (modules)
Example) Set to 5 (modules).
(j) Set the number of retries for "Retry count", when a communication error
occurs.
Default value : 3 (times)
Setting range: 1 to 7 (times)
Example) Set to 5 (times).
6 - 21 6 - 21
6 PARAMETER SETTINGS
MELSEC-Q
(k) Set the number of modules that can return to system operation by a single
link scan for "Automatic reconnection station count".
Default value : 1 (module)
Setting range: 1 to 10 (modules)
Example) Set to 2 (modules).
(l) Set the station number for the standby master station for "Standby master
station No.".
Default value : Blank (No standby master station specified)
Setting range: Blank, 1 to 64 (Blank: No standby master station
specified)
Example) Set to blank (No standby master station specified).
(m) Set the data link status for "PLC down select", when a master station
programmable controller CPU error occurs.
Default value : Stop
Setting range: Stop
Continue
Example) Set to Stop.
(n) Set whether the link scan for the sequence scan is synchronous or
asynchronous for "Scan mode setting".
Default value : Asynchronous
Setting range: Asynchronous
Synchronous
Example) Set to Asynchronous.
6 - 22 6 - 22
6 PARAMETER SETTINGS
MELSEC-Q
6 - 23 6 - 23
6 PARAMETER SETTINGS
MELSEC-Q
(3) The following shows the results of the communication buffer and automatic update
buffer assignments.
1000H First module (station number 4) 2000H First module (station number 4)
Intelligent device station Intelligent device station
Send buffer Automatic update buffer
103FH 207FH
1040H First module(station number 4) 2080H Second module (station number 9)
Intelligent device station Intelligent device station
Receive buffer Automatic update buffer
107FH 20FFH
1080H Second module (station number 9)
Intelligent device station
Send buffer
10BFH
10C0H Second module (station number 9)
Intelligent device station
Receive buffer
10FFH
6 - 24 6 - 24
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following shows an example of the parameter settings. See (2) for actual
settings.
(2) Set the automatic refresh parameters using the following procedure.
(a) Set the remote input (RX) refresh device for "Remote input (RX)".
Default value : None
Setting range: Device name - Select from X, M, L, B, D, W, R or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to X1000.
(b) Set the remote output (RY) refresh device for "Remote output (RY)".
Default value : None
Setting range: Device name - Select from Y, M, L, B, T, C, ST, D,
W, R or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to Y1000.
(c) Set the remote register (RWr) refresh device for "Remote register (RWr)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W0.
6 - 25 6 - 25
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the remote register (RWw) refresh device for "Remote register (RWw)".
Default value : None
Setting range: Device name - Select from M, L, B, T, C, ST, D, W,
R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W1000.
(e) Set the link special relay (SB) refresh device for "Special relay (SB)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SB or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SB0.
(f) Set the link special register (SW) refresh device for "Special register (SW)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SW or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SW0.
POINT
(1) For the automatic refresh parameter setting, set the start device only. Devices
are automatically assigned until the last station number including reserved
stations and occupied stations.
In the example of the system configuration in this section, total of remote I/O
points is 608 points and total of remote register points is 88 points.
If refresh device of remote input (RX) is set to "X1000" and that of remote
register (RWr) is set to "W0", the end devices will be "X125F" and "W57"
respectively.
For link points of each station, refer to the table 3.2.
(2) When setting X, Y, B, W, SB and SW as refresh devices, make setting so that
they do not overlap with the device numbers used on the other networks, etc.
6 - 26 6 - 26
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
(a) Set the "No. of boards in module" for which the network parameters are to be
set.
Default value : None
Setting range: 0 to 8 (Boards)
Example) Set 1 (Board).
(b) Set the "Start I/O No." for the local station.
Default value : None
Setting range: 0000 to 0FE0
Example) Set 0000.
(c) Set the station type for "Type".
Default value : Master station
Setting range: Master station
Master station (Duplex function)
Local station
Standby master station
Example) Set to Local station.
6 - 27 6 - 27
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the Parameter name in "Operational settings". (Even if the Parameter
name is not set, this will not affect the operation of the CC-Link system).
Default value : None
Setting range: 8 characters or less
Example) Set "CC-LinkL".
(e) Set the input status for the data link error station in "Operational settings".
Default value : Clear ("Hold input data" not checked)
Setting range: Hold ("Hold input data" checked)
Clear ("Hold input data" not checked)
Example) Set to Clear ("Hold input data" not checked).
6 - 28 6 - 28
6 PARAMETER SETTINGS
MELSEC-Q
(g) Set the number of occupied local stations in "Number of occupied stations".
Default value : Occupies 1 station
Setting range: Occupies 1 station
Occupies 2 stations
Occupies 3 stations
Occupies 4 stations
Example) Set to Occupies 4 stations
(h) Set the expanded cyclic setting of the local station in "Expanded cyclic
setting".
Default value : single
Setting range: single
double
quadruple
octuple
Example) Set to double.
6 - 29 6 - 29
6 PARAMETER SETTINGS
MELSEC-Q
(i) Set the block guarantee of cyclic data per station in "Operational settings".
Default value: Disable ("Enable setting" not checked)
Setting range: Disable ("Enable setting" not checked)
Enable ("Enable setting" checked)
Example) Set to Disable ("Enable setting" not checked).
6 - 30 6 - 30
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
(2) Set the automatic refresh parameters using the following procedure.
(a) Set the remote input (RX) refresh device for "Remote input (RX)".
Default value : None
Setting range: Device name - Select from X, M, L, B, D, W, R or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to X1000.
(b) Set the remote output (RY) refresh device for "Remote output (RY)".
Default value : None
Setting range: Device name - Select from Y, M, L, B, T, C, ST, D,
W, R or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to Y1000.
(c) Set the remote register (RWr) refresh device for "Remote register (RWr)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W0.
6 - 31 6 - 31
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the remote register (RWw) refresh device for "Remote register (RWw)".
Default value : None
Setting range: Device name - Select from M, L, B, T, C, ST, D, W,
R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W1000.
(e) Set the link special relay (SB) refresh device for "Special relay (SB)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SB or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SB0.
(f) Set the link special register (SW) refresh device for "Special register (SW)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SW or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SW0.
POINT
(1) For the automatic refresh parameter setting, set the start device only. Devices
are automatically assigned until the last station number including reserved
stations and occupied stations.
In the example of the system configuration in this section, total of remote I/O
points is 608 points and total of remote register points is 88 points.
If refresh device of remote input (RX) is set to "X1000" and that of remote
register (RWr) is set to "W0", the end devices will be "X125F" and "W57"
respectively.
For link points of each station, refer to the table 3.2.
(2) When setting X, Y, B, W, SB and SW as refresh devices, make setting so that
they do not overlap with the device numbers used on the other networks, etc.
6 - 32 6 - 32
6 PARAMETER SETTINGS
MELSEC-Q
6.5 Example of Parameter Settings with GX Developer (Remote net additional mode)
This section explains the parameter settings using the GX Developer. For more details
on the GX Developer operation, refer to the GX Developer Operating Manual.
The explanations in this section are based on the following example of the system
configuration.
Station Station Station Station
number 2 number 4 number 8 number 9
Ver. 1 Ver. 2 Ver. 2
Station Ver. 2 compatible
compatible compatible remote device compatible
Master number 1 remote device station intelligent
local station
station Remote station (occupies 4 Reserved device station
(X/Y00 to 1F) I/O station (occupies 2 station (occupies 4
stations) stations) (occupies stations)
(occupies double 1 station)
1 station) quadruple octuple
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
6 - 33 6 - 33
6 PARAMETER SETTINGS
MELSEC-Q
(c) Set the Parameter name in "Operational settings." (Even if the Parameter
name is not set, this will not affect the operation of the CC-Link system).
Default value : None
Setting range: 8 characters or less
Example) Set "CC-LinkM".
(d) Set the input status for the data link error station in "Operational settings".
Default value : Clear ("Hold input data" not checked)
Setting range: Hold ("Hold input data" checked)
Clear ("Hold input data" not checked)
Example) Set to Clear ("Hold input data" not checked).
6 - 34 6 - 34
6 PARAMETER SETTINGS
MELSEC-Q
(f) Set the block guarantee of cyclic data per station in "Operational settings".
Default value: Disable ("Enable setting" not checked)
Setting range: Disable ("Enable setting" not checked)
Enable ("Enable setting" checked)
Example) Set to Disable ("Enable setting" not checked).
(i) Set the total number of connected stations in the CC-Link system including
reserved stations for "All connect count".
Default value : 64 (modules)
Setting range: 1 to 64 (modules)
Example) Set to 5 (modules).
(j) Set the number of retries for "Retry count", when a communication error
occurs.
Default value : 3 (times)
Setting range: 1 to 7 (times)
Example) Set to 5 (times).
6 - 35 6 - 35
6 PARAMETER SETTINGS
MELSEC-Q
(k) Set the number of modules that can return to system operation by a single
link scan for "Automatic reconnection station count".
Default value : 1 (module)
Setting range: 1 to 10 (modules)
Example) Set to 2 (modules).
(l) Set the station number for the standby master station for "Standby master
station No.".
Default value : Blank (No standby master station specified)
Setting range: Blank, 1 to 64 (Blank: No standby master station
specified)
Example) Set to blank (No standby master station specified).
(m) Set the data link status for "PLC down select", when a master station
programmable controller CPU error occurs.
Default value : Stop
Setting range: Stop
Continue
Example) Set to Stop.
(n) Set whether the link scan for the sequence scan is synchronous or
asynchronous for "Scan mode setting".
Default value : Asynchronous
Setting range: Asynchronous
Synchronous
Example) Set to Asynchronous.
6 - 36 6 - 36
6 PARAMETER SETTINGS
MELSEC-Q
6 - 37 6 - 37
6 PARAMETER SETTINGS
MELSEC-Q
(3) The following shows the results of the communication buffer and automatic update
buffer assignments.
1000H First module (station number 4) 2000H First module (station number 4)
Intelligent device station Intelligent device station
Send buffer Automatic update buffer
103FH 207FH
1040H First module(station number 4) 2080H Second module (station number 9)
Intelligent device station Intelligent device station
Receive buffer Automatic update buffer
107FH 20FFH
1080H Second module (station number 9)
Intelligent device station
Send buffer
10BFH
10C0H Second module (station number 9)
Intelligent device station
Receive buffer
10FFH
6 - 38 6 - 38
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following shows an example of the parameter settings. See (2) for actual
settings.
(2) Set the automatic refresh parameters using the following procedure.
(a) Set the remote input (RX) refresh device for "Remote input (RX)".
Default value : None
Setting range: Device name - Select from X, M, L, B, D, W, R or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to X1000.
(b) Set the remote output (RY) refresh device for "Remote output (RY)".
Default value : None
Setting range: Device name - Select from Y, M, L, B, T, C, ST, D,
W, R or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to Y1000.
(c) Set the remote register (RWr) refresh device for "Remote register (RWr)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W0.
6 - 39 6 - 39
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the remote register (RWw) refresh device for "Remote register (RWw)".
Default value : None
Setting range: Device name - Select from M, L, B, T, C, ST, D, W,
R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W100.
(e) Set the ver. 2 compatible remote input (RX) refresh device for "Ver. 2 remote
input (RX)".
Default value : None
Setting range: Device name - Select from X, M, L, B, D, W, R or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to X1500.
(f) Set the ver. 2 compatible remote output (RY) refresh device for "Ver. 2 remote
output (RY)".
Default value : None
Setting range: Device name - Select from Y, M, L, B, T, C, ST, D,
W, R or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to Y1500.
(g) Set the ver. 2 compatible remote register (RWr) refresh device for "Ver. 2
remote register (RWr)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W1000.
(h) Set the ver. 2 compatible remote register (RWw) refresh device for "Ver. 2
remote register (RWw)".
Default value : None
Setting range: Device name - Select from M, L, B, T, C, ST, D, W,
R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W1500.
(i) Set the link special relay (SB) refresh device for "Special relay (SB)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SB or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SB0.
6 - 40 6 - 40
6 PARAMETER SETTINGS
MELSEC-Q
(j) Set the link special register (SW) refresh device for "Special register (SW)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SW or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SW0.
POINT
(1) For the automatic refresh parameter setting, set the start device only. Devices
are automatically assigned until the last station number including reserved
stations and occupied stations.
In the example of the system configuration in this section, total of remote I/O
points is 96 points, total of remote register points is 12 points, total of Ver.2
compatible remote I/O points is 1184 points, and total of Ver.2 compatible
remote register points is 176 points.
If refresh devices of remote input (RX), remote register (RWr), Ver.2 compatible
remote input (RX) and Ver.2 compatible remote register (RWr) are set to
"X1000", "W0", "X1500", and "W1000" respectively, the end devices will be
"X105F", "WB", "X199F", and "W10AF".
For link points of each station, refer to the table 3.2.
(2) When setting X, Y, B, W, SB and SW as refresh devices, make setting so that
they do not overlap with the device numbers used on the other networks, etc.
6 - 41 6 - 41
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
(a) Set the "No. of boards in Boards" for which the network parameters are to be
set.
Default value : None
Setting range: 0 to 8 (Boards)
Example) Set 1 (Board).
(b) Set the "Start I/O No." for the local station.
Default value : None
Setting range: 0000 to 0FE0
Example) Set 0000.
(c) Set the station type for "Type".
Default value : Master station
Setting range: Master station
Master station (Duplex function)
Local station
Standby master station
Example) Set to Local station.
6 - 42 6 - 42
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the Parameter name in "Operational settings". (Even if the Parameter
name is not set, this will not affect the operation of the CC-Link system).
Default value : None
Setting range: 8 characters or less
Example) Set "CC-LinkL".
(e) Set the input status for the data link error station in "Operational settings".
Default value : Clear ("Hold input data" not checked)
Setting range: Hold ("Hold input data" checked)
Clear ("Hold input data" not checked)
Example) Set to Clear ("Hold input data" not checked).
6 - 43 6 - 43
6 PARAMETER SETTINGS
MELSEC-Q
(g) Set the number of occupied local stations in "Number of occupied stations".
Default value : Occupies 1 station
Setting range: Occupies 1 station
Occupies 2 stations
Occupies 3 stations
Occupies 4 stations
Example) Set to Occupies 4 stations
(h) Set the expanded cyclic setting of the local station in "Expanded cyclic
setting".
Default value : single
Setting range: single
double
quadruple
octuple
Example) Set to double.
6 - 44 6 - 44
6 PARAMETER SETTINGS
MELSEC-Q
(h) Set the block guarantee of cyclic data per station in "Operational settings".
Default value: Disable ("Enable setting" not checked)
Setting range: Disable ("Enable setting" not checked)
Enable ("Enable setting" checked)
Example) Set to Disable ("Enable setting" not checked).
6 - 45 6 - 45
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
(2) Set the automatic refresh parameters using the following procedure.
(a) Set the remote input (RX) refresh device for "Remote input (RX)".
Default value : None
Setting range: Device name - Select from X, M, L, B, D, W, R or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to X1000.
(b) Set the remote output (RY) refresh device for "Remote output (RY)".
Default value : None
Setting range: Device name - Select from Y, M, L, B, T, C, ST, D,
W, R or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to Y1000.
(c) Set the remote register (RWr) refresh device for "Remote register (RWr)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W0.
6 - 46 6 - 46
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the remote register (RWw) refresh device for "Remote register (RWw)".
Default value : None
Setting range: Device name - Select from M, L, B, T, C, ST, D, W,
R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W100.
(e) Set the ver. 2 compatible remote input (RX) refresh device for "Ver. 2 remote
input (RX)".
Default value : None
Setting range: Device name - Select from X, M, L, B, D, W, R or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to X1500.
(f) Set the ver. 2 compatible remote output (RY) refresh device for "Ver. 2 remote
output (RY)".
Default value : None
Setting range: Device name - Select from Y, M, L, B, T, C, ST, D,
W, R or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to Y1500.
(g) Set the ver. 2 compatible remote register (RWr) refresh device for "Ver. 2
remote register (RWr)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W1000.
(h) Set the ver. 2 compatible remote register (RWw) refresh device for "Ver. 2
remote register (RWw)".
Default value : None
Setting range: Device name - Select from M, L, B, T, C, ST, D, W,
R, or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to W1500.
(i) Set the link special relay (SB) refresh device for "Special relay (SB)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SB or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SB0.
6 - 47 6 - 47
6 PARAMETER SETTINGS
MELSEC-Q
(j) Set the link special register (SW) refresh device for "Special register (SW)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SW or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SW0.
POINT
(1) For the automatic refresh parameter setting, set the start device only. Devices
are automatically assigned until the last station number including reserved
stations and occupied stations.
In the example of the system configuration in this section, total of remote I/O
points is 96 points, total of remote register points is 12 points, total of Ver.2
compatible remote I/O points is 1184 points, and total of Ver.2 compatible
remote register points is 176 points.
If refresh devices of remote input (RX), remote register (RWr), Ver.2 compatible
remote input (RX) and Ver.2 compatible remote register (RWr) are set to
"X1000", "W0", "X1500", and "W1000" respectively, the end devices will be
"X105F", "WB", "X199F", and "W10AF".
For link points of each station, refer to the table 3.2.
(2) When setting X, Y, B, W, SB and SW as refresh devices, make setting so that
they do not overlap with the device numbers used on the other networks, etc.
6 - 48 6 - 48
6 PARAMETER SETTINGS
MELSEC-Q
6.6 Example of Parameter Settings with GX Developer (Remote I/O net mode)
This section explains the parameter settings using the GX Developer. For more details
on the GX Developer operation, refer to the GX Developer Operating Manual.
The explanations in this section are based on the following example of the system
configuration.
(1) The following describes an example of the parameter settings. See (2) for actual
settings.
6 - 49 6 - 49
6 PARAMETER SETTINGS
MELSEC-Q
(c) Set the Parameter name in "Operational settings." (Even if the Parameter
name is not set, this will not affect the operation of the CC-Link system).
Default value : None
Setting range: 8 characters or less
Example) Set "CC-LinkM".
(d) Set the input status for the data link error station in "Operational settings".
Default value : Clear ("Hold input data" not checked)
Setting range: Hold ("Hold input data" checked)
Clear ("Hold input data" not checked)
Example) Set to Clear ("Hold input data" not checked).
6 - 50 6 - 50
6 PARAMETER SETTINGS
MELSEC-Q
(f) Set the block guarantee of cyclic data per station in "Operational settings".
Default value: Disable ("Enable setting" not checked)
Setting range: Disable ("Enable setting" not checked)
Enable ("Enable setting" checked)
Example) Set to Disable ("Enable setting" not checked).
(i) Set the data link status for "PLC down select", when a master station
programmable controller CPU error occurs.
Default value : Stop
Setting range: Stop
Continue
Example) Set to Stop.
(j) Set whether the link scan for the sequence scan is synchronous or
asynchronous for "Scan mode setting".
Default value : Asynchronous
Setting range: Asynchronous
Synchronous
Example) Set to Asynchronous.
6 - 51 6 - 51
6 PARAMETER SETTINGS
MELSEC-Q
(1) The following shows an example of the parameter settings. See (2) for actual
settings.
(2) Set the automatic refresh parameters using the following procedure.
(a) Set the remote input (RX) refresh device for "Remote input (RX)".
Default value : None
Setting range: Device name - Select from X, M, L, B, D, W, R or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to X1000.
(b) Set the remote output (RY) refresh device for "Remote output (RY)".
Default value : None
Setting range: Device name - Select from Y, M, L, B, T, C, ST, D,
W, R or ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to Y1000.
(c) Set the link special relay (SB) refresh device for "Special relay (SB)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SB or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SB0.
6 - 52 6 - 52
6 PARAMETER SETTINGS
MELSEC-Q
(d) Set the link special register (SW) refresh device for "Special register (SW)".
Default value : None
Setting range: Device name - Select from M, L, B, D, W, R, SW or
ZR.
Device number - Within the range of the device
points that the CPU has.
Example) Set to SW0.
POINT
(1) For the automatic refresh parameter setting, set the start device only.
Devices are automatically assigned until the last station number.
In the example of the system configuration in this section, the last station
number is "5". Therefore, total of remote I/O points is 160 points (32 x 5 = 160).
If refresh device of remote input (RX) is set to "X1000", the end device will be
"X109F".
For link points of each station, refer to the table 3.2.
(2) When setting X, Y, B, W, SB and SW as refresh devices, make setting so that
they do not overlap with the device numbers used on the other networks, etc.
6 - 53 6 - 53
6 PARAMETER SETTINGS
MELSEC-Q
This section explains the parameter setting with the G(P).RLPASET instruction. For
more details on the GX Developer operation, refer to the GX Developer Operational
Manual. The explanations in this section are based on the following example of the
system configuration.
Station number 1
POINT
Do not use GX Developer for setting the network parameters, if the network
parameters of all the modules are set by the G(P).RLPASET instruction.
Change the "No. of boards in module" setting to blank if the network parameters
have been already set by GX Developer.
Moreover, in case a system includes both a module for which the network
parameters are set by GX Developer and a module for which the network
parameters are set by the G(P).RLPASET instruction, the module for which the
network parameters are set by the G(P).RLPASET instruction should not be
included in the "No. of boards in module" setting of GX Developer.
6 - 54 6 - 54
6 PARAMETER SETTINGS
MELSEC-Q
6 - 55 6 - 55
6 PARAMETER SETTINGS
MELSEC-Q
G(P).RLPASET instruction
· Control data
6 - 56 6 - 56
6 PARAMETER SETTINGS
MELSEC-Q
Dedicated instruction
(G(P).RLPASET)
Processing at completion of the G(P).RLPASET instruction
G(P).RLPASET instruction
· Control data
6 - 57 6 - 57
6 PARAMETER SETTINGS
MELSEC-Q
Refresh of RX
RX00 to RX5F are read to
X1000 to X105F.
Refresh of RWr
RXr0 to RWr3 are read to
D1000 to D1003.
Station number 1 control program
Refresh of SB/SW
6 - 58 6 - 58
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
The following describes the procedure from the module installation to the CC-Link data
link startup.
Start
*1 Only for the High Performance model QCPU and Process CPU.
7-1 7-1
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
Set the programmable controller CPU switch Set the programmable controller CPU switch
from "RESET" to "Middle position" or turn the from "RESET" to "Middle position" or turn the
power from OFF to ON power from OFF to ON
7
Check operation using the LED display
(master station):
When data link is normal: L RUN LED is lit
When the data link is faulty: L ERR LED is lit
System operation
End
7-2 7-2
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
7.2 Installation
The following section explains the precautions when handling the master and local
modules, from the time they are unpacked until they are installed.
For more details on the module installation, see the user's manual for the CPU module
used.
(1) Do not drop the module case or subject it to heavy impact since it is made of
resin.
(2) Do not remove the PCB of each module from its case. This may cause a
failure in the module.
(3) Prevent foreign matter such as dust or wire chips from entering the module.
Such foreign matter can cause a fire, failure, or malfunction.
(4) A protective film is attached to the top of the module to prevent foreign
matter, such as wire chips from entering the module during wiring. Do not
remove this film until the wiring is complete. Remove it for heat dissipation
before system operation.
(5) Solderless terminals with insulation sleeve cannot be used for the terminal
block. It is recommended that the wiring connecting sections of the
solderless terminals will be covered with a marking tube or an insulation
tube.
(6) Before handling the module, touch a grounded metal object to discharge the
static electricity from the human body.
Failure to do so may cause the module to rail or malfunction.
(7) Tighten the module fixing screws and terminal screws within the following
torque ranges.
Screw location Tightening torque range
*1
Module fixing screws (M3 screws) 0.36 to 0.48 N · m
Terminal block screws (M3 screws) 0.42 to 0.58 N · m
Terminal block mounting screws (M3.5 screws) 0.66 to 0.89 N · m
*1 The module can be easily fixed onto the base unit using the hook at the top of the module.
However, it is recommended to secure the module with the module fixing screw if the module is
subject to significant vibration or shock.
(8) To mount the module on the base unit, fully insert the module fixing latch
into the fixing hole in the base unit and press the module using the hole as a
fulcrum. Improper installation may result in a module malfunction, or may
cause the module to fall off.
POINT
(1) Be sure to turn off the power supply to the applicable station before installing or
removing the terminal block.
If the terminal block is installed or removed without turning off the power supply
to the applicable station, correct data transmission cannot be guaranteed.
(2) Always make sure to power off the system in advance when removing the
terminating resistor to charge the system. If the terminating resistor is removed
and mounted while the system is energized, normal data transmission will not
be guaranteed
7-3 7-3
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
For further details, see the user's manual for the CPU module used.
The following section describes the parts names of the master and local modules, and
the contents of the LED display and switch settings.
1)
2)
3)
4)
5)
7-4 7-4
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
"MST" and "S MST" LED indicator lamp status and station types
Operation status
Type of station set Operating as a master station Operating as a standby master
(controlling data link) station (standing by)
Master station MST S MST MST S MST
Standby master station MST S MST MST S MST
Local station ——— ———
: On, : Off
7-5 7-5
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
(FG)
DG
POINT
The settings of the station number setting switch and the transmission speed/mode
setting switch become valid when the module power is turned from OFF to ON or
the programmable controller CPU is reset. Thus, if the settings were changed while
the module power was ON, turn the module power from OFF to ON or reset the
programmable controller CPU again.
7-6 7-6
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
The hardware test checks whether or not each module works properly by itself. Always
perform this hardware test before configuring the system and for each module by itself
without connecting the cable. Otherwise, the hardware test will not be executed
properly.
Start
Power ON
*1 Only for the High Performance model QCPU, Process CPU, and C Controller module.
7-7 7-7
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
[When abnormal]
The "MST" LED lights up and the "ERR."
LED flashes.
End
POINT
When the switch of the programmable controller CPU is set to "RUN" and a
hardware test is performed, the system status become SP. UNIT DOWN and the
programmable controller CPU stops to check the operation of the watch dog timer
function. Make sure that the switch of the programmable controller CPU is set to
"STOP" and then perform the hardware test.
7-8 7-8
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
This section explains how to connect the master module, local modules, standby
master module, remote modules and intelligent device modules with the CC-Link
dedicated cables.
(3) Connect the shielded wire of the CC-Link dedicated cable to "SLD" of each
module, and ground both ends of the shielded wire using D type grounding via
"FG".
The SLD and FG are connected within the module.
(4) Connect the supplied "terminal resistors" to each module at both ends of the CC-
Link system.
Connect the terminal resistors between "DA" and "DB".
There are restrictions on the case where the A(1S)J61BT11/A(1S)J61QBT11 is
used as the master station in a T-branch system configuration. Refer to Section
7.6.1 for details.
(5) The terminal resistors to be connected vary depending on the types of cables
used in the CC-Link system.
Cable type Terminal resister
CC-Link dedicated cable
110 Ω 1/2 W (brown - brown – brown)
Version 1.10 compatible CC-Link dedicated cable
CC-Link dedicated high-performance cable 130 Ω 1/2 W (brown - orange – brown)
(6) The master module can be connected at points other than both ends.
7-9 7-9
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
The following explains how to check the wiring status between the remote I/O and
external devices.
Master station
AJ65BTB1-16D AJ65BTB1-16T
Input module Output module
X00 ON
ON
Y00
(a) Checking the wiring between the input module and an external device
(b) Checking the wiring between the output module and an external device
1) Using the GX Developer, set "Y1020" in the "Device:" field for the "Bit
device" by choosing "Online" - "Debug" - "Device test" and then click on
"FORCE ON".
2) If the connection between the output module and external device is
properly performed, the indicator lamp corresponding to the external
device "Y00" is lit.
POINT
If X corresponding to the switch does not turn on or the lamp corresponding to Y
does not turn on, confirm the slave station offset, size information (buffer memory
address 3E0H, Un\G992) to check the RX/RY/RWw/RWr assignment status of the
module.
7 - 10 7 - 10
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
T-branch terminal
block/connector
(Main line)
Local station/
Remote I/O station/ Master Remote I/O station/ intelligent
remote device station station remote device station device station
When the model name and hardware version of the master module are as indicated
below in a T-branch system configuration, change the terminating resistor connection
method as described below.
When using the other master module, connect the terminating resistor packed with the
product.
AJ61BT11 : Hardware version C or earlier
AJ61QBT11 : Hardware version C or earlier
A1SJ61BT11 : Hardware version D or earlier
A1SJ61QBT11 : Hardware version D or earlier
7 - 11 7 - 11
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
7 - 12 7 - 12
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
The following explains how to set the station numbers for the master station, local
station, standby master station, remote station and intelligent device station.
For details on the station number setting switches, see Section 7.3.
[Setting example] When station numbers are specified by skipping one station
number
3) Standby 5) Local
Master master station
station station (occupies
Station number "1" Station number "2" (occupies Station number "9" 1 station)
4 stations)
Station number 1 Station number 2 Station number 3 Station number 4 Station number 5 Station number 6 Station number 7 Station number 8 Station number 9 Station number 10
1) Remote 2) Remote device station 3) Standby master station 4) Intelligent 5) Local station
I/O station device station
Data link faulty station
(If this station is set as a reserved station, it will not be treated as a faulty station.)
POINT
Specify unoccupied station numbers as reserved stations. An unoccupied station
number will be treated as a "data link faulty station" (can be verified with link special
registers SW0080 to SW0083).
7 - 13 7 - 13
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
Transmission speed and mode settings are specified with the "transmission
speed/mode setting switch".
For details on the transmission speed/mode setting switch, see Section 7.3.
The transmission speed that can be set varies depending on the total distance.
For more details, see Sections 3.1.1 and 3.1.2.
POINT
(1) Use the same transmission speed for the master station, remote stations, local
stations, intelligent device stations and the standby master station.
If the setting for even one of the stations is different, data link cannot be
established properly.
(2) Transmission speed test can be used to check whether the same transmission
speed is set for all of the master station, remote stations, local stations,
intelligent device stations and standby master station. (See Section 7.9.)
7 - 14 7 - 14
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
After connecting all of the modules with CC-Link dedicated cables, verify that they are
correctly connected and that data linking can be performed with remote stations, local
stations, intelligent device stations and the standby master station.
Line test 1 checks the status of communication with all modules that have been connected.
Line test 2 checks the status of communication with specific modules.
Neither line test 1 nor line test 2 requires parameter settings.
POINT
(1) Line test 2 is performed when an error is generated by line test 1.
Thus, if the result of line test 1 is normal, there is no need to conduct line test 2.
(2) Network parameter setting is required to execute Line test 2 for the standby
master station.
(3) When data link has started by the standby master station, Line test 1 and 2 are
not executable. To perform these line tests, use GX Developer.
(1) Checking the connection status and the status of communication with remote
stations/local stations/intelligent device stations/standby master station (line test 1)
Perform the line test according to the following procedure.
Start
7 - 15 7 - 15
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
End
*1 Only for the High Performance model QCPU, Process CPU and C Controller module.
7 - 16 7 - 16
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
Start
*1 Only for the High Performance model QCPU, Process CPU and C Controller module.
7 - 17 7 - 17
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
End
7 - 18 7 - 18
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
Whether or not the same transmission speed is set for slave stations and the master
station can be checked. (This test is available for the module whose first five digits of
serial No. is 10032 or later.)
Since the station No. of the slave station with a different transmission speed setting
can be identified, a communication error can be resolved easily.
Set the "station number setting switch" of the master module to "0".
*1 Only for the High Performance model QCPU, Process CPU and C Controller module.
7 - 19 7 - 19
7 PROCEDURE BEFORE STARTING THE DATA LINK
MELSEC-Q
After confirming the test results, set SB000B (Transmission speed test
request) to OFF.
End
(2) Timing chart of link special relay (SB) and link special register (SW)
Performed by QJ61BT11N
Performed by sequence program
ON
SB0002 (Data link stop) OFF
ON
SB000B
OFF
(Transmission speed test request)
ON
SB0185 OFF
(Transmission speed test accept status)
ON
SB0186
(Transmission speed test completion OFF
status)
SW0183 (Transmission speed test result)
SW0184 to SW0187 (Transmission speed test result for each station) Test result
SB0184 (Transmission speed test result for standby station)
7 - 20 7 - 20
8 PROGRAMMING
MELSEC-Q
8 PROGRAMMING
Create a program that allows the detection of data-link status and interlocking with the
remote I/O stations, remote device stations, local stations, intelligent device stations,
and standby master station.
In addition, create an error-handling program.
[Program example]
Set the "Special Relay (SB) Refresh Device" to "SB0" and the "Special Register
(SW) Refresh Device" to "SW0" of the master station with GX Developer.
POINT
When setting the refresh devices for special relay (SB) and special register (SW) to
SB and SW respectively, make sure that their device numbers do not duplicate with
those used in the CC-Link IE controller network and MELSECNET/H network.
Module error Module ready Host data link status SW80 to SW83 (Other station data link status)
Error-handling program
8
M0
Station number 1 normal operation program
M1
Station number 2 normal operation program
8-1 8-1
8 PROGRAMMING
MELSEC-Q
This section explains the input/output signals for the programmable controller CPU of
the master/local module.
8-2 8-2
8 PROGRAMMING
MELSEC-Q
IMPORTANT
The use-prohibited output signals shown in Table 8.1 are accessed by the system
and cannot be accessed by the user.
In the event these signals are used (turned on/off) by the user, normal operations
cannot be guaranteed.
POINT
In the A/QnA series, data link startup was performed by setting the "Yn6 (Data Link
Startup Request initiated by a buffer memory parameter)" and "Yn8 (Data link
2
Startup Request initiated by an E PROM parameter)".
Do not use "Yn6" and "Yn8" for the Q series because the data link startup is
automatically performed.
8-3 8-3
8 PROGRAMMING
MELSEC-Q
The following explains the on/off timings and conditions of the I/O signals shown in
Table 8.1:
Module error
(Xn0)
Module ready
(XnF)
POINT
The other station data link status (Xn3) takes up to 6 seconds to turn on after a
slave station connected to the master/local station becomes faulty.
The time to turn ON differs according to the system configuration, faulty status or
other conditions.
8-4 8-4
8 PROGRAMMING
MELSEC-Q
(b) This signal turns OFF when either of the following conditions occurs:
1) When an error is detected in the switch setting status for the module
2) When the module error signal (Xn0) turns ON
Power ON
Module ready
(XnF)
Module error
(Xn0)
8-5 8-5
8 PROGRAMMING
MELSEC-Q
The buffer memory transfers data between the master/local module and the
programmable controller CPU.
The reading and writing of data are performed by parameter settings or with dedicated
instructions using the GX Developer.
The contents of the buffer memory return to the default when the power is turned OFF
or the programmable controller CPU is reset.
8-6 8-6
8 PROGRAMMING
MELSEC-Q
8-7 8-7
8 PROGRAMMING
MELSEC-Q
5400H 21504
1
to to Use prohibited — — — — —
7FFFH 32767
: Available, — : Not available
1 Do not write to any area where use is prohibited. This may cause errors.
2 Used when the remote net ver. 1 mode or remote net additional mode is selected.
3 Used when the remote net ver. 2 mode or remote net additional mode is selected.
8-8 8-8
8 PROGRAMMING
MELSEC-Q
The following explains the details of items shown in Table 8.2, "Buffer Memory List" in
Section 8.3.1.
0H 0 (Use prohibited) —
Stores the total number of remote stations, local stations, intelligent device stations and
standby master station that are connected to the master station (including reserved
Number of connected
1H 1 stations).
modules
Default value: 64 (modules)
Storage area: 1 to 64 (modules)
Stores the number of retries when a communication error occurs.
2H 2 Number of retries Default value: 3 (times)
Storage area: 1 to 7 (times)
Stores the total number of remote stations, local stations, intelligent device stations and
Number of automatic standby master station that can be returned to system operation by a single link scan.
3H 3
return modules Default value: 1 (module)
Storage area: 1 to 10 (modules)
Stores the station number of the standby master station.
Standby master station
4H 4 Default value: 0 (no standby master station specified)
specification
Storage area: 0 to 64 (0: No standby master station specified)
5H 5 (Use prohibited) —
Stores the data link status when a master station programmable controller CPU error
occurs.
Operation specification
6H 6 Default value: 0 (Stop)
when CPU is down
Storage area: 0 (Stop)
: 1 (Continue)
Stores either the synchronous or asynchronous mode for sequence scan.
Scan mode Default value: 0 (Asynchronous)
7H 7
specification Storage area: 0 (Asynchronous)
: 1 (Synchronous)
8-9 8-9
8 PROGRAMMING
MELSEC-Q
device
81H(Receive buffer) 129(Receive buffer) Send buffer size: 40H (64) (word)
82H(Automatic update 130(Automatic update
Receive buffer size: 40H (64) (word)
buffer) buffer)
Automatic update buffer size: 80H (128) (word)
Allocation of
Storage area
communication
to to Communication buffer : 0H (0) (word) (no setting) or 40H (64)
buffer and
(word) to 1000H (4096) (word)
automatic update
The 26th
203(Send buffer)
The 26th
CBH(Send buffer)
intelligent device
intelligent device
8 - 10 8 - 10
8 PROGRAMMING
MELSEC-Q
1 Used in the remote net ver. 2 mode or remote net additional mode.
2 When the setting is "8 points + 8 points (reserved)", the station numbers are stored into both the 8-
point remote I/O station setting and 16-point remote I/O station setting.
(2) Remote input (RX) and remote output (RY)
Used when the remote net ver. 1 mode or remote net additional mode is
selected.
(a) Master station remote I/O station/remote device station/local station
1) Master station
The input status from the remote I/O station, remote device station
(RX) and local station (RY) is stored.
Two words are used per station.
2) Local station
Data to be sent to the master station is stored in the remote output
(RY) of the address corresponding to the host station number.
The input status from the remote I/O station, remote device station
(RX) and other local station is stored.
Two words are used per station.
… The last two bits cannot be used for communication between the master
station and the local station.
(In the example below, RY9E and RY9F cannot be used.)
to to to to
For station 15CH RX7CF to RX7C0 RY7CF to RY7C0 1DCH For station
number 63 15DH RX7DF to RX7D0 RY7DF to RY7D0 1DDH number 63
For station 15EH RX7EF to RX7E0 RY7EF to RY7E0 1DEH For station
number 64 15FH RX7FF to RX7F0 RY7FF to RY7F0 1DFH number 64
8 - 11 8 - 11
8 PROGRAMMING
MELSEC-Q
The following tables show the station numbers and corresponding buffer-memory
addresses.
[Master station]
Table of station numbers and corresponding buffer memory addresses
Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory
number address number address number address number address number address
1 E0H to E1H 14 FAH to FBH 27 114H to 115H 40 12EH to 12FH 53 148H to 149H
2 E2H to E3H 15 FCH to FDH 28 116H to 117H 41 130H to 131H 54 14AH to 14BH
3 E4H to E5H 16 FEH to FFH 29 118H to 119H 42 132H to 133H 55 14CH to 14DH
4 E6H to E7H 17 100H to 101H 30 11AH to 11BH 43 134H to 135H 56 14EH to 14FH
5 E8H to E9H 18 102H to 103H 31 11CH to 11DH 44 136H to 137H 57 150H to 151H
6 EAH to EBH 19 104H to 105H 32 11EH to 11FH 45 138H to 139H 58 152H to 153H
7 ECH to EDH 20 106H to 107H 33 120H to 121H 46 13AH to 13BH 59 154H to 155H
8 EEH to EFH 21 108H to 109H 34 122H to 123H 47 13CH to 13DH 60 156H to 157H
9 F0H to F1H 22 10AH to 10BH 35 124H to 125H 48 13EH to 13FH 61 158H to 159H
10 F2H to F3H 23 10CH to 10DH 36 126H to 127H 49 140H to 141H 62 15AH to 15BH
11 F4H to F5H 24 10EH to10FH 37 128H to 129H 50 142H to 143H 63 15CH to 15DH
12 F6H to F7H 25 110H to 111H 38 12AH to 12BH 51 144H to 145H 64 15EH to 15FH
13 F8H to F9H 26 112H to 113H 39 12CH to 12DH 52 146H to 147H — —
[Local station]
Table of station numbers and corresponding buffer memory addresses
Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory
number address number address number address number address number address
1 160H to 161H 14 17AH to 17BH 27 194H to 195H 40 1AEH to 1AFH 53 1C8H to 1C9H
2 162H to 163H 15 17CH to 17DH 28 196H to 197H 41 1B0H to 1B1H 54 1CAH to 1CBH
3 164H to 165H 16 17EH to 17FH 29 198H to 199H 42 1B2H to 1B3H 55 1CCH to 1CDH
4 166H to 167H 17 180H to 181H 30 19AH to 19BH 43 1B4H to 1B5H 56 1CEH to 1CFH
5 168H to 169H 18 182H to 183H 31 19CH to 19DH 44 1B6H to 1B7H 57 1D0H to 1D1H
6 16AH to 16BH 19 184H to 185H 32 19EH to 19FH 45 1B8H to 1B9H 58 1D2H to 1D3H
7 16CH to 16DH 20 186H to 187H 33 1A0H to 1A1H 46 1BAH to 1BBH 59 1D4H to 1D5H
8 16EH to 16FH 21 188H to 189H 34 1A2H to 1A3H 47 1BCH to 1BDH 60 1D6H to 1D7H
9 170H to 171H 22 18AH to 18BH 35 1A4H to 1A5H 48 1BEH to 1BFH 61 1D8H to 1D9H
10 172H to 173H 23 18CH to 18DH 36 1A6H to 1A7H 49 1C0H to 1C1H 62 1DAH to 1DBH
11 174H to 175H 24 18EH to 18FH 37 1A8H to 1A9H 50 1C2H to 1C3H 63 1DCH to 1DDH
12 176H to 177H 25 190H to 191H 38 1AAH to 1ABH 51 1C4H to 1C5H 64 1DEH to 1DFH
13 178H to 179H 26 192H to 193H 39 1ACH to 1ADH 52 1C6H to 1C7H — —
8 - 12 8 - 12
8 PROGRAMMING
MELSEC-Q
1) Master station
The output status to the remote I/O station, remote device station (RY)
and all local stations (RX) is stored.
Two words are used per station.
2) Local station
The data received from the remote I/O station, remote device station
(RY) and master station (RY) is stored.
Two words are used per station.
… The last two bits cannot be used for communication between the master
station and the local station.
(In the example below, RY9E and RY9F cannot be used.)
to to to to
For station 1DCH RY7CF to RY7C0 RX7CF to RX7C0 15CH For station
number 63 1DDH RY7DF to RY7D0 RX7DF to RX7D0 15DH number 63
For station 1DEH RY7EF to RY7E0 RX7EF to RX7E0 15EH For station
number 64 1DFH RY7FF to RY7F0 RX7FF to RX7F0 15FH number 64
8 - 13 8 - 13
8 PROGRAMMING
MELSEC-Q
The following tables show the station numbers and corresponding buffer memory
addresses.
[Master station]
Table of station numbers and corresponding buffer memory addresses
Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory
number address number address number address number address number address
1 160H to 161H 14 17AH to 17BH 27 194H to 195H 40 1AEH to 1AFH 53 1C8H to 1C9H
2 162H to 163H 15 17CH to 17DH 28 196H to 197H 41 1B0H to 1B1H 54 1CAH to 1CBH
3 164H to 165H 16 17EH to 17FH 29 198H to 199H 42 1B2H to 1B3H 55 1CCH to 1CDH
4 166H to 167H 17 180H to 181H 30 19AH to 19BH 43 1B4H to 1B5H 56 1CEH to 1CFH
5 168H to 169H 18 182H to 183H 31 19CH to 19DH 44 1B6H to 1B7H 57 1D0H to 1D1H
6 16AH to 16BH 19 184H to 185H 32 19EH to 19FH 45 1B8H to 1B9H 58 1D2H to 1D3H
7 16CH to 16DH 20 186H to 187H 33 1A0H to 1A1H 46 1BAH to 1BBH 59 1D4H to 1D5H
8 16EH to 16FH 21 188H to 189H 34 1A2H to 1A3H 47 1BCH to 1BDH 60 1D6H to 1D7H
9 170H to 171H 22 18AH to 18BH 35 1A4H to 1A5H 48 1BEH to 1BFH 61 1D8H to 1D9H
10 172H to 173H 23 18CH to 18DH 36 1A6H to 1A7H 49 1C0H to 1C1H 62 1DAH to 1DBH
11 174H to 175H 24 18EH to 18FH 37 1A8H to 1A9H 50 1C2H to 1C3H 63 1DCH to 1DDH
12 176H to 177H 25 190H to 191H 38 1AAH to 1ABH 51 1C4H to 1C5H 64 1DEH to 1DFH
13 178H to 179H 26 192H to 193H 39 1ACH to 1ADH 52 1C6H to 1C7H — —
[Local station]
Table of station numbers and corresponding buffer memory addresses
Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory
number address number address number address number address number address
1 E0H to E1H 14 FAH to FBH 27 114H to 115H 40 12EH to 12FH 53 148H to 149H
2 E2H to E3H 15 FCH to FDH 28 116H to 117H 41 130H to 131H 54 14AH to 14BH
3 E4H to E5H 16 FEH to FFH 29 118H to 119H 42 132H to 133H 55 14CH to 14DH
4 E6H to E7H 17 100H to 101H 30 11AH to 11BH 43 134H to 135H 56 14EH to 14FH
5 E8H to E9H 18 102H to 103H 31 11CH to 11DH 44 136H to 137H 57 150H to 151H
6 EAH to EBH 19 104H to 105H 32 11EH to 11FH 45 138H to 139H 58 152H to 153H
7 ECH to EDH 20 106H to 107H 33 120H to 121H 46 13AH to 13BH 59 154H to 155H
8 EEH to EFH 21 108H to 109H 34 122H to 123H 47 13CH to 13DH 60 156H to 157H
9 F0H to F1H 22 10AH to 10BH 35 124H to 125H 48 13EH to 13FH 61 158H to 159H
10 F2H to F3H 23 10CH to 10DH 36 126H to 127H 49 140H to 141H 62 15AH to 15BH
11 F4H to F5H 24 10EH to10FH 37 128H to 129H 50 142H to 143H 63 15CH to 15DH
12 F6H to F7H 25 110H to 111H 38 12AH to 12BH 51 144H to 145H 64 15EH to 15FH
13 F8H to F9H 26 112H to 113H 39 12CH to 12DH 52 146H to 147H — —
8 - 14 8 - 14
8 PROGRAMMING
MELSEC-Q
(a) Master station (RWw) remote device station (RWw)/local station (RWr)
1) Master station
The data to be sent to the remote register (RWw) of the remote device
station and the remote registers (RWr) of all local stations are stored.
Four words are used per station.
2) Local station
The data sent to the remote register (RWw) of the remote device
station can also be received.
Four words are used per station.
Address Remote register (RWw) Remote register (RWw) Remote register (RWr) Address
1E0H RWw 0 RWw 0 RWr 0 2E0H
For station 1E1H RWw 1 RWw 1 RWr 1 2E1H For station
number 1 1E2H RWw 2 RWw 2 RWr 2 2E2H number 1
1E3H RWw 3 RWw 3 RWr 3 2E3H
1E4H RWw 4 RWr 4 2E4H
For station 1E5H RWw 5 RWr 5 2E5H For station
number 2 1E6H RWw 6 RWr 6 2E6H number 2
1E7H RWw 7 RWr 7 2E7H
1E8H RWw 8 RWr 8 2E8H
For station 1E9H RWw 9 RWr 9 2E9H For station
number 3 1EAH RWw A RWr A 2EAH number 3
1EBH RWw B RWr B 2EBH
1ECH RWw C RWr C 2ECH
For station 1EDH RWw D RWr D 2EDH For station
number 4 1EEH RWw E RWr E 2EEH number 4
1EFH RWw F RWr F 2EFH
1F0H RWw 10 RWr 10 2F0H
For station 1F1H RWw 11 RWr 11 2F1H For station
number 5 1F2H RWw 12 RWr 12 2F2H number 5
1F3H RWw 13 RWr 13 2F3H
to to to to
8 - 15 8 - 15
8 PROGRAMMING
MELSEC-Q
(b) Master station (RWr) ← remote device station (RWr)/local station (RWw)
1) Master station
The send data from the remote register (RWr) of the remote device
station and the remote register (RWw) of the local station is stored.
Four words are used per station.
2) Local station
Data is sent to the master station and other local stations by storing it
in the address corresponding to the host station number.
Data in the remote register (RWr) of the remote device station can also
be received.
Four words are used per station.
Address Remote register (RWr) Remote register (RWr) Remote register (RWw) Address
2E0H RWr 0 RWr 0 RWw 0 1E0H
For station 2E1H RWr 1 RWr 1 RWw 1 1E1H For station
number 1 2E2H RWr 2 RWr 2 RWw 2 1E2H number 1
2E3H RWr 3 RWr 3 RWw 3 1E3H
2E4H RWr 4 RWw 4 1E4H
For station 2E5H RWr 5 RWw 5 1E5H For station
number 2 2E6H RWr 6 RWw 6 1E6H number 2
2E7H RWr 7 RWw 7 1E7H
2E8H RWr 8 RWw 8 1E8H
For station 2E9H RWr 9 RWw 9 1E9H For station
number 3 2EAH RWr A RWw A 1EAH number 3
2EBH RWr B RWw B 1EBH
2ECH RWr C RWw C 1ECH
For station 2EDH RWr D RWw D 1EDH For station
number 4 2EEH RWr E RWw E 1EEH number 4
2EFH RWr F RWw F 1EFH
2F0H RWr 10 RWw 10 1F0H
For station 2F1H RWr 11 RWw 11 1F1H For station
number 5 2F2H RWr 12 RWw 12 1F2H number 5
2F3H RWr 13 RWw 13 1F3H
to to to to
8 - 16 8 - 16
8 PROGRAMMING
MELSEC-Q
The following tables show the station numbers and corresponding buffer memory
addresses.
[Master station]
Table of station numbers and corresponding buffer memory addresses
Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory
number address number address number address number address number address
1 2E0H to 2E3H 14 314H to 317H 27 348H to 34BH 40 37CH to 37FH 53 3B0H to 3B3H
2 2E4H to 2E7H 15 318H to 31BH 28 34CH to 34FH 41 380H to 383H 54 3B4H to 3B7H
3 2E8H to 2EBH 16 31CH to 31FH 29 350H to 353H 42 384H to 387H 55 3B8H to 3BBH
4 2ECH to 2EFH 17 320H to 323H 30 354H to 357H 43 388H to 38BH 56 3BCH to 3BFH
5 2F0H to 2F3H 18 324H to 327H 31 358H to 35BH 44 38CH to 38FH 57 3C0H to 3C3H
6 2F4H to 2F7H 19 328H to 32BH 32 35CH to 35FH 45 390H to 393H 58 3C4H to 3C7H
7 2F8H to 2FBH 20 32CH to 32FH 33 360H to 363H 46 394H to 397H 59 3C8H to 3CBH
8 2FCH to 2FFH 21 330H to 333H 34 364H to 367H 47 398H to 39BH 60 3CCH to 3CFH
9 300H to 303H 22 334H to 337H 35 368H to 36BH 48 39CH to 39FH 61 3D0H to 3D3H
10 304H to 307H 23 338H to 33BH 36 36CH to 36FH 49 3A0H to 3A3H 62 3D4H to 3D7H
11 308H to 30BH 24 33CH to 33FH 37 370H to 373H 50 3A4H to 3A7H 63 3D8H to 3DBH
12 30CH to 30FH 25 340H to 343H 38 374H to 377H 51 3A8H to 3ABH 64 3DCH to 3DFH
13 310H to 313H 26 344H to 347H 39 378H to 37BH 52 3ACH to 3AFH — —
[Local station]
Table of station numbers and corresponding buffer memory addresses
Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory Station Buffer memory
number address number address number address number address number address
1 1E0H to 1E3H 14 214H to 217H 27 248H to 24BH 40 27CH to 27FH 53 2B0H to 2B3H
2 1E4H to 1E7H 15 218H to 21BH 28 24CH to 24FH 41 280H to 283H 54 2B4H to 2B7H
3 1E8H to 1EBH 16 21CH to 21FH 29 250H to 253H 42 284H to 287H 55 2B8H to 2BBH
4 1ECH to 1EFH 17 220H to 223H 30 254H to 257H 43 288H to 28BH 56 2BCH to 2BFH
5 1F0H to 1F3H 18 224H to 227H 31 258H to 25BH 44 28CH to 28FH 57 2C0H to 2C3H
6 1F4H to 1F7H 19 228H to 22BH 32 25CH to 25FH 45 290H to 293H 58 2C4H to 2C7H
7 1F8H to 1FBH 20 22CH to 22FH 33 260H to 263H 46 294H to 297H 59 2C8H to 2CBH
8 1FCH to 1FFH 21 230H to 233H 34 264H to 267H 47 298H to 29BH 60 2CCH to 2CFH
9 200H to 203H 22 234H to 237H 35 268H to 26BH 48 29CH to 29FH 61 2D0H to 2D3H
10 204H to 207H 23 238H to 23BH 36 26CH to 26FH 49 2A0H to 2A3H 62 2D4H to 2D7H
11 208H to 20BH 24 23CH to 23FH 37 270H to 273H 50 2A4H to 2A7H 63 2D8H to 2DBH
12 20CH to 20FH 25 240H to 243H 38 274H to 277H 51 2A8H to 2ABH 64 2DCH to 2DFH
13 210H to 213H 26 244H to 247H 39 278H to 27BH 52 2ACH to 2AFH — —
8 - 17 8 - 17
8 PROGRAMMING
MELSEC-Q
(a) Offset
Stores the head buffer memory address of RX/RY/RWw/RWr assigned to
each station.
When 2 or more stations are occupied, values are stored into only the head
buffer memory address of the station number. (When station No. 1
occupies 2 stations, values are stored into the RX/RY/RWw/RWr offset and
size of station No. 1, and the RX/RY/RWw/RWr offset and size of station
No. 2 remains default.)
(b) Size
Stores the size of RX/RY/RWw/RWr assigned to each station in word unit.
When the size is less than 1 word, it is rounded up and 1 is stored. (When
the remote I/O station points setting is 8 points, 1 is stored.)
Refer to Section 4.4.13 for the remote I/O station points setting method.
For the reserved station, 0000H is stored.
8 - 18 8 - 18
8 PROGRAMMING
MELSEC-Q
Example) When the local station where expanded cyclic setting has been made and the remote I/O stations
where remote I/O station points setting has been made are connected
Local station
(Station number 1,
Occupies 2 stations,
Expanded cyclic setting:
Master station octuple)
Remote I/O station Remote I/O station
(Station number 3, (Station number 4,
Occupies 1 station, Occupies 1 station,
Remote I/O station point Remote I/O station point
setting: 8-point setting) setting: 8-point setting)
8 - 19 8 - 19
8 PROGRAMMING
MELSEC-Q
8 - 20 8 - 20
8 PROGRAMMING
MELSEC-Q
CPU CPU
Buffer memory
1)
Device memory
G(P).RIRD
1)
Receive 2)
buffer for the
first module 2)
1) Accesses the buffer memory of the local station or the device memory of the
CPU.
2) Stores the data specified by the control data in the receive buffer for the first
module.
Master station Local station (first module)
CPU CPU
2) Buffer memory
1) Send buffer
Device memory
G(P).RIWT for the first
module 2)
1) Stores the data to be written in the buffer memory of the local station or to the
device memory of the CPU in the send buffer for the first module.
2) Accesses the buffer memory of the local station or the device memory of the
CPU.
8 - 21 8 - 21
8 PROGRAMMING
MELSEC-Q
CPU
Buffer memory
1) Automatic
G(P).RIFR Automatic update
Automatic update
2) update buffer
D buffer for memory
the first
module
8 - 22 8 - 22
8 PROGRAMMING
MELSEC-Q
(10) Ver.2 compatible remote input (RX) and Ver.2 compatible remote
output (RY)
Used when the remote net ver. 2 mode or remote net additional mode is
selected.
(a) Master station Remote I/O station/remote device station/local station
1) Master station
The input status from the remote I/O station, remote device station
(RX) and local station (RY) is stored.
When 1 station is occupied, 2, 4 or 8 words are used. The number of
used points changes depending on the extended cyclic setting and the
number of occupied stations. (see Section 3.1)
2) Local station
Data to be sent to the master station is stored in the remote output
(RY) of the address corresponding to the host station number.
The input status from the remote I/O station, remote device station
(RX) and other local station is stored.
When 1 station is occupied, any of 2 to 8 words are used. The number
of used points changes depending on the extended cyclic setting and
the number of occupied stations. (see Section 3.1)
… The last two bits cannot be used for communication between the master
station and the local station.
(In the example below, RYEE and RYEF cannot be used.)
Address Remote input (RX) Remote output (RY) Address Remote output (RY) Address
Station Station Station
4000H RX F to RX 0 X0F to X00 RY F to RY 0 4200H RY F to RY 0 4200H
number 1 number 1 number 1
Station 4001H RX 1F to RX 10 X1F to X10 RY 1F to RY 10 4201H RY 1F to RY 10 4201H
Station Station
number 2 4002H RX 2F to RX 20 X2F to X20 RY 2F to RY 20 4202H number 2 RY 2F to RY 20 4202H number 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
number 3 number 3 number 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
number 7
number 7 number 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
POINT
The assignment range of each station in the preset station information can be
confirmed by the slave station offset and size information (buffer memory
addresses 3E0H to 5DFH). (Refer to Section 8.3.2 (4).)
8 - 23 8 - 23
8 PROGRAMMING
MELSEC-Q
1) Master station
The output status to the remote I/O station, remote device station (RY)
and all local stations (RX) is stored.
When 1 station is occupied, 2, 4 or 8 words are used. The number of
used points changes depending on the extended cyclic setting and the
number of occupied stations. (see Section 3.1)
2) Local station
The data received from remote I/O stations, remote device stations
(RY) and master station (RY) are stored.
When 1 station is occupied, any of 2 to 8 words are used. The number
of used points changes depending on the extended cyclic setting and
the number of occupied stations. (see Section 3.1)
… The last two bits cannot be used for communication between the master
station and the local station.
(In the example below, RYEE and RYEF cannot be used.)
Remote I/O station Remote I/O station Local station Local station
(Example) (Station number 1: Occupies 1 (Station number 2: Occupies 1 (Station number 3: Occupies 4 (Station number 7: Occupies 4
station, Remote I/O station station, Remote I/O station stations, Expanded cyclic stations, Expanded cyclic setting,
Master station point setting: 16-point setting) point setting: 32-point setting) double)
setting, double)
Address Remote output (RY) Remote input (RX) Address Remote input (RX) Address
Station
number 1 4200H RY F to RY 0 Y0F to Y00 RX F to RX 0 4000H Station RX F to RX 0 4000H Station
number 1 number 1
Station 4201H RY 1F to RY 10 4001H 4001H
Y1F to Y10 RX 1F to RX 10 Station RX 1F to RX 10 Station
number 2 4202H RY 2F to RY 20 Y2F to Y20 RX 2F to RX 20 4002H number 2 RX 2F to RX 20 4002H number 2
4203H RY 3F to RY 30 4003H 4003H
RX 3F to RX 30 RX 3F to RX 30
4204H RY 4F to RY 40 4004H 4004H
RX 4F to RX 40 RX 4F to RX 40
Station
number 3 Station Station
number 3 number 3
420FH RY FF to RY F0 400FH 400FH
RX FF to RX F0 RX FF to RX F0
4210H RY 10D to RY 100 RX 10F to RX 100 4010H 4010H
RX 10F to RX 100
4211H RY 11F to RY 110 4011H 4011H
RX 11F to RX 110 RX 11F to RX 110
4212H RY 12F to RY 120 RX 12F to RX 120 4012H RX 12F to RX 120 4012H
Station
number 7 Station Station
number 7 number 7
421DH RY 1DF to RY 1D0 RX 1DF to RX 1D0 401DH RX 1DF to RX 1D0 401DH
421EH RY 1EF to RY 1E0 RX 1EF to RX 1E0 401EH RX 1EF to RX 1E0 401EH
POINT
The assignment range of each station in the preset station information can be
confirmed by the slave station offset and size information (buffer memory
addresses 3E0H to 5DFH). (Refer to Section 8.3.2 (4).)
8 - 24 8 - 24
8 PROGRAMMING
MELSEC-Q
(a) Master station (RWw) remote device station (RWw)/local station (RWr)
1) Master station
The data to be sent to the remote register (RWw) of the remote device
station and the remote registers (RWr) of all local stations are stored.
When 1 station is occupied, any of 4 to 32 words are used. The
number of used points changes depending on the expanded cyclic
setting and the number of occupied stations. (see Section 3.1)
2) Local station
The data sent to the remote register (RWw) of the remote device
station can also be received.
When 1 station is occupied, any of 4 to 32 words are used. The
number of used points changes depending on the expanded cyclic
setting and the number of occupied stations. (see Section 3.1)
Address Remote register (RWw) Remote register (RWw) Remote register (RWr) Address
4400H RWw 0 RWw 0 RWr 0 4C00H
Station 4401H RWw 1 RWw 1 RWr 1 4C01H Station
number 1 4402H RWw 2 RWw 2 RWr 2 4C02H number 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
440BH RWw B RWr B 4C0BH
Station Station
number 2 440CH RWw C RWr C 4C0CH number 2
440DH RWw D RWr D 4C0DH
440EH RWw E RWr E 4C0EH
440FH RWw F RWr F 4C0FH
4410H RWw 10 RWr 10 4C10H
4411H RWw 11 RWr 11 4C11H
4412H RWw 12 RWr 12 4C12H
4413H RWw 13 RWr 13 4C13H
to to to to
8 - 25 8 - 25
8 PROGRAMMING
MELSEC-Q
(b) Master station (RWr) ← remote device station (RWr)/local station (RWw)
1) Master station
The send data from the remote register (RWr) of the remote device
station and the remote register (RWw) of the local station is stored.
When 1 station is occupied, any of 4 to 32 words are used. The
number of used points changes depending on the expanded cyclic
setting and the number of occupied stations. (see Section 3.1)
2) Local station
Data is sent to the master station and other local stations by storing it
in the address corresponding to the host station number.
Data in the remote register (RWr) of the remote device station can also
be received.
When 1 station is occupied, any of 4 to 32 words are used. The
number of used points changes depending on the expanded cyclic
setting and the number of occupied stations. (see Section 3.1)
Address Remote register (RWr) Remote register (RWr) Remote register (RWw) Address
4C00H RWr 0 RWr 0 RWw 0 4400H
Station 4C01H RWr 1 RWr 1 RWw 1 4401H Station
number 1 4C02H RWr 2 RWr 2 RWw 2 4402H number 1
4C03H RWr 3 RWr 3 RWw 3 4403H
4C04H RWr 4 RWw 4 4404H
4C05H RWr 5 RWw 5 4405H
4C06H RWr 6 RWw 6 4406H
4C07H RWr 7 RWw 7 4407H
4C08H RWr 8 RWw 8 4408H
4C09H RWr 9 RWw 9 4409H
4C0AH RWr A RWw A 440AH
4C0BH RWr B RWw B 440BH
Station Station
number 2 4C0CH RWr C RWw C 440CH number 2
4C0DH RWr D RWw D 440DH
4C0EH RWr E RWw E 440EH
4C0FH RWr F RWw F 440FH
4C10H RWr 10 RWw 10 4410H
4C11H RWr 11 RWw 11 4411H
4C12H RWr 12 RWw 12 4412H
4C13H RWr 13 RWw 13 4413H
to to to to
8 - 26 8 - 26
8 PROGRAMMING
MELSEC-Q
The data link status can be checked with bit data (link special relays: SB) and word
data (link special registers: SW).
The SB and SW represent the information in the buffer memory of the master/local
module, which is used by reading to the device specified in an automatic refresh
parameter.
• Link special relays (SB) : Buffer memory addresses 5E0H to 5FFH
• Link special registers (SW): Buffer memory addresses 600H to 7FFH
Link special relays SB0000 to SB001F are turned ON/OFF by the sequence program,
and SB0020 to SB01FF are automatically turned ON/OFF.
The values in parentheses in the number column indicate the buffer memory address.
When the standby master station is controlling the data link, the availability of the link's
special relays is basically identical to that of the master station.
When the standby master station is operating as a local station, the availability of the
link's special relays is identical to that of a local station.
For the correspondence with the buffer memory, see Section 8.3.2 (5).
8 - 27 8 - 27
8 PROGRAMMING
MELSEC-Q
8 - 28 8 - 28
8 PROGRAMMING
MELSEC-Q
8 - 29 8 - 29
8 PROGRAMMING
MELSEC-Q
8 - 30 8 - 30
8 PROGRAMMING
MELSEC-Q
2: The other station data link status (SB0080) takes up to 6 seconds to turn on after a slave station connected
to the master/local station becomes faulty.
The time to turn ON differs according to the system configuration, faulty status or other conditions.
8 - 31 8 - 31
8 PROGRAMMING
MELSEC-Q
Data is stored in the link special registers SW000 to SW001F by the sequence
program, and data is automatically stored in SW0020 to SW01FF. The values in
parentheses in the number column indicate the buffer memory addresses.
When the standby master station is controlling the data link, availability is basically
identical to that of the master station.
When the standby master station is operating as a local station, availability is identical
to that of a local station.
2: Only the bit for the first station number is turned on.
8 - 32 8 - 32
8 PROGRAMMING
MELSEC-Q
8 - 33 8 - 33
8 PROGRAMMING
MELSEC-Q
b15 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 to 0 0 0 0
SW0059 Transmission speed
10 Mbps
(659H) setting
5 Mbps
2.5 Mbps
625 kbps
156 kbps
8 - 34 8 - 34
8 PROGRAMMING
MELSEC-Q
8 - 35 8 - 35
8 PROGRAMMING
MELSEC-Q
2: Only the bit for the first station number is turned on.
5: Bits for the number of occupied stations are turned on.
7: The other station data link status (SW0080 to SW0083) takes up to 6 seconds to turn on after a slave
station connected to the master/local station becomes faulty.
The time to turn ON differs according to the system configuration, faulty status or other conditions.
8 - 36 8 - 36
8 PROGRAMMING
MELSEC-Q
2: Only the bit for the first station number is turned on.
5: Bits for the number of occupied stations are turned on.
8 - 37 8 - 37
8 PROGRAMMING
MELSEC-Q
SW0099 SW0098 16 15 14 13 to 4 3 2 1
(699H) Station number SW0099 32 31 30 29 to 20 19 18 17
6
SW009A overlap status SW009A 48 47 46 45 to 36 35 34 33
(69AH)
SW009B 64 63 62 61 to 52 51 50 49
SW009B
Numbers 1 to 64 in the above table indicate the station numbers.
(69BH)
Reserved stations and any station of the number higher than the
max. are excluded.
Unable to detect station number overlapping of standby master
stations.
Stores the consistency status between the loaded station and the
parameter settings.
A matching error occurs in any of the following cases.
1) Station type mismatch
2) Number of occupied stations mismatch
3) Expanded cyclic setting mismatch
4) CC-Link compatible version mismatch
A matching error will not occur when installation parameter. (For
example, a matching error will not occur when a remote device
station is installed and the parameter setting is an intelligent
device station.)
SW009C 0: Normal
(69CH) 1: Matching error
SW009D Example of matching error
(69DH) Loading/parameter
6 Installation Parameter
SW009E consistency status
(69EH) Remote device station Remote I/O station
2: Only the bit for the first station number is turned on.
6: Only the bit for the first station number is turned on.
The status is checked and stored only at link startup and at parameter update.
8 - 38 8 - 38
8 PROGRAMMING
MELSEC-Q
6: Only the bit for the first station number is turned on.
In addition, these registers check and store the status at link startup and at parameter update.
8 - 39 8 - 39
8 PROGRAMMING
MELSEC-Q
8 - 40 8 - 40
8 PROGRAMMING
MELSEC-Q
2: Only the bit for the first station number is turned on.
5: The bits for the number of occupied stations turn ON.
8 - 41 8 - 41
8 PROGRAMMING
MELSEC-Q
The timing when the data in a link special register (SW) is updated differs depending
on the link register number.
Table 8.7 lists the update timings of link special registers.
8 - 42 8 - 42
8 PROGRAMMING
MELSEC-Q
Four different modes are available for CC-Link to be applicable to various systems.
The following flowchart explains the points of mode selection.
1)
No
No
Is a ver. 2 compatible Yes
station added to the
previous system? Select the remote net Select the remote net
ver. 2 mode. ver. 1 mode.
No
No No
1) Select the remote net Select the remote net Select the remote net
ver. 2 mode. additional mode. ver. 2 mode.
Will a ver. 2
Yes
compatible station be
connected in the
future?
No
8 - 43 8 - 43
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
This chapter explains the procedures from module settings to parameter settings,
programming, and finally operation check using a system configuration example.
As shown below, a system with three connected remote I/O stations is used as an
example.
Master
station
Terminal
resistor
Remote I/O station (station number 1) Remote I/O station (station number 2) Remote I/O station (station number 3)
AJ65BTB1-16D AJ65BTB1-16T AJ65BTB1-16DT
Terminal
resistor
9-1 9-1
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
QJ61BT11N
RUN L RUN
MST S MST
SD RD
ERR. L ERR.
STATION
NO.
× 10
5
0
Station number setting switch
0 ( 10)
Master station must be set to "00".
0 ( 1)
×1
5
NC
1
NC
DA
2
3
SLD
DB
4
5
(FG)
6
DG
7
9-2 9-2
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
9-3 9-3
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the master station.
9-4 9-4
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
9-5 9-5
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
POINT
When setting the refresh devices for special relay (SB) and special register (SW) to
SB and SW respectively, make sure that their device numbers do not duplicate with
those used in the CC-Link IE controller network and MELSECNET/H network.
9-6 9-6
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
This section shows the program used to control the remote I/O stations. The following
diagram shows the relationship between the devices of the programmable controller
CPU and the inputs/outputs of remote I/O stations.
The shaded areas indicate the devices that are actually used.
Station X104F to X1048 X1047 to X1040 Remote I/O station (station number 2)
number 3
X105F to X1050 AJ65BTB1-16T
Y0F to Y00
9-7 9-7
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
Station number 1 is
performing the data link
Confirmation of data link Station number 2 is
status performing the data link
Station number 3 is
performing the data link
9-8 9-8
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
Turn on the power to the remote I/O stations first, and then turn on the power to the
master station to start the data link.
: On : Off
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
Controlling data link MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
: On : Off
AJ65BTB1-16D
PW L RUN SD RD L ERR.
24 V DC is being supplied The data link is being performed normally Sending data Receiving data
9-9 9-9
9 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
I/O STATIONS
MELSEC-Q
1) For example, when X00 of the remote I/O station AJ65BTB1-16D (station
number 1) is turned on, Y40 (QY41P) of the master station turns on.
2) When X21 (QX41) of the master station is turned on, Y08 of the remote I/O
station AJ65BTB1-16DT (station Number 3) turns on.
Master
station
X21 Y40
Terminal
resistor
ON
2)
ON
1)
Remote I/O station (station number 1) Remote I/O station (station number 2) Remote I/O station (station number 3)
Terminal
resistor
X00 ON
1) ON
Y08 2)
9 - 10 9 - 10
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
This chapter explains the procedures from module settings to parameter settings,
programming, and finally operation check using a system configuration example.
For more detailed information on remote device stations, see the Remote Device
Station User's Manual.
As shown below, a system with one connected remote I/O station is used as an
example.
Master
station
Terminal
resistor
Terminal
resistor
AJ65VBTCU-68ADV
Occupies 3 stations
10
10 - 1 10 - 1
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
QJ61BT11N
RUN L RUN
MST S MST
SD RD
ERR. L ERR.
STATION
NO.
× 10
5
0
Station number setting switch
0 ( 10)
Master station must be set to "00".
0 ( 1)
×1
5
NC
1
NC
DA
2
3
SLD
DB
4
5
(FG)
6
DG
7
10
10 - 2 10 - 2
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
AJ65VBTCU-68ADV
CON
A L
I
N
CON K
B
SEL
C
H POWER
1
SET
RUN
2
L RUN
1 place 10 place
1 STATION NO.
20 OFF
2
5 10 OFF
4
8 OFF Station
8 number 1
OFFSET 4 OFF
6 2 OFF
1 ON
GAIN
4 OFF
B RATE
7
2 OFF 156kbps
1 OFF
8
MODE Mode select switch
0 (Normal mode)
CON
C P
O
W
E
CON R
D
10 - 3 10 - 3
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the master station.
10 - 4 10 - 4
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 5 10 - 5
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
10 - 6 10 - 6
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
This section explains the initial setting of the remote device station.
10 - 7 10 - 7
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 8 10 - 8
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 9 10 - 9
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 10 10 - 10
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Example: For buffer memory address 5E0H and bit 13: (5E0H, b13)
Table 10.1 List of link special relays related to remote device station initial settings
Availability
( : Available, : Not available)
Number Name Description Online
Master Offline
Local station
station
Starts initial processing using the information registered during
the initialization procedure registration.
Remote device station
SB000D While SB000D is on, the refresh of the remote input/output and
initialization procedure
(5E0H, b13) remote registers stops.
registration instruction
OFF: No instruction
ON: Instructed
Execution status of remote Indicates the execution status of the initialization procedure.
SB005E
device station initialization OFF: Not executed
(5E5H, b14)
procedure ON: Being executed
Indicates completion status of the execution of the initialization
Complete status of remote
SB005F procedure execution.
device station initialization
(5E0H, b15) OFF: Not complete
procedure
ON: Complete
Stores the execution result of initialization procedure registration
Remote device station
SW005F instruction with SB000D.
initialization procedure
(65FH) 0: Normal
instruction result
Other than 0: Store an the error code (see Section 13.3).
Parameter setting is required in the case of a standby master station. (First 5 digits of serial No.must be
07112 or later.)
POINT
(1) When remote device station initialization procedure registration instruction
(SB0000) is turned off after the initial processing completion, all of the RY
signals that has been turned on in the initial procedure registration is turned off.
Therefore, about signals that are required to turn always on, such as conversion
valid signal, they should be turned on in the sequence program.
(2) If the procedure registration is not completed for all stations registered to the
remote device station initialization procedure registration, the completion status
of remote device station initialization procedure (SB005F) does not turn on.
If there is a faulty station, turn off the remote device station initialization
procedure registration instruction (SB000D) according to the completion status
of the other stations.
10 - 11 10 - 11
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
REMARK
Setting with the sequence program (Reference)
For reference, an example setting performed with the sequence program is shown
below.
AJ65VBTCU-68ADV data
link abnormal
Initial settings
A/D conversion enable/
prohibit specification
(RWw0)
CH.1 to CH.4 input
range setting (RWw1)
Average processing
specification (RWw3)
CH.2 average time,
number of times setting
(RWw5)
Turns on initial data
processing completion flag
(RY18).
Turns on initial data
setting request flag (RY19).
Changing of initial settings
Initial setting change A/D conversion enable/
prohibit specification
(RWw0)
CH.1 to CH.4 input
range setting (RWw1)
Average processing
specification (RWw3)
CH.2 average time,
number of times setting
(RWw5)
Turns on initial data setting
request flag (RY19).
Processing at initial settings
Turns off initial data
processing completion flag
(RY18).
Turns off initial data setting
request flag (RY19).
Read of digital output values
Reads CH.1 digital
output value (RWr0).
Reads CH.2 digital
output value (RWr1).
Processing at error occurrence
The program enclosed by the dotted line is necessary only when the initial settings are changed.
10 - 12 10 - 12
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 13 10 - 13
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
For read
W000 RWr0 (CH.1 digital output value)
W001 RWr1 (CH.2 digital output value)
W002 RWr2 (CH.3 digital output value)
W003 RWr3 (CH.4 digital output value)
W004 RWr4 (CH.5 digital output value)
W005 RWr5 (CH.6 digital output value)
W006 RWr6 (CH.7 digital output value)
W007 RWr7 (CH.8 digital output value)
W008 RWr8 (Error code)
W009 RWr9 (Reserved)
W00A RWrA (Reserved)
W00B RWrB (Reserved)
10 - 14 10 - 14
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
The program enclosed by the dotted line is necessary only when the initial settings are changed.
10 - 15 10 - 15
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Turn on the power to the remote device station first, and then turn on the power to the
master station to start the data link.
: On : Off
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
Controlling data link MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
AJ65VBTCU-68ADV
: On : Off
24 V DC is being supplied
POWER
RUN
Module is normal
L RUN
The data link is being
L ERR performed normally
10 - 16 10 - 16
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
1) Change the voltage input to the AJ65VBTCU-68ADV and confirm that the A-
D converted digital value also changes.
1)
Master
station
Terminal
resistor
Terminal
resistor
AJ65VBTCU-68ADV
1)
Occupies 3 stations
10 - 17 10 - 17
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
As shown below, a system where one ver.1 compatible remote device station and one
ver.2 compatible remote device station are connected is used as an example.
Master
station
Terminal
resistor
Terminal
resistor
AJ65VBTCU-68ADV AJ65VBTCU-68DAVN
Ver.1 compatible remote device station Ver.2 compatible remote device station
(station number 1) (station number 4)
10 - 18 10 - 18
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
QJ61BT11N
RUN L RUN
MST S MST
SD RD
ERR. L ERR.
STATION
NO.
× 10
5
0
Station number setting switch
0 ( 10)
Master station must be set to "00".
0 ( 1)
×1
5
NC
1
NC
DA
2
3
SLD
DB
4
5
(FG)
6
DG
7
10 - 19 10 - 19
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Setting of AJ65VBTCU-68ADV
AJ65VBTCU-68ADV
CON
A L
I
N
CON K
B
SEL
C
H POWER
1
SET
RUN
2
L RUN
2
5 10 OFF
4
8 OFF Station
8 number 1
OFFSET 4 OFF
6 2 OFF
1 ON
GAIN
4 OFF
B RATE
7
2 OFF 156kbps
1 OFF
8
MODE Mode select switch
0 (Normal mode)
CON
C P
O
W
E
CON R
D
10 - 20 10 - 20
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Setting of AJ65VBTCU-68DAVN
AJ65VBTCU-68DAVN
CON
A L
I
N
K
CON
B
SEL
C
H POWER
1
SET
RUN
2 UP
L RUN
1 place 10 place
1 20 OFF
STATION NO.
2
5 10 OFF
4 Station
8
8 OFF
number 4
OFFSET 4 ON
6 2 OFF
1 OFF
GAIN
4 OFF
B RATE
7
2 OFF 156kbps
1 OFF
8
MODE Mode select switch
10 - 21 10 - 21
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the master station.
10 - 22 10 - 22
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Occupies
4 Ver.2Remote device station quadruple 64 points No setting
1 station
10 - 23 10 - 23
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
10 - 24 10 - 24
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
This section explains the initial setting of the remote device station.
10 - 25 10 - 25
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 26 10 - 26
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 27 10 - 27
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 28 10 - 28
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Example: For buffer memory address 5E0H and bit 13: (5E0H, b13)
Table 10.2 List of link special relays related to remote device station initial settings
Availability
( : Available, : Not available)
Number Name Description Online
Master Offline
Local station
station
Starts initial processing using the information registered during
the initialization procedure registration.
Remote device station
SB000D While SB000D is on, the refresh of the remote input/output and
initialization procedure
(5E0H, b13) remote registers stops.
registration instruction
OFF: No instruction
ON: Instructed
Execution status of remote Indicates the execution status of the initialization procedure.
SB005E
device station initialization OFF: Not executed
(5E5H, b14)
procedure ON: Being executed
Indicates completion status of the execution of the initialization
Complete status of remote
SB005F procedure execution.
device station initialization
(5E0H, b15) OFF: Not complete
procedure
ON: Complete
Stores the execution result of initialization procedure registration
Remote device station
SW005F instruction with SB000D.
initialization procedure
(65FH) 0: Normal
instruction result
Other than 0: Store an error code (see Section 13.3).
Parameter setting is required in the case of a standby master station. (First 5 digits of serial No. must be
07112 or later.)
POINT
(1) When remote device station initialization procedure registration instruction
(SB0000) is turned off after the initial processing completion, all of the RY
signals that has been turned on in the initial procedure registration is turned off.
Therefore, about signals that are required to turn always on, such as conversion
valid signal, they should be turned on in the sequence program.
(2) If the procedure registration is not completed for all stations registered to the
remote device station initialization procedure registration, the completion status
of remote device station initialization procedure (SB005F) does not turn on.
If there is a faulty station, turn off the remote device station initialization
procedure registration instruction (SB000D) according to the completion status
of the other stations.
10 - 29 10 - 29
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
REMARK
Setting with the sequence program (Reference)
For reference, an example setting performed with the sequence program is shown
below.
AJ65VBTCU-68ADV data
link abnormal
AJ65VBTCU-68DAVN data
link abnormal
10 - 30 10 - 30
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
REMARK
(From the previous page)
Error reset
Turns on error reset
request flag (RY1A).
Turns off error reset
request flag (RY1A).
AJ65VBTCU-68DAVN digital value setting AJ65VBTCU-68DAVN
CH.1 digital value
Digital value setting (RWw0) : 500
setting
CH.2 digital value
setting (RWw1) : 1000
AJ65VBTCU-68DAVN analog output enable/disable setting
Turns on CH.1 analog
output enable/disable
Analog output flag (RY00).
enable Turns on CH.2 analog
output enable/disable
flag (RY01).
AJ65VBTCU-68DAVN error occurrence processing
Read CH. check code
(RWr0, RWr1).
The program enclosed by the dotted line is necessary only when the initial settings are changed.
10 - 31 10 - 31
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 32 10 - 32
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
For read
W0000 RWr0 (CH.1 digital output value)
10 - 33 10 - 33
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
AJ65VBTCU-68ADV data
link abnormal
AJ65VBTCU-68DAVN data
link abnormal
Turns on initialization
56 procedure registration
directive.
The program enclosed by the dotted line is necessary only when the initial settings are changed.
10 - 34 10 - 34
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
The program enclosed by the dotted line is necessary only when the initial settings are changed.
10 - 35 10 - 35
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Turn on the power to the remote device station first, and then turn on the power to the
master station to start the data link.
: On : Off
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
Controlling data link MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
AJ65VBTCU-68ADV
: On : Off
24 V DC is being supplied
POWER
RUN
Module is normal
L RUN
The data link is being
L ERR performed normally
10 - 36 10 - 36
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
1) Change the voltage input to the AJ65VBTCU-68ADV and confirm that the A-
D converted digital value also changes.
2) Set digital values to the AJ65VBTCU-68DAVN, and confirm that the voltages
converted from digital to analog are output.
Master
station
Terminal
resistor
Terminal
resistor
AJ65VBTCU-68ADV AJ65VBTCU-68DAVN
V
1) 2)
Ver.1 compatible remote device station Ver.2 compatible remote device station
(station number 1) (station number 4)
10 - 37 10 - 37
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
As shown below, a system where one ver. 1 compatible remote device station and one
ver. 2 compatible remote device station are connected is used as an example.
Master
station
Terminal
resistor
Terminal
resistor
AJ65VBTCU-68ADV AJ65VBTCU-68DAVN
Ver.1 compatible remote device station Ver.2 compatible remote device station
(station number 1) (station number 4)
10 - 38 10 - 38
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
QJ61BT11N
RUN L RUN
MST S MST
SD RD
ERR. L ERR.
STATION
NO.
× 10
5
0
Station number setting switch
0 ( 10)
Master station must be set to "00".
0 ( 1)
×1
5
NC
1
NC
DA
2
3
SLD
DB
4
5
(FG)
6
DG
7
10 - 39 10 - 39
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Setting of AJ65VBTCU-68ADV
AJ65VBTCU-68ADV
CON
A L
I
N
CON K
B
SEL
C
H POWER
1
SET
RUN
2
L RUN
2
5 10 OFF
4
8 OFF Station
8 number 1
OFFSET 4 OFF
6 2 OFF
1 ON
GAIN
4 OFF
B RATE
7
2 OFF 156kbps
1 OFF
8
MODE Mode select switch
0 (Normal mode)
CON
C P
O
W
E
CON R
D
10 - 40 10 - 40
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Setting of AJ65VBTCU-68DAVN
AJ65VBTCU-68DAVN
CON
A L
I
N
CON K
B
SEL
C
H POWER
1
SET
RUN
2 UP
L RUN
1 place 10 place
1 20 OFF
STATION NO.
2
5 10 OFF
4 Station
8
8 OFF
number 4
OFFSET 4 ON
6 2 OFF
1 OFF
GAIN
4 OFF
B RATE
7
2 OFF 156kbps
1 OFF
8
MODE Mode select switch
10 - 41 10 - 41
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the master station.
10 - 42 10 - 42
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Occupies
4 Ver.2Remote device station quadruple 64 points No setting
1 station
10 - 43 10 - 43
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
5) Set the refresh device for ver.2 remote input (RX) to X1500.
6) Set the refresh device for ver.2 remote output (RY) to Y1500.
7) Set the refresh device for ver.2 remote register (RWr) to W1000.
8) Set the refresh device for ver.2 remote register (RWw) to W1500.
10) Set the refresh device for special register (SW) to SW0.
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
10 - 44 10 - 44
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
This section explains the initial setting of the remote device station.
10 - 45 10 - 45
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 46 10 - 46
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 47 10 - 47
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 48 10 - 48
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Example: For buffer memory address 5E0H and bit 13: (5E0H, b13)
Table 10.3 List of link special relays related to remote device station initial settings
Availability
( : Available, : Not available)
Number Name Description Online
Master Offline
Local station
station
Starts initial processing using the information registered during
the initialization procedure registration.
Remote device station
SB000D While SB000D is on, the refresh of the remote input/output and
initialization procedure
(5E0H, b13) remote registers stops.
registration instruction
OFF: No instruction
ON: Instructed
Execution status of remote Indicates the execution status of the initialization procedure.
SB005E
device station initialization OFF: Not executed
(5E5H, b14)
procedure ON: Being executed
Indicates completion status of the execution of the initialization
Complete status of remote
SB005F procedure execution.
device station initialization
(5E0H, b15) OFF: Not complete
procedure
ON: Complete
Stores the execution result of initialization procedure registration
Remote device station
SW005F instruction with SB000D.
initialization procedure
(65FH) 0: Normal
instruction result
Other than 0: Store an the error code (see Section 13.3).
Parameter setting is required in the case of a standby master station. (First 5 digits of serial No. must be
07112 or later.)
POINT
(1) When remote device station initialization procedure registration instruction
(SB0000) is turned off after the initial processing completion, all of the RY
signals that has been turned on in the initial procedure registration is turned off.
Therefore, about signals that are required to turn always on, such as conversion
valid signal, they should be turned on in the sequence program.
(2) If the procedure registration is not completed for all stations registered to the
remote device station initialization procedure registration, the completion status
of remote device station initialization procedure (SB005F) does not turn on.
If there is a faulty station, turn off the remote device station initialization
procedure registration instruction (SB000D) according to the completion status
of the other stations.
10 - 49 10 - 49
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
REMARK
Setting with the sequence program (Reference)
For reference, an example setting performed with the sequence program is shown
below.
AJ65VBTCU-68ADV data
link abnormal
AJ65VBTCU-68DAVN data
link abnormal
The program enclosed by the dotted line is necessary only when the initial settings are changed.
(To the next page)
10 - 50 10 - 50
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
REMARK
(From the previous page)
Error reset
Turns on error reset
request flag (RY1A).
Turns off error reset
request flag (RY1A).
AJ65VBTCU-68DAVN digital value setting
AJ65VBTCU-68DAVN
CH.1 digital value
Digital value setting (RWw0) : 500
setting
CH.2 digital value
setting (RWw1) : 1000
AJ65VBTCU-68DAVN analog output enable/disable setting
Turns on CH.1 analog
output enable/disable
Analog output flag (RY00).
enable Turns on CH.2 analog
output enable/disable
AJ65VBTCU-68DAVN error occurrence processing flag (RY01).
The program enclosed by the dotted line is necessary only when the initial settings are changed.
10 - 51 10 - 51
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Ver.2compatible
X150F to X1500 RX0F to RX00
X151F to X1510 RX1F to RX10
X152F to X1520
X153F to X1530
10 - 52 10 - 52
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
10 - 53 10 - 53
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
AJ65VBTCU-68ADV data
link abnormal
AJ65VBTCU-68DAVN data
link abnormal
Turns on initialization
procedure registration
directive.
The program enclosed by the dotted line is necessary only when the initial settings are changed.
10 - 54 10 - 54
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
The program enclosed by the dotted line is necessary only when the initial settings are changed.
10 - 55 10 - 55
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
Turn on the power to the remote device station first, and then turn on the power to the
master station to start the data link.
: On : Off
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
Controlling data link MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
AJ65VBTCU-68ADV
: On : Off
24 V DC is being supplied
POWER
RUN
Module is normal
L RUN
The data link is being
L ERR performed normally
10 - 56 10 - 56
10 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE
DEVICE STATIONS
MELSEC-Q
1) Change the voltage input to the AJ65VBTCU-68ADV and confirm that the A-
D converted digital value also changes.
2) Set digital values to the AJ65VBTCU-68DAVN, and confirm that the voltages
converted from digital to analog are output.
Master
station
Terminal
resistor
Terminal
resistor
AJ65VBTCU-68ADV AJ65VBTCU-68DAVN
V
1) 2)
Ver.1 compatible remote device station Ver.2 compatible remote device station
(station number 1) (station number 4)
10 - 57 10 - 57
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
When the following conditions, 1) and 2) are satisfied in the CC-Link network, 32-bit
data in remote registers (RWr/RWw) between a programmable controller CPU and a
master/local station can be secured.
Programmable Programmable
controller CPU Master station Local station controller CPU Master station Local station
CPU device Remote register Remote register CPU device Remote register Remote register
W000 RWr00 RWw00 W000 RWr00 RWw00
W001 RWr01 RWw01 W001 RWr01 RWw01
W002 RWr02 RWw02 W002 RWr02 RWw02
W003 RWr03 RWw03 W003 RWr03 RWw03
W004 RWr04 RWw04
Programmable Programmable
controller CPU Master station controller CPU Master station
CPU device Remote register CPU device Remote register
FROM
W000 DFRO RWr00 W000 RWr00
W001 RWr01 W001 RWr01
W002 RWr02 W002 RWr02
W003 RWr03 W003 RWr03
11 - 1 11 - 1
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
As shown below, a system with one connected local station is used as an example.
Master
station
Terminal
resistor
Terminal
resistor
11 - 2 11 - 2
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
QJ61BT11N
RUN L RUN
MST S MST
SD RD
ERR. L ERR.
STATION
NO.
Station number setting switch
× 10
5
Module 10 1
Master station 0 0
Local station 0 1
×1
5
NC
1
NC
DA
2
3
SLD
DB
4
5
(FG)
6
DG
7
11 - 3 11 - 3
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the master station.
11 - 4 11 - 4
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
11 - 5 11 - 5
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
11 - 6 11 - 6
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the local station.
11 - 7 11 - 7
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
11 - 8 11 - 8
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
11 - 9 11 - 9
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
This section shows the program to be used for communication between the master
and local stations. The following diagram shows the relationship between the devices
of the master station programmable controller CPU and the devices of the local station
programmable controller CPU.
The shaded areas indicate the devices that are actually used.
The last two bits cannot be used for communication between the master and local stations.
11 - 10 11 - 10
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
11 - 11 11 - 11
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
Control program
Control program using data
received from a local station
Program to generate
transmission data to a local
station
Control program
Control program using data
received from the master
station
Program to generate
send data to the master
station
11 - 12 11 - 12
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
REMARK
Securing cyclic data on a per-station basis
By configuring an interlock with remote I/O (RX/RY), cyclic data can be secured on a
1
per-station (4-word) basis.
Configure an interlock with remote I/O (RX/RY) as shown in the following example.
3) 6)
7)
11 - 13 11 - 13
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
Turn on the power to the local station first, and then turn on the power to the master
station to start the data link.
: On : Off
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
Controlling data link MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
: On : Off
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
11 - 14 11 - 14
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
1) When X20 of the master station is turned on, Y41 of the local station turns
on.
2) When X21 of the local station is turned on, Y40 of the master station turns
on.
Master
station
Terminal
resistor
Terminal
resistor
11 - 15 11 - 15
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
As shown below, a system with two connected local station is used as an example.
Master
station
Terminal
resistor
Terminal
resistor
11 - 16 11 - 16
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
QJ61BT11N
RUN L RUN
MST S MST
SD RD
ERR. L ERR.
STATION
NO.
Station number setting switch
× 10
5
Module 10 1
Master station 0 0
Local station 0 1
×1
5
NC
1
NC
DA
2
3
SLD
DB
4
5
(FG)
6
DG
7
11 - 17 11 - 17
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the master station.
11 - 18 11 - 18
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
Occupies
5 Ver.2Intelligent device station double 96 points No setting 64 64 128
2 stations
11 - 19 11 - 19
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
11 - 20 11 - 20
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the local station.
(1) Setting the network parameters of the ver.1 compatible local station
(station number 1)
(a) Setting the network parameters
Set the network parameters as follows using the attached parameter setting
checklist.
11 - 21 11 - 21
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
11 - 22 11 - 22
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
11 - 23 11 - 23
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
(3) Setting the network parameters of the ver.2 compatible local station
(station number 5)
(a) Setting the network parameters
Set the network parameters as follows using the attached parameter setting
checklist.
11 - 24 11 - 24
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
11 - 25 11 - 25
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
11 - 26 11 - 26
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
This section shows the program to be used for communication between the master
and local stations. The following diagram shows the relationship between the devices
of the master station programmable controller CPU and the devices of the local station
programmable controller CPU.
The shaded areas indicate the devices that are actually used.
The last two bits cannot be used for communication between the master and local stations.
11 - 27 11 - 27
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
RWw0D W100D
RWw0E W100E
RWw0F W100F
RWr00 W0000
RWr01 W0001
RWr02 W0002
RWr03 W0003
RWr04 W0004
RWr05 W0005
RWr06 W0006
Master station Local station
programmable Ver.2 compatible RWr0D W000D Ver.2 compatible programmable
controller CPU buffer memory RWr0E W000E buffer memory controller CPU
W0000 RWr00 RWr0F W000F RWw00 W1000
W0001 RWr01 RWw01 W1001
W0002 RWr02 RWw02 W1002
W0003 RWr03 RWw03 W1003
W0004 RWr04 RWw04 W1004
W0005 RWr05 RWw05 W1005
W0006 RWr06 RWw06 W1006
11 - 28 11 - 28
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
Control program
Control program of station number 1
Control program using
data received from local
station of station No. 1
Program to generate
transmission data to local
Control program of station number 5 station of station No. 1
Control program using data
received from local station
of station No. 5
Program to generate
transmission data to local
station of station No. 5
Control program
Control program using data
received from a master station
Program to generate send
data to the master station
Control program
Control program using data
received from a master station
Program to generate send
data to the master station
11 - 29 11 - 29
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
REMARK
By configuring an interlock with remote I/O (RX/RY), cyclic data can be secured on a
per-station (4-word) basis.
For details, refer to Remark in Section 11.2.4.
Turn on the power to the local station first, and then turn on the power to the master
station to start the data link.
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
Controlling data link MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
11 - 30 11 - 30
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
Master
station
Terminal
resistor
Terminal
resistor
11 - 31 11 - 31
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
As shown below, a system with two connected local station is used as an example.
Master
station
Terminal
resistor
Terminal
resistor
11 - 32 11 - 32
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
QJ61BT11N
RUN L RUN
MST S MST
SD RD
ERR. L ERR.
STATION
NO.
Station number setting switch
× 10
5
Module 10 1
Master station 0 0
Local station 0 1
×1
5
NC
1
NC
DA
2
3
SLD
DB
4
5
(FG)
6
DG
7
11 - 33 11 - 33
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the master station.
11 - 34 11 - 34
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
Occupies
5 Ver.2Intelligent device station double 96 points No setting 64 64 128
2 stations
11 - 35 11 - 35
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
5) Set the refresh device for ver.2 remote input (RX) to X1500.
6) Set the refresh device for ver.2 remote output (RY) to Y1500.
7) Set the refresh device for ver.2 remote register (RWr) to W1000.
8) Set the refresh device for ver.2 remote register (RWw) to W1500.
10) Set the refresh device for special register (SW) to SW0.
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
11 - 36 11 - 36
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
This section explains the settings of the network parameters and the automatic refresh
parameters of the local station.
(1) Setting the network parameters of the ver.1 compatible local station
(station number 1)
(a) Setting the network parameters
Set the network parameters as follows using the attached parameter setting
checklist.
11 - 37 11 - 37
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
11 - 38 11 - 38
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
11 - 39 11 - 39
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
(3) Setting the network parameters of the ver.2 compatible local station
(station number 5)
(a) Setting the network parameters
Set the network parameters as follows using the attached parameter setting
checklist.
11 - 40 11 - 40
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
11 - 41 11 - 41
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
5) Set the refresh device for ver.2 remote input (RX) to X1500.
6) Set the refresh device for ver.2 remote output (RY) to Y1500.
7) Set the refresh device for ver.2 remote register (RWr) to W1000.
8) Set the refresh device for ver.2 remote register (RWw) to W1500.
10) Set the refresh device for special register (SW) to SW0.
POINT
When setting X, Y, B, W, SB and SW as refresh devices, make setting so that they
do not overlap with the device numbers used on the other networks, etc.
11 - 42 11 - 42
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
This section shows the program to be used for communication between the master
and local stations. The following diagram shows the relationship between the devices
of the master station programmable controller CPU and the devices of the local station
programmable controller CPU.
The shaded areas indicate the devices that are actually used.
Y100F to Y1000 RY00F to RY000 RX00F to RX000 X100F to X1000 RX00F to RX000 X100F to X1000
Y101F to Y1010 RY01F to RY010 RX01F to RX010 X101F to X1010 RX01F to RX010 X101F to X1010
Y102F to Y1020 RY02F to RY020 RX02F to RX020 X102F to X1020 RX02F to RX020 X102F to X1020
Y103F to Y1030 RY03F to RY030 RX03F to RX030 X103F to X1030 RX03F to RX030 X103F to X1030
Y104F to Y1040 RY04F to RY040 RX04F to RX040 X104F to X1040 RX04F to RX040 X104F to X1040
Y105F to Y1050 RY05F to RY050 RX05F to RX050 X105F to X1050 RX05F to RX050 X105F to X1050
Y106F to Y1060 RY06F to RY060 RX06F to RX060 X106F to X1060 RX06F to RX060 X106F to X1060
Y107D to Y1070 RY07F to RY070 RX07F to RX070 X107D to X1070 RX07F to RX070 X107D to X1070
The last two bits cannot be used for communication between the master and local stations.
11 - 43 11 - 43
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
11 - 44 11 - 44
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
Control program
Control program of station number 1
Control program using
data received from local
station of station No. 1
Program to generate
transmission data to local
station of station No. 1
Control program of station number 5
Control program using data
received from local station
of station No. 5
Program to generate
transmission data to local
station of station No. 5
Control program
Control program using data
received from a master station
Program to generate send
data to the master station
Control program
Control program using data
received from a master station
Program to generate send
data to the master station
11 - 45 11 - 45
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
REMARK
By configuring an interlock with remote I/O (RX/RY), cyclic data can be secured on a
per-station (4-word) basis.
For details, refer to Remark in Section 11.2.4.
Turn on the power to the local station first, and then turn on the power to the master
station to start the data link.
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
Controlling data link MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
Module is normal
QJ61BT11N The data link is being performed
normally
RUN L RUN
MST S MST
SD RD Receiving data
Sending data ERR. L ERR.
11 - 46 11 - 46
11 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL
STATIONS
MELSEC-Q
1) When X20 of the master station is turned on, Y41 of the local station of
station No. 1 turns on.
2) When X21 of the local station of station No. 1 is turned on, Y40 of the master
station turns on.
3) When X21 of the master station is turned on, Y41 of the local station of
station No. 5 turns on.
4) When X21 of the local station of station No. 5 is turned on, Y41 of the master
station turns on.
Master
station
Terminal
resistor
Terminal
resistor
11 - 47 11 - 47
12 COMMUNICATION BETWEEN THE MASTER STATION AND
INTELLIGENT DEVICE STATIONS
MELSEC-Q
The communication method between the master station and intelligent device stations
is different for each intelligent device station.
For more details on the communication between the master station and intelligent
12 device stations, see the manual for each intelligent device station.
12 - 1 12 - 1
12 COMMUNICATION BETWEEN THE MASTER STATION AND
INTELLIGENT DEVICE STATIONS
MELSEC-Q
MEMO
12
12 - 2 12 - 2
13 TROUBLESHOOTING
MELSEC-Q
13 TROUBLESHOOTING
This chapter describes the details of the problems that may occur in the CC-Link
System, and lists the check items and procedures for each of the possible problems.
The following lists the details of the check items and procedures for each problem
occurrence.
Description of problem Check item Check procedure
13 • Check the cable connection visually or with a line
Are there any disconnected cables? test.
• Check the line status (SW0090).
Connect the supplied terminal resistors to the
Are terminal resistors connected to the terminal
terminal stations located at each end of the CC-Link
stations located at each end of the CC-Link system?
system.
Connect the appropriate terminal resistors that
match the cable type used for the terminal stations
Are correct terminal resistors connected?
located at each end of the CC-Link system. (See
Section 7.5.)
Has an error occurred at the master station's Check the error code of the programmable
programmable controller CPU? controller CPU and take corrective action.
Are the CC-Link parameters set in the Check the contents of the parameters for the
Unable to perform data link for the entire system. programmable controller CPU of the master station? programmable controller CPU of the master station.
Does the sequence scan time exceed the tolerance
for each transmission speed when using the
synchronous mode?
10 Mbps : 50 ms Switch to the asynchronous mode, or reduce the
5 Mbps : 50 ms transmission speed.
2.5 Mbps : 100 ms
625 kbps : 400 ms
156 kbps : 800 ms
• Check the host parameter status (SW0068).
• Check the switch setting status (SW006A).
Has an error occurred at the master station? • Check the Loading status (SW0069).
• Check to see if the "ERR." LED on the master
station is flashing. (See Section 13.2.)
• Check the LED display on the corresponding
Is the corresponding remote I/O station performing remote I/O station.
data link? • Check the other station data link status of the
master station. (SW0080 to SW0083)
Is data read from the correct address of remote • Check the sequence program.
input RX (buffer memory)? • Check the automatic refresh parameter setting.
Is the correct master station parameter information
Unable to receive input from a remote I/O station. area being used (CPU built-in parameters, default Check parameter information (SW0067).
parameters)?
• Check the parameters.
• Check the total number of stations (SW0070).
Is the corresponding remote I/O station number • Check the max. communication station number
recognized by the master station? (SW0071).
• Check the number of connected modules
(SW0072).
13 - 1 13 - 1
13 TROUBLESHOOTING
MELSEC-Q
13 - 2 13 - 2
13 TROUBLESHOOTING
MELSEC-Q
13 - 3 13 - 3
13 TROUBLESHOOTING
MELSEC-Q
13 - 4 13 - 4
13 TROUBLESHOOTING
MELSEC-Q
13 - 5 13 - 5
13 TROUBLESHOOTING
MELSEC-Q
13 - 6 13 - 6
13 TROUBLESHOOTING
MELSEC-Q
13 - 7 13 - 7
13 TROUBLESHOOTING
MELSEC-Q
1 Station specification of the remote device station initialization procedure registration is available for the
station operating as a master in the redundancy system configuration or master stations.
13 - 8 13 - 8
13 TROUBLESHOOTING
MELSEC-Q
13.2 Troubleshooting Procedures When the "ERR." LED of the Master Station is Flashing or
When Normal Data cannot be Sent/Received During Data Link
Do the parameter
N
settings and the installed system
configuration match
properly?
Revise the parameter settings
or installed system configuration
Y
Y
Check on master station side
Check the module for which Check the module for which
SW0098 to SW009B are on SW0080 to SW0083 are on
Check on slave station side
Are the
station number N
Is the power on?
switches set properly? N
(Are there any station numbers
that are incompletely
matched? 2) Y Turn on the power
Set the station number
switches properly
Y
N
Is the "POWER" LED lit?
Y Is the supplied N
power within the specified
range?
Y
N Set the supplied voltage to
Is the "RD" LED lit? within the specified range
Y Corresponding module
malfunction
Is the communication N
cable wired properly?
1
Correct the communication
Y
cable wiring
Corresponding module
malfunction
1: Check for short-circuits, reversed connection, disconnection, terminal resistors, FG connection, overall distance,
and distance between stations.
13 - 9 13 - 9
13 TROUBLESHOOTING
MELSEC-Q
N
Is the "SD" LED lit (flashing)?
Y N
Is the transmission speed
setting correct? *4
Y
Set the correct transmission
speed
Is the communication N
cable wired properly?
1
Corresponding module
malfunction
(baud rate switch)
End
2 Incomplete match
Occupies 2 Occupies 1
stations or more station or more
3 Complete match
Occupies 1
station or more
Station Station
number
number n n+1
Station Station
number
number m m+1
Occupies 1
station or more
4 The transmission speed test allows checking whether the transmission speed setting of the slave station
matches that of the master station. (See Section 7.9.)
13 - 10 13 - 10
13 TROUBLESHOOTING
MELSEC-Q
Error codes can be checked on GX Developer and GX Works2. (Refer to (1) and (2) in
this section)
They can also be checked in link special registers (SW). (Refer to (3) in this section)
13 - 11 13 - 11
13 TROUBLESHOOTING
MELSEC-Q
13 - 12 13 - 12
13 TROUBLESHOOTING
MELSEC-Q
1
(b) Checking on the "Error History" screen
On this screen, errors including those occurred in other modules are
displayed in chronological order, and the data can be output in a CSV file.
Error code and date and time of error occurrence can be checked even
after the programmable controller was powered off and then on or after the
programmable controller CPU is reset.
1)
2)
3)
13 - 13 13 - 13
13 TROUBLESHOOTING
MELSEC-Q
1: When the error that simultaneously occurs with a network error is selected, the
status right before the error occurrence may be displayed under Intelligent
Module Information.
13 - 14 13 - 14
13 TROUBLESHOOTING
MELSEC-Q
POINT
(1) If errors have frequently occurred in the QJ61BT11N, "*HST.LOSS*" may be
displayed instead of an error code in the Error Code column.
(2) When the same errors consecutively occurred, only the error code for the first
occurred is displayed on the “Error History” screen.
13 - 15 13 - 15
13 TROUBLESHOOTING
MELSEC-Q
13 - 16 13 - 16
13 TROUBLESHOOTING
MELSEC-Q
Connected Parameter
module setting
Remote Set the correct parameters.
Remote I/O
device
Loading/parameter
B30A Remote I/O
consistency error
Intelligent
Remote
device
device
13 - 17 13 - 17
13 TROUBLESHOOTING
MELSEC-Q
13 - 18 13 - 18
13 TROUBLESHOOTING
MELSEC-Q
13 - 19 13 - 19
13 TROUBLESHOOTING
MELSEC-Q
13 - 20 13 - 20
13 TROUBLESHOOTING
MELSEC-Q
13 - 21 13 - 21
13 TROUBLESHOOTING
MELSEC-Q
13 - 23 13 - 23
13 TROUBLESHOOTING
MELSEC-Q
13 - 24 13 - 24
13 TROUBLESHOOTING
MELSEC-Q
13 - 25 13 - 25
13 TROUBLESHOOTING
MELSEC-Q
Check the status of each module after all the modules have been connected using CC-
Link dedicated cables, and verify that data link can be performed normally.
It is also possible when the QJ61BT11N is mounted on the remote I/O station of
MELSECNET/H.
13 - 26 13 - 26
13 TROUBLESHOOTING
MELSEC-Q
POINT
When conducting a network test, do not perform write to buffer memory address
5E0H.
13 - 27 13 - 27
13 TROUBLESHOOTING
MELSEC-Q
4) Station type
Displays the station type.
The CC-Link compatible version is also displayed in the remote net ver.
2 mode or remote net additional mode.
"Intelli": Local station, intelligent device station and standby master
station
"I/O" : Remote I/O station
"Device" : Remote device station
5) Number of occupied stations
Displays the number of occupied stations.
6) Status
Displays the link status of the module.
7) Transient error
Displays whether or not an error occurred during transient transmission.
" ": Error occurred.
" ": Error did not occur.
8) Expanded cyclic setting*
Displays the expanded cyclic setting.
9) Remote station points*
Displays the numbers of remote input and output (RX, RY) points of the
remote, local, intelligent device and standby master stations.
Not displayed in the remote net ver. 1 mode.
POINT
When making temporary error invalid station setting, do not perform write to buffer
memory addresses 5E0H, 603H to 607H.
13 - 28 13 - 28
13 TROUBLESHOOTING
MELSEC-Q
POINT
When conducting a loop test, do not perform write to buffer memory addresses
5E0H, 608H.
13 - 29 13 - 29
13 TROUBLESHOOTING
MELSEC-Q
100320000000000-B
Function Version B
13 - 30 13 - 30
13 TROUBLESHOOTING
MELSEC-Q
13 - 31 13 - 31
APPENDIXES
MELSEC-Q
APPENDIXES
App.
98(3.86)
(0.16)
4
23(0.91)
90(3.54) 27.4(1.08)
NC
NC
DA
SLD
DB
(FG)
DG
Unit: mm (inch)
App - 1 App - 1
APPENDIXES
MELSEC-Q
POINT
Execute the dedicated instructions while the data link is being performed.
If any of the dedicated instructions is executed offline, no error will occur, but the
execution of the dedicated instruction will not be completed.
App - 2 App - 2
APPENDIXES
MELSEC-Q
(3) Precautions
(a) Precautions for using Monitoring time (SW0009) and
Dedicated instruction retry count setting (SW000B)
The Dedicated instruction retry count setting (SW000B) is applicable to
the following dedicated instructions. (See Section 8.4.2.)
Station executing dedicated instructions
Instruction
Master station Local station
G(P).RIRD
G(P).RIWT
G(P).RISEND
G(P).RIRCV
G(P).RIFR
G(P).RITO
G(P).RLPASET
G(P).RDMSG
: Applicable, : N/A
Set the Dedicated instruction retry count setting when the error completion
device turns ON due to noise. If this setting is made, frequency of this
turn-ON will be greatly reduced. Note that no retry is performed when the
target station has been disconnected at the time of dedicated instruction
execution.
App - 3 App - 3
APPENDIXES
MELSEC-Q
The G(P).RIRD instruction reads the data for the specified points from the buffer
memory or the programmable controller CPU device of the specified station.
Usable devices
Internal device Link direct device Intelligent
Constant
(System, user) J \ function Index
Set data File
module register Other
register
Bit Word Bit Word device Z K, H S
U \G
(S) — — — — —
(D1) — — — — —
(D2) — — — —
[Instruction [Execution
symbol] condition]
Command
G.RIRD G.RIRD Un (S) (D1) (D2)
Command
GP.RIRD GP.RIRD Un (S) (D1) (D2)
Set data
1
Device Description Setting range Data type
Un Start I/O number of the module 0 to FEH Binary 16 bits
Within the range of the
(S) Start number of the device in which control data is stored.
specified device
Device name
Within the range of the
(D1) Start number of the device to which read data is to be stored.
specified device
Device that is turned ON for one scan upon completion of
Within the range of the
(D2) reading. Bit
specified device
(D2) + 1 also turns ON at an abnormal completion.
1 The file register of each of the local device and the program cannot be used as a device for setting data.
Control data
Device Item Set data Setting range Set by
Stores the status when the instruction is complete.
(S) + 0 Completion status 0 : No error (normal completion) — System
Other than 0: Error code
Specify the station numbers of the master station, local
(S) + 1 Station number 0 to 64 User
station and intelligent device station.
b15 b8 b7 b0
Access code
(S) + 2 See (1) and (2). User
Attribute code
Access code Attribute code
Buffer memory
Specify the buffer memory start address or device start 1
(S) + 3 address or device User
number.
number
2
Number of points 1 to 480
(S) + 4 Specify the read data count (in word units). 3 User
to read 1 to 32
App - 4 App - 4
APPENDIXES
MELSEC-Q
1: For details, refer to the manual for the local station or the intelligent device station
from which data are read.
When the random access buffer is specified, specify the start address of the
random access buffer as 0.
2: The value indicates the maximum number of data to be read.
Specify the value within the buffer memory capacity of the local station or the
intelligent device station, or the receive buffer area setting range set by a
parameter.
3: When reading device data from the programmable controller CPU other than the
QCPU (Q mode), QCPU (A mode) or QnACPU/AnUCPU, the setting range shall
be 1 to 32 words.
(3) Functions
(a) Operation chart for the RIRD instruction
Programmable controller CPU Master module Local module Programmable controller CPU
1)
Command
G(P).RIRD
1)
Buffer memory
2)
Device memory Device memory
3)
Receive buffer 2)
1) Accesses the buffer memory specified by (S)+2 and (S)+3 of the station
specified by (S)+1, or the programmable controller CPU device.
2) Stores the data that has been read in the receive buffer of the master
module.
3) Stores the data that has been read after the device specified in (D1), and
the device specified by (D2) turns on.
App - 6 App - 6
APPENDIXES
MELSEC-Q
(c) There are two types of interlock signals for the G(P).RIRD instruction: the
completion device (D2) and status display device at completion (D2) + 1.
1) Completion device
Turns ON in the END processing of the scan where the G(P).RIRD
instruction is completed, and turns OFF in the next END processing.
2) Status display device at completion
Turns ON and OFF depending on the completion status of the
G(P).RIRD instruction.
Normal completion : Stays OFF and does not change.
Abnormal completion: Turns ON in the END processing of the scan
where the G(P).RIRD instruction is completed,
and turns OFF in the next END processing.
END processing END processing END processing END processing
Sequence program
Execution completion of
ON the G(P).RIRD instruction
OFF
G(P).RIRD instruction
ON
OFF
Completion device ON Abnormal
completion
(d) Multiple dedicated instructions cannot be executed for the same station.
Since it takes several scans until the processing of the dedicated instruction
is completed, execute the next dedicated instruction after the completion
device has turned ON.
The next dedicated instruction executed before completion of the previously
executed dedicated instruction is ignored.
(e) The basic number of steps of the G(P).RIRD instruction is 8 steps.
(f) The receive buffer assignment is performed using the "Station information
setting" of the network parameters of the GX Developer. For more details,
see Section 6.2.
App - 7 App - 7
APPENDIXES
MELSEC-Q
App - 8 App - 8
APPENDIXES
MELSEC-Q
The G(P).RIWT instruction writes the data for the specified points, to the buffer
memory or the programmable controller CPU device of the specified station.
Usable devices
Internal device Link direct device Intelligent
Constant
(System, user) J \ function Index
Set data File
module register Other
register
Bit Word Bit Word device Z K, H S
U \G
(S1) — — — — —
(S2) — — — — —
(D) — — — —
[Instruction [Execution
symbol] condition]
Command
G.RIWT G.RIWT Un (S1) (S2) (D)
Command
GP.RIWT GP.RIWT Un (S1) (S2) (D)
Set data
1
Device Description Setting range Data type
Un Start I/O number of the module 0 to FEH Binary 16 bits
Within the range of the
(S1) Start number of the device in which control data is stored.
specified device
Device name
Within the range of the
(S2) Start number of the device to which write data is to be stored.
specified device
Device that is turned ON for one scan upon completion of
Within the range of the
(D) writing. Bit
specified device
(D) + 1 also turns ON at an abnormal completion.
1 The file register of each of the local device and the program cannot be used as a device for setting data.
Control data
Device Item Set data Setting range Set by
Stores the status when the instruction is complete.
(S1) + 0 Completion status 0 : No error (normal completion) — System
Other than 0: Error code
Specify the station numbers of the master station, local
(S1) + 1 Station number 0 to 64 User
station and intelligent device station.
b15 b8 b7 b0
Access code
(S1) + 2 See (1) and (2). User
Attribute code
Access code Attribute code
Buffer memory
Specify the buffer memory start address or device start 1
(S1) + 3 address or device User
number.
number
2
Number of points 1 to 480
(S1) + 4 Specify the write data count (in word units). 3 User
to write 1 to 10
App - 9 App - 9
APPENDIXES
MELSEC-Q
1: For details, refer to the manual for the local station or the intelligent device station
to which data are written.
When the random access buffer is specified, specify the start address of the
random access buffer as 0.
2: The value indicates the maximum number of data to be written.
Specify the value within the buffer memory capacity of the local station or the
intelligent device station, or the send buffer area setting range set by a parameter.
3: When writing device data to the programmable controller CPU other than the
QCPU (Q mode), QCPU (A mode) or QnACPU/AnUCPU, the setting range shall
be 1 to 10 words.
App - 10 App - 10
APPENDIXES
MELSEC-Q
(3) Functions
(a) Operation chart for the G(P).RIWT instruction
Programmable controller CPU Master module Local module Programmable controller CPU
2)
Command
G(P).RIWT
1) 2)
Send buffer Buffer memory
3)
Device memory Device memory
3)
4)
1) Stores the data to be written to the specified station in the send buffer of
the master module.
2) Writes the data specified by (S2) to the buffer memory specified by
(S1)+2 and (S1)+3 of the station specified by (S1)+1 or to the
programmable controller CPU device.
3) The specified station returns the write complete response to the master
station.
4) The device specified by (D) turns ON.
App - 11 App - 11
APPENDIXES
MELSEC-Q
(c) There are two types of interlock signals for the G(P).RIWT instruction: the
completion device (D) and the status display device at completion (D) + 1.
1) Completion device
Turns ON in the END processing of the scan where the G(P).RIWT
instruction is completed, and turns OFF in the next END processing.
2) Status display device at completion
Turns ON and OFF depending on the completion status of the
G(P).RIWT instruction.
Normal completion : Stays OFF and does not change.
Abnormal completion: Turns ON in the END processing of the scan
where the G(P).RIWT instruction is completed,
and turns OFF in the next END processing.
END processing END processing END processing END processing
Sequence program
Execution completion of
ON the G(P).RIWT instruction
OFF
G(P).RIWT instruction
ON
OFF
Completion device ON Abnormal
completion
at completion 1 scan
(d) Multiple dedicated instructions cannot be executed for the same station.
Since it takes several scans until the processing of the dedicated instruction
is completed, execute the next dedicated instruction after the completion
device has turned ON.
The next dedicated instruction executed before completion of the previously
executed dedicated instruction is ignored.
(e) The basic number of steps of the G(P).RIWT instruction is 8 steps.
(f) The send buffer assignment is performed using the "Station information
setting" of the network parameters of the GX Developer. For more details,
see Section 6.2.
App - 12 App - 12
APPENDIXES
MELSEC-Q
App - 13 App - 13
APPENDIXES
MELSEC-Q
Usable devices
Internal device Link direct device Intelligent
Constant
Set data (System, user) J \ function Index
File
module register Other
register
Bit Word Bit Word device Z K, H S
U \G
(S1) — — — — —
(D1) — — — — —
(S2) — — — — —
(D2) — — — —
[Instruction [Execution
symbol] condition]
Command
G.RIRCV G.RIRCV Un (S1) (D1) (S2) (D2)
Command
GP.RIRCV GP.RIRCV Un (S1) (D1) (S2) (D2)
Set data
1
Device Description Setting range Data type
Un Start I/O number of the module 0 to FEH Binary 16 bits
Within the range of the
(S1) Start number of the device in which control data is stored.
specified device
Within the range of the
(D1) Start number of the device to which read data is to be stored. Device name
specified device
Start number of the device in which the interlock signals are Within the range of the
(S2)
stored. specified device
Device that is turned ON for one scan upon completion of Within the range of the
(D2) Bit
reading. (D2)+1 also turns ON at an abnormal completion. specified device
1 The file register of each of the local device and the program cannot be used as a device for setting data.
Control data
Device Item Set data Setting range Set by
Stores the status when the instruction is complete.
(S1) + 0 Completion status 0 : No error (normal completion) — System
Other than 0: Error code
(S1) + 1 Station number Specify the station number of the intelligent device station. 0 to 64 User
Access code
(S1) + 2 Set "0004H". 0004H User
Attribute code
Buffer memory 1
(S1) + 3 Specify the buffer memory start address. User
address
Number of points 2
(S1) + 4 Specify the read data count (in word units). 1 to 480 User
to read
App - 14 App - 14
APPENDIXES
MELSEC-Q
1: See the manual for the intelligent device station from which data will be read.
2: Indicates the maximum number of data items that can be read.
Specify the buffer memory capacities of the intelligent device station and the receive buffer area setting
range to be set with a parameter.
App - 15 App - 15
APPENDIXES
MELSEC-Q
(1) Functions
(a) Operation chart for the G(P).RIRCV instruction
Buffer memory
3)
Device memory Receive buffer
5)
1) Instructs the master module to read data from the buffer memory
specified in (S1)+2 and (S1)+3 of the station specified in (S1)+1.
2) The master module monitors the remote input (RX) specified in (S2)+1.
3) When the remote input (RX) specified in (S2)+1 turns ON from OFF,
the master module reads data from the buffer memory of the specified
station.
Read data are stored in the receive buffer of the master module.
4) The master module turns the remote output (RY) specified in (S2)+0
ON.
When the remote input specified in (S)+1 turns OFF from ON, the
remote output specified in (S2)+0 turns OFF.
5) Data read out from the specified station are stored in the device
specified in (D1) and subsequent devices, and a device specified in D2
turns ON.
App - 16 App - 16
APPENDIXES
MELSEC-Q
(c) There are two types of interlock signals for the G(P).RIRCV instruction: the
completion device (D2) and the status display device at completion (D2)+1.
1) Completion device
Turns ON in the END processing of the scan where the G(P).RIRCV
instruction is completed, and turns OFF in the next END processing.
2) Status display device at completion
Turns ON and OFF depending on the completion status of the
G(P).RIRCV instruction.
Normal completion: Stays OFF and does not change.
Abnormal completion: Turns ON in the END processing of the scan
where the G(P).RIRCV instruction is completed, and turns OFF in the
next END processing.
ON
OFF
G(P).RIRCV instruction
ON
OFF
Completion device On Abnormal
completion
Normal
Status display OFF completion
device at completion 1 scan
Receive completion
RYn OFF
(Request device)
RXn OFF
(Completion device)
Other end station send ready
(d) Multiple dedicated instructions cannot be executed for the same station.
Since it takes several scans until the processing of the dedicated instruction
is completed, execute the next dedicated instruction after the completion
device has turned ON.
The next dedicated instruction executed before completion of the previously
executed dedicated instruction is ignored.
(f) The receive buffer assignment is performed using the "Station information
setting" of the network parameters of the GX Developer. For more details,
see Section 6.2.
App - 17 App - 17
APPENDIXES
MELSEC-Q
App - 18 App - 18
APPENDIXES
MELSEC-Q
Usable devices
Internal device Link direct device Intelligent
Constant
(System, user) J \ function Index
Set data File
module register Other
register
Bit Word Bit Word device Z K, H S
U \G
(S1) — — — — —
(S2) — — — — —
(S3) — — — — —
(D) — — — —
[Instruction [Execution
symbol] condition]
Command
G.RISEND G.RISEND Un (S1) (S2) (S3) (D)
Command
GP.RISEND GP.RISEND Un (S1) (S2) (S3) (D)
Set data
1
Device Description Setting range Data type
Un Start I/O number of the module 0 to FEH Binary 16 bits
Within the range of the
(S1) Start number of the device in which control data is stored.
specified device
Within the range of the
(S2) Start number of the device to which write data is to be stored. Device name
specified device
Start number of the device in which the interlock signals are Within the range of the
(S3)
stored. specified device
Device that is turned ON for one scan upon completion of Within the range of the
(D) Bit
writing. (D)+1 also turns ON at an abnormal completion. specified device
1 The file register of each of the local device and the program cannot be used as a device for setting data.
Control data
Device Item Set data Setting range Set by
Stores the status when the instruction is complete.
(S1) + 0 Completion status 0 : No error (normal completion) — System
Other than 0: Error code
(S1) + 1 Station number Specify the station number of the intelligent device station. 0 to 64 User
Access code
(S1) + 2 Set "0004H". 0004H User
Attribute code
Buffer memory 1
(S1) + 3 Specify the buffer memory start address. User
address
Number of points 2
(S1) + 4 Specify the write data count (in word units). 1 to 480 User
write
App - 19 App - 19
APPENDIXES
MELSEC-Q
1: See the manual for the intelligent device station to which data will be written.
2: Indicates the maximum number of data items that can be written.
Specify the buffer memory capacities of the intelligent device station and the receive buffer area setting
range to be set with a parameter.
App - 20 App - 20
APPENDIXES
MELSEC-Q
(1) Functions
(a) Operation chart for the G(P).RISEND instruction
Buffer memory
3)
7)
1) Instructs the master module to write data to the buffer memory specified
in (S1)+2 and (S1)+3 of the station specified in (S1)+1.
2) Data to be written to the specified station are stored in the send buffer of
the master module.
3) Data are written to the buffer memory specified in (S1)+2 and (S1)+3 of
the station specified in (S1)+1.
4) The master module turns the remote output (RY) specified in (S3)+0
ON.
5) The station specified in (S1)+1 performs processing for the remote
output (RY).
6) Upon completion of the processing for the remote output (RY), the
station specified in (S1)+1 turns the remote input (RX) specified in
(S3)+1 ON and the remote output (RY) specified in (S3)+0 turns OFF.
Also, the response showing completion of write to the master module is
returned.
7) The device specified in (D) turns ON.
App - 21 App - 21
APPENDIXES
MELSEC-Q
(c) There are two types of interlock signals for the G(P).RISEND instruction: the
completion device (D) and the status display device at completion (D)+1.
1) Completion device
Turns ON in the END processing of the scan where the G(P).RISEND
instruction is completed, and turns OFF in the next END processing.
2) Status display device at completion
Turns ON and OFF depending on the completion status of the
G(P).RISEND instruction.
Normal completion : Stays OFF and does not change.
Abnormal completion: Turns ON in the END processing of the scan
where the G(P).RISEND instruction is completed,
and turns OFF in the next END processing.
G(P).RISEND OFF
instruction
ON
OFF
Completion device ON Abnormal
completion
Normal
Status display OFF completion
device at completion
1 scan
Send completion
RYn OFF
(Request device)
RXn OFF
(Completion device)
Receive completion
(d) Multiple dedicated instructions cannot be executed for the same station.
Since it takes several scans until the processing of the dedicated instruction
is completed, execute the next dedicated instruction after the completion
device has turned ON.
The next dedicated instruction executed before completion of the previously
executed dedicated instruction is ignored.
(f) The send buffer assignment is performed using the "Station information
setting" of the network parameters of the GX Developer. For more details,
see Section 6.2.
App - 22 App - 22
APPENDIXES
MELSEC-Q
App - 23 App - 23
APPENDIXES
MELSEC-Q
The G(P).RIFR instruction reads the data from the automatic update buffer of the
specified station.
Available for modules that have the automatic update buffer (e.g. AJ65BT-R2 (N))).
Usable devices
Internal device Link direct device Intelligent
Constant
(System, user) J \ function Index
Set data File
module register Other
register
Bit Word Bit Word device Z K, H S
U \G
n1 — — —
n2 — — —
(D) — — — — —
n3 — — —
[Instruction [Execution
symbol] condition]
Command
G.RIFR G.RIFR Un n1 n2 (D) n3
Command
GP.RIFR GP.RIFR Un n1 n2 (D) n3
Set data
Device Description Setting range Data type
Un Start I/O number of the module 0 to FEH
Intelligent device station number 1 to 64
n1
Random access buffer specification FFH
Binary 16 bits
The offset value of the automatic update buffer of the intelligent
Between 0 and parameter
n2 device station specified by the master station or the random
setting value 1
access buffer.
Within the range of the
(D) Start number of the device to which read data is to be stored. Device
specified device
n3 Number of points to read 0 to 4096 2 Binary 16 bits
1: The value set in the station information settings of the network parameters of the GX Developer.
2: No processing will be performed when set to "0".
App - 24 App - 24
APPENDIXES
MELSEC-Q
(1) Functions
(a) Operation chart for the G(P).RIFR instruction
Command Communication
G(P).RIFR commences Buffer memory
when
conditions
1)
are met
Automatic update
buffer memory
Automatic
Device memory update buffer
2)
(c) The maximum points that can be read by the G(P).RIFR instruction are
4096.
(e) The automatic update buffer assignment is performed using the "Station
information setting" of the network parameters of the GX Developer.
For more details, see Section 6.2.
App - 25 App - 25
APPENDIXES
MELSEC-Q
300H
Automatic update
buffer memory
5FFH
When X0 is turned ON, the following example program reads 10-word data to D0
or succeeding addresses from the automatic update buffer offset value of 100
(400H of the intelligent device station) in the master module.
(When the link special register (SW) refresh device is set to SW0)
Dedicated instruction
execution
App - 26 App - 26
APPENDIXES
MELSEC-Q
The G(P).RITO instruction writes data to the automatic update buffer of the specified
station.
Available for modules that have the automatic update buffer (e.g. AJ65BT-R2(N)).
Usable devices
Internal device Link direct device Intelligent
Constant
(System, user) J \ function Index
Set data File
module register Other
register
Bit Word Bit Word device Z K, H S
U \G
n1 — — —
n2 — — —
(D) — — — — —
n3 — — —
[Instruction [Execution
symbol] condition]
Command
G.RITO G.RITO Un n1 n2 (D) n3
Command
GP.RITO GP.RITO Un n1 n2 (D) n3
Set data
Device Description Setting range Data type
Un Start I/O number of the module 0 to FEH
Intelligent device station number 1 to 64
n1
Random access buffer specification FFH
Binary 16 bits
The offset value of the automatic update buffer of the intelligent
Between 0 and parameter
n2 device station specified by the master station or the random
setting value 1
access buffer.
Within the range of the
(D) Start number of the device to which write data is to be stored. Device
specified device
n3 Number of points to write 0 to 4096 2 Binary 16 bits
1: The value set in the station information settings of the network parameters of the GX Developer.
2: No processing will be performed when set to "0".
App - 27 App - 27
APPENDIXES
MELSEC-Q
(1) Functions
(a) Operation chart for the G(P).RITO instruction
Command Communication
commences Buffer memory
G(P).RITO
when
conditions
are met
1) Automatic update
buffer memory
Automatic
Device memory update buffer
2)
1) Accesses the device after the device specified by (D) of the master
module specified by Un.
2) Writes to the automatic update buffer specified by n1 and n2.
(c) The maximum points that can be read by the G(P).RITO instruction are
4096.
(e) The automatic update buffer assignment is performed using the "Station
information setting" of the network parameters of the GX Developer. For
more details, see Section 6.2.
App - 28 App - 28
APPENDIXES
MELSEC-Q
300H
Automatic update
buffer memory
5FFH
When X0 is turned ON, the following example program writes 10-word data from
D0 to the automatic update buffer offset value starting from 100 (400H of the
intelligent device station) in the master module.
(When the link special register (SW) refresh device is set to SW0)
Dedicated instruction
execution
App - 29 App - 29
APPENDIXES
MELSEC-Q
Set the network parameter to the master station and start up the data link.
Usable devices
Internal device Link direct device Intelligent
Constant
(System, user) J \ function Index
Set data File
module register Other
register
Bit Word Bit Word device Z K, H S
U \G
(S1) — — — — —
(S2) — — — — —
(S3) — — — — —
(S4) — — — — —
(S5) — — — — —
(D) — — — —
[Instruction [Execution
symbol] condition]
Command
G.RLPASET G.RLPASET Un (S1) (S2) (S3) (S4) (S5) (D)
Command
GP.RLPASET GP.RLPASET Un (S1) (S2) (S3) (S4) (S5) (D)
App - 30 App - 30
APPENDIXES
MELSEC-Q
Control data
2
Device Item Set data Setting range Set by
Stores the status when the instruction is complete.
(S1) + 0 Completion status 0 : No error (normal completion) — System
Other than 0: Error code
Specifies whether the individual setting data from (S2) to
(S5) is valid or invalid.
0: Invalid 1
1: Valid
b15 b14 b13 b4 b3 b2 b1 b0
0 to 0
Slave station setting data (S2)
Reserved station specification data
(S1) + 1 Setting flag (S3) —
Error invalid station specification data
(S4)
Send, receive and automatic refresh buffer
assignment data (S5)
Mode
00: Remote net (Ver.1 mode)
01: Remote net (Additional mode)
10: Remote net (Ver.2 mode)
11: Not used
Number of
User
connected modules
(S1) + 2 Sets the number of connected slave stations. 1 to 64
involved in
communication
(S1) + 3 Number of retries Sets the number of retries to a communication faulty station. 1 to 7
Number of
Sets the number of slave stations that can be returned per
(S1) + 4 automatic return 1 to 10
one link scan.
modules
Specifies the data link status when a master station
Operation
programmable controller CPU error occurs.
(S1) + 5 specification when 0, 1
0: Stop
CPU is down
1: Continue
Specifies either the synchronous or asynchronous mode for
Scan mode sequence scan.
(S1) + 6 0, 1
specification 0: Asynchronous
1: Synchronous
(S1) + 7 Delay time setting Set 0 for the delay time. 0
1: For the setting data specified invalid, default parameter will be applied.
2: Setting a value outside the setting range results in abnormal completion.
App - 31 App - 31
APPENDIXES
MELSEC-Q
Station number
—
Number of occupied slave stations
Type of slave station
3: Perform the settings for as many connected modules involved in communication as has been specified by the control
data.
4: Setting a value outside the setting range in the slave station type setting results in abnormal completion.
App - 32 App - 32
APPENDIXES
MELSEC-Q
App - 33 App - 33
APPENDIXES
MELSEC-Q
App - 34 App - 34
APPENDIXES
MELSEC-Q
(1) Functions
(a) Operation chart for the G(P).RLPASET instruction.
Command
G(P).RLPASET
Network
1) parameter
Device
memory
2)
4) Execution result
1) Pass the network parameters set in (S1) to (S5) to the master module
specified by Un.
2) The master module analyzes the settings of the network parameters.
3) If the network parameter settings are correct, the data link is started.
4) The device specified by (D) turns on.
App - 35 App - 35
APPENDIXES
MELSEC-Q
(C) There are two types or interlock signals for the G(P).RLPASET instruction:
the completion device (D) and status display device at completion (D) + 1.
1) Completion device
Turns ON in the END Processing of the scan where the
G(P).RLPASET instruction is completed, and turns OFF in the next
END processing.
2) Status display device at completion
Turns On and OFF depending on the completion status of the
G(P).RLPASET instruction.
Normal completion : Stays OFF and does not change.
Abnormal completion : Turns ON in the END processing of the scan
where the G(P).RLPASET instruction is
completed, and turns OFF in the next END
processing.
(D) After executing the G(P).RLPASET instruction, turn on SB0003
(refresh instruction) to refresh cyclic data.
App - 36 App - 36
APPENDIXES
MELSEC-Q
App - 37 App - 37
APPENDIXES
MELSEC-Q
Station number 1
Refresh of SB/SW
SB0040 to SB01FF are read
to SB0040 to SB01FF.
SW0040 to SW01FF are read
to SW0040 to SW01FF.
Parameter setting
G(P).RLPASET instruction
· Control data
App - 38 App - 38
APPENDIXES
MELSEC-Q
Dedicated instruction
(G(P).RLPASET)
Processing at completion of the G(P).RLPASET instruction
G(P).RLPASET instruction
· Control data
App - 39 App - 39
APPENDIXES
MELSEC-Q
Refresh of RX
RX00 to RX5F are read to
X1000 to X105F.
Refresh of RWr
RXr0 to RWr3 are read to
D1000 to D1003.
Station number 1 control program
Refresh of SB/SW
App - 40 App - 40
APPENDIXES
MELSEC-Q
With this instruction, a message is sent to a remote device station. (The first five digits
of serial No. must be 10032 or later.)
This instruction is available for remote device stations that support the message
transmission function.
Usable devices
Internal device Link direct device Intelligent
Constant
(System, user) J \ function Index
Set data File
module register Other
register
Bit Word Bit Word device Z K, H S
U \G
(S1) — — — — —
(S2) — — — — —
(D1) — — — — —
(D2) — — — —
[Instruction [Execution
symbol] condition]
Command
G.RDMSG G.RDMSG Un (S1) (S2) (D1) (D2)
Command
GP.RDMSG GP.RDMSG Un (S1) (S2) (D1) (D2)
Set data
1
Device Description Setting range Data type
Un Start I/O number of the module 0 to FEH Binary 16 bits
Within the range of the
(S1) Start No. of the device in which control data are stored
specified device
2 Within the range of the
(S2) Start No. of the device that stores data to be sent Device name
specified device
2 Within the range of the
(D1) Start No. of the device that stores received data
specified device
Device that is turned ON for one scan upon completion of
Within the range of the
(D2) reading. Bit
specified device
(D2) + 1 also turns ON at an abnormal completion.
1 The file register of each of the local device and the program cannot be used as a device for setting data.
2 For details of the send data and receive data, refer to the manual for the remote device station that
supports the message transmission function.
Control data
Device Item Set data Setting range Set by
Stores the status when the instruction is complete.
(S1) + 0 Completion status 0 : No error (normal completion) — System
Other than 0: Error code
(S1) + 1 Station number Specify the station number of the remote device station. 1 to 64 User
1 to 255
(S1) + 2 Send data size Specify a send data size (in bytes). User
(See (1).)
Receivable data Specify the maximum size of the device that stores received 0 to 255
(S1) + 3 User
size data (in bytes). (See (2).)
0 to 255
(S1) + 4 Receive data size The size of received data (in bytes) is stored. System
(See (2).)
App - 41 App - 41
APPENDIXES
MELSEC-Q
Device Send
Size
memory data
specified Request
in (S1)+2
When the send data size ((S1)+2) is an odd number of bytes, the low byte of the
last data is sent as the last byte.
Programmable controller CPU Master module Remote device station
Device Send
memory data
Request
Received Size
Device
data stored
memory Response
in (S1)+4
Size
specified
in (S1)+3
If the receivable data size ((S1)+3) is smaller than the receive data size ((S1)+4),
data sent from a remote device station cannot be received.
The G(P).RDMSG instruction will fail (error code: B418H).
App - 42 App - 42
APPENDIXES
MELSEC-Q
The following explains the operations when the receivable data size ((S1)+3) is
not equal to the receive data size ((S1)+4).
(a) Receivable data size ((S1)+3) > Receive data size ((S1)+4)
Programmable controller CPU Master module Remote device station
Device Received
memory data
Response
Data are
not updated.
(b) When the receivable data size ((S1)+3) is an odd number of bytes
Programmable controller CPU Master module Remote device station
In the high
byte of the
last data, Device Received
0 is stored.
memory data
Response
(c) When the receive data size ((S1)+4) is an odd number of bytes (when data
received from a remote device station is an odd number of bytes in length)
Programmable controller CPU Master module Remote device station
In the high
byte of the
last data, Device Received
0 is stored.
memory data
Response
App - 43 App - 43
APPENDIXES
MELSEC-Q
(3) Functions
(a) Operation chart for the G(P).RDMSG instruction
Master station Specified station
Command
G(P).RDMSG
1) 2)
Send data Request
3)
Device memory
5) 4)
Received data Response
1) The send data (S2) in the size specified in (S1)+2 are stored into the
master module.
2) The send data are sent to the station specified in (S1)+1.
3) Processing for the send data is executed at the station specified in
(S1)+1.
4) A processing result is received from the station specified in (S1)+1.
5) The received data are stored in the area from the device specified in
(D1), and the device specified in (D2) is set to ON.
App - 44 App - 44
APPENDIXES
MELSEC-Q
(d) There are two types of interlock signals for the G(P).RDMSG instruction: the
completion device (D2) and status display device at completion (D2) + 1.
1) Completion device
Turns ON in the END processing of the scan where the G(P).RDMSG
instruction is completed, and turns OFF in the next END processing.
2) Status display device at completion
Turns ON and OFF depending on the completion status of the
G(P).RDMSG instruction.
Normal completion: Stays OFF and does not change.
Abnormal completion: Turns ON in the END processing of the scan
where the G(P).RDMSG instruction is completed,
and turns OFF in the next END processing.
at completion 1 scan
App - 45 App - 45
APPENDIXES
MELSEC-Q
The following lists the differences between the QJ61BT11N and older models:
App - 46 App - 46
APPENDIXES
MELSEC-Q
(2) The conditions setting switches for AJ61QBT11 shown below cannot be used on
QJ61BT11N.
Use the GX Developer and set the CC-Link network parameters.
Number Setting Description
SW1 Station type
SW4 Input status of data link error station
SW5 Number of occupied stations
(1) When the remote net mode of the QJ61BT11 is used, use the remote net ver. 1
mode of the QJ61BT11N for changing.
(2) When the remote I/O net mode of the QJ61BT11 is used, use the remote I/O net
mode of the QJ61BT11N for changing.
(3) When the remote net ver. 2 mode/remote net additional mode is set to the master
station of the QJ61BT11, an error (error code: B399H, B983H, B984H) occurs.
Error code Detectability
Error details Cause of error occurrence (details) Corrective action
(hexadecimal) Master station Local station
The number of connected modules
Set a value within the range
parameter was set to a value other
Number of connected from "1 to 64".
than "1 to 64".
B399 modules setting error
The remote net ver. 2 mode/remote
(parameter) Set to the remote net ver. 1
net additional mode has been set to
mode/remote I/O net mode.
the master station of the QJ61BT11.
The remote net ver. 2 mode/remote
Set to the remote net ver. 1
B983 Model illegal net additional mode has been set to
mode/remote I/O net mode.
the master station of the QJ61BT11.
The remote net ver. 2 mode/remote
Set to the remote net ver. 1
B984 Model illegal net additional mode has been set to
mode/remote I/O net mode.
the master station of the QJ61BT11.
(4) When the remote net ver. 2 mode/remote net additional mode is set to the local
station of the QJ61BT11, the local station operates in the remote net ver. 1 mode.
App - 47 App - 47
APPENDIXES
MELSEC-Q
The following table indicates whether the functions are available or not depending on
the CPU.
QJ72LP25-25/
QCPU (Q mode)
QJ72LP25G/
Functions (except Basic model Basic model QCPU
QJ72LP25GE/
QCPU)
QJ72BR15
Communication with remote I/O station
Communication with remote device station
Communication with local station
Communication with intelligent device station
Basic functions
Network parameter
Parameter setting with
Automatic refresh
GX Developer
parameter
Parameter setting with dedicated instruction
Slave station cut-off function
Automatic return function
Data link status setting when the master
station programmable controller CPU has an
error
Functions for improving Setting the status of input data from a data link
system reliability faulty station
Slave station refresh/compulsory clear setting
in case of programmable controller CPU
STOP
Standby master function
2
Block guarantee of cyclic data per station
Remote device station initialization procedure
registration function
1
Event issuance for the interrupt program
Automatic CC-Link startup
Remote net mode
Remote I/O net mode
Reserved station function
Handy functions
Error invalid station setting function
Scan synchronous Synchronous mode
function Asynchronous mode
Temporary error invalid station setting function
Data link stop/restart
Station number overlap checking function
3 3
Multiple CPU system support
Functions for transient
Transient transmission
transmission
: Available : Unavailable
*1: Supported by Basic model QCPU, starting with function Ver. B.
*2: Supported by the High Performance model QCPU, and Process CPU, whose first five digits of serial No. is 08032 or later.
*3: The Q00JCPU and Q00UJCPU cannot be used in any multiple CPU system configuration.
App - 48 App - 48
APPENDIXES
MELSEC-Q
Whether the QJ61BT11N supports the upgraded function or not can be confirmed with
the first 5 digits of serial No. as shown below.
App - 49 App - 49
APPENDIXES
MELSEC-Q
This checklist may be used to set the parameters required to configure a CC-Link
system.
Please make a copy of this checklist and use it as needed.
For more details, see Sections 6.3 to 6.6.
App - 50 App - 50
APPENDIXES
MELSEC-Q
App - 51 App - 51
APPENDIXES
MELSEC-Q
App - 52 App - 52
INDEX
Ind
[A] Data link restart acceptance..........................8-28
Appendixes..................................................App-1 Data link restart complete..............................8-28
Applicable modules ......................................... 2-4 Data link restart result....................................8-33
Applicable system ........................................... 2-4 Data link stop .................................................8-27
Automatic CC-Link startup ...................1-11, 4-71 Data link stop acceptance .............................8-28
Automatic return function ....................... 1-6, 4-28 Data link stop complete .................................8-28
Automatic update buffer................................ 8-22 Data link stop result .......................................8-33
Data link stop/restart............................ 1-13, 4-81
[B] Data link status setting when the master
Block guarantee of cyclic data per station ... 4-50 station programmable controller CPU has an error
Buffer memory list ........................................... 8-6 ................................................................ 1-7, 4-29
Dedicated instruction .....................................4-94
[C] Dedicated instruction list............................. App-2
CC-Link dedicated cable................................. 3-3 Delay timer information..................................8-35
CC-Link diagnostics .................................... 13-26 Detailed LED display status...........................8-34
CC-Link ver. installation/parameter matching Details of the I/O signals..................................8-4
status ............................................................. 8-41 Differences between the new and
CC-Link version............................................. 2-14 previous models........................................ App-46
Communication between the master
station and intelligent device stations ........... 12-1 [E]
Communication between the master station EMC directive................................................ A-15
and local stations........................................... 11-1 Error invalid station setting function .... 1-12, 4-75
Communication between the master Error invalid station specified status.... 8-30, 8-36
station and remote device stations ............... 10-1 Event issuance for the interrupt
Communication between the master program ................................................ 1-11, 4-68
station and remote I/O stations....................... 9-1 Example of parameter settings with
Communication buffer ................................... 8-21 GX Developer (Remote I/O net mode) .........6-49
Communication with the remote I/O stations . 4-4 Example of parameter settings with
Communication with the local stations ......... 4-11 GX Developer (Remote net additional
Communication with the remote mode) .............................................................6-33
device stations................................................. 4-6 Example of parameter settings with
Compatible CC-Link ver. information ........... 8-41 GX Developer (Remote net ver.1 mode) ........6-6
Compatibility with CC-Link .............................. 1-2 Example of parameter settings with
Completion status of remote device station GX Developer (Remote net ver.2 mode) ......6-19
initialization procedure .................................. 8-29 Example of parameter setting with
Connecting the modules ................................. 7-9 dedicated instruction......................................6-54
Connection cable............................................. 3-1 Execution status of remote device station
CPU monitoring time setting ......................... 8-32 initialization procedure ...................................8-29
Current link scan time ................................... 8-35 External dimensions ................................... App-1
Cyclic points increase ..........................1-14, 4-86
Cyclic transmission........................................A-16 [F]
Faulty stations are generated depending
[D] on transmission speed...................................13-7
Data link processing time................................ 5-1 Faulty stations cannot be detected ...............13-7
Data link restart ............................................. 8-27 Forced master switching................................8-28
Index - 1 Index - 1
Forced master switching instruction result ... 8-34
Forced master switching request Link special relays (SB) ....................... 8-20, 8-27
acknowledgement ......................................... 8-29 Link special registers (SW).................. 8-21, 8-32
Ind Forced master switching request complete.. 8-29 Local module................................................. A-16
Local station ........................................... A-16, 1-1
[H] Local station automatic refresh
H/W information........................................... 13-30 parameter settings ......................6-17, 6-31, 6-46
Handling precautions ...................................... 7-3 Local station communication ...........................1-4
Hardware test .................................................. 7-7 Local station network parameter
Host line status .............................................. 8-31 settings ........................................6-14, 6-27, 6-42
Host mater/standby master operation Loading status................................................8-35
status ............................................................. 8-31 Loading/parameter consistency status .........8-38
Host mode ..................................................... 8-29 Loop test.......................................................13-29
Host monitoring ........................................... 13-26
Host station number ...................................... 8-34 [M]
Host parameter status................................... 8-35 Master module .............................................. A-16
Host standby master station setting status .. 8-29 Master station......................................... A-16, 1-1
Host station operation status ........................ 8-30 Master station automatic refresh parameter
Host station switch change detection ........... 8-30 settings ........................................6-12, 6-25, 6-39
Host type........................................................ 8-29 Master station information .............................8-30
How to check the function version................ 2-12 Master station network parameter
settings ..........................................6-6, 6-19, 6-33
[I] Master station return specification
I/O signal list .................................................... 8-2 information .....................................................8-30
Initial setting of the remote device Master switching request
station ..................................... 10-7, 10-25, 10-45 acknowledgement..........................................8-29
Input data status of host data link faulty Master switching request complete...............8-29
station ............................................................ 8-29 Master station transient transmission
Installation........................................................ 7-3 status ..............................................................8-31
Installation environment .................................. 7-4 Master module .............................................. A-16
Intelligent device module ..............................A-16 Max. communication station number ............8-35
Intelligent device station.........................A-16, 1-1 Max. link scan time ........................................8-35
Intelligent device station communication........ 1-5 Maximum number of link points ......................3-1
Intelligent function module ............................A-17 Maximum overall cable distance ...... 3-1, 3-3, 3-5
Internal current consumption .......................... 3-1 Maximum transmission distance .....................3-1
Message transmission function
[L] ......................................... App-2, App-41, App-49
LED indicators ................................................. 7-5 Min. link scan time .........................................8-35
Line status ..................................................... 8-37 Mode selection method .................................8-43
Line test ..............................................7-15, 13-29 Mode setting status........................................8-34
Line test result ............................................... 8-39 Error history of the module ..........................13-13
Line test 1 result ............................................ 8-39 Module fixing screw ........................................7- 3
Line test acceptance status .......................... 8-28 Module operating status ................................8-35
Line test complete status .............................. 8-29 Module status....................................... 8-28, 8-33
Line test request............................................ 8-27 Monitoring time setting ..................................8-32
Line test result ............................................... 8-33 Mountable base unit ........................................2-4
Line test station setting ................................. 8-32 Mountable modules .........................................2-4
Link refresh time............................................ 5-22 Multiple CPU system support ................ 2-8, 4-83
Link scan time.................................................. 5-1 Multiple temporary error invalid station
Index - 2 Index - 2
specification................................................... 8-32
[R]
[N] Random access buffer...................................8-21
No. of automatic return stations.................... 8-35 Refresh instruction acknowledgement
No. of retries information............................... 8-35 status at standby master switching ...............8-28
Notes on the system configuration ................. 2-9 Refresh instruction at standby master
Number of host occupied stations ............... 8-30 switching.........................................................8-27
Number of connected modules..................... 8-35 Refresh instruction at standby master
Number of mountable modules ...................... 2-4 switching result...............................................8-33
Number of I/O occupied points ....................... 3-1 Refresh instruction complete status at
Number of link points per station .................... 3-1 standby master switching ..............................8-28
Number of occupied station ............................ 3-1 Refresh instruction when changing parameters
by the dedicated instruction...........................8-27
[O] Remote device station ........................... A-16, 1-1
Offline test status........................................... 8-29 Remote device station communication ...........1-3
Operation specification when Remote device station initialization
CPU is down status....................................... 8-30 procedure registration function............ 1-11, 4-57
Other station data link status ...............8-31, 8-36 Remote device station initialization
Other station fuse blown status ..........8-31, 8-37 procedure registration instruction ..................8-28
Other station monitoring.............................. 13-27 Remote device station initialization
Other station switch change status......8-31, 8-37 procedure registration instruction result........8-34
Other station watchdog timer error Remote I/O net mode ................................... A-16
occurrence status .......................................... 8-37 Remote I/O station................................. A-16, 1-1
Other station watchdog timer error status .... 8-31 Remote I/O station communication.................1-2
Remote I/O station points setting ........ 1-14, 4-84
[P] Remote input (RX) .........................................8-11
Parameter information................................... 8-35 Remote module............................................. A-16
Parameter information read Remote net mode ................................A-16, 4-73
acknowledgement status .............................. 8-29 Remote net additional mode ........A-16, 2-2, 4-88
Parameter information read completion Remote net ver. 1 mode ........................ A-16, 2-1
status ............................................................. 8-29 Remote net ver. 2 mode ...............A-16, 2-2, 4-87
Parameter information read request............. 8-27 Remote output (RY).......................................8-11
Parameter memory ......................................... 6-1 Remote register (RWr) ..................................8-15
Parameter receive status .............................. 8-30 Remote register (RWw) .................................8-15
Parameter setting checklist.......................App-50 Remote station.............................................. A-16
Parameter setting items .................................. 6-3 Reserved station function ..............................4-74
Parameter setting status ............................... 8-30 Reserved station specified status ....... 8-30, 8-36
Parameter setting test result ......................... 8-33 RDMSG ..................................................... App-41
Parameter setting with dedicated RIRCV ....................................................... App-14
instruction ............................................... 1-6, 4-24 RIRD............................................................ App-4
Parameter settings .......................................... 6-1 RIFR .......................................................... App-24
Part names and settings ................................. 7-4 RISEND..................................................... App-19
Performance specification............................... 3-1 RITO.......................................................... App-27
Precautions on programming.......................... 8-1 RIWT ........................................................... App-9
Procedure before starting the data link .......... 7-1 RLPASET.................................................. App-30
Processing time for dedicated instructions... 5-15 RWr ............................................................... A-17
Programming................................................... 8-1 RWw.............................................................. A-17
RX.................................................................. A-17
RY.................................................................. A-17
Index - 3 Index - 3
[S] Temporary error invalid station
SB ..................................................................A-17 specification ...................................................8-32
Scan mode setting information ..................... 8-30 Temporary error invalid station
Scan synchronous function..................1-13, 4-76 specification cancel result..............................8-33
Selecting a mode according to the system .. 1-11 Temporary error invalid station
Setting checklist ........................................App-50 specification result .........................................8-33
Setting status of block guarantee of cyclic data Temporary error invalid status.......................8-36
per station ...................................................... 8-30 Terminal block..................................................7-6
Setting the status of input data from a data link Terminal block screws ....................................7- 3
faulty station ........................................... 1-7, 4-30 Terminal block mounting screws....................7- 3
Slave station cut-off function.................. 1-6, 4-27 Terminal resistor ........................................... A-18
Slave station offset, size information ............ 8-18 The remote device station is not operating
Slave station refresh/compulsory clear normally..........................................................13-7
setting in case of programmable controller CPU The remote station/local station/intelligent
STOP ....................................................1-14, 4-31 device station/standby master station does
Special function module................................A-17 not start up .....................................................13-7
Standby master function ........................ 1-7, 4-33 Tightening torque range ..................................7-3
Standby master station .................................A-16 Total number of stations ................................8-35
Standby master station information .............. 8-30 Transient transmission............... A-16, 1-13, 4-94
Standby master station number.................... 8-36 Transient transmission status.............. 8-31, 8-38
Station information setting checklist .........App-51 Transmission delay time..................................5-4
Station number overlap checking Transmission speed.........................................3-1
function ..................................................1-13,4-82 Transmission speed/mode setting switch .......7-6
Station number overlap status ...................... 8-38 Transmission speed and mode settings .......7-14
Station number setting .................................. 7-13 Transmission speed setting...........................8-34
Station number setting switches ..................... 7-5 Transmission speed test..................7-19, App-49
Station status at error occurrence................. 5-28 Transmission speed test accept status.........8-31
SW .................................................................A-17 Transmission speed test completion status..8-31
Switch setting ................................................ 7-13 Transmission speed test request ..................8-28
Switch setting status ............................8-30, 8-35 Transmission speed test result......................8-41
System configuration....................................... 2-1 Transmission speed test result for each
System down prevention................................. 1-6 station.............................................................8-41
Transmission speed test result for standby
[T] master station ................................................8-31
T-Branch connection ..................................... 7-11
Temporary error invalid acceptance status .. 8-28 [V]
Temporary error invalid canceling Ver. 1 compatible slave station .................... A-17
acknowledgement status .............................. 8-28 Ver. 2 compatible slave station .................... A-17
Temporary error invalid canceling Ver.2 compatible remote input ......................8-23
complete status ............................................. 8-28 Ver.2 compatible remote output ....................8-23
Temporary error invalid canceling request... 8-27 Ver.2 compatible remote register (RWr) .......8-25
Temporary error invalid complete status ...... 8-28 Ver.2 compatible remote register (RWw)......8-25
Temporary error invalid request.................... 8-27
Temporary error invalid station setting [W]
function .................................................1-13, 4-80 Weight ..............................................................3-1
Temporary error invalid station setting When a dedicated instruction is executed,
information..................................................... 8-30 the abnormal completion bit turns on............13-7
Wiring check...................................................7-10
Index - 4 Index - 4
WARRANTY
Please confirm the following product warranty details before using this product.
3. Overseas service
Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center. Note that the repair conditions at each FA
Center may differ.
6. Product application
(1) In using the Mitsubishi MELSEC programmable controller, the usage conditions shall be that the application will not
lead to a major accident even if any problem or fault should occur in the programmable controller device, and that
backup and fail-safe functions are systematically provided outside of the device for any problem or fault.
(2) The Mitsubishi programmable controller has been designed and manufactured for applications in general industries,
etc. Thus, applications in which the public could be affected such as in nuclear power plants and other power plants
operated by respective power companies, and applications in which a special quality assurance system is required,
such as for Railway companies or Public service purposes shall be excluded from the programmable controller
applications.
In addition, applications in which human life or property that could be greatly affected, such as in aircraft, medical
applications, incineration and fuel devices, manned transportation, equipment for recreation and amusement, and
safety devices, shall also be excluded from the programmable controller range of applications.
However, in certain cases, some applications may be possible, providing the user consults their local Mitsubishi
representative outlining the special requirements of the project, and providing that all parties concerned agree to the
special circumstances, solely at the users discretion.
Ethernet is a registered trademark of Xerox Corporation in the United States.
Other company names and product names used in this document are trademarks or registered trademarks of respective
companies.
SH (NA)-080394E-K
MITSUBISHI ELECTRIC
MITSUBISHI
ELECTRIC Mitsubishi Electric Europe B.V. /// FA - European Business Group /// Gothaer Straße 8 /// D-40880 Ratingen /// Germany
FACTORY AUTOMATION Tel.: +49(0)2102-4860 /// Fax: +49(0)2102-4861120 /// info@mitsubishi-automation.com /// www.mitsubishi-automation.com