0% found this document useful (0 votes)
10 views

SH 081250 Engf

Uploaded by

Rafa Henrique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

SH 081250 Engf

Uploaded by

Rafa Henrique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 70

MELSEC iQ-R Serial Communication Module

User's Manual (Startup)

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

Indicates that incorrect handling may cause hazardous conditions, resulting in


WARNING death or severe injury.

Indicates that incorrect handling may cause hazardous conditions, resulting in


CAUTION minor or moderate injury or property damage.
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.

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/reverse 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 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.
● Configure a circuit so that the external power supply is turned off first and then the programmable
controller. If the programmable controller is turned off 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 for the network
used. For the manuals, please consult your local Mitsubishi representative. 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. When a Safety CPU is used, data cannot be
modified while the Safety CPU is in SAFETY MODE.
● 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. For areas used for safety communications, they are protected from being written by
users, and thus safety communications failure caused by data writing does not occur.
● 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. When safety communications are used, an interlock
by the safety station interlock function protects the system from an incorrect output or malfunction.

[Design Precautions]
CAUTION
● Do not install the control lines or communication cables together with the main circuit lines or power
cables. Doing so may result in malfunction due to electromagnetic interference. Keep a distance of
100mm or more between those cables.
● 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 the remote
RUN/STOP functions), select "Do Not Open by Program" for "Opening Method" of "Module
Parameter". If "Open by Program" is selected, an execution of the remote STOP function causes the
communication line to close. Consequently, the CPU module cannot reopen the line, and external
devices cannot execute the remote RUN function.

3
[Security Precautions]
WARNING
● To maintain the security (confidentiality, integrity, and availability) of the programmable controller and
the system against unauthorized access, denial-of-service (DoS) attacks, computer viruses, and other
cyberattacks from external devices via the network, take appropriate measures such as firewalls,
virtual private networks (VPNs), and antivirus solutions.

[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 the general specifications in the
MELSEC iQ-R Module Configuration Manual. 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
component or wire, short circuit, or malfunction. Overtightening can damage the screw and/or module,
resulting in drop, short circuit, or malfunction. For the specified torque range, refer to the MELSEC iQ-
R Module Configuration Manual.
● 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 SD memory card slot. Check that it is inserted
completely. Poor contact may cause malfunction.

4
[Installation Precautions]
CAUTION
● Securely insert an extended SRAM cassette or a battery-less option cassette into the cassette
connector of the CPU module. After insertion, close the cassette cover and check that the cassette is
inserted completely. Poor contact may cause malfunction.
● Beware that the module could be very hot while power is on and immediately after power-off.
● Do not directly touch any conductive parts and electronic components of the module, SD memory
card, extended SRAM cassette, battery-less option cassette, or connector. Doing so can 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 a blank cover module (RG60) to each empty slot before powering
on the system for operation. Also, attach an extension connector protective cover*1 to each unused
extension cable connector as necessary. Directly touching any conductive parts of the connectors
while power is on may result in electric shock.
*1 For details, please consult your local Mitsubishi Electric representative.

5
[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. Doing so may result in malfunction due to noise. Keep a distance of 100mm or more between
those cables.
● Place the cables in a duct or clamp them. If not, dangling cables may swing or inadvertently be pulled,
resulting in malfunction or damage to modules or cables.
In addition, the weight of the cables may put stress on modules in an environment of strong vibrations
and shocks.
Do not clamp the extension cables with the jacket stripped. Doing so may change the characteristics
of the cables, resulting in malfunction.
● 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.
● When a protective film is attached to the top of the module, remove it before system operation. If not,
inadequate heat dissipation of the module may cause a fire, failure, or malfunction.

6
[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.

[Startup and Maintenance Precautions]


WARNING
● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction.
● Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or
throw the battery into the fire. Also, do not expose it to liquid or strong shock. Doing so will cause the
battery to produce heat, explode, ignite, or leak, resulting in injury or fire.
● Shut off the external power supply (all phases) used in the system before cleaning the module or
retightening the terminal screws, connector screws, or module fixing screws. Failure to do so may
result in electric shock.

7
[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 perform each of the following operations more than 50 times
(IEC 61131-2/JIS B 3502 compliant).
Exceeding the limit may cause malfunction.
• Mounting/removing the module to/from the base unit
• Inserting/removing the extended SRAM cassette or battery-less option cassette to/from the
CPU module
• Mounting/removing the terminal block to/from the module
• Connecting/disconnecting the extension cable to/from the base unit
● 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 or a battery-
less option 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.

8
[Startup and Maintenance Precautions]
CAUTION
● 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.
● Before handling the module, touch a conducting object such as a grounded metal to discharge the
static electricity from the human body. Wearing a grounded antistatic wrist strap is recommended.
Failure to discharge the static electricity may cause the module to fail or malfunction.
● Use a clean and dry cloth to wipe off dirt on the module.

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

9
[Computer Connection Precautions]
CAUTION
● When connecting a personal computer to a module having a USB interface, observe the following
precautions as well as the instructions described in the manual for the personal computer used.
Failure to do so may cause the module to fail.
(1) When the personal computer is AC-powered
When the personal computer has a 3-pin AC plug or an AC plug with a grounding wire, connect
the plug to a grounding receptacle or ground the grounding wire. Ground the personal computer
and the module with a ground resistance of 100 ohms or less.
When the personal computer has a 2-pin AC plug without a grounding wire, connect the computer
to the module by following the procedure below. For power supplied to the personal computer and
the module, using the same power source is recommended.
1. Unplug the personal computer from the AC receptacle.
2. Check that the personal computer is unplugged. Then, connect the personal computer to the
module with a USB cable.
3. Plug the personal computer into the AC receptacle.
(2) When the personal computer is battery-powered
The personal computer can be connected to the module without taking specific measures.
For details, refer to the following.
Cautions When Using Mitsubishi Electric Programmable Controllers or GOTs Connected to a
Personal Computer With the RS-232/USB Interface (FA-A-0298)
When the USB cable used is the GT09-C30USB-5P manufactured by Mitsubishi Electric, specific
measures are not required to connect the AC-powered personal computer to the module. However,
note that the signal ground (SG) is common for the module and its USB interface. Therefore, if an SG
potential difference occurs between the module and the connected devices, it causes failures of the
module and the connected devices.

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

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

11
INTRODUCTION
Thank you for purchasing the Mitsubishi Electric 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

COMPLIANCE WITH THE EMC AND LOW VOLTAGE


DIRECTIVES
Programmable controller system
To ensure that Mitsubishi Electric programmable controllers maintain the EMC and Low Voltage Directives or other
regulations when incorporated into other machinery or equipment, certain measures may be necessary. Please refer to one of
the following manuals.
• MELSEC iQ-R Module Configuration Manual(SH-081262ENG)
• Safety Guidelines (IB-0800525)
Certification marks on the side of the programmable controller indicate compliance with the relevant regulations.

Additional measures
No additional measures are necessary for the compliance of this product with EMC and Low Voltage Directives.

12
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16

CONTENTS
CHAPTER 1 PART NAMES 17

CHAPTER 2 SPECIFICATIONS 19
2.1 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Transmission specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.2 RS-232 Interface Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
RS-232 connector specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
RS-232 cable specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.3 RS-422/485 Interface Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
RS-422/485 terminal block specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
RS-422/485 cable specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Considerations for data communication using RS-422/485 circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.4 Modem Specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Transmission specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Specification of connectable modems/TAs (terminal adapters). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

CHAPTER 3 FUNCTION LIST 33


3.1 Function List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Basic functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Additional functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.2 Correspondence between Data Communication Functions and System Configurations . . . . . . . . . . . . . 36

CHAPTER 4 PROCEDURES UP TO OPERATION 38

CHAPTER 5 SYSTEM CONFIGURATION 40


5.1 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.2 Considerations for System Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
5.3 System Example that can be Constructed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

CHAPTER 6 WIRING 44
6.1 RS-232 Interface Connection Method (For Full-Duplex Communications) . . . . . . . . . . . . . . . . . . . . . . . . . 44
Considerations for connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Connection examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.2 RS-422/485 Interface Connection Method. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Considerations for connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Connection examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

CHAPTER 7 DATA COMMUNICATION USING PREDEFINED PROTOCOLS 51


7.1 Program Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Setting programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

13
APPENDIX 59
Appendix 1 External Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

INDEX 62

REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66

14
RELEVANT 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
[H-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
[H-081251ENG] PDF
MELSEC iQ-R Module Configuration Manual The combination of the MELSEC iQ-R series modules, common information Print book
[SH-081262ENG] on the installation/wiring in the system, and specifications of the power supply e-Manual
module, base unit, SD memory card, and battery PDF
MELSEC iQ-R Programming Manual (Module Dedicated instructions for an intelligent function module e-Manual
Dedicated Instructions) PDF
[SH-081976ENG]
MELSEC iQ-R Serial Communication Module FBs of a Serial communication module e-Manual
Function Block Reference PDF
[BBCN-P5999-0379]
GX Works3 Operating Manual System configurations, parameter settings, and operation methods for the e-Manual
[H-081215ENG online function in GX Works3 PDF
MELSEC Communication Protocol Reference Specifications, accessible range, message protocols, and functions of Print book
Manual MELSEC Communication Protocol e-Manual
[SH-080008] PDF

The following detailed information is not included in this manual.


• General specification
• Applicable CPU modules and the number of mountable modules
• Applicable remote head modules and the number of mountable modules
• Installation
For details, refer to the following manual.
MELSEC iQ-R Module Configuration Manual

e-Manual refers to the Mitsubishi Electric 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.
• Sample programs can be copied to an engineering tool.

15
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 data communication functions using MC protocol, predefined protocol, nonprocedural protocol,
bidirectional protocol, MODBUS, and simple CPU communication.
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.

16
1 PART NAMES
1
This chapter explains the part names of C24.

RJ71C24 RJ71C24-R2 RJ71C24-R4

1) 1) 1)

2) 2) 4)

