SH (Na) 081250eng B
SH (Na) 081250eng B
-RJ71C24
-RJ71C24-R2
-RJ71C24-R4
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 precautions given in this manual are concerned with this product only. For the safety precautions for the programmable
controller system, refer to the user's manual for the module used and the MELSEC iQ-R Module Configuration Manual.
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
1
[Design Precautions]
WARNING
● Configure safety circuits external to the programmable controller to ensure that the entire system
operates safely even when a fault occurs in the external power supply or the programmable controller.
Failure to do so may result in an accident due to an incorrect output or malfunction.
(1) Emergency stop circuits, protection circuits, and protective interlock circuits for conflicting
operations (such as forward/reserve rotations or upper/lower limit positioning) must be configured
external to the programmable controller.
(2) When the programmable controller detects an abnormal condition, it stops the operation and all
outputs are:
• Turned off if the overcurrent or overvoltage protection of the power supply module is activated.
• Held or turned off according to the parameter setting if the self-diagnostic function of the CPU
module detects an error such as a watchdog timer error.
(3) All outputs may be turned on if an error occurs in a part, such as an I/O control part, where the
CPU module cannot detect any error. To ensure safety operation in such a case, provide a safety
mechanism or a fail-safe circuit external to the programmable controller. For a fail-safe circuit
example, refer to "General Safety Requirements" in the MELSEC iQ-R Module Configuration
Manual.
(4) Outputs may remain on or off due to a failure of a component such as a relay and transistor in an
output circuit. Configure an external circuit for monitoring output signals that could cause a
serious accident.
● In an output circuit, when a load current exceeding the rated current or an overcurrent caused by a
load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an
external safety circuit, such as a fuse.
● Configure a circuit so that the programmable controller is turned on first and then the external power
supply. If the external power supply is turned on first, an accident may occur due to an incorrect output
or malfunction.
● For the operating status of each station after a communication failure, refer to manuals relevant to the
network. Incorrect output or malfunction due to a communication failure may result in an accident.
● When connecting an external device with a CPU module or 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,
parameter change, forced output, or operating status change) of a running programmable controller,
read the relevant manuals carefully and ensure that the operation is safe before proceeding. Improper
operation may damage machines or cause accidents.
● 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.
2
[Design Precautions]
WARNING
● Do not write any data to the "system area" and "write-protect area" of the buffer memory in the
module. Also, do not use any "use prohibited" signals as an output signal from the CPU module to
each module. Doing so may cause malfunction of the programmable controller system. For the
"system area", "write-protect area", and the "use prohibited" signals, refer to the user's manual for the
module used.
● If a communication cable is disconnected, the network may be unstable, resulting in a communication
failure of multiple stations. Configure an interlock circuit in the program to ensure that the entire
system will always operate safely even if communications fail. Incorrect output or malfunction due to a
communication failure may result in an accident.
● To maintain the safety of the programmable controller system against unauthorized access from
external devices via the network, take appropriate measures. To maintain the safety against
unauthorized access via the Internet, take measures such as installing a firewall.
[Design Precautions]
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.
● During control of an inductive load such as a lamp, heater, or solenoid valve, a large current
(approximately ten times greater than normal) may flow when the output is turned from off to on.
Therefore, use a module that has a sufficient current rating.
● After the CPU module is powered on or is reset, the time taken to enter the RUN status varies
depending on the system configuration, parameter settings, and/or program size. Design circuits so
that the entire system will always operate safely, regardless of the time.
● Do not power off the programmable controller or do not reset the CPU module while the settings are
being written. Doing so will make the data in the flash ROM or SD memory card undefined. The values
need to be set in the buffer memory and written to the flash ROM or the SD memory card again. Doing
so may cause malfunction or failure of the module.
● When changing the operating status of the CPU module from external devices (such as remote RUN/
STOP functions), select "Do Not Open in Program" for "Open Method Setting" in the module
parameters. If "Open in Program" is selected, an execution of remote STOP causes the
communication line to close. Consequently, the CPU module cannot reopen the communication line,
and the external device cannot execute the remote RUN.
3
[Installation Precautions]
WARNING
● Shut off the external power supply (all phases) used in the system before mounting or removing the
module. Failure to do so may result in electric shock or cause the module to fail or malfunction.
[Installation Precautions]
CAUTION
● Use the programmable controller in an environment that meets general specifications written in Safety
Guidelines included in the base unit. Failure to do so may result in electric shock, fire, malfunction, or
damage to or deterioration of the product.
● To mount a module, place the concave part(s) located at the bottom onto the guide(s) of the base unit,
and push in the module until the hook(s) located at the top snaps into place. Incorrect interconnection
may cause malfunction, failure, or drop of the module.
● To mount a module with no module fixing hook, place the concave part(s) located at the bottom onto
the guide(s) of the base unit, push in the module, and fix it with screw(s). Incorrect interconnection
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.
● When using an extension cable, connect it to the extension cable connector of the base unit securely.
Check the connection for looseness. Poor contact may cause malfunction.
● When using an SD memory card, fully insert it into the memory card slot. Check that it is inserted
completely. Poor contact may cause malfunction.
● Securely insert an extended SRAM cassette into the cassette connector of a CPU module. After
insertion, close the cassette cover and check that the cassette is inserted completely. Poor contact
may cause malfunction.
● Do not directly touch any conductive parts and electronic components of the module, SD memory
card, extended SRAM cassette, or connector. Doing so may cause malfunction or failure of the
module.
[Wiring Precautions]
WARNING
● Shut off the external power supply (all phases) used in the system before installation and wiring.
Failure to do so may result in electric shock or cause the module to fail or malfunction.
● After installation and wiring, attach the included terminal cover to the module before turning it on for
operation. Failure to do so may result in electric shock.
4
[Wiring Precautions]
CAUTION
● Individually ground the FG and LG terminals of the programmable controller with a ground resistance
of 100 ohms or less. Failure to do so may result in electric shock or 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.
● Check the rated voltage and signal layout before wiring to the module, and connect the cables
correctly. Connecting a power supply with a different voltage rating or incorrect wiring may cause fire
or failure.
● Connectors for external devices must be crimped or pressed with the tool specified by the
manufacturer, or must be correctly soldered. Incomplete connections may cause short circuit, fire, or
malfunction.
● Securely connect the connector to the module. Poor contact may cause malfunction.
● 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.
● 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. Do not clamp the
extension cables with the jacket stripped.
● Check the interface type and correctly connect the cable. Incorrect wiring (connecting the cable to an
incorrect interface) may cause failure of the module and external device.
● Tighten the terminal screws or connector screws within the specified torque range. Undertightening
can cause drop of the screw, short circuit, fire, or malfunction. Overtightening can damage the screw
and/or module, resulting in drop, short circuit, fire, 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 connected to the module may result in 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.
5
[Wiring Precautions]
CAUTION
● Programmable controllers must be installed in control panels. Connect the main power supply to the
power supply module in the control panel through a relay terminal block. Wiring and replacement of a
power supply module must be performed by qualified maintenance personnel with knowledge of
protection against electric shock. For wiring, refer to the MELSEC iQ-R Module Configuration Manual.
● For Ethernet cables to be used in the system, select the ones that meet the specifications in the user's
manual for the module used. If not, normal data transmission is not guaranteed.
6
[Startup and Maintenance Precautions]
CAUTION
● When connecting an external device with a CPU module or 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,
parameter change, forced output, or operating status change) of a running programmable controller,
read the relevant manuals carefully and ensure that the operation is safe before proceeding. Improper
operation may damage machines or cause accidents.
● 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.
● Do not disassemble or modify the modules. Doing so may cause failure, malfunction, injury, or a fire.
● Use any radio communication device such as a cellular phone or PHS (Personal Handy-phone
System) more than 25cm away in all directions from the programmable controller. Failure to do so
may cause malfunction.
● 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.
● Tighten the screws within the specified torque range. Undertightening can cause drop of the
component or wire, short circuit, or malfunction. Overtightening can damage the screw 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, and do not insert/remove the extended SRAM cassette to/from the
CPU module more than 50 times (IEC 61131-2 compliant) respectively. Exceeding the limit may cause
malfunction.
● After the first use of the product, do not insert/remove the SD memory card to/from the CPU module
more than 500 times. Exceeding the limit may cause malfunction.
● Do not touch the metal terminals on the back side of the SD memory card. Doing so may cause
malfunction or failure of the module.
● Do not touch the integrated circuits on the circuit board of an extended SRAM cassette. Doing so may
cause malfunction or failure of the module.
● Do not drop or apply shock to the battery to be installed in the module. Doing so may damage the
battery, causing the battery fluid to leak inside the battery. If the battery is dropped or any shock is
applied to it, dispose of it without using.
● Startup and maintenance of a control panel must be performed by qualified maintenance personnel
with knowledge of protection against electric shock. Lock the control panel so that only qualified
maintenance personnel can operate it.
7
[Startup and Maintenance Precautions]
CAUTION
● 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.
[Operating 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. Incorrect change or
modification may cause system malfunction, damage to the machines, or accidents.
● Do not power off the programmable controller or reset the CPU module while the setting values in the
buffer memory are being written to the flash ROM in the module. Doing so will make the data in the
flash ROM or SD memory card undefined. The values need to be set in the buffer memory and written
to the flash ROM or SD memory card again. Doing so can cause malfunction or failure of the module.
[Disposal Precautions]
CAUTION
● When disposing of this product, treat it as industrial waste.
● When disposing of batteries, separate them from other wastes according to the local regulations. For
details on battery regulations in EU member states, refer to the MELSEC iQ-R Module Configuration
Manual.
[Transportation Precautions]
CAUTION
● When transporting lithium batteries, follow the transportation regulations. For details on the regulated
models, refer to the MELSEC iQ-R Module Configuration Manual.
● The halogens (such as fluorine, chlorine, bromine, and iodine), which are contained in a fumigant
used for disinfection and pest control of wood packaging materials, may cause failure of the product.
Prevent the entry of fumigant residues into the product or consider other methods (such as heat
treatment) instead of fumigation. The disinfection and pest control measures must be applied to
unprocessed raw wood.
8
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.
9
INTRODUCTION
Thank you for purchasing the Mitsubishi MELSEC iQ-R series programmable controllers.
This manual describes the performance specifications, procedures up to operation, wiring, and communication examples to
use the module listed below.
Before using the product, please read this manual and relevant manuals carefully and develop familiarity with the
performance of MELSEC iQ-R series programmable controller to handle the product correctly.
When applying the example programs provided in this manual to an actual system, ensure the applicability and confirm that it
will not cause system control problems.
Please make sure that the end users read this manual.
The program examples shown in this manual are the examples in which C24 is assigned to the input/output
No. X/Y0 to X/Y1F unless otherwise specified. To use the program examples shown in this manual, the input/
output number assignment is required. For details on the assignment of input/output number, refer to the
following manual.
MELSEC iQ-R Module Configuration Manual
Relevant product
RJ71C24, RJ71C24-R2, RJ71C24-R4
Additional measures
No additional measures are necessary for the compliance of this product with EMC and Low Voltage Directives.
10
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
RELATED MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
CONTENTS
CHAPTER 1 PART NAMES 15
CHAPTER 2 SPECIFICATIONS 17
2.1 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Transmission specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.2 RS-232 Interface Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
RS-232 connector specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
RS-232 cable specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.3 RS-422/485 Interface Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
RS-422/485 terminal block specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
RS-422/485 cable specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Considerations for data communication using RS-422/485 circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.4 Modem Specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Transmission specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Specification of connectable modems/TAs (terminal adapters). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
CHAPTER 6 WIRING 40
6.1 RS-232 Interface Connection Method (For Full-Duplex Communications) . . . . . . . . . . . . . . . . . . . . . . . . . 40
Considerations for connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Connection examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.2 RS-422/485 Interface Connection Method. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Considerations for connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Connection examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
11
APPENDIX 54
Appendix 1 External Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
INDEX 56
REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
12
RELATED MANUALS
Manual name [manual number] Description Available form
MELSEC iQ-R Serial Communication Module User's Specifications, procedures prior to operation, system configurations, wring, Print book
Manual (Startup) and data communication examples of Serial communication module e-Manual
[SH-081250ENG] (this manual) PDF
MELSEC iQ-R Serial Communication Module User's Functions, input/output signals, buffer memory, parameter setting, and trouble Print book
Manual(Application) shooting of Serial communication module e-Manual
[SH-081251ENG] PDF
MELSEC Communication Protocol Reference Specifications, accessible range, message protocols, and functions of Print book
Manual MELSEC Communication Protocol e-Manual
[SH-080008] PDF
e-Manual refers to the Mitsubishi FA electronic book manuals that can be browsed using a dedicated tool.
e-Manual has the following features:
• Required information can be cross-searched in multiple manuals.
• Other manuals can be accessed from the links in the manual.
• The hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
13
TERMS
Unless otherwise specified, this manual uses the following terms.
Term Description
3C frame A message format for C24 for data communications with ASCII code data using the MC protocol
(Format 1 to Format 4) This is the same message format as the communication frame using the dedicated protocol for the QnA series Serial
4C frame Communication Module.
(Format 1 to Format 4) • QnA compatible 3C frame (Format 1 to 4): QnA frame (Format 1 to 4)
• QnA compatible 4C frame (Format 1 to 4): QnA extension frame (Format 1 to 4)
4C frame A message format for C24 for data communication with binary code data using the MC protocol
(Format 5) This is the same message format as the communication frame using the dedicated protocol for the QnA series Serial
Communication Module.
• QnA compatible 4C frame (Format 5): QnA extension frame (Format 5)
Bidirectional protocol A data communication function to communicate any data between a CPU module and the target device using the
communication procedure for C24
Buffer memory A memory of an Intelligent function module to store data (including setting value and monitored value) sent to/receive from
CPU module
C24 Another term for MELSEC iQ-R series Serial Communication Module
CPU module A generic term for MELSEC iQ-R series CPU module
Data communication function A generic term for MC protocol, predefined protocol, nonprocedural protocol, and bidirectional protocol
Engineering tool A tool for setting, programming, debugging, and maintaining programmable controllers.
For the supported tools, refer to the following manual.
MELSEC iQ-R Module Configuration Manual
Independent operation A mode of interface operation to communicate data with the target device with a function specified in each communication
protocol setting without interaction between two interfaces of C24
Intelligent function module A generic term for modules which has functions other than input and output, such as A/D converter module and D/A
converter module
Interlink operation A mode of interface operation to communicate data with the target device with the two interfaces linked one another when
two interfaces of C24 are connected to target devices respectively
The two interfaces communicate data with the same data communication function (MC protocol (identical format) or
nonprocedural protocol) and the same transmission specifications. (Linked operation of the predefined protocol and the
bidirectional protocol is not allowed.)
MC protocol An abbreviation for MELSEC communication protocol, which is a name of communication method to access a CPU module
form a target device using the communication procedure for Serial communication modules or Ethernet communication
modules
Multidrop connection A name of connection when more than one target devices or other C24s are connected on a 1:n basis or an m:n basis using
the RS-422/485 interface of C24
Nonprocedural protocol A data communication function to communicate any data between a CPU module and the target device using user's
communication procedure
Packet A data string used for communication with a target device by predefined protocol
Predefined protocol A data communication function to send/receive data using a protocol of the target device for data communication between
C24 and the target device
This setting is configured with GX Works3 (the predefined protocol support function).
Predefined protocol support A function available using GX Works3 (the predefined protocol support function)
function The function includes the following:
• Setting the protocol appropriate to respective target devices
• Writing or reading the protocol setting data to/from CPU module or C24
• Debug support function
Target device A generic term for GOT, measuring instruments, ID modules, barcode readers, regulators, and other C24s connected to this
C24 for data communication
User frame A data name used to send/receive data by registering the fixed format part of messages to be sent/received between C24
and the target device to the module (The contents of a user frame data should conform to the specifications of the target
device.)
The data array of the head and tail sections in messages to be sent/received (transmission control code, C24 station
number, sum check, fixed data, etc.) are registered to C24 respectively before use.
This is used for the on-demand function of MC protocol and the data transmit/receive function by nonprocedural protocol.
14
1 PART NAMES
1
This chapter explains the part names of C24.
1) 1) 1)
2) 2) 4)
3) 2) 4)
5) 5) 5)
*1 For the LED display during hardware test or self-loopback test, refer to the following sections.
MELSEC iQ-R Serial Communication Module User's Manual (Application)
*2 This turns ON when an error occurs at C24 hardware or during data communication.
MELSEC iQ-R Serial Communication Module User's Manual (Application)
*3 Turning 'Error initialization request' (YE) ON turns the LED OFF.
However, the LED turns ON again if the error state is not cleared when 'Error initialization request' (YE) is turned OFF.
1 PART NAMES
15
MEMO
1 PART NAMES
16
2 SPECIFICATIONS
This chapter explains performance specifications, RS-232 interface specifications, RS-422/485 interface specifications, and
modem specifications.
2
2.1 Performance Specifications
The following shows the C24 performance specifications.
For the transmission specifications when communicating via the modem function, refer to the following section.
Page 27 Transmission specifications
Transmission specification
Item Specifications
RJ71C24 RJ71C24-R2 RJ71C24-R4
Interface CH1 RS-232-compliance RS-232-compliance RS-422/485-compliance
(D-sub 9 pin female) (D-sub 9 pin female) (2-piece plug-in terminal block)
CH2 RS-422/485-compliance RS-232-compliance RS-422/485-compliance
(2-piece terminal block) (D-sub 9 pin female) (2-piece plug-in terminal block)
Communication Line Full-duplex/half-duplex communications
method MC protocol communication Half-duplex communications
Predefined protocol Full-duplex/half-duplex communications
communication
Nonprocedural protocol Full-duplex/half-duplex communications
communication
Bidirectional protocol Full-duplex/half-duplex communications
communication
Synchronization method Start-stop synchronization method
Transmission speed 1200/2400/4800/9600/14400/19200/28800/38400/57600/115200/230400(bps)
Data format Start bits 1
Data bits 7/8
Parity bits 1 (vertical parity) or none
Stop bits 1/2
Access cycle MC protocol communication Processes one request during the END processing of the CPU module of the station with the C24.
Predefined protocol Sends or receives data when requested with the dedicated instruction (CPRTCL).
communication
Nonprocedural protocol Sends each time a send request is issued. Can receive at any time.
communication
Bidirectional protocol
communication
Error detection*1 Parity check, Sum Check, Horizontal parity, 16-bit CRC (for MODBUS)
• MC protocol communication: Select with parameters.
• Predefined protocol communication: Select with the Predefined protocol support function.
• Nonprocedural protocol communication: Set with user frames.
• Bidirectional protocol communication: Select with parameters.
• Parity check: Select odd/even of parity bit (vertical bit) with parameters.
Transmission control*2 DTR/DSR control, RS/CS control, CD(DCD) signal control, DC1/DC3 (Xon/Xoff) control, DC2/DC4
control
• DTR/DSR signal control and DC code control are selected by the user.
Line configuration RS-232 1:1 1:1
for connection
RS-422/485 1:1, 1:n, n:1, m:n 1:1, 1:n, n:1, m:n
(Target device
side: CPU module
side)*3
2 SPECIFICATIONS
2.1 Performance Specifications 17
Item Specifications
RJ71C24 RJ71C24-R2 RJ71C24-R4
Line configuration RS MC protocol 1:1 1:1
for data - communication
communication 232
Predefined protocol 1:1 1:1
(Target device
communication
side: CPU module
side)*3 Nonprocedural protocol 1:1 1:1
communication
Bidirectional protocol 1:1 1:1
communication
RS MC protocol 1:1, 1:n, m:n 1:1, 1:n, m:n
- communication
422
Predefined protocol 1:1, n:1 1:1, n:1
/
communication
485
Nonprocedural protocol 1:1, 1:n, n:1 1:1, 1:n, n:1
communication
Bidirectional protocol 1:1 1:1
communication
Transmission RS-232 Maximum 15 m Maximum 15 m
distance
RS-422/485 Maximum 1200 m (overall Maximum 1200 m (overall
(Overall distance)
distance) distance)
Number of occupied I/O points 32 points (I/O assignment: Intelli: 32 points)
Applicable connector for external wiring D-sub 9 pin (male) screw type*4
5V DC internal current consumption 0.31 A 0.20 A 0.42 A
External dimensions 106(H) 27.8(W) 110(D)[mm]
Weight 0.16 kg 0.14 kg 0.13 kg
*1 The following table shows the available method for each communication protocol.
: Enabled, : Disabled
*2 The following table shows the available method for each interface.
: Enabled, : Disabled
2 SPECIFICATIONS
18 2.1 Performance Specifications
2.2 RS-232 Interface Specification
The following shows the RS-232 interface specifications.
Control signals
The following explains the control signals. (The pin numbers of the connector are enclosed in parentheses.)
Configure the setting of CD terminal check with the following setting items of Engineering tool.
Navigation window [Parameter] [Module Information] Module Name [Module Parameter] "Basic Settings"
"Various control specification" "Communication control specification" "CD terminal check designation"
When the CD terminal check is set to be enabled for full-duplex communications, set the CD signal of C24 in
the ON state during data transmission.
• When the CD signal is turned OFF while data is being transmitted to the target device using the
nonprocedural protocol, C24 stops the transmission, and turns ON the 'CH Transmission normal
completion' (X0/X7).
• If the CD signal is OFF when starting data transmission to the target device using the nonprocedural
protocol, C24 does not transmit data, and turns ON the 'CH Transmission normal completion' (X0/X7).
2 SPECIFICATIONS
2.2 RS-232 Interface Specification 19
■ER(DTR) signal (4)
• When communicating data using the nonprocedural protocol, C24 turns ON or OFF (ON when data is receivable)
depending on the unused memory size in the OS area allocated for receive data storage, if DTR/DSR control is performed.
Read the receive data from the program, as the receive data is stored in the OS area when the ER(DTR) signal is OFF.
If DTR/DSR control is not performed, the ER(DTR) signal is always ON.
• When communicating data using the MC protocol or bidirectional protocol, C24 turns ON when communications is enabled.
Interface connector
The following connector model is used as RS-232 interface connector for C24.
• 9-pin D-sub (female) screw type (mating screw M2.6)
17L-10090-27 (D9AC) (-FA)
Manufactured by DDK Ltd.
The suitable connector shell for the RS-232 connector is as shown below.
Type Model
Connector shell 17JE-23090-02(D8A)(-CG)*1
Tightening torque
For details on the tightening torque for the RS-232 interface connector, refer to the following section.
Page 40 Considerations for connection
2 SPECIFICATIONS
20 2.2 RS-232 Interface Specification
Remarks
■Confirmation of RS-232 control signal status
During data communication, the status of each control signal of ER(DTR), DR(DSR), RS(RTS), and CD(DCD) can be
confirmed with 'RS-232 control signal status' (Un\G596/612).
Bit position Buffer memory address 2
CH1 side CH2 side
Un\G596 Un\G612
b0 RS(RTS)
b1 DR(DSR)
b2 ER(DTR)
b3 CD(DCD)
b4 CS(CTS)*1
b5 CI(RI)
b6 to b15
Be sure to control the RS(RTS) and ER(DTR) signals with the C24 system.
Control of the RS(RTS) and ER(DTR) signals by a user may cause data communication errors.
• Reference
Oki Electric Cable Co., Ltd.
7/0.127 P HRV-SV
: Specify the number of pairs. (For 13 pairs 7/0.127 13P HRV-SV)
2 SPECIFICATIONS
2.2 RS-232 Interface Specification 21
2.3 RS-422/485 Interface Specifications
The following explains the RS-422/485 interface specifications.
Control signals
The following explains the control signals.
Terminating resistor
For more information of terminating resistor connection, refer to the following section.
Page 42 Considerations for connection
Terminal
■Terminal block (RJ71C24)
Use 1.25-3 for the solderless terminal to be attached on the terminal block.
Use the UL certified solderless terminal. For crimping the terminal, use the tools recommended by solderless terminal
manufacturers. Solderless terminals with insulation sleeves cannot be used.
Tightening torque
For details on the tightening torque for the RS-422/485 terminal block, refer to the following section.
Page 42 Considerations for connection
2 SPECIFICATIONS
22 2.3 RS-422/485 Interface Specifications
RS-422/485 cable specifications
The following table shows the RS-422/485 cable specifications.
• Use a cable of 1200 m or shorter, which satisfies the following specifications for the RS-422/485 cable (cable connected to
the terminal block on C24).
Item Description 2
Cable type Shielded cable
Number of pairs 3P
Conductor resistance (20) 88.0/km or less
Insulation resistance 10000M-km or more
Dielectric strength 500 VDC, 1 minute
Electrostatic capacitance (1 kHz) 60nF/km or less on average
Characteristic impedance (100 kHz) 11010
Recommended conductor size 0.2 to 0.75
Diameter AWG22 to AWG16
Type Stranded
Material Copper
Temperature rating 60 or more
• Recommended cable
Cable model Manufacturer
HRZEV-ME(20276)AWG223P DYDEN CORPORATION
SPEV(SB)-MPC-0.23P MITSUBISHI CABLE INDUSTRIES, Ltd.
SPEV(SB)-0.23P MITSUBISHI CABLE INDUSTRIES, Ltd.
SPEV(SB)-0.33P MITSUBISHI CABLE INDUSTRIES, Ltd.
The recommended cables shown above have the same electrical characteristics, but external diameter and internal wire
colors are slightly different.
• Make the total distance within 1200 m when more than one device is connected on a 1:n, n:1, or m:n basis.
2 SPECIFICATIONS
2.3 RS-422/485 Interface Specifications 23
Considerations for data communication using RS-422/485 circuit
Take the following into consideration for data communication with a target device through the C24 RS-422/485 interface.
Take the following into account to send/receive data at the target device side.
(3)
(1): Terminating resistor
(2): Received data
(3): Target device
■Remarks
The following describes the case when a pull-up or pull-down resistor is not installed to a target device.
When no station is transmitting data, the transmission line becomes high impedance, and noise, etc. may make the line
unstable and cause the target device to receive erroneous data.
In this case, probably a parity error or framing error occurs, therefore, skip the erroneous data.
Since the first data during data reception is fixed in the following cases, also skip the receive data until the fixed head data is
received.
• When using the MC protocol for data communication, the first data is fixed according to the frame and format the user uses.
• When using user frames with the nonprocedural protocol or bidirectional protocol for data communication, the first data is
determined according to the user frame registered to C24.
2 SPECIFICATIONS
24 2.3 RS-422/485 Interface Specifications
RS-422/485 interface operation
■RS-422-485 interface structure
The following diagram shows the structure of the C24 RS-422/485 interface driver (send)/receiver (receive).
SDA (1)
(2)
2
SDB
(3)
RDA (4)
(5)
RDB
(1): Driver
(2): Sent data
(3): Output control input*1
(4): Receiver
(5): Received data
*1 'Output control input' (also called send gate) of the driver (send) section of the illustration above determines whether or not data from
SDA/SDB is output to the outside.
C24 Data
Data send
time range
H/W gate OFF time
(Refer to explanation above)
2 SPECIFICATIONS
2.3 RS-422/485 Interface Specifications 25
Precautions
• For multidrop connection
When the send signal of each device is connected as shown below, if the 'Output control input' is turned ON at two or more
devices, the relevant devices output (send) data at the same time.
The target device side must turn ON the 'Output control input' only when sending data or must turn OFF the 'Output control
input' when not sending data for the normal data communication.
The C24 side automatically controls the output control input.
(1)
SDA
(2)
SDB
(3)
RDA
(4)
RDB
SDA
(2)
SDB
(3)
C24
RDA
(4)
RDB
SDA
(2)
SDB
(3)
C24
RDA
(4)
RDB
• When two interfaces are in the interlink operation in C24, the transmission time for one character becomes equal to the
hardware gate OFF time of C24. (C24 turns OFF the gate after the transmission time for one character following the data
transmission.)
2 SPECIFICATIONS
26 2.3 RS-422/485 Interface Specifications
2.4 Modem Specification
This section explains the transmission specifications and connectable modem/TA (terminal adapter) specifications when
using the modem function.
Transmission specifications 2
The transmission specifications on the C24 side for communication with the modem function are as shown below.
For the transmission specifications between C24 and a modem/TA (the C24 side on host station) that are not provided in this
table, refer to the following section.
Page 17 Transmission specification
Item RJ71C24 RJ71C24-R4
RJ71C24-R2
Availability of modem function Available Not available
Interface that can use the modem function RS-232
Interlink operation between CH1 and CH2 of C24 Not available
Communication method Full duplex communication
Synchronization method Asynchronous method
Transmission speed 1200, 2400, 4800, 9600, 14400, 19200, 28800,
38400, 57600, 115200, 230400(bps)
Data format Start bit 1
Data bit 7/8
Parity bit 1 (Exist)/0 (None)
Stop bit 1/2
Error detection Parity check Yes (odd/even selectable)/None
Sum check code Yes/None
Transmission control RS/CS control enabled/disabled (selectable)
Availability of data MC protocol*1 Available
communication Predefined protocol Not available
Nonprocedural protocol Available
Bidirectional protocol Available
Line connection (C24: modem) 1:1
*1 Only data transmission with the on-demand function is available from CPU module to the target device.
2 SPECIFICATIONS
2.4 Modem Specification 27
Specification of connectable modems/TAs (terminal adapters)
The table below shows the specifications of modems/TAs that can be connected to the C24 side when the modem function is
used.
2 SPECIFICATIONS
28 2.4 Modem Specification
■Considerations for selecting a modem
• Modem setting
Configure the setting as shown below for a modem to be connected to the C24 side
Setting item Setting range
Communication rate Depends on the modem in use*1
Modem command Hayes AT command 2
SI/SO control None
Communication method Nonprocedural
Data format Data bit Match with C24*2, *3
Stop bit
Parity bit
*1 When using different modems, the slower communication rate will be in effect.
*2 Some modems may transmit one character as 10 bits.
Check the modem specifications when setting C24 transmission specifications.
*3 Some modems may switch the communication rate following the start of data communication.
Since C24 cannot switch the communication rate, set the modem side so that its communication rate does not switch.
When using a modem whose DR terminal (signal) is set by a switch, set the DR terminal (modem output) switch level to High.
When using a modem requiring DR terminal setting with software, write the command that turns ON the DR (DSR) signal into
the data for initialization. Set the "DR signal valid/invalid designation for modem initialization" to "Invalid" in "modem function
setting" with Engineering tool.
2 SPECIFICATIONS
2.4 Modem Specification 29
■Considerations for selecting a TA
• Configure the setting as shown below for a TA to be connected to the C24 side.
Setting item Setting range
Communication rate Depends on the TA in use
Modem command Hayes AT command
SI/SO control None
Communication method Nonprocedural
Data format Data bit Match with C24*1, *2
Stop bit
Parity bit
2 SPECIFICATIONS
30 2.4 Modem Specification
3 FUNCTION LIST
Basic functions 3
The following shows the basic functions of C24.
Function Description
Communication with MC protocol Reading/writing from/to device memory of Performs batch read/write in bit/word units.
CPU module
Performs monitoring of device memory.
Performs batch read/write of multiple blocks.
Performs read/write by extension designation.
Accesses other stations via network system.
Reading/writing from/to the buffer memory Performs reading/writing from/to the buffer memory of C24.
of C24
Reading/writing from/to the buffer memory Performs reading from/writing to the buffer memory of intelligent
of Intelligent function modules function modules.
Reading/writing from/to program files and Performs reading/writing from/to program files and parameter files
parameter files stored in the CPU module.
Controlling the status of the CPU module Performs status control of the CPU module.
(such as remote RUN/STOP) Performs remote RUN/STOP/PAUSE/latch clear/reset operations
from target devices.
Communication with predefined protocol Transmitting/receiving data Performs data transmission/reception with the appropriate protocol
for each target device.
The protocol of the target device can be easily selected, or
created/edited using the predefined protocol library of Engineering
tool.
Communication with nonprocedural Transmitting/receiving data in any format Data communication can be performed in any message format
protocol according to specifications of target devices (measuring devices,
personal computers etc.).
Communication with bidirectional protocol Transmitting/receiving data in any format Any data transmission/reception can be performed with the
message format and transmission control procedures for the
bidirectional protocol.
Debug support function Circuit trace Traces transmitted/received data and communication control
signal between C24 and target devices.
Protocol execution log storage function Checks the detailed execution status and results of the predefined
protocol for each channel.
3 FUNCTION LIST
3.1 Function List 31
Additional functions
The following shows the additional functions of C24.
The abbreviations used in the following list are as follows:
MC: MC protocol
Non: Nonprocedural protocol
Bi: Bidirectional protocol
Pd: Predefined protocol
Function Description Protocol
MC Non Bi Pd
Communication with ASCII code Performs data communications with 2C/3C/4C frame.
Performs data communications with 1C frame.
Communication with binary code Performs data communication with 4C frame.
Monitoring CPU modules Monitors the operating status of CPU modules and the data in the device
(Programmable controller CPU monitoring memory.
function) The CPU module status and the device memory data can be transmitted to a
target device at the fixed intervals, when an error occurs in the machine
equipment, or when certain conditions are satisfied.
Turning ON/OFF input signals for C24 from Turns ON/OFF input signals for C24 from a target device.
a target device (global function)
Transmitting data from a CPU module to a Transmits data from a CPU module to a target device in each frame format of
target device (on-demand function) the MC protocol.
Transmitting/receiving data with a user Registers the fixed format portion of messages to be transmitted and
frame received between C24 and a target device in the module, which can be used
for data transmission/reception.
Receiving data by interrupt programs Reads the received data from a target device with interrupt programs so that
the CPU module can receive data faster.
Transmitting/receiving ASCII data with Performs data communication with a target device with ASCII code data with
ASCII-binary conversion ASCII-binary conversion by C24.
Transmitting/receiving data by specifying Transmits/receives one-byte data for transmission control of the target
transparent code device side as a user data in data communications with a target device.
Communication via public network, etc. Performs data communication via public line with a remotely-located target
(Modem function) device.
Data communications using the MC protocol, nonprocedural protocol, and
bidirectional protocol are available.
Transmission DC code control Notifies the availability of data reception on the host station and the effective
control (including Xon/Xoff control) range of transmitted/received data to target devices, using data for
transmission control of C24.
DTR/DSR control Notifies the availability of data reception on the host station to target devices,
using ER(DTR)/DR(DSR) signal of the RS-232 interface
Independent operation of each interface Performs data communications with a target device without interconnecting
the two interfaces of C24.
Interlink operation of each interface Transmits all data received from either one of the two interfaces to the other
interface.
Parameter registration to CPU module Configures the settings on the parameter setting screen of Engineering tool,
writes the settings to the CPU module, and reflects the settings by restarting
the CPU module.
Remote password check function Checks the password with C24 when a remote user accesses to a CPU
module using the modem function. This function prevents unauthorized
accesses to the CPU module.
Enabling or disabling echo back of the RS- When data is transmitted through RS-485 (2 wire type) from the RS-422/485
422/485 interface interface, transmitted data is sent back to RDA or RDB on the host station.
Whether to receive the returned data or not (discard) can be designated with
this function.
Preventing erroneous noise signal reception Prevents noise signal generated when turning ON the power of a target
device or connecting a cable from being received in error by corresponding
to the settings of data communication start/stop.
Automatically removing NULL characters in By removing automatically the NULL characters included in the data to be
transmitted data transmitted, man-hours for design can be reduced.
Dedicated instructions A instruction to use the functions of the module.
3 FUNCTION LIST
32 3.1 Function List
3.2 Correspondence between Data Communication
Functions and System Configurations
The following shows the system configurations that can use the data communication functions of C24.
For the system configuration that can be configured, refer to the following section.
Page 37 SYSTEM CONFIGURATION
3 FUNCTION LIST
3.2 Correspondence between Data Communication Functions and System Configurations 33
Communication with bidirectional protocol
(: Available, : Not available)
Function System configuration
(Target device: C24)
1:1 n:1 1:n m:n
Transmitting/receiving data in any format
Reading received data by interrupt programs
Transmitting/receiving ASCII data with ASCII-binary conversion
Transmitting/receiving data by specifying transparent code
Precautions
In general, when data is communicated in the system configuration of other than 1:1 basis, pay attention to the following.
• Avoid simultaneous transmission.
• Read and discard the received data excluding the one addressed to the host station.
3 FUNCTION LIST
34 3.2 Correspondence between Data Communication Functions and System Configurations
4 PROCEDURES UP TO OPERATION
This chapter explains the procedures up to operation.
1. Mounting a module.
Mount C24 with desired configuration.
Page 37 SYSTEM CONFIGURATION
2. Wiring
Connect C24 and target devices with a cable.
Page 40 WIRING
3. Setting parameters 4
Set the C24 parameter with the basic settings using Engineering tool.
MELSEC iQ-R Serial Communication Module User's Manual (Application)
4 PROCEDURES UP TO OPERATION
35
MEMO
4 PROCEDURES UP TO OPERATION
36
5 SYSTEM CONFIGURATION
This chapter explains the system configuration of C24.
5
RS-232/422
RS-485
5 SYSTEM CONFIGURATION
5.1 System Configuration 37
System configuration on a 1:n basis between target device and C24
RS-485
RS-232 RS-485
5 SYSTEM CONFIGURATION
38 5.1 System Configuration
5.2 System Example that can be Constructed
The following shows examples of system configuration for C24.
5
RS-485 RS-232
RS-232
RS-485 RS-485
5 SYSTEM CONFIGURATION
5.2 System Example that can be Constructed 39
6 WIRING
This chapter explains the wiring methods in the system using C24.
• When normal data communication is not obtained due to external noise, perform the wiring as follows:
Connect the FG terminal on the target device(2) to the C24 side using the shield(1) of the connection cable.
Connect the signals other than SG to the SG signal with twisted pair cables.
FG
SD(TXD) RD(RXD)
RD(RXD) SD(TXD)
DR(DSR) ER(DTR)
ER(DTR) DR(DSR)
SG SG
6 WIRING
40 6.1 RS-232 Interface Connection Method (For Full-Duplex Communications)
Connection examples
With target device capable of turning ON/OFF the CD(DCD) signal (Pin No.1)
(1) (2)
CD(DCD) 1 CD(DCD)
RD(RXD) 2 RD(RXD)
SD(TXD) 3 SD(TXD)
ER(DTR) 4 ER(DTR)
SG 5 SG
DR(DSR) 6 DR(DSR)
RS(RTS) 7 RS(RTS)
CS(CTS) 8 CS(CTS)
CI(RI) 9
(1): C24
(2): Target device
• Configure the CD terminal check designation according to the specification of the target device.
DTR/DSR control or DC code control is available with the wiring shown above.
With target device not capable of turning ON/OFF the CD(DCD) signal (Pin No.1) 6
■Connection example 1
(1) (2)
CD(DCD) 1 CD(DCD)
RD(RXD) 2 RD(RXD)
SD(TXD) 3 SD(TXD)
ER(DTR) 4 ER(DTR)
SG 5 SG
DR(DSR) 6 DR(DSR)
RS(RTS) 7 RS(RTS)
CS(CTS) 8 CS(CTS)
CI(RI) 9
(1): C24
(2): Target device
• With the wiring shown above, DTR/DSR control or DC code control is available.
■Connection example 2
(1) (2)
CD(DCD) 1 CD(DCD)
RD(RXD) 2 RD(RXD)
SD(TXD) 3 SD(TXD)
ER(DTR) 4 ER(DTR)
SG 5 SG
DR(DSR) 6 DR(DSR)
RS(RTS) 7 RS(RTS)
CS(CTS) 8 CS(CTS)
CI(RI) 9
(1): C24
(2): Target device
If the CPU module and the target device cannot be communicated at all, try to perform data communication
with the wiring connection shown in the connection example 2 as a connection test.
When data can be communicated with the wiring connection shown in the connection example 2, rewire after
checking the interface specifications of the target device side.
6 WIRING
6.1 RS-232 Interface Connection Method (For Full-Duplex Communications) 41
6.2 RS-422/485 Interface Connection Method
This section shows considerations for connection and connection examples when using C24 RS-422/485 interface.
• Terminating resistors must be set (or connected) for both terminal stations on the line. On the C24 side, connect the
terminating resistor (supplied with C24) according to the specifications of the target device.
On the target device side, connect or set a terminating resistor according to the instruction manual of the target device.
Connect the terminating resistor*1 connected to the C24 side as follows:
Connect a '3301/4W' terminating resistor for RS-422 communication. Connect a '1101/2W' terminating resistor for RS-
485 communication.
*1 How to differentiate between terminating resistors
330: Orange-Orange-Brown-Gold
110: Brown-Brown-Brown-Gold
6 WIRING
42 6.2 RS-422/485 Interface Connection Method
• When connecting a terminating resistor of the RJ71C24-R4 to the RS-422/485 plug-in terminal block, insert the terminating
resistor in the direction shown below.
Correct insertion (Inserted vertically)
• If data cannot be communicated with the target device at all, check the polarity of the target device. If the polarities of C24
and the target device do not match, reverse the polarity of each signal on either device side and connect the devices with
the cable so that the data may be communicated.
• In the description for setting/connection of terminating resistor in this section, when using an RS-232 to RS-422 converter
on the device sides, which are both terminal stations on the line, Setting/connection of terminating resistors is required at
the converter side.
• When using an RS-232 to RS-422 converter to connect the target device and C24, use a converter that supports the
system configuration between the target device and the CPU module (1:1, 1:n, m:n).
• Unify the devices to be connected to C24 RS-422/485 interface (including connections on a 1:n, n:1, and m:n basis) to
either RS-422 or RS-485
• Tighten the screws such as terminal block screws within the following torque ranges.
Location of screw Tightening torque range
Terminal screw for RS-422/485 terminal block (M3 screw) 0.42 to 0.58Nm
*1
RS-422/485 terminal block mounting screws (M3.5 screw) 0.66 to 0.89Nm
RS-422/485 plug-in terminal block terminal screw (M2 screw) for RJ71C24-R4. 0.20 to 0.25Nm
*1 RS-422/485 terminal block mounting screw for QJ71C24, Q series C24 can be used.
However, RS-422/485 terminal block mounting screw for RJ71C24 cannot be used for Q series C24.
6 WIRING
6.2 RS-422/485 Interface Connection Method 43
Connection examples
SG
SLD
R : Terminating resistor
(1): C24
(2): Target device
(2)
R : Terminating resistor
(1): Target device
(2): Linked operation
■Connection example 2
(1) C24 C24 C24
R : Terminating resistor
(1): Target device
6 WIRING
44 6.2 RS-422/485 Interface Connection Method
Connecting a target device to C24 on a n:1 basis (multidrop connection)
(1) (1) (1) C24
R : Terminating resistor
(1): Target device
RS-232 RS-232
SD SD
RD RD
C24 C24
SD SD
RD RD
C24
(2) (2)
R : Terminating resistor
(1): Target device
(2): Linked operation
■Connection example 2
(1) C24 (1) C24
R : Terminating resistor
(1): Target device
6 WIRING
6.2 RS-422/485 Interface Connection Method 45
7 DATA COMMUNICATION USING PREDEFINED
PROTOCOLS
This chapter explains the example of data communication using communication protocol.
Setting programs
The predefined protocol support functions of an Engineering tool is used for the settings.
Mitsubishi inverter FREQROL-A800 (described as inverter or A800 hereafter) is used for a connection target device of C24 in
this setting example.
System configuration/wiring
The C24 to be used in the following example is mounted on the slot 0 on the base unit, and connected to the external device
on a 1:1 basis via RS-422/485 line using CH2.
For details on the system configuration/wiring, refer to the following manual.
Page 37 SYSTEM CONFIGURATION
Page 40 WIRING
FREQROL-A800
D300
Terminator Check code Inverter station
Header
number
D201
Operation Check code Terminator
Header mode value
Operating procedure
1. Select [Parameter] on Navigation window [Module Information], and right click[Add New Module].
2. Select "Information Module" in "Module Type", and select "RJ71C24" in "Module Name" on the "Add New Module"
screen.
7
3. Click the [Yes] button on the screen shown below, and add the module label for C24.
Window
Navigation window [Parameter] [Module Information] Module Name [Module Parameter] "Basic Settings"
"Various control specification"
Setting data
Item Description
Test mode setting 0: No specification
Communication protocol setting Predefined protocol
Communication speed setting 9600bps
Transmission setting Operation setting Independent
Data bit 8
Parity bit Yes
Odd/even parity Even
Stop bit 2
Sum check code None
Online Change Enable
Setting change Enable
Signal setting RTS (RS) signal status designation ON
DTR (ER) signal status designation ON
Operating procedure
1. Select [Tool][Predefined Protocol Support Function] from an Engineering tool.
2. Select "Serial Communication Module" in "Module Type" on the "Predefined Protocol Support Function" screen.
5. Select "Predefined Protocol Library" in "Type" on the "Add Protocol" screen, and select the protocol to be used in
"Protocol to Add".
6. Click the "Variable Unset" cell of "Packet Setting" screen on the "Protocol Setting" screen.
8. Enter 'D300' to "Send Data Storage Area" on the "Element Setting" screen.
9. Set the packet settings in the "Variable Unset" cell of "Packet Setting" on the "Protocol Setting" screen with the same
procedure (from step 5 to step 8).
Set the following values for the data storage area.
Packet name Element number Element name Data storage area
specification
NOR:RD Data(4 Digits Data) 2 Inverter Station Number Set 'D200'
3 Read Data Set 'D201'
ERR:NAK Response 2 Inverter Station Number Set 'D202'
3 Error Code Set 'D203'
Operating procedure
1. Select [Online] [Write to Module] from Engineering tool.
2. Select "CPU Built-in Memory" in "Target Memory" on the "Write to Module" screen, and click the [Execute] button.
Executing protocols
Operating procedure
1. Create a program using a CPRTCL instruction with an Engineering tool
7
2. Switch the CPU to "RUN", and execute the registered protocol with CPRTCL instruction.
7
The logs displayed in the "Protocol Execution Log" screen can be selected from the following according to the
log registration condition.
• Display only the failed protocols.
• Display all execution statuses and execution logs.
For details of the selecting method of the log registration condition, refer to the following section.
MELSEC iQ-R Serial Communication Module User's Manual (Application)
RJ71C24
(Unit: mm)
RJ71C24-R2
(Unit: mm)
APPENDICES APPENDIX
54 Appendix 1 External Dimensions
RJ71C24-R4
(Unit: mm)
APPENDICES APPENDIX
Appendix 1 External Dimensions 55
INDEX
C
CD terminal check designation . ............. 19
CI(RI) signal . . . . . . . . . . . . . . ............. 20
Communication method . . . . . . ............. 17
CS(CTS) signal . . . . . . . . . . . . ............. 20
D
Data communication function . . . . . . . . . . . . . . . 33
Data format . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
DR(DSR) signal . . . . . . . . . . . . . . . . . . . . . . . . 20
E
ER(DTR) signal . . . . . . . . . . . . . . . . . . . . . . . . 20
External dimensions . . . . . . . . . . . . . . . . . . . . . 54
H
Hardware gate OFF time . . . . . . . . . . . . . . . . . . 25
M
Modem specification . . . . . . . . . . . . . . . . . . . . . 27
Multidrop connection . . . . . . . . . . . . . . . . . . . . . 39
P
Part name . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Procedures up to operation . . . . . . . . . . . . . . . . 35
R
RD(RXD) signal . . . . . . . . . . . . . . . . . . . . . . . . 19
RS(RTS) signal . . . . . . . . . . . . . . . . . . . . . . . . . 20
RS-232 interface connection method . . . . . . . . . . 40
RS-232 interface specification . . . . . . . . . . . . . . 19
RS-422/485 interface connection method . . . . . . 42
RS-422/485 interface specification . . . . . . . . . . . 22
S
SD(TXD) signal . . . . . . . . . . . . . . . . . . . . . . . . . 19
Solderless terminal . . . . . . . . . . . . . . . . . . . . . . 22
System configuration . . . . . . . . . . . . . . . . . . . . . 37
T
Terminating resistor . . . . . . . . . . . . . . . . . . . . . 42
Transmission specification . . . . . . . . . . . . . . . . . 17
56
MEMO
57
REVISIONS
*The manual number is given on the bottom left of the back cover.
Revision date *Manual number Description
June 2014 SH(NA)-081250ENG-A First edition
May 2016 SH(NA)-081250ENG-B Partial correction
58
WARRANTY
Please confirm the following product warranty details before using this product.
1. Gratis Warranty Term and Gratis Warranty Range
If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product
within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service
Company.
However, if repairs are required onsite at domestic or overseas location, expenses to send an engineer will be solely at
the customer's discretion. Mitsubishi shall not be held responsible for any re-commissioning, maintenance, or testing
on-site that involves replacement of the failed module.
[Gratis Warranty Term]
The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place.
Note that after manufacture and shipment from Mitsubishi, the maximum distribution period shall be six (6) months, and
the longest gratis warranty term after manufacturing shall be eighteen (18) months. The gratis warranty term of repair
parts shall not exceed the gratis warranty term before repairs.
[Gratis Warranty Range]
(1) The range shall be limited to normal use within the usage state, usage methods and usage environment, etc., which
follow the conditions and precautions, etc., given in the instruction manual, user's manual and caution labels on the
product.
(2) Even within the gratis warranty term, repairs shall be charged for in the following cases.
1. Failure occurring from inappropriate storage or handling, carelessness or negligence by the user. Failure caused
by the user's hardware or software design.
2. Failure caused by unapproved modifications, etc., to the product by the user.
3. When the Mitsubishi product is assembled into a user's device, Failure that could have been avoided if functions
or structures, judged as necessary in the legal safety measures the user's device is subject to or as necessary by
industry standards, had been provided.
4. Failure that could have been avoided if consumable parts (battery, backlight, fuse, etc.) designated in the
instruction manual had been correctly serviced or replaced.
5. Failure caused by external irresistible forces such as fires or abnormal voltages, and Failure caused by force
majeure such as earthquakes, lightning, wind and water damage.
6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi.
7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user.
2. Onerous repair term after discontinuation of production
(1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
Discontinuation of production shall be notified with Mitsubishi Technical Bulletins, etc.
(2) Product supply (including repair parts) is not available after production is discontinued.
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.
4. Exclusion of loss in opportunity and secondary loss from warranty liability
Regardless of the gratis warranty term, Mitsubishi shall not be liable for compensation to:
(1) Damages caused by any cause found not to be the responsibility of Mitsubishi.
(2) Loss in opportunity, lost profits incurred to the user by Failures of Mitsubishi products.
(3) Special damages and secondary damages whether foreseeable or not, compensation for accidents, and
compensation for damages to products other than Mitsubishi products.
(4) Replacement by the user, maintenance of on-site equipment, start-up test run and other tasks.
5. Changes in product specifications
The specifications given in the catalogs, manuals or technical documents are subject to change without prior notice.
59
TRADEMARKS
Ethernet is a registered trademark of Fuji Xerox Corporation in Japan.
The company names, system names and product names mentioned in this manual are either registered trademarks or
trademarks of their respective companies.
In some cases, trademark symbols such as '' or '' are not specified in this manual.
This Product uses the Source Code of T-Kernel under T-License granted by the T-Engine Forum (www.t-engine.org).
60
SH(NA)-081250ENG-B(1605)KWIX
MODEL: R-C24-U-IN-E
MODEL CODE: 13JX08
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.