Q Corresponding Serial Communication Module
User's Manual (Basic)
-QJ71C24N
-QJ71C24N-R2
-QJ71C24N-R4
-QJ71C24
-QJ71C24-R2
-GX Configurator-SC (SW2D5C-QSCU-E)
SAFETY PRECAUTIONS
(Read these precautions before using this product.)
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 instructions given in this manual are concerned with this product. For the safety instructions of the
programmable controller system, please read the user's manual of the CPU module to use.
In this manual, the safety precautions are classified into two levels: "WARNING" 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 Precautions]
!
WARNING
For the operation status of each station at communication error in each station, refer to the
respective manual for each station.
The communication error may result in an accident due to incorrect output or malfunction.
When using the notification function, the pager receiver may not be contacted due to the frequency
transmission status from the system setup environment and error on the receiver side.
To ensure the safety of the programmable controller system, install a call circuit with a lamp
display or buzzer sound.
When connecting a peripheral with the CPU module or connecting an external device, such as a
personal computer, with an intelligent function module to modify data of a running
programmable controller, configure an interlock circuit in the program to ensure that the entire
system will always operate safely.
For other forms of control (such as program modification or operating status change) of a
running programmable controller, read the relevant manuals carefully and ensure that the
operation is safe before proceeding.
Especially, when a remote programmable controller is controlled by an external device,
immediate action cannot be taken if a problem occurs in the programmable controller due to a
communication failure.
To prevent this, configure an interlock circuit in the program, and determine corrective actions to
be taken between the external device and CPU module in case of a communication failure.
A - 1 A - 1
[Design Precautions]
!
WARNING
Do not write any data to the "system area" of the buffer memory in the intelligent function
module.
Also, do not use any "use prohibited" signals as an output signal from the programmable
controller CPU to the intelligent function module.
Doing so may cause malfunction of the programmable controller system.
!
CAUTION
Do not install the control lines or communication cables together with the main circuit lines or
power cables.
Keep a distance of 100mm or more between them.
Failure to do so may result in malfunction due to noise.
When using the module while values, such as buffer memory set values, are registered in the
Flash ROM, do not turn off the power supply for the module loading station nor reset the
programmable controller CPU.
If the power supply for the module loading station is turned off or the programmable controller
CPU is reset while any values are registered, the data contents in the Flash ROM become
inconsistent and as a result the values must be set again in the buffer memory, etc. and
reregistered to the Flash ROM.
Also, this may cause failure and malfunction of the module.
[Installation Precautions]
!
CAUTION
Use the programmable controller in an environment that meets the general specifications in the
user's manual for the CPU module used.
Failure to do so may result in electric shock, fire, malfunction, or 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 cause malfunction, failure or drop of the module.
When using the programmable controller in an environment of frequent vibrations, fix the
module with a screw.
Tighten the screws within the specified torque range.
Undertightening can cause drop of the screw, short circuit or malfunction.
Overtightening can damage the screw and/or module, resulting in drop, short circuit, or
malfunction.
Shut off the external power supply (all phases) used in the system before mounting or removing
a module.
Failure to do so may result in damage to the product.
Do not directly touch any conductive parts and electronic components of the module.
Doing so can cause malfunction or failure of the module.
A - 2 A - 2
[Wiring Precautions]
!
CAUTION
When turning on the power and operating the module after installation and wiring are completed,
always attach the terminal cover that comes with the product.
There is a risk of electric shock if the terminal cover is not attached.
Perform correct pressure-displacement, crimp-contact or soldering for external wire connections
using the tools specified by the manufactures.
Incorrect connection may cause short circuits, fire, or malfunction.
Attach connectors to the module securely.
Place the cables in a duct or clamp them.
If not, dangling cable may swing or inadvertently be pulled, resulting in damage to the module or
cables or malfunction due to poor contact.
Before connecting the cables, check the type o f interface to be connected.
Connecting or erroneous wiring to the wrong interface may cause failure to the module and
external devices.
Tighten the terminal screws within the specified torque range.
Undertightening the terminal screws can cause short circuit or malfunction.
Overtightening can damage the screw and/or module, resulting in drop, short circuit, or
malfunction.
When disconnecting the cable from the module, do not pull the cable by the cable part. For the
cable with connector, hold the connector part of the cable.
For the cable connected to the terminal block, loosen the terminal screw.
Pulling the cable that is still connected to the module may cause malfunction or damage to the
module or cable.
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 the top of the module to prevent foreign matter, such as wire
chips, from entering the module during wiring.
Do not remove the film during wiring.
Remove it for heat dissipation before system operation.
A - 3 A - 3
[Startup/Maintenance Precautions]
!
CAUTION
Do not disassemble or modify the modules.
Doing so may cause failure, malfunction, injury, or a fire.
Shut off the external power supply (all phases) used in the system before mounting or removing
the module.
Failure to do so may cause the module to fail 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 may cause malfunction.
Do not touch any terminal while power is on.
Doing so may cause malfunction.
Shut off the external power supply (all phases) used in the system before cleaning the module or
retightening the terminal screws or module fixing screws.
Failure to do so may cause the module to fail or malfunction.
Undertightening can cause drop of the screw, short circuit or malfunction.
Overtightening can damage the screw and/or module, resulting in drop, short circuit, or
malfunction.
Before handling the module, touch a conducting object such as a grounded metal to discharge
the static electricity from the human body.
Failure to do so may cause the module to fail or malfunction.
[Operation Precautions]
!
CAUTION
When changing data and operating status, and modifying program of the running programmable
controller from an external device such as a personal computer connected to an intelligent
function module, read relevant manuals carefully and ensure the safety before operation.
Failure to perform correct operations to change data, program, or the status may result in
system malfunction, machine damage, or an accident.
[Disposal Precautions]
!
CAUTION
When disposing of this product, treat it as industrial waste.
A - 4 A - 4
CONDITIONS OF USE FOR THE PRODUCT
(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or
serious accident; and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the
PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general
industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO
ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT,
PRODUCT LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO
PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT
INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR WARNING CONTAINED IN
MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL BULLETINS AND
GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
Nuclear Power Plants and any other power plants operated by Power companies, and/or any other
cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
Railway companies or Public service purposes, and/or any other cases in which establishment of a
special quality assurance system is required by the Purchaser or End User.
Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator
and Escalator, Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for
Recreation and Amusement, and Safety devices, handling of Nuclear or Hazardous Materials or
Chemicals, Mining and Drilling, and/or other applications where there is a significant risk of injury to
the public or property.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the
PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is
limited only for the specific applications agreed to by Mitsubishi and provided further that no special
quality assurance or fail-safe, redundant or other safety features which exceed the general specifications
of the PRODUCTs are required. For details, please contact the Mitsubishi representative in your region.
A - 5 A - 5
REVISIONS
The manual number is given on the bottom left of the back cover.
Print Date Manual Number Revision
Dec., 1999 SH (NA)-080006-A First edition
Oct., 2000 SH (NA)-080006-B Add the contents of the function version B.
Correction
Contents, Entire manual (change MELSECNET/10H to MELSECNET/H),
About Manuals, About The Generic Terms and Abbreviations, Product
Configuration, Section 1.2, 1.2(8), 1.3 POINT, Section 2.2, 2.3, 2.5, 2.6,
Section 3.1, 3.6, 3.9, Section 4.2, 4.4.1(2)(a)(Figure), 4.6(1), Chapter
5(all), Section 6.1.1, 6.1.3, 6.1.4, Section 7.1.1, 7.1.2, 7.2.2, Section 8.1,
Entire manual (add the explanation on MELSECNET/H remote I/O
station), The Manual's Use and Structure, Section 2.1, Section
3.1(Table), Section 4.4.2(1)(d), 4.9.2, Section 8.3.2 POINT, Section
10.2.1 (7164
Jun., 2001 SH (NA)-080006-C Put Windows base software product together from Mitsubishi
H, 7E70H), Appendix 3(1)
R
Programmable Controller MELSEC Series to Mitsubishi integrated FA
Software MELSOFT Series.
Standardize the name from software package (GPP function) to Product
name (GX Developer).
Standardize the name from utility package (QSCU) to Product name (GX
Configurator-SC).
Correction
Conformation to the EMC Directive and Low Voltage Instruction, About
the Generic Terms and Abbreviations, Product Configuration, Program
Examples (Section 6.1.4, 6.2.3, Section 7.2.3, Section 9.3, 9.5, Appendix-
About Manuals, Manual's Use and Structure, About The Generic Terms
and Abbreviations, Definitions and Descriptions of Terminology,
Sections 1.2, 1.3, 2.1, 2.2, 2.4 to 2.6,
2.8, 3.1, 3.2.1, 3.3.4, 3.4 to 3.6, 3.8, 3.9, 4.1 to 4.3,
11.1.6, 11.2.1, 11.3, 11.3.1 to 11.3.3,
and 11.3.5 to 11.3.22, Appendices 1.1, 2.1, 3, 9.6, and 10
Partial addition
Section 3.3.4, Chapter 8, Sections 9.4.9, 9.6.7, 11.3.4, and 11.3.6
Section number change
Chapters 8 to 10 9 to 11, Sections 9.6.7 to 9.6.10 9.6.8 to 9.6.11,
Sections 9.4.9 to 9.4.11 9.4.10 to 9.4.12,
Section 11.3.4 11.3.5, Sections 11.3.5 to 11.3.20 11.3.7 to 11.3.22
Apr., 2011 SH (NA)-080006-P
Correction
SAFETY PRECAUTIONS, About The Generic Terms and Abbreviations,
Sections 1.2, 1.3, 2.1, 2.2, 2.8, 3.2.1, 3.2.2, 3.3.1, 3.3.2, 3.8, 4.4, 5.2,
CONDITIONS OF USE FOR THE PRODUCT, Sections 8.1.5, 8.1.6, 10.7
Section number change
Section 10.8 10.9
Nov., 2012 SH (NA)-080006-Q
Correction
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES,
Sections 1.3, 3.2.1, 8.1.5, 8.1.6, 9.2.2, 11.2.1, 11.3.1, Appendix 3
Partial addition
Appendix 6
A - 8 A - 8
The manual number is given on the bottom left of the back cover.
Print Date Manual Number Revision
Mar., 2015 SH (NA)-080006-R
Correction
ABOUT MANUALS, ABOUT THE GENERIC TERMS AND
ABBREVIATIONS, DEFINITIONS AND DESCRIPTIONS OF
TERMINOLOGY, Sections 1.2, 2.1, 2.8, 3.3.1, 3.3.2, 3.8, 3.9, 4.3, 4.4,
ABOUT THE GENERIC TERMS AND ABBREVIATIONS, DEFINITIONS
AND DESCRIPTIONS OF TERMINOLOGY, DISCONTINUED MODELS,
Section 2.7, 6.1.1, 9.2.2, 11.2, Appendices 7.1
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.
1999 MITSUBISHI ELECTRIC CORPORATION
Japanese Manual Version SH-080001-AD
A - 9 A - 9
INTRODUCTION
Thank you for purchasing the MELSEC-Q series programmable controller.
Before using the equipment, please read this manual carefully to develop full familiarity with the functions
and performance of the Q series programmable controller you have purchased, so as to ensure correct use.
Please forward a copy of this manual to the end user.
ABOUT MANUALS ...................................................................................................................................... A- 16
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES ..................................................... A- 16
THE MANUAL'S USE AND STRUCTURE ................................................................................................. A- 17
ABOUT THE GENERIC TERMS AND ABBREVIATIONS ......................................................................... A- 20
DEFINITIONS AND DESCRIPTIONS OF TERMINOLOGY ...................................................................... A- 22
4.5.2 Switch settings for I/O and intelligent functional module ............................................................. 4- 14
4.5.3 The Intelligent function module interrupt pointer setting ............................................................. 4- 21
4.6 Settings with the Utility Package (GX Configurator-SC) .................................................................... 4- 23
4.7 Individual Station Test ......................................................................................................................... 4- 26
Appendix 6.1 RS-232 interfaces used for the Q series C24 ........................................................... App.- 22
Appendix 6.2 Connection examples when using a converter ......................................................... App.- 22
Appendix 7 Communication Support Tool (MX Component) .............................................................. App.- 25
Appendix 7.1 Overview of MX Component ...................................................................................... App.- 25
Appendix 7.2 Usage procedure of MX Component ......................................................................... App.- 28
A - 14 A - 14
Appendix 8 Example of Clear Process Program for Receive Data .................................................... App.- 35
Appendix 9 Program Examples for Using Q Series C24 at MELSECNET/H Remote I/O Station .... App.- 37
Appendix 9.1 System configuration and program conditions .......................................................... App.- 37
Appendix 9.2 When accessing buffer memory using sequence program ...................................... App.- 39
Appendix 9.3 When sending on-demand data ................................................................................ App.- 40
Appendix 9.4 When receiving data using nonprocedural or bidirectional protocol ........................ App.- 42
Appendix 9.5 When sending data using nonprocedural or bidirectional protocol .......................... App.- 44
Appendix 9.6 When clearing received data ..................................................................................... App.- 46
Appendix 9.7 When sending data using user frames ...................................................................... App.- 48
Appendix 9.8 When performing initial setting .................................................................................. App.- 51
Appendix 9.9 When registering user frame ..................................................................................... App.- 53
Appendix 9.10 When reading user frame ........................................................................................ App.- 55
Appendix 9.11 When deleting user frame ........................................................................................ App.- 57
Appendix 9.12 When changing the communication protocol and transmission setting ................. App.- 59
Appendix 10 Setting Value Recording Sheet ...................................................................................... App.- 62
INDEX Index- 1 to Index- 2
A - 15 A - 15
ABOUT MANUALS
The following table lists the manuals relating to this product. Please order the desired manual(s) as needed.
Related manuals
Manual Name
MELSEC-Q/L Serial Communication Module User's Manual (Application)
Details of the special functions (specifications, usage, and settings) of the serial communication module
and the data communication methods between the module and external devices
(sold separately)
MELSEC Communication Protocol Reference Manual
Details of MELSEC communication protocol (MC protocol) that is used for data communication between
an external device and a CPU module
(sold separately)
GX Configurator-SC Version 2 Operating Manual (Protocol FB support function)
Details of the protocol FB support function (specifications, usage, and parameter settings) that enables
users to easily create data communication programs of the serial communication module
(sold separately)
Manual Number
(Model Code)
SH-080007
(13JL87)
SH-080008
(13JF89)
SH-080393E
(13JU46)
GX Configurator-SC Version 2 Operating Manual (Pre-defined protocol support function)
Details of the pre-defined protocol support function (specifications, usage, and protocol setting method)
of the serial communication module
(sold separately)
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES
(1) Method of ensuring compliance
To ensure that Mitsubishi programmable controllers maintain EMC and Low
Voltage Directives when incorporated into other machinery or equipment, certain
measures may be necessary. Please refer to one of the following manuals.
• QCPU User's Manual (Hardware Design, Maintenance and Inspection)
• Safety Guidelines
(This manual is included with the CPU module or base unit.)
The CE mark on the side of the programmable controller indicates compliance
with EMC and Low Voltage Directives.
(2) Additional measures
No additional measures are necessary for the compliance of this product with
EMC and Low Voltage Directives.
SH-080850ENG
(13JU66)
A - 16 A - 16
THE MANUAL'S USE AND STRUCTURE
How to use this manual
In this manual, details of the serial communication modules (QJ71C24N,
QJ71C24N-R2, QJ71C24N-R4, QJ71C24 and QJ71C24-R2) are organized as
shown below, according to their applications.
Please use this manual using the contents below as a reference.
(1) To learn about features, functions and component parts
(a) To learn about features and functions
• Chapter 1 describes the features of the serial communication modules.
• Chapter 3 describes the common specifications and functions of the serial
(b) To learn about the packed items and system-configured items
communication modules.
• The section prior to Chapter 1, "Product Configuration", describes the
parts that are packed along with the serial communication module.
• Parts and components other than those packed with the module must be
prepared separately by the user.
(2) To learn about processing required to start up the serial
communication module
(a) To learn about the startup procedure
• Section 4.2 describes the general procedures prior to starting the
(b) To learn about the connection with the external devices
(c) To learn about processing required prior to operation of the serial
(d) To check for failure in the serial communication module
(e) To learn how to check for a connection error with the external devices
operation of the serial communication module.
• Section 4.4 describes the connection methods for each type of interface.
communication module
• Section 4.5 explains the parameter settings with GX Developer in order to
use the serial communication module.
• Section 4.6 and Chapter 9 describe the settings from GX Configurator-SC
to perform the initial setting of the serial communication module.
To change an initial value, follow the procedure described in Chapter 9.
• Section 4.7 describes the test of the individual serial communication
module.
• Section 4.8 describes how to perform the individual module test and the
loopback test using MC protocol-based communication.
Details of the loopback test command are described in the reference
manual.
A - 17 A - 17
(3) To learn about data communication functions and detailed
explanations
(a) To learn about the communication functions
• Section 3.4 describes an overview of the serial communication module
(b) To learn about detailed explanations of the communication functions
functions.
• The basic communication methods are described in Chapters 5 to 7.
• Special functions are described in the User's Manual (Application).
(4) To learn about data communication functions and programming
(a) To learn how to read data from and written to the programmable controller
CPU
• Data is read from and written to the programmable controller CPU with a
communication function using the MC protocol.
Details are described in the Reference Manual.
• Appendix 7 describes an overview of the communication support tool (MX
(b) To learn how to send and receive data between the programmable controller
(c) To learn how to transfer data between a programmable controller CPU and
Component) that supports communication using the MC protocol.
CPU and the external devices
• Data communication between the programmable controller CPU and the
external devices is performed with a communication function using the
non procedure protocol or the bidirectional protocol.
• Chapter 6 explains details of the communication functions and
programming using the non procedure protocol.
• Chapter 7 explains details of the communication functions and
programming using the bidirectional protocol.
an external device using the protocol of the external device
• With the pre-defined protocol function, data can be transferred between
the QJ71C24N(-R2/R4) and external devices.
The details are described in the Operating Manual (Pre-defined protocol
support function).
(5) To learn how to check for error occurrences and take corrective
actions
Chapter 11 describes troubleshooting, how to check for errors, and detailed
explanations of error codes.
(6) To learn about functions that have been added or changed in
function version B
• Section 1.3 lists the functions that have been added or changed as well as
manuals that provide detailed explanations hereof.
• Appendix 1.1 provides a breakdown of the functions of Q series C24/GX
Configurator-SC by function version/software version.
A - 18 A - 18
The structure of this manual
The module's buffer memory stores default values that are used as initial settings
to execute the data send/receive functions in order to communicate with the
external devices.
Data can be sent to or received from the external devices using these default
values. However, it may be necessary to change the default values, depending on
system specifications.
This manual explains how to perform the initial settings in order to use each
function of the utility package available for this module (GX-Configurator-SC).
When changing a default value for sending and receiving data to/from an opposite
device, first see the section describing the applicable function to verify the initial
setting item and setting value you wish to change, then change the default value
as explained in Chapter 9.
A - 19 A - 19
ABOUT THE GENERIC TERMS AND ABBREVIATIONS
This manual uses the following generic terms and abbreviations to describe the serial communication
modules, unless otherwise specified.
(1) Generic terms and abbreviations of relevant modules
In this manual, the following generic terms and abbreviations are used to indicate
the programmable controller CPU and other modules used for the datacommunication functions of the serial communication modules. Module model
names are provided when relevant model names are needed to be shown.
Generic term/abbreviation Description of generic term/abbreviation
The abbreviation for QJ71C24N, QJ71C24N-R2, QJ71C24N-R4, QJ71C24 and QJ71C24-R2 type
Q series C24 (C24)
QC24 A generic term for AJ71QC24, AJ71QC24-R2, AJ71QC24-R4, A1SJ71QC24, and A1SJ71QC24-R2
QC24N
QC24(N) A generic term for QC24, and QC24N
QCPU
Basic model QCPU A generic term for Q00JCPU, Q00CPU, and Q01CPU
High Performance model QCPU A generic term for Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU, and Q25HCPU
Process CPU A generic term for Q02PHCPU, Q06PHCPU, Q12PHCPU, and Q25PHCPU
Redundant CPU A generic term for Q12PRHCPU, and Q25PRHCPU
Universal model QCPU
Built-in Ethernet port QCPU
QCPU station The abbreviation for the programmable controller with QCPU installed
QnACPU
Q/QnACPU A generic term for QCPU, and QnACPU
UC24
Computer link module
Serial communication module
C Controller module
serial communication modules
(Indicated as "C24" in the diagrams)
A generic term for AJ71QC24N, AJ71QC24N-R2, AJ71QC24N-R4, A1SJ71QC24N1,
A1SJ71QC24N1-R2, A1SJ71QC24N, and A1SJ71QC24N-R2
A generic term for the Basic model QCPU, High Performance model QCPU, Process CPU,
Redundant CPU, and Universal model QCPU
A generic term for the Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU, Q03UDVCPU,
Q03UDECPU, Q04UDHCPU, Q04UDVCPU, Q04UDEHCPU, Q06UDHCPU, Q06UDVCPU,
Q06UDEHCPU, Q10UDHCPU, Q10UDEHCPU, Q13UDHCPU, Q13UDVCPU, Q13UDEHCPU,
Q20UDHCPU, Q20UDEHCPU, Q26UDHCPU, Q26UDVCPU, Q26UDEHCPU, Q50UDEHCPU, and
Q100UDEHCPU
A generic term for the Q03UDVCPU, Q03UDECPU, Q04UDVCPU, Q04UDEHCPU, Q06UDVCPU,
Q06UDEHCPU, Q10UDEHCPU, Q13UDVCPU, Q13UDEHCPU, Q20UDEHCPU, Q26UDVCPU,
Q26UDEHCPU, Q50UDEHCPU, and Q100UDEHCPU
A generic term for Q2ACPU, Q2ACPU-S1, Q2ASCPU, Q2ASCPU-S1, Q2ASHCPU, Q2ASHCPU-S1,
Q3ACPU, Q4ACPU, and Q4ARCPU
A generic term for AJ71UC24, A1SJ71UC24-R2, A1SJ71UC24-R4, A1SJ71UC24-PRF,
A1SJ71C24-R2, A1SJ71C24-R4, A1SJ71C24-PRF, A2CCPUC24, and A2CCPUC24-PRF
This manual uses the following generic terms and abbreviations to explain the
data-communication devices for the serial communication module. The
names/model names are provided when it is necessary to explicitly identify the
model being discussed.
Generic term/abbreviation Description of generic term/abbreviation
BIDIN The abbreviation for G.BIDIN or GP.BIDIN
BIDOUT The abbreviation for G.BIDOUT or GP.BIDOUT
A generic term for memory of the intelligent function modules/special function modules used for
Buffer memory
BUFRCVS The abbreviation for Z.BUFRCVS
CPRTCL The abbreviation for G.CPRTCL or GP.CPRTCL
CSET The abbreviation for ZP.CSET
Data communication function
GETE The abbreviation for G.GETE or GP.GETE
Intelligent function module devices
Intelligent function modules
MELSECNET/10 The abbreviation for MELSECNET/10 network system
MELSECNET/H The abbreviation for MELSECNET/H network system
ONDEMAND The abbreviation for G.ONDEMAND or GP.ONDEMAND
Operating Manual
(Protocol FB support function)
Operating Manual
(Pre-defined protocol support
function)
Opposite devices
(external devices)
OUTPUT The abbreviation for G.OUTPUT or GP.OUTPUT
PRR The abbreviation for G.PRR or GP.PRR
PUTE The abbreviation for G.PUTE or GP.PUTE
Reference Manual Q Corresponding MELSEC Communication Protocol Reference Manual
SPBUSY The abbreviation for G.SPBUSY or GP.SPBUSY
Special function modules
Switch setting A generic term for intelligent function module switch setting
UINI The abbreviation for ZP.UINI
User's Manual (Application) or
Application
User's Manual (Basic) or Basic Q Corresponding Serial Communication Module User's Manual (Basic)
A - 21 A - 21
storing data sent to or received from the programmable controller CPU. (setting values, monitor
values, etc.)
A generic term for MC protocol, non procedure protocol, and bidirectional protocol, and pre-defined
protocol
A generic term for buffer memory of the intelligent function modules used for storing data sent to or
received from the programmable controller CPU. (setting values, monitor values, etc.)
A generic term for the Q series programmable controller modules that are operated by commands
from the programmable controller CPU (equivalent to the A series programmable controller special
function modules)
Examples:
• CC-Link interface module
• A/D and D/A conversion modules
• Ethernet interface module
• Serial communication module
GX Configurator-SC Version 2 Operating Manual (Protocol FB support function)
GX Configurator-SC Version 2 Operating Manual (Pre-defined protocol support function)
A generic term for computers, indicators, measuring instruments, ID modules, bar code readers,
regulators, other serial communication modules, UC24, etc. that are connected to this serial
communication module for data communication
A generic term for the A/QnA series programmable controller modules that are operated by
commands from the programmable controller CPU (equivalent to the Q series programmable
controller intelligent function modules)
Examples:
• CC-Link interface module
• A/D and D/A conversion modules
• High-speed counter module
• Ethernet interface module
• Computer link module and serial communication module
MELSEC-Q/L Serial Communication Module User's Manual (Application)
DEFINITIONS AND DESCRIPTIONS OF TERMINOLOGY
The following table lists the definitions and descriptions of terminology used in this manual and related
manuals for the Q series serial communication modules.
Terms Description
One of the message formats for the serial communication module for performing communication
A compatible 1C frame
(Formats 1 to 4)
Bidirectional protocol
Independent operation
GX Configurator-SC Setting and monitoring tool for the serial communication module (MELSOFT product)
GX Developer
GX Works2
Linked operation
MX Component Active X® control library for serial communication (MELSOFT product)
MELSEC communication protocol
(MC protocol)
Message send function
(Printer function)
Multidrop connection
Non procedure protocol
Packet A string of data used for communication with external devices by the pre-defined protocol.
Pre-defined protocol
Pre-defined protocol support function
using the MC protocol and ASCII code data.
This is the same message format as when communicating using the protocol for the A series
computer link modules. Device memory read/write operations for the QCPU are allowed within
the device range of the AnACPU.
A communication procedure for the serial communication modules and one of the data
communication functions for communicating any data between the programmable controller CPU
and an opposite device.
A mode of interface operation to communicate data with external devices using a function
specified in each communication protocol setting. Two interfaces of serial communication
modules do not interact.
The product name of the software package for the MELSEC programmable controllers
The operation mode of each of the two interfaces for a serial communication module that are
connected to external devices and linked to one another in order to send/receive data to/from the
external devices.
The two interfaces communicate data using the identical data-communication function (MC
protocol (identical format) or non procedure protocol) and the identical transmission
specifications. (Linked operation using the bidirectional or pre-defined protocol is not allowed.)
A communication procedure for the Q series serial communication modules or the Ethernet
interface modules, and a name of communication method for accessing to the programmable
controller CPU from an opposite device. (This is called the MC protocol in this manual.)
There are two communication methods; one uses ASCII code data and the other uses binary
code data.
This function registers character data (messages) to be sent to external devices (mainly printers)
in the serial communication module as a user frame in advance, and sends the registered data
for multiple user frames using the non-procedure protocol (sent by an instruction from the
programmable controller CPU).
A name of the connection when multiple external devices or other serial communication modules are
connected in a 1:n or m:n mode using the serial communication module's RS-422/485 interface.
A user's communication procedure and one of the data communication functions for
communicating any data between the programmable controller CPU and an opposite device.
One of the data communication functions available for the QJ71C24N(-R2/R4).
In data communication between the QJ71C24N(-R2/R4) and an external device, data can be
sent and received by using a protocol for the external device.
This must be set in GX Configurator-SC (Pre-defined protocol support function).
A function available in GX Configurator-SC (Pre-defined protocol support function), which
includes:
• Registration of the protocol appropriate to each external device
• Writing protocol setting data to or reading them from the flash ROM of the QJ71C24N(-R2/R4)
• Debug support function
A - 22 A - 22
Terms Description
QnA compatible 2C frame
(Formats 1 to 4)
QnA compatible 3C frame
(Formats 1 to 4)
QnA compatible 4C frame
(Formats 1 to 4)
QnA compatible 4C frame
(Format 5)
User frame
DISCONTINUED MODELS
One of the message formats for the serial communication module for performing communication
using the MC protocol and ASCII code data.
This is the same message format as the communication frame using the protocol for the QnA
series serial communication modules.
• QnA compatible 2C frame (Formats 1 to 4): QnA simplified frame (Formats 1 to 4)
• QnA compatible 3C frame (Formats 1 to 4): QnA frame (Formats 1 to 4)
• QnA compatible 4C frame (Formats 1 to 4): QnA extension frame (Formats 1 to 4)
One of the message formats for the serial communication module for performing communication
using the MC protocol and binary code data.
This is the same message format as the communication frame using the protocol for the QnA
series serial communication modules.
Data name when the fixed format portion of messages to be sent or received between a serial
communication module and an external device is registered in the module and used for sending
and receiving data. (The contents of a user frame data should conform to the specifications of the
external device.)
The data array of the head and tail sections of a message (transmission control code, serial
communication module station No., sum check, fixed data, etc.) to be sent and received is
registered in the serial communication module before use.
User frame is used in MC protocol on-demand functions and data communication functions which
use the non procedure protocol.
The following models are described in this manual, but have no longer been produced.
For the onerous repair term after discontinuation of production, refer to "WARRANTY" in this manual.
Model Production discontinuation
QJ71C24 January 2004
QJ71C24-R2 January 2004
A - 23 A - 23
PRODUCT CONFIGURATION
The following lists the product configuration of the Q series serial communication modules.
Model Item name Quantity
QJ71C24N serial communication module or QJ71C24 serial
QJ71C24N or QJ71C24
QJ71C24N-R2 or
QJ71C24-R2
QJ71C24N-R4
SW2D5C-QSCU-E GX Configurator-SC Version 2 (1-license product) (CD-ROM) 1
SW2D5C-QSCU-EA GX Configurator-SC Version 2 (Multiple-license product) (CD-ROM) 1
communication module
Terminal resistor 330 ¼ W (for RS-422 communication) 2
Terminal resistor 110 ½ W (for RS-485 communication) 2
QJ71C24N-R2 serial communication module or QJ71C24-R2 serial
communication module
QJ71C24N-R4 serial communication module 1
RS-422/485 plug-in connector socket block 2
Terminal resistor 330 ¼ W (for RS-422 communication) 4
Terminal resistor 110 ½ W (for RS-485 communication) 4
Plate terminal (for connecting a braided shield cable) 4
1
1
A - 24 A - 24
1 OVERVIEW
MELSEC-Q
1 OVERVIEW
This manual describes the specifications for the QJ71C24N, QJ71C24N-R2,
QJ71C24N-R4, QJ71C24, QJ71C24-R2 serial communication module (hereinafter
referred to as "Q series C24"), as well as the procedures prior to starting the operation,
maintenance, inspection, data communication methods for use with external devices
and troubleshooting.
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 of the Serial Communication Module
The Q series C24 is a module that connects the Q series programmable controller
CPU and an external device using an RS-232 or RS-422/485 line for serial
communication, in order to achieve the data communication described below.
By using a modem/terminal adapter, a public line (analog/digital) can be used for data
communication with a remote location.
• Programmable controller data collection/change from the external devices
(See the MELSEC Communication Protocol Reference Manual.)
• Programmable controller monitoring and control from the external devices (See the
User's Manual (Application).)
• Data receiving and sending in any formats that conform to the external device
specifications (See Section 1.2. (2), (3), and (4).)
• Collection of measured data from a measuring device (See Section 1.2. (2) and (4).)
• Operation of a programmable controller CPU that is connected to a personal
computer installed with GX Developer. (See the GX Developer Manual.)
1
• Collection of measured
data
• Collection of read data
QJ71C24-R2
RUN
ERR.
NEU
NEU
SD
SD
CH.1CH.2
RD
RD
CH. 1
Being a convenient means of connection among different devices (personal
computers, display devices, printers, etc.), the serial communication line is the
most widely used medium on the market today.
• Programmable controller data
collection/change
• Programmable controller monitoring
and control from an external device
• Data receiving and sending in any
formats that conform to the external
device specifications
• GX Developer
• File writing/reading
• Device monitoring/testing
1 - 1 1 - 1
1 OVERVIEW
1.2 Features of the Serial Communication Module
The following describes the features of the Q series C24.
1
(1) Data communication based on the MELSEC communication
Q25HCPU
MELSEC
protocol (hereinafter referred to as the MC protocol)
(Details are explained in the MELSEC Communication Protocol Reference
Manual.)
(a) External devices can read/write the programmable controller device data
and sequence programs, and can monitor programmable controller
equipment status.
With the exception of the on-demand function described below, the
programmable controller does not require a sequence program because the
programmable controller sends and receives data based solely on
commands from external devices.
(b) Using the on-demand function, data can be sent from the programmable
controller CPU to the external devices in each frame format of the MC
protocol.
(c) Data communication can be performed using a program at the external
device side that has been created for communicating data with conventional
A/QnA series computer link module/serial communication modules.
(d) When an external device is a personal computer, use separately sold
communication support tools (MX Component). This allows a communication
program for the external device to be created, regardless of MC protocol's
transmitting/receiving procedure.
For details on MX Component, refer to Appendix 7 and the operating manual
of MX Component.
QJ71E71QJ71C24
MELSEC-Q
Q25HCPU
MELSEC
QJ71E71QJ71C24
Q25HCPU
MELSEC
QJ71E71QJ71C24
In the MELSECNET/H (MELSECNET/10 mode), other stations (including the
A/QnA series programmable controller CPUs) can be accessed during data link
operation.
The MC protocol is equivalent to the communication function using a dedicated
protocol that is supported by the A/QnA series computer link module/serial
communication modules.
1 - 2 1 - 2
1 OVERVIEW
MELSEC-Q
(2) Data communication using the non procedure protocol
(Details are explained in Chapter 6 and the User's Manual (Application).)
(a) Data can be transferred in any message formats that conform to the
specifications of external devices (measuring devices, personal computers,
etc.).
(b) Fixed or variable length messages can be received in accordance with the
external device specifications.
• How to receive the variable length data
The external device sends data by adding at the end of the message the
end-code data (CR+LF or any one-byte data) that is set for the Q series C24.
• How to receive the fixed length data
The external device sends the amount of data equivalent to the size of the
end data that is set for the Q series C24.
(c) ASCII code data can be used for communication using the ASCII-BIN
conversion function.
QCPU
Q25HCPU
MODE
RUN
ERR.
USER
BAT.
BOOT
USB
RS-232
Binary
data
Q series C24
ASCII-BIN
conversion
Binary
data
ASCII
data
(d) It is necessary to create a sequence program for communication control that
is appropriate to the external device.
(e) Communication can be performed using a user frame by registering the fixed
format portion of the head and tail sections of a message as a user frame.
• When sending data, the Q series C24 adds a user frame to any data
specified by the user.
• When receiving data, the Q series C24 transfers any data excluding the
user frame to the programmable controller CPU.
(f) It is possible to clear the current reception data without interrupting the
transmission processing by using the dedicated instruction "CSET".
1 - 3 1 - 3
1 OVERVIEW
MELSEC-Q
(3) Data communication using the bidirectional protocol
(Details are explained in Chapter 7 and the User's Manual (Application).)
(a) In communication between programmable controller CPUs and
communication with an external device for which transmission/receive
control programming is allowed, data communication is performed in a
sequence of "data transmission and response receipt".
(b) Error check of received data can be performed using the sum-check code,
while the occurrence of a reception error at an external device can be
checked via an ACK/NAK response.
(c) ASCII code data can be used for communication using the ASCII-BIN
QCPU
Q25HCPU
RS-232
conversion function.
MODE
RUN
ERR.
USER
BAT.
BOOT
Binary
USB
data
Q series C24
ASCII-BIN
conversion
Binary
data
ASCII
data
1 - 4 1 - 4
Loading...
+ 412 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.