3) 2) 4)

5) 5) 5)

No. Name Description


1) RUN LED Displays the operation status.
ON: Normal
OFF: Critical error occurred
ERR LED*1 Displays the module error status.
ON: Error has occurred*2*3
Flashing: Parameter error occurred
OFF: Normal
SD LED Displays the data transmission status.
ON/Flashing: Data being transmitted
OFF: Data not transmitted
RD LED Displays the data reception status.
ON/Flashing: Data being received
OFF: Data not received
C ERR LED Displays the communication error status.
ON: Communication error has occurred
OFF: Normal
2) RS-232 interface RS-232 interface for serial communication with target devices (D-Sub 9 pin female (mating screw M2.6))
3) RS-422/485 interface RS-422/485 interface for serial communication with target devices (2-piece terminal block)
4) RS-422/485 interface RS-422/485 interface for serial communication with target devices (2-piece plug-in socket block)
5) Production information marking Displays the production information (16 digits) of the module.

*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
17
MEMO

1 PART NAMES
18
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 29 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 communication
Predefined protocol communication Full-duplex/half-duplex communications
Nonprocedural protocol Full-duplex/half-duplex communications
communication
Bidirectional protocol communication Full-duplex/half-duplex communications
MODBUS communication Half-duplex communication
Simple CPU communication Full-duplex/half-duplex communications
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 communication Sends or receives data when requested with the dedicated instruction (CPRTCL).
Nonprocedural protocol Sends each time a send request is issued. Can receive at any time.
communication
Bidirectional protocol communication
MODBUS communication Processes one request during the END processing of the CPU module of the station with the
C24.
Simple CPU communication Processes one request at a fixed cycle or on request.
Error detection*1 Detects errors by using the parity check, sum check, horizontal parity, 16-bit CRC (for
MODBUS), and LRC (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.
• MODBUS communication: C24 sets automatically according to a frame mode to be used.
• Simple CPU communication: Select with parameters.
When using the parity check, select an odd or even for a 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.

2 SPECIFICATIONS
2.1 Performance Specifications 19
Item Specifications
RJ71C24 RJ71C24-R2 RJ71C24-R4
Line configuration for RS-232 1:1 1:1 
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
Line configuration for RS- MC protocol communication 1:1 1:1 
data communication 232
Predefined protocol 1:1 1:1
(Target device side:
communication
CPU module side)*3
Nonprocedural protocol 1:1 1:1
communication
Bidirectional protocol 1:1 1:1
communication
MODBUS communication 1:1 1:1
Simple CPU communication 1:1 1:1
RS- MC protocol communication 1:1, 1:n, m:n  1:1, 1:n, m:n
422/
Predefined protocol 1:1, n:1 1:1, n:1
485
communication
Nonprocedural protocol 1:1, 1:n, n:1 1:1, 1:n, n:1
communication
Bidirectional protocol 1:1 1:1
communication
MODBUS communication 1:1, 1:n 1:1, 1:n
Simple CPU communication 1:1, 1:n 1:1, 1:n
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 methods available for each communication protocol are as follows:


: Enabled, : Disabled

Error detection MC protocol Predefined Nonprocedural Bidirectional MODBUS Simple CPU


method protocol protocol protocol communication
Parity check      
Sum Check      
Horizontal parity      
16-bit CRC      (RTU)  (RTU)
(for MODBUS)
LRC      (ASCII)  (ASCII)
(for MODBUS)

*2 The methods available for each interface are as follows:


: Enabled, : Disabled

Transmission control method RS-232 RS-422/485


DTR/DSR control  
RS/CS control  
CD(DCD) signal control  
DC1/DC3 (Xon/Xoff) control  
DC2/DC4 control

*3 The total number of 'n' or 'm+n' is up to 32.


*4 For more information on recommended connectors, refer to the following section.
Page 22 Interface connector

2 SPECIFICATIONS
20 2.1 Performance Specifications
2.2 RS-232 Interface Specification
The following shows the RS-232 interface specifications.

RS-232 connector specifications


2
The following table shows the specifications of the RS-232 connector that connects C24 to a target device.
Connector Pin number Signal number Signal name Direction
C24  target device
1 CD(DCD) Data carrier detect

2 RD(RXD) Receive data

3 SD(TXD) Send data


1
6
2
7 4 ER(DTR) Data terminal ready
3
8 5 SG Signal ground
4
9
5
6 DR(DSR) Data set ready

7 RS(RTS) Request to send

8 CS(CTS) Clear to send

9 CI(RI) Ring indicator

Control signals
The following explains the control signals. (The pin numbers of the connector are enclosed in parentheses.)

■CD(DCD) signal (1)


• C24 operates according to the setting with the CD terminal check designation of C24.
Communication method CD terminal check is enabled CD terminal check is disabled
Full-duplex communication • C24 performs the send and receive processing when • C24 performs the send and receive processing
the CD(DCD) signal is ON. regardless of the ON/OFF status of the CD(DCD)
signal.
• Data communications is possible with a target device
that cannot turn the CD(DCD) signal ON/OFF.
Half-duplex communication MELSEC iQ-R Serial Communication Module User's Not applicable
Manual(Application)

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

■RD(RXD) signal (2)


A signal to receive data

■SD(TXD) signal (3)


A signal to send data

2 SPECIFICATIONS
2.2 RS-232 Interface Specification 21
■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.

■DR(DSR) signal (6)


• During DTR/DSR control, C24 does not send data to the target device when this signal is OFF.
Be sure that this signal is always turned ON when the target device is ready to receive.
• If DTR/DSR control is not performed, the DR(DSR) signal status is ignored.

■RS(RTS) signal (7)


C24 turns ON/OFF the RS(RTS) signal as shown below depending on the communication method.
• When the communication method is full-duplex communications, if the 'C24 READY' (X1E) is ON, C24 turns ON the
RS(RTS) signal.
• When the communication method is half-duplex communications, it turns ON the RS(RTS) signal when C24 sends data to
a target device.
• The RS(RTS) signal is not turned OFF even when the receive data cannot be stored in C24.

■CS(CTS) signal (8)


• C24 does not send data to a target device when this signal is OFF.
• Be sure that this signal is always turned ON when the target device is ready to receive.

■CI(RI) signal (9)


• The CI(RI) signal is used when the modem status is monitored on C24 side.
It should be connected as needed.
The CI(RI) signal is not needed to be connected when the modem is not connected.

ON and OFF states of signal


The ON and OFF states of each signal indicate the following conditions:
Signal Output side Input side
ON 5 VDC to 15 VCD 3 VDC to 15 VDC
OFF -15 VDC to -5 VDC -15 VDC to -3 VDC

Interface connector
The following connector model is used as RS-232 interface connector for C24.
Type Model Manufacturer
D-sub 9 pin (female) screw type (mating screw M2.6) 17L-10090-27(D9AC)(-FA) DDK Ltd. (www.ddknet.co.jp)

The suitable connector shell for the RS-232 connector is as shown below.
Type Model Manufacturer
D-sub 9 pin (male) screw type 17JE-23090-02(D8A)(-CG) DDK Ltd. (www.ddknet.co.jp)

Tightening torque
For details on the tightening torque for the RS-232 interface connector, refer to the following section.
Page 44 Considerations for connection

2 SPECIFICATIONS
22 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 

*1 System area for RJ71C24 (-R2)

■RS and DTR signal status designation


Normally, C24 turns ON/OFF the RS(RTS) signal or ER(DTR) signal.
The ON/OFF status of the RS(RTS) or ER(DTR) signal can be specified by turning ON/OFF the corresponding bit in the 'RS
and DTR signal status designation' (Un\G146/306). (Default: 0005H)*1*2*3*4
b0: RS(RST) signal
b2: ER(DTR) signal
b1, b3 to b15: For system
*1 The RS(RTS) signal is controlled by C24 in the following cases. (The setting contents are ignored.)
When data is communicated with half-duplex communication
When RS/CS control is performed during communication with the modem function
*2 The ER(DTR) signal is controlled by C24 in the following cases. (The setting contents are ignored.)
When the DTR/DSR signals are controlled
When data is communicated with the modem function
*3 After writing in the buffer memory, a lag of 0 to 20 ms occurs until it is reflected in the signal.
*4 When RS and DTR signal status designation (protocol No.: 204 to 207) for a functional protocol is performed with the CPRTCL
instruction, the corresponding bit in the 'RS and DTR signal status designation' (Un\G146/306) turns ON or OFF.
For details on functional protocol, refer to the following manual.
 MELSEC iQ-R Programming Manual (Module Dedicated Instructions)

• Be sure to control the RS (RTS) or ER (DTR) signal with the C24 system. Control of them by a user may
cause data communication errors.
• In addition, do not control the RS (RTS) or ER (DTR) signal when using the simple CPU communication
function; otherwise, the communication may fail and an error such as a timeout may occur.

RS-232 cable specification


Use a cable of 15 m or shorter, which conforms to the RS-232 standard as the RS-232 cable.
Diameter Type Material Temperature rating
AWG28 to 24 Stranded Copper 60 or more

• Reference
Model Manufacturer
7/0.127 P HRV-SV Oki Electric Cable Co., Ltd. (www.okidensen.co.jp)
: Specify the number of pairs. (For 13 pairs 7/0.127 13P HRV-SV)

2 SPECIFICATIONS
2.2 RS-232 Interface Specification 23
2.3 RS-422/485 Interface Specifications
The following explains the RS-422/485 interface specifications.

RS-422/485 terminal block specifications


The following table shows the specifications of the RS-422/485 terminal block that connects to a target device.
Terminal block Abbreviation Signal name Direction
C24  target device
Terminal block (RJ71C24) Plug-in terminal block SDA Transmitted data (+)
(RJ71C24-R4)
SDB Transmitted data (-)
SDA SDA
SG SDB RDA Received data (+)
SDB
SLD RDA
RDB Received data (-)
RDA RDB
(FG) SG
RDB SG Signal ground
SLD
(FG) *1
SLD Shield wire of cable

FG*1 Frame ground

*1 The SLD and FG are connected inside the module.

Control signals
The following explains the control signals.

■SDA, SDB signals


Signals to send data from C24 to the target device.

■RDA, RDB signals


Signals for C24 to receive data from the target device.

Terminating resistor
For more information of terminating resistor connection, refer to the following section.
Page 47 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.

■Plug-in terminal block (RJ71C24-R4)


Remove the shielded part of the cable and directly connect the cable to the plug-in socket block.
Use the plate terminal (supplied with the product) to connect the braided shield wire to the FG terminal on the plug-in terminal
block.

Tightening torque
For details on the tightening torque for the RS-422/485 terminal block, refer to the following section.
Page 47 Considerations for connection

2 SPECIFICATIONS
24 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) 11010
Recommended conductor size 0.2 to 0.75
Diameter AWG22 to AWG16
Type Stranded
Material Copper
Temperature rating 60 or more

• Recommended products
Model Manufacturer
HRZEV-ME(20276)AWG223P DYDEN CORPORATION (www.dyden.co.jp)
SPEV(SB)-MPC-0.23P MITSUBISHI CABLE INDUSTRIES, LTD. (www.mitsubishi-cable.co.jp)
SPEV(SB)-0.23P MITSUBISHI CABLE INDUSTRIES, LTD. (www.mitsubishi-cable.co.jp)
SPEV(SB)-0.33P MITSUBISHI CABLE INDUSTRIES, LTD. (www.mitsubishi-cable.co.jp)

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

Countermeasures against wrong data reception at a target device side


If a target device may receive erroneous data, install a pull-up or pull-down resistor to the target device side as follows.
Installing a pull-up or pull-down resistor (resistance value criteria: approx. 4.7k1/4W) can prevent the reception of erroneous
data.
When there is a pull-up or pull-down resistor on the target device, erroneous data is not received.

RDA 4.7kΩ 1/4W


+
RDB (1) (2)
-
4.7k 1/4W

(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.
• When using MODBUS for data communication, the first data is determined according to the protocol specifications.

2 SPECIFICATIONS
26 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.

■RS-422/485 interface operation


When the 'Output control input' in the illustration above is ON, the interface enters the low impedance state (state in which
data can be sent).
To the contrary, when the 'Output control input' is OFF, the interface enters the high impedance state (state in which data is not
sent).

■Timing to start sending and to complete the transmission processing of C24


• Timing to start sending
During data transmission, C24 outputs the actual data after sending a mark of 2 characters or longer after the high impedance
by the operations described above is reset.
• Transmission processing completion timing
The following time is required as hardware gate OFF time from the completion of data transmission to the completion of
transmission processing (the state changes to the high impedance state). (This applies to the transmission speed set in C24.)
When the transmission speed is 1200 bps or higher: Data transfer time of less than 1 bit

(Output control input)

Target device Data

C24 Data

(Output control input)


Outputs a mark of 2 characters or longer

Data send
time range
H/W gate OFF time
(Refer to explanation above)

"Output control input" "Output control input"


ON time range OFF time range
(Low impedance state) (High impedance state)
C24 is in the data- C24 is in the
sendable/receivable state data-receivable state

2 SPECIFICATIONS
2.3 RS-422/485 Interface Specifications 27
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

(1): Target device or converter


(2): Sent data
(3): Output control input
(4): Received data

• 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
28 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 19 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 29
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.

Specifications of and considerations for the connectable modems


■Modem specification
Item Specification Remarks
When using the When using a
public line/office manual line
telephone system connection
Modem-to-modem Connection line Analog 2-line 
communication specifications
Initialization Hayes AT command compatible MELSEC iQ-R Serial
Communication Module User's
Telephone line A line equivalent to NTT communication protocol
Manual(Application)
Communication ITU-T V.34/V.32bis/V.32/V.22bis/V.22/V.21/V.fc 
standard
Bell 212A/103
Error correction MNP Class 4 and 10 compliant
ITU-T V.42 compliant
Data compression MNP Class 5 compliant
ITU-T V.42bis compliant
ANS-ORG mode switch  Capable of switching
mode
C24-to-modem C24 side connector (RS- D-sub 9 pin (female) Page 19 Transmission
communication specifications 232) specification
DR signal control*1 Capable of turning ON the DR(DSR) signal only 
Other Compatible with C24 specification Page 19 Transmission
specification
Page 29 Transmission
specifications

*1 Modems which turn ON the CD(DCD) signal simultaneously cannot be used.


The following are the functions of the modem itself that become available by issuing the AT commands to the modem. For
details, refer to the modem's instruction.
Item Description
Error correction When a noise occurs on the line, data corruption may occur due to interrupted communication data.
The error correction function is intended to suppress effects from such noises.
If an error such as data corruption is detected by the error correction function, the modem retries the transmission.
When the number of retries has exceeded the modem's limit, the modem determines that it's under the environment
where communication cannot be established.
Both modems must support the MNP4 or V.42 protocol.
Data compression This function compresses data to be sent prior to transmission, and decompress the compressed data upon reception,
then forwards to the terminal.
The data compression is effective for the execution speed at a maximum of 200 % for the MNP5 and 300 % for the
V.42bis.
Both modems must support the MNP5 or V.42bis protocol.
Flow control (RS/CS control) When communication between a modem and terminal is faster than between two modems, the flow control is
performed in the following order:
• The modem transmits data to the target by storing the data from the terminal in the modem buffer.
• When the buffer in the modem becomes almost full, the modem outputs a data transmission temporary stop request
(CS(CTS) signal = OFF) to the terminal. The terminal pauses data transmission by the request.
Even while the terminal pauses data transmission, the modem continues to send data to the partner.
• When the buffer has free space, the modem outputs a data transmission resuming request (CS(CTS) signal = ON)
to the terminal. The terminal resumes data transmission to the modem by the request.

2 SPECIFICATIONS
30 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.

Specifications of and considerations for the connectable TAs (terminal adapters)


■TA specification
Item Specification Remarks
TA-to-TA communication Connection line ISDN (INS net 64) equivalent, High-speed digital DSU and TA are required
specifications dedicated line
Initialization Hayes AT command compatible MELSEC iQ-R Serial
Communication Module User's
Manual(Application)
Communication standard B-channel line exchange (V.110) 
D-channel packet exchange
Electrical condition V.28 compliant
C24-to-TA communication Circuit definition V.24 compliant
specifications
C24 side connector (RS-232) D-sub 9 pin (female) Page 19 Transmission
specification
DR signal control*1 Capable of turning ON the DR(DSR) signal only 
Other Compatible with C24 specification Page 19 Transmission
specification
Page 29 Transmission
specifications

*1 TAs that turn ON the CD (DCD) signal simultaneously cannot be used.


Use a TA capable of flow control as described below also for the communication between the TA and terminal.
Page 30 Modem specification
Flow control is a function of the TA itself that becomes available by issuing the AT commands to TA. Refer to the TA manual for details.

2 SPECIFICATIONS
2.4 Modem Specification 31
■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

*1 Some TAs may transmit one character as 10 bits.


Check the TA specifications when setting C24 transmission specifications.
*2 Some TAs may switch the communication rate following the start of data communication.
Since C24 cannot switch the communication rate, set the TA side so that its communication rate does not switch.
• When using a TA whose DR terminal (signal) is set by a switch, set the DR terminal (TA output) switch level to High.
When using a TA requiring DR terminal setting with software, write the command that turns ON the DR (DSR) signal into
the data for initialization. Set the "Modem initialization DR (DSR) signal enable/disable designation" to "DR signal enabled"
in the modem function setting with Engineering tool.

2 SPECIFICATIONS
32 2.4 Modem Specification
3 FUNCTION LIST

3.1 Function List


This section lists the functions of C24. For more details on the functions, refer to the following manual.
MELSEC iQ-R Serial Communication Module User's Manual(Application)

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.
Communication with MODBUS Automatic response function Automatically performs processing corresponding to the function
code in a request message received from a master, and
automatically sends a response message.
MODBUS device assignment function Converts access to MODBUS devices into access to devices of a
CPU module.
Simple CPU communication Transmitting/receiving device data Sends/receives device data between programmable controllers
without a program.
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 33
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
MD: MODBUS (slave function)
S: Simple CPU communication
Function Description Protocol
MC Non Bi Pd MD S
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      
(Programmable controller CPU the device memory.
monitoring 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 Turns ON/OFF input signals for C24 from a target device.      
from a target device (global function)
Transmitting data from a CPU module Transmits data from a CPU module to a target device in each      
to a target device (on-demand function) frame format of the MC protocol.
Transmitting/receiving data with a user Registers the fixed format portion of messages to be      
frame transmitted and 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      
ASCII-binary conversion code data with ASCII-binary conversion by C24.
Transmitting/receiving data by Transmits/receives one-byte data for transmission control of      
specifying transparent code the target 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-      
(Modem function) located target device.
Data communications using the MC protocol, nonprocedural
protocol, and bidirectional protocol are available.
Transmissi DC code control Notifies the availability of data reception on the host station and      
on control (including Xon/Xoff the effective range of transmitted/received data to target
control) 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 Performs data communications with a target device without      
interface 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 When data is transmitted through RS-485 (2 wire type) from the      
RS-422/485 interface RS-422/485 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.

3 FUNCTION LIST
34 3.1 Function List
Function Description Protocol
MC Non Bi Pd MD S
Preventing erroneous noise signal Prevents noise signal generated when turning ON the power of      
reception 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 By removing automatically the NULL characters included in the      
characters in transmitted data data to be transmitted, man-hours for design can be reduced.
Dedicated instructions A instruction to use the functions of the module.      

3 FUNCTION LIST
3.1 Function List 35
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 40 SYSTEM CONFIGURATION

Communication with MC protocol


: Available, : Not available
Function System configuration
(Target device: C24)
1:1 n:1 1:n m:n
Writing/reading to/from the device memory of the CPU module    
Writing/reading to/from the buffer memory of a C24    
Writing/reading to/from the buffer memory of an intelligent function module    
Writing/reading programs and parameters    
Controlling the status of the CPU module    
(Remote RUN, STOP, etc.)
Communication with ASCII code    
Communication with binary code    
On-demand function    
Global function    
Programmable controller CPU monitoring function    

Communication with predefined protocol


: Available, : Not available
Function System configuration
(Target device: C24)
1:1 n:1 1:n m:n
Transmitting/receiving data    

Communication with nonprocedural protocol


: Available, : Not available
Function System configuration
(Target device: C24)
1:1 n:1 1:n m:n
Transmitting/receiving data in any format    
Transmitting/receiving data with a user frame    
Programmable controller CPU monitoring function    
Reading received data by interrupt programs    
Transmitting/receiving ASCII data with ASCII-binary conversion    
Transmitting/receiving data by specifying transparent code    

3 FUNCTION LIST
36 3.2 Correspondence between Data Communication Functions and System Configurations
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








3

Communication with MODBUS


: Available, : Not available
Function System configuration
(Target device: C24)
1:1 n:1 1:n m:n
Writing/reading to/from the device memory of the CPU module    
Writing/reading to/from the buffer memory of a C24    
Communication with RTU and ASCII codes    
Writing/reading to/from the file register of the CPU module    
Diagnostic    
Acquiring communication event logs/counters    
Reporting slave IDs    

Simple CPU communication


: Available, : Not available
Function System configuration
(Target device: C24)
1:1 n:1 1:n m:n
Transmitting/receiving device data    

3 FUNCTION LIST
3.2 Correspondence between Data Communication Functions and System Configurations 37
4 PROCEDURES UP TO OPERATION
This chapter explains the procedures up to operation.

1. Mounting a module.
Mount C24 with desired configuration.
Page 40 SYSTEM CONFIGURATION

2. Wiring
Connect C24 and target devices with a cable.
Page 44 WIRING

3. Setting parameters
Set the C24 parameter with the basic settings using Engineering tool.
MELSEC iQ-R Serial Communication Module User's Manual(Application)

4. Communication using each protocol


• MC protocol communication
• Predefined protocol communication
• Nonprocedural protocol communication
• Bidirectional protocol communication
• MODBUS communication
• Simple CPU communication
MELSEC iQ-R Serial Communication Module User's Manual(Application)

5. Using special function


• Set the C24 parameter with the application settings using Engineering tool.
• Communicate using the special functions.
MELSEC iQ-R Serial Communication Module User's Manual(Application)

4 PROCEDURES UP TO OPERATION
38
MEMO

4 PROCEDURES UP TO OPERATION
39
5 SYSTEM CONFIGURATION
This chapter explains the system configuration of C24.

For applicable CPU modules and the number of mountable modules, refer to the following.
MELSEC iQ-R Module Configuration Manual

5.1 System Configuration


System configurations (combinations of C24 and target devices) for data communication are shown below.

System configuration on a 1:1 basis between target device and C24

RS-232/422

System configuration on a n:1 basis between target device and C24

RS-485

5 SYSTEM CONFIGURATION
40 5.1 System Configuration
System configuration on a 1:n basis between target device and C24

RS-485

RS-232 RS-485

System configuration on a m:n basis between target device and C24

RS-485 RS-232 RS-485

5 SYSTEM CONFIGURATION
5.1 System Configuration 41
5.2 Considerations for System Configurations
This section shows considerations for the system configurations.

Considerations for system configurations of other than 1:1 basis between target device
and C24
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.

Considerations for network communication route


When accessing a CPU module on another station from GX Works3, GOT, or target devices that communicate using MC
protocol, use CH2 for RS-485 multidrop connection between C24s.

5 SYSTEM CONFIGURATION
42 5.2 Considerations for System Configurations
5.3 System Example that can be Constructed
The following shows examples of system configuration for C24.

Connecting two target devices to C24


Connect target devices such as GOT and barcode reader to a single C24.
Data can be sent and received between GOT and barcode reader via C24.

5
RS-485 RS-232

Connecting a target device and more than one C24


Connect more than one C24 to a personal computer as the multidrop connection.
Data can be read from/written to the CPU module from a personal computer via C24.
For the combination of target devices and C24, refer to the following section.
Page 40 System Configuration

RS-232

RS-485 RS-485

Connecting MODBUS-compatible devices to a C24


Connect MODBUS-compatible devices to a C24 as the multidrop connection.
MODBUS-compatible devices can be controlled via a C24*1 from a personal computer or GOT.
*1 The firmware version is '13' or later.

RS-232

RS-485

(2)
(1) (1)

RS-485 RS-485
(1) MODBUS slave station (MODBUS-compatible device)
(2) MODBUS slave station (RJ71C24 (-R2/4))

5 SYSTEM CONFIGURATION
5.3 System Example that can be Constructed 43
6 WIRING
This chapter explains the wiring methods in the system using C24.

6.1 RS-232 Interface Connection Method (For Full-


Duplex Communications)
This section shows considerations for connection and connection examples for full-duplex communications using C24 RS-232
interface.

Considerations for connection


• Do not bundle control line and communication cable with the main circuit and the power cables, and do not install them
close to each other.
Keep a distance of 100 mm or more between them. Failure to do so may result in malfunction due to noise.
• Prior to connection to the target device side, check the specifications of the target device.
• Be sure the shield is single-point grounded.
• For more information for the following, refer to the relevant sections. ( MELSEC iQ-R Serial Communication Module
User's Manual(Application))
Controlling communication on the C24 side at the target device side by using the CD(DCD) signal on RS-232 interface.
Performing half-duplex communications with the specifications of the target device side.
Using the modem function.
• Connect the FG signal of the connection cable and the shield as follows:
Connection cable Connection on the C24 side Remarks
FG signal of connection cable Connect to C24 connector housing Do not short-circuit the FG and SG signals of the
connection cable.
Shield of connection cable Connect to the FG terminal of the target device or the C24
When the FG and SG signals are connected inside the
connector housing
target device, do not connect the FG signal to the C24
side.

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

C24 (1) (2)

FG

SD(TXD) RD(RXD)

RD(RXD) SD(TXD)

DR(DSR) ER(DTR)

ER(DTR) DR(DSR)

SG SG

• Tighten the connector screws within the following torque ranges.


Location of screw Tightening torque Remarks
range
RS-232 cable connector screw (M2.6 screw) 0.20 to 0.39Nm Depth of hole: L = 3.2 mm or less (Internal length from the
surface)

6 WIRING
44 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

• With the wiring shown above, DC code control is available.

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) 45
Connection example when using the MODBUS slave function
(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

• DTR/DSR control and DC code control cannot be used.

6 WIRING
46 6.1 RS-232 Interface Connection Method (For Full-Duplex Communications)
6.2 RS-422/485 Interface Connection Method
This section shows considerations for connection and connection examples when using C24 RS-422/485 interface.

Considerations for connection


• Do not bundle control line and communication cable with the main circuit and the power cables, and do not install them
close to each other.
Keep a distance of 100 mm or more between them. Failure to do so may result in malfunction due to noise.
• M3 screws are used for the terminal screw on RS-422/485 terminal block. Use 1.25-3 as the applicable solderless terminal.
Solderless terminals with insulation sleeves cannot be used for the terminal block.
Covering the wire connection parts of the solderless terminals with mark tubes or insulation tubes is recommended.
• When connecting the C24 SG and FG signals to the target device, connect them according to the specifications of the
target device.
• Be sure the shield is single-point grounded.
• If data is not communicated normally due to external noise even if the shield of the connection cable is wired, perform
wiring as follows:
Connect the FG of both station with the shield of the connection cable. However, connect to the target device side
6
according to the instruction manual of the target device. Use the plate terminal (supplied with the product) to connect the
braided shield wire of connection cable to RJ71C24-R4. Connect (FG) of the C24 side to the FG terminal on the power
module with the C24 or the FG terminal on the control panel to which the programmable controller with the C24 is installed.
Connect each nnA and each nnB with a twisted pair cable.
The 'nn' will be SD or RD, and combine as described below according to the configuration.
Connection configuration Combination for connection
Connect a target device to C24 on a 1:n basis Connect SDA and RDA, and SDB and RDB of each signal on the connection cable respectively.
Connect a target device to C24 on a n:1 basis Connect SDA and SDA, and RDB and RDB of each signal on the connection cable respectively.

(1) (2) (3)

SDA SDA RDA


SG SDB RDB
SDB RDA SDA
SLD RDB SDB
RDA SG SG
FG (SLD) SLD
RDB
(FG) (4)

(1): Correspondence of the RS-422/485 terminal block and signal position


(2): C24
(3): Target device
(4): Shield


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 '3301/4W' terminating resistor for RS-422 communication. Connect a '1101/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
6.2 RS-422/485 Interface Connection Method 47
• 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)

Incorrect insertion(Inserted horizontally)

• 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.58Nm
*1
RS-422/485 terminal block mounting screws (M3.5 screw) 0.66 to 0.89Nm
RS-422/485 plug-in terminal block terminal screw (M2 screw) for RJ71C24-R4. 0.20 to 0.25Nm

*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
48 6.2 RS-422/485 Interface Connection Method
Connection examples

Connecting a target device to C24 on a 1:1 basis


(1) (2)
SDA RDA
R
SDB RDB
RDA SDA
R
RDB SDB
SG RSA
SLD RSB
FG CSA
CSB

SG
SLD

R : Terminating resistor
(1): C24
(2): Target device
6
Connecting a target device to C24 on a 1:n basis (multidrop connection)
■Connection example 1
(1) C24 C24 C24

SDA SDA SDA


R R
SDB SDB SDB
RDA RDA RDA
R R
RDB RDB RDB
RS-232
SD(TXD) SD(TXD) SG SG SG

RD(RXD) RD(RXD) SLD SLD SLD


RS-422/485 RS-422/485

(2)

R : Terminating resistor
(1): Target device
(2): Linked operation

■Connection example 2
(1) C24 C24 C24

SDA SDA SDA SDA


R R
SDB SDB SDB SDB
RDA RDA RDA RDA
R R
RDB RDB RDB RDB
SG SG SG SG

SLD SLD SLD SLD


RS-422/485 RS-422/485 RS-422/485

R : Terminating resistor
(1): Target device

6 WIRING
6.2 RS-422/485 Interface Connection Method 49
Connecting a target device to C24 on a n:1 basis (multidrop connection)
(1) (1) (1) C24

SDA SDA SDA SDA


SDB SDB SDB SDB
RDA RDA RDA RDA
R R
RDB RDB RDB RDB
SG SG SG SG

SLD SLD SLD SLD


RS-422/485 RS-422/485 RS-422/485

R : Terminating resistor
(1): Target device

Connecting a target device to C24 on a m:n basis (multidrop connection)


■Connection example 1
(1) (1)

RS-232 RS-232
SD SD

RD RD
C24 C24

SD SD

RD RD
C24

SDA SDA SDA


SDB SDB SDB
RDA RDA RDA
R R
RDB RDB RDB
SG SG SG

SLD SLD SLD


RS-422/485 RS-422/485

(2) (2)

R : Terminating resistor
(1): Target device
(2): Linked operation

■Connection example 2
(1) C24 (1) C24

SDA SDA SDA SDA


SDB SDB SDB SDB
RDA RDA RDA RDA
R R
RDB RDB RDB RDB
SG SG SG SG

SLD SLD SLD SLD


RS-422/485 RS-422/485 RS-422/485

R : Terminating resistor
(1): Target device

6 WIRING
50 6.2 RS-422/485 Interface Connection Method
7 DATA COMMUNICATION USING PREDEFINED
PROTOCOLS
This chapter explains the example of data communication using communication protocol.

7.1 Program Example


The following shows the program example and setting examples of the Predefined protocol function.

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 40 SYSTEM CONFIGURATION 7
Page 44 WIRING

Target device and protocol


Connect the C24 and the inverter, and read the operation mode values of the inverter.
Set the inverter station number to CPU device (D300) and send it, and store the operation mode value in CPU device (D201).

FREQROL-A800

D300
Terminator Check code Inverter station
Header
number

D201
Operation Check code Terminator
Header mode value

Manufacturer Mitsubishi Electric


Device name FREQROL-A800
Protocol name H7B:RD Operation Mode

Storage target devices and buffer memory assignment


Specify the CPU device and buffer memory in the data storage areas, and transmit/receive data.
Packet name Element Name Packet Type Data storage area
specification
H7B:RD Operation Mode Inverter Station Number Send packet D300
NOR:RD Data (4 Digits Data) Inverter Station Number Receive packet D200
Read Data D201
ERR:NAK Response Inverter Station Number D202
Error Code D203

7 DATA COMMUNICATION USING PREDEFINED PROTOCOLS


7.1 Program Example 51
Communication settings (Engineering tool)
This section explains the settings required for performing the predefined protocol communication on Engineering tool.

■Adding new modules


Add an Intelligent function module to the project and set the details.

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.

3. Click the [Yes] button on the screen shown below, and add the module label for C24.

7 DATA COMMUNICATION USING PREDEFINED PROTOCOLS


52 7.1 Program Example
■Setting module parameter
Set [Various control specification] of module parameter as follows:
For details on the parameters, refer to the following section.
MELSEC iQ-R Serial Communication Module User's Manual(Application)

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

7 DATA COMMUNICATION USING PREDEFINED PROTOCOLS


7.1 Program Example 53
■Setting Predefined protocol support function
For details for setting the Predefined protocol support functions, refer to the following section.
MELSEC iQ-R Serial Communication Module User's Manual(Application)

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.

3. Select [File] [New] on the "Predefined Protocol Support Function" screen.

4. Select [Edit]  [Add Protocol] in the "Protocol Setting" 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.

7 DATA COMMUNICATION USING PREDEFINED PROTOCOLS


54 7.1 Program Example
7. Click the "Variable unset error" cell on the "Packet 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 7
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'

7 DATA COMMUNICATION USING PREDEFINED PROTOCOLS


7.1 Program Example 55
Writing data to a CPU module
Write the packet after confirming if the CPU module is in 'STOP' status.

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

2. Switch the CPU to "RUN", and execute the registered protocol with CPRTCL instruction.

Program in which the CPRTCL instruction is used


Receive data is stored to the receive data storage area that is set to the receive packet.
For details on the CPRTCL instruction, refer to the dedicated instruction. ( MELSEC iQ-R Programming Manual (Module
Dedicated Instructions))
Classification Label name Description Device
Module label C24_1 Target module 
C24_1.bSts_CommunicationProtocolPreparationCompletion Predefined protocol ready X1D
Label to be defined Define the global label as shown below.

For information on the module FB to be used, refer to the following manual.


MELSEC iQ-R Serial Communication Module Function Block Reference

7 DATA COMMUNICATION USING PREDEFINED PROTOCOLS


56 7.1 Program Example
7

(0) Store the setting value to the transmission data storage area.
Set the channel number.
Set the protocol number 1.
Direct the protocol execution.
(70) Turn the normal flag ON.
(72) Turn the abnormal flag ON.

7 DATA COMMUNICATION USING PREDEFINED PROTOCOLS


7.1 Program Example 57
Checking protocol execution result
■Check on the "Protocol Execution Log" screen.
[Debugging Support Function] on the "Protocol Setting" screen [Protocol Execution Log]

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)

7 DATA COMMUNICATION USING PREDEFINED PROTOCOLS


58 7.1 Program Example
APPENDIX
Appendix 1 External Dimensions
The following figures show the external dimensions of each module.

RJ71C24

(Unit: mm)

RJ71C24-R2

(Unit: mm)

APPX
Appendix 1 External Dimensions 59
RJ71C24-R4

(Unit: mm)

APPX
60 Appendix 1 External Dimensions
MEMO

APPX
Appendix 1 External Dimensions 61
INDEX

C
CD terminal check designation . ............. 21
CI(RI) signal . . . . . . . . . . . . . . ............. 22
Communication method . . . . . . ............. 19
CS(CTS) signal . . . . . . . . . . . . ............. 22

D
Data communication function . . . . . . . . . . . . . . . 36
Data format . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
DR(DSR) signal . . . . . . . . . . . . . . . . . . . . . . . . 22

E
ER(DTR) signal . . . . . . . . . . . . . . . . . . . . . . . . 22
External dimensions . . . . . . . . . . . . . . . . . . . . . 59

H
Hardware gate OFF time . . . . . . . . . . . . . . . . . . 27

M
Modem specification . . . . . . . . . . . . . . . . . . . . . 29
Multidrop connection . . . . . . . . . . . . . . . . . . . . . 43

P
Part name . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Procedures up to operation . . . . . . . . . . . . . . . . 38

R
RD(RXD) signal . . . . . . . . . . . . . . . . . . . . . . . . 21
RS(RTS) signal . . . . . . . . . . . . . . . . . . . . . . . . . 22
RS-232 interface connection method. . . . . . . . . . 44
RS-232 interface specification . . . . . . . . . . . . . . 21
RS-422/485 interface connection method . . . . . . 47
RS-422/485 interface specification . . . . . . . . . . . 24

S
SD(TXD) signal . . . . . . . . . . . . . . . . . . . . . . . . . 21
Solderless terminal . . . . . . . . . . . . . . . . . . . . . . 24
System configuration . . . . . . . . . . . . . . . . . . . . . 40

T
Terminating resistor . . . . . . . . . . . . . . . . . . . . . 47
Transmission specification . . . . . . . . . . . . . . . . . 19

62
MEMO

63
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
October 2019 SH(NA)-081250ENG-C ■Added function
MODBUS slave function
■Added or modified parts
SAFETY PRECAUTIONS, RELEVANT MANUALS, TERMS, Section 2.1, Section 2.3, Section 3.1,
Section 3.2, Chapter 4, Chapter 5, Section 5.2, Section 6.1
May 2020 SH(NA)-081250ENG-D ■Added function
Simple CPU communication function
■Added or modified parts
TERMS, Section 2.1, Section 2.2, Section 3.1, Section 3.2, Chapter 4, Section 5.3
April 2021 SH(NA)-081250ENG-E ■Added or modified parts
SAFETY PRECAUTIONS, CONDITIONS OF USE FOR THE PRODUCT, Section 2.1, Section 3.2
May 2022 SH(NA)-081250ENG-F ■Added or modified parts
SAFETY PRECAUTIONS, COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES
Section 2.2, Section 3.2, Section 5.2

Japanese manual number: SH-081248-F


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.

 2014 MITSUBISHI ELECTRIC CORPORATION

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

65
TRADEMARKS
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 TRON Forum (www.tron.org).

66
SH(NA)-081250ENG-F(2205)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.

Specifications subject to change without notice.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy