Mitsubishi Electric MELSEC iQ-R, R12CCPU-V User Manual

MELSEC iQ-R C Controller Module User's Manual (Startup)
-R12CCPU-V

SAFETY PRECAUTIONS

WARNING
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
CAUTION
Indicates that incorrect handling may cause hazardous conditions, resulting in minor or moderate injury or property damage.
(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.
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.
[Considerations for using this manual]
Replace the terms used in the following pages in this manual with the terms shown on the right, respectively. Corresponding page: SAFETY PRECAUTIONS, CONDITIONS OF USE FOR THE PRODUCT, and COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES (1) "Programmable controller" "C Controller module" (2) "Programmable controller system" "C Controller system"
For details on a fail-safe circuit for a C Controller module, refer to the following manual. MELSEC iQ-R C Controller Module User's Manual (Application)
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 "General Safety Requirements" in MELSEC iQ-R Module Configuration Manual.
(4) Outputs may remain ON or OFF due to a failure of a component such as a relay and transistor in
an output circuit. Configure an external circuit for monitoring output signals that could cause a serious accident.
In an output circuit, when a load current exceeding the rated current or an overcurrent caused by a load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an external safety circuit, such as a fuse.
Configure a circuit so that the programmable controller is turned on first and then the external power supply. If the external power supply is turned on first, an accident may occur due to an incorrect output or malfunction.
For the operating status of each station after a communication failure, refer to manuals relevant to the network. Incorrect output or malfunction due to a communication failure may result in an accident.
When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding. Improper operation may damage machines or cause accidents.
Especially, when a remote programmable controller is controlled by an external device, immediate action cannot be taken if a problem occurs in the programmable controller due to a communication failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions to be taken between the external device and CPU module in case of a communication failure.
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.
2
[Design Precautions]
WARNING
If a communication cable is disconnected, the network may be unstable, resulting in a communication failure of multiple stations. Configure an interlock circuit in the program to ensure that the entire system will always operate safely even if communications fail. Incorrect output or malfunction due to a communication failure may result in an accident.
To maintain the safety of the programmable controller system against unauthorized access from external devices via the network, take appropriate measures. To maintain the safety against unauthorized access via the Internet, take measures such as installing a firewall.
[Precautions for using C Controller modules]
In the refresh parameter setting, 'Y' cannot be specified for a link output (LY) refresh device or a remote output (RY) refresh device. Therefore, C Controller module holds the device status as is even after the module status is changed to STOP.
[Design Precautions]
CAUTION
Do not install the control lines or communication cables together with the main circuit lines or power cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise.
During control of an inductive load such as a lamp, heater, or solenoid valve, a large current (approximately ten times greater than normal) may flow when the output is turned OFF and ON. Therefore, use a module that has a sufficient current rating.
After the power is turned OFF and ON or the CPU module 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 turn the power OFF or reset the CPU module while the settings are being written. Doing so will make the data in the flash ROM undefined. The values need to be set in the buffer memory and written to the flash ROM again. Doing so may cause malfunction or failure of the module.
When changing the operating status of the CPU module from external devices (such as remote RUN/ STOP functions), select "Do Not Open in Program" for "Open Method Setting" in the module parameters. If "Open in Program" is selected, an execution of remote STOP causes the communication line to close. Consequently, the CPU module cannot reopen the communication line, and the external device cannot execute the remote RUN.
3
[Installation Precautions]
WARNING
Shut off the external power supply (all phases) used in the system before mounting or removing the module. Failure to do so may result in electric shock or cause the module to fail or malfunction.
[Precautions for using C Controller modules]
When mounting a C Controller module, make sure to attach the connector cover included in a base unit to the module connector of the second slot to prevent entrance of foreign material such as dust.
[Installation Precautions]
CAUTION
Use the programmable controller in an environment that meets general specifications written in Safety Guidelines included in the base unit. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product.
To mount a module, place the concave part(s) located at the bottom onto the guide(s) of the base unit, and push in the module until the hook(s) located at the top snaps into place. Incorrect interconnection may cause malfunction, failure, or drop of the module.
Secure the module with screws especially when it is used in an environment where constant vibrations may occur.
Tighten the screws within the specified torque range. Undertightening can cause drop of the screw, short circuit, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
When using an extension cable, connect it to the extension cable connector of the base unit securely. Check the connection for looseness. Poor contact may cause malfunction.
When using an SD memory card, fully insert it into the memory card slot. Check that it is inserted completely. Poor contact may cause malfunction.
Securely insert an extended SRAM cassette into the cassette connector of a CPU module. After insertion, close the cassette cover and check that the cassette is inserted completely. Poor contact may cause malfunction.
Do not directly touch any conductive parts and electronic components of the module, SD memory card, extended SRAM cassette, or connector. Doing so may cause malfunction or failure of the module.
[Wiring Precautions]
WARNING
Shut off the external power supply (all phases) used in the system before installation and wiring. Failure to do so may result in electric shock or cause the module to fail or malfunction.
After installation and wiring, attach the included terminal cover to the module before turning it on for operation. Failure to do so may result in electric shock.
4
[Wiring Precautions]
CAUTION
Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction.
Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
Check the rated voltage and signal layout before wiring to the module, and connect the cables correctly. Connecting a power supply with a different voltage rating or incorrect wiring may cause fire or failure.
Connectors for external devices must be crimped or pressed with the tool specified by the manufacturer, or must be correctly soldered. Incomplete connections may cause short circuit, fire, or malfunction.
Securely connect the connector to the module. Poor contact may cause malfunction.
Do not install the control lines or communication cables together with the main circuit lines or power
cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise.
Place the cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled, resulting in damage to the module or cables or malfunction due to poor contact. Do not clamp the extension cables with the jacket stripped. 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.
A protective film is attached to the top of the module to prevent foreign matter, such as wire chips, from entering the module during wiring. Do not remove the film during wiring. Remove it for heat dissipation before system operation.
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 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.
5
[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.
[Startup and Maintenance Precautions]
CAUTION
When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding. Improper operation may damage machines or cause accidents.
Especially, when a remote programmable controller is controlled by an external device, immediate action cannot be taken if a problem occurs in the programmable controller due to a communication failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions to be taken between the external device and CPU module in case of a communication failure.
Do not disassemble or modify the modules. Doing so may cause failure, malfunction, injury, or a fire.
Use any radio communication device such as a cellular phone or PHS (Personal Handy-phone
System) more than 25cm away in all directions from the programmable controller. Failure to do so may cause malfunction.
Shut off the external power supply (all phases) used in the system before mounting or removing the module. Failure to do so may cause the module to fail or malfunction.
Tighten the screws within the specified torque range. Undertightening can cause drop of the component or wire, short circuit, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
After the first use of the product, do not mount/remove the module to/from the base unit, and the terminal block to/from the module, and do not insert/remove the extended SRAM cassette to/from the CPU module more than 50 times (IEC 61131-2 compliant) respectively. Exceeding the limit may cause malfunction.
After the first use of the product, do not insert/remove the SD memory card to/from the CPU module more than 500 times. Exceeding the limit may cause malfunction.
Do not touch the metal terminals on the back side of the SD memory card. Doing so may cause malfunction or failure of the module.
Do not touch the integrated circuits on the circuit board of an extended SRAM cassette. Doing so may cause malfunction or failure of the module.
6
[Startup and Maintenance Precautions]
CAUTION
Do not drop or apply shock to the battery to be installed in the module. Doing so may damage the battery, causing the battery fluid to leak inside the battery. If the battery is dropped or any shock is applied to it, dispose of it without using.
Startup and maintenance of a control panel must be performed by qualified maintenance personnel with knowledge of protection against electric shock. Lock the control panel so that only qualified maintenance personnel can operate it.
Before handling the module, touch a conducting object such as a grounded metal to discharge the static electricity from the human body. Failure to do so may cause the module to fail or malfunction.
[Operating Precautions]
CAUTION
When changing data and operating status, and modifying program of the running programmable controller from an external device such as a personal computer connected to an intelligent function module, read relevant manuals carefully and ensure the safety before operation. Incorrect change or modification may cause system malfunction, damage to the machines, or accidents.
Do not turn the power OFF 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 undefined. The values need to be set in the buffer memory and written to the flash ROM again. Doing so can cause malfunction or failure of the module.
[Disposal Precautions]
CAUTION
When disposing of this product, treat it as industrial waste.
When disposing of batteries, separate them from other wastes according to the local regulations. For
details on battery regulations in EU member states, refer to 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 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.
7

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.

CONSIDERATIONS FOR USE

Considerations for the Wind River Systems product
C Controller module has an embedded real-time operating system, VxWorks, manufactured by Wind River Systems, Inc. in
the United States. We, Mitsubishi, make no warranty for the Wind River Systems product and will not be liable for any
problems and damages caused by the Wind River Systems product during use of C Controller module.
For the problems or specifications of the Wind River Systems product, refer to the corresponding manual or consult Wind
River Systems, Inc.
Contact information is available on the following website.
• Wind River Systems, Inc.: www.windriver.com
8

INTRODUCTION

Thank you for purchasing the Mitsubishi Electric MELSEC iQ-R series programmable controllers.
This manual describes the performance specifications, procedure before operation, wiring, and communication examples to
use the module listed below.
Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the
performance of the MELSEC iQ-R series programmable controller to handle the product correctly.
When applying the program examples 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.
Relevant product
R12CCPU-V

COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES

Method of ensuring compliance
To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other
machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals.
MELSEC iQ-R Module Configuration Manual
Safety Guidelines (included in a base unit)
The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage Directives.
Additional measures
To ensure that this product meets the requirements of the EMC and Low Voltage Directives, compliance with the noise
immunity standards for Ethernet cable, RS-232 cable, and USB cable is required.
Ethernet cable
For a twisted pair cable to be connected to the connector of 10BASE-T/100BASE-TX/1000BASE-T, use a shielded twisted
pair cable.
RS-232 cable
For RS-232 cable, be sure to ground the shield part of a shield cable.
9

CONTENTS

SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
CONSIDERATIONS FOR USE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
CHAPTER 1 PART NAMES 14
CHAPTER 2 SPECIFICATIONS 17
CHAPTER 3 SYSTEM CONFIGURATION 19
3.1 Overall Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 Peripheral Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Available software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
SD memory card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
CHAPTER 4 WIRING 23
4.1 Ethernet Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2 RS-232 Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.3 USB Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.4 HMI (GOT). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Connection route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
CHAPTER 5 FUNCTION LIST 28
CHAPTER 6 PROCEDURE BEFORE OPERATION 30
6.1 Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.2 Performing Hardware Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Hardware diagnostics timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Diagnostics types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Performing diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Operation at error detection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.3 Inserting and Removing SD Memory Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
How to insert an SD memory card. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
How to remove an SD memory card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.4 Connecting and Disconnecting USB Mass Storage Class-compliant Device . . . . . . . . . . . . . . . . . . . . . . . 40
How to connect a USB device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
How to disconnect a USB device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.5 Switch Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
RESET/STOP/RUN switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
MODE/SELECT switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.6 Creating a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.7 Connecting to Personal Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.8 Setting Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.9 Writing Parameters to C Controller Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.10 Creating User Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10
Programming procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.11 Checking VxWorks Image File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.12 Creating Script File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
6.13 Registering User Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.14 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Troubleshooting procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Checking with CW Configurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
CHAPTER 7 MAINTENANCE AND INSPECTION 60
7.1 Daily Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.2 Periodic Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
CHAPTER 8 OPERATION EXAMPLE 62
8.1 System configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
8.2 Setting the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Initializing the C Controller module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Setting parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
8.3 Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Program example and control description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Creating a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Preparing a user program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
8.4 Checking Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Enabling outputs (Y) from the user program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Checking operations with the dot matrix LED and lamps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
CONTENTS
APPENDIX 101
Appendix 1 External Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Appendix 2 How to Use MELSEC-Q Series Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Window change in CW Configurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Setting procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Appendix 3 Handling of Batteries. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Transport guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Handling of batteries and devices with built-in batteries in EU member states . . . . . . . . . . . . . . . . . . . . . . . . . 108
Disposal of a battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Appendix 4 Enabling Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Corresponding device list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
INDEX 112
REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
11

RELEVANT MANUALS

Manual name [manual number] Description Available form
MELSEC iQ-R C Controller Module User's Manual (Startup) [SH-081367ENG] (this manual)
MELSEC iQ-R C Controller Module User's Manual (Application) [SH-081369ENG]
MELSEC iQ-R C Controller Module Programming Manual [SH-081371ENG]
MELSEC iQ-R C Controller Module/C Intelligent Function Module Programming Manual (Data Analysis) [SH-081756ENG]
CW Workbench/CW-Sim Operating Manual [SH-081373ENG]
CW Configurator Operating Manual [SH-081382ENG]
This manual does not include detailed information on the following:
• General specifications
• Available CPU modules and the number of mountable modules
• Available remote head modules and the number of mountable modules
• Installation
For details, refer to the following manual. MELSEC iQ-R Module Configuration Manual
It should be noted that the terms in the left column shall be replaced with the one in the right column.
Ter m Replaced term
Programmable controller C Controller module
Programmable controller system C Controller system
Explains the performance specifications, procedure before operation, and troubleshooting of a C Controller module.
Explains the functions, devices, and parameters of a C Controller module.
Explains the programming specifications and dedicated function library of a C Controller module.
Explains the programming specifications and dedicated function library for analyzing the data of a C Controller module and a C intelligent function module.
Explains the system configuration, specifications, functions, and troubleshooting of CW Workbench/CW-Sim.
Explains the system configuration, parameter settings, and operation methods for the online function of CW Configurator.
Print book e-Manual PDF
Print book e-Manual PDF
e-Manual PDF
e-Manual PDF
e-Manual PDF
e-Manual PDF
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.
• Hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
12

TERMS

Unless otherwise specified, this manual uses the following terms.
Term Description
Base unit A generic term for main base units, extension base units, and RQ extension base units.
C Controller module A generic term for MELSEC iQ-R series C Controller modules.
C Controller module dedicated function A dedicated function library offered by a C Controller module.
It is used to control a C Controller module.
C intelligent function module A generic term for MELSEC iQ-R series C intelligent function modules.
CPU module A generic term for MELSEC iQ-R series CPU modules.
CW Configurator A generic product name for SWnDND-RCCPU. ('n' indicates its version.)
CW Workbench An abbreviation for a C Controller module and C intelligent function module engineering tool, CW Workbench.
CW-Sim An abbreviation for VxWorks simulator that can operate and debug C Controller module programs and C
intelligent function module programs on a personal computer with CW Workbench installed, without connecting to an actual device (target).
CW-Sim Standalone An abbreviation for VxWorks simulator that can operate C Controller module programs and C intelligent function
module programs even on a personal computer without CW Workbench installed.
Data analysis function A dedicated function library offered by a C Controller module and a C intelligent function module.
It is used for data analysis processing.
Dedicated function library A generic term for C Controller module dedicated functions, MELSEC data link functions, data analysis functions,
GOT An abbreviation for the Mitsubishi Graphic Operation Terminal.
I/O module A generic term for input modules, output modules, I/O combined modules, and interrupt modules.
Intelligent function module A module which has functions other than input and output, such as an A/D converter module or a D/A converter
MELSEC data link function A dedicated function library offered by a C Controller module.
Network module A generic term for the following modules:
Power supply module A generic term for MELSEC iQ-R series power supply modules.
R12CCPU-V An abbreviation for R12CCPU-V C Controller modules.
Statistical analysis function A dedicated function library offered by a C Controller module and a C intelligent function module.
Target device A personal computer, GOT, or another CPU module to connect for data communication.
USB Mass Storage Class-compliant device A USB device that is compliant with the standard for recognizing as a memory device (USB Mass Storage
VxWorks A product name for the real-time operating system manufactured by Wind River Systems, Inc.
and statistical analysis functions.
module.
It is used to access another CPU module as a connection target via network or in a multiple CPU system.
• CC-Link IE Controller Network module
• CC-Link IE Field Network module
• MELSECNET/H network module
• CC-Link module
It is used for statistical analysis processing.
Class).
13
1 PART NAMES
(1)
(2)
(3)
(4)
(5)
(6) (7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
This chapter shows the part names of a C Controller module.
14

1 PART NAMES

No. Name Description
(1) READY LED Indicates an operating mode.
• ON: Normal operation mode
• Flashing: Initializing (including the execution of the script file, "STARTUP.CMD")
• OFF (for normal operation): Hardware failure or resetting
• OFF (for diagnostic mode): Hardware diagnostic mode
(2) ERROR LED Indicates an error status.
(3) BUS RUN LED Indicates an operating status.
(4) CARD RDY LED Indicates the availability of anSD memory card.
(5) USER LED The indication can be controlled with a user program.
(6) USB RDY LED Indicates the availability of a connected USB Mass Storage Class-compliant device.
(7) RS SD/RD LED Indicates the data sending/receiving status for an RS-232 interface.
(8) Dot matrix LED Indicates the setting content or results for the operation selection mode or hardware diagnostic mode.
(9) SPEED LED Indicates the communication speed and the link status for Ethernet.
(10) SD/RD LED Indicates the data sending/receiving status for Ethernet.
(11) Ethernet port A port for connecting to an Ethernet device.
(12) RS-232 connector A connector for connecting with an RS-232 supported device.
(13) USB connector A connector for connecting with a USB-supported device.
(14) Product information marking Indicates the production information (16 digits) of the module.
(15) RESET/STOP/RUN switch
(16) MODE/SELECT switch
*1
*1
• ON: Continuation error or major error
• Flashing (for normal operation): Stop error
• Flashing (for diagnostic mode): Hardware diagnostic error or initialization error
• OFF: Normal operation
• ON (for normal operation): RUN (state where output (Y) from a user program and writing to the buffer memory are permitted)
• ON (for diagnostic mode): Hardware diagnostic mode
• Flashing (low-speed): Performing the hardware diagnostics, configuring the module initialization setting, or performing initialization
• Flashing (high-speed): Program/data memory shutdown complete
• OFF : STOP/PAUSE (state where output (Y) from a user program and writing to the buffer memory are prohibited)
• ON: Accessible (mounted)
• Flashing: Mounting or unmounting an SD memory card
• OFF: Inaccessible (not inserted or unmounted)
• ON: Accessible (mounted)
• Flashing: Mounting or unmounting a device
• OFF: Inaccessible (not installed or unmounted)
• ON: Sending/receiving data
• OFF: Not sending/receiving data
The indication can be controlled with a user program during normal operation.
• ON (orange): Linking-up (1000 Mbps)
• ON (green): Linking-up (100 Mbps)
• OFF: Linking-down or linking-up (10 Mbps)
• ON: Sending/receiving data
• OFF: Not sending/receiving data
A switch to control the hardware operating status.
• RUN: Changes the operating status of the module to RUN. (State where output (Y) from a user program and writing to the buffer memory are permitted)
• STOP: Changes the operating status of the module to STOP. (State where output (Y) from a user program and writing to the buffer memory are prohibited)
• RESET: Resets the module.
The switch operation for each operating status is described in the following sections. For initialization Page 32 Initialization For hardware diagnostics Page 34 Performing Hardware Diagnostics For operation selection mode Page 41 Switch Operation
A switch to select a hardware mode. The switch operation for each operating status is described in the following sections. For initialization Page 32 Initialization For hardware diagnostics Page 34 Performing Hardware Diagnostics For operation selection mode Page 41 Switch Operation
1
1 PART NAMES
15
No. Name Description
(17) SD memory card slot A slot to insert an SD memory card.
(18) Slot cover A cover of the SD memory card slot and the switches.
Open this cover to insert/remove an SD memory card or to operate the switches. Close the cover unless inserting/removing an SD memory card or operating the switches to prevent foreign material intrusion such as dust.
*1 Operate the switches by a fingertip. Using tools such as a screwdriver may cause damage to the switches.
16
1 PART NAMES
2 SPECIFICATIONS
This chapter shows the performance specifications of C Controller modules.
Item R12CCPU-V
Hardware Endian format Little endian
MPU ARM
Memory capacity
Software Operating system VxWorks Version 6.9
Programming language C language (C/C++)
SD memory card slot Interface SD/SDHC memory card (up to 16 GB)
Power supply +3.3 VDC, up to 200 mA
Ethernet port Number of channels 2
Interface 1000BASE-T 100BASE-TX 10BASE-T
Data transmission rate 1000 Mbps 100 Mbps 10 Mbps
Number of cascaded connections
Maximum segment length 100 m (length between a hub and a node)
Communication method Full-duplex/half-duplex
Transmission method Base band
Applicable connector for external wiring
Supported function Auto-negotiation function (automatic recognition of the communication speed/
IP version IPv4 supported
RS-232 connector Number of channels 1
Interface RS-232-compliant
Communication method Full-duplex/half-duplex
Synchronization method Asynchronous communication
Transmission rate 9600, 14400, 19200, 28800, 38400, 57600, 115200 bps
Transmission distance Up to 15 m
Data format Start bit 1
Parity check Yes (Even/Odd)/None
Sum check code Yes/None
Transmission control Flow control (RS/CS control)
USB connector Interface USB 2.0-compliant
Connector Type A
Transfer rate 480 Mbps (High Speed)
Power supply Bus power +5 VDC, up to 500 mA
Complied standard USB Mass Storage Class (up to 2 TB)
Number of occupied I/O points 4096 points
Clock function Displayed information Year, month, day, hour, minute, second, day of week (automatic leap year detection)
Precision Daily error : -5.86 to +3.35 seconds (0 to 55 )
Allowable momentary power failure time According to the power supply module
5 VDC internal current consumption 1.26 A
External dimensions Height 106 mm
Width 56 mm
Depth 110 mm
Work RAM 256 MB
ROM 16 MB (program memory: 8 MB, data memory: 8 MB)
Backup RAM
Data bit 7/8
Parity bit 1/None
Stop bit 1/2
*1
*2
Cortex-A9 Dual Core
4 MB
Maximum 2 stages Maximum 4 stages
RJ45
communication method) Auto-MDI/MDI-X (automatic recognition of a straight/crossing cable)
*3
Daily error: -1.71 to +3.35 seconds (25 )
*4
2

2 SPECIFICATIONS

17
Item R12CCPU-V
Weight 0.35 kg
*1 A file storage area in the device/label memory. For details on the memory configuration, refer to the following manual.
MELSEC iQ-R C Controller Module User's Manual (Application)
*2 It is for a repeater hub.
For a switching hub, consult the manufacturer of the hub used. *3 Select an appropriate USB Mass Storage Class-compliant device to be connected to observe the current consumption limit. *4 The current consumption of a USB is not included.
18
2 SPECIFICATIONS
3 SYSTEM CONFIGURATION
(1)
(2)
(5)
(4)
(3)
(6)
This chapter shows the overall configuration and considerations for system configuration of a C Controller system.
When configuring a C Controller system, refer to the following manual. MELSEC iQ-R Module Configuration Manual
3.1 Overall Configuration
The overall configuration of a C Controller system is shown below.
3
(1) C Controller module (2) Programmable controller CPU, process CPU, motion CPU, or C Controller module (3) Main base unit (4) Extension cable (5) Power supply module, I/O module, or intelligent function module (6) Extension base unit or RQ extension base unit

3 SYSTEM CONFIGURATION

3.1 Overall Configuration

19
3.2 Peripheral Configuration
(2)(1)
(3)
(5)
(4)
(6)
(7)
(8)
(9)
The configuration with peripherals is shown below.
(1) Personal computer for maintenance (Telnet function and FTP function) (2) User program development environment (CW Workbench and CW-Sim) (3) SNTP server (4) USB Mass Storage Class-compliant device (5) SD memory card (6) Connection via a built-in Ethernet (HMI (GOT), SLMP supported device) (7) CW Configurator (8) Various networks via a network module (CC-Link IE Controller Network, CC-Link IE Field Network, MELSECNET/H network, or CC-Link) (9) Connection via a built-in Ethernet (CC-Link IE Field Network Basic device)
20
3 SYSTEM CONFIGURATION

3.2 Peripheral Configuration

• USB devices can be used for a C Controller module with the firmware version '03' or later.
• Insert or connect peripherals to a C Controller module so that the specifications of both C Controller module
and peripherals are met.
• For information on the access via each Network module and the access using Ethernet communication,
refer to the following manual.
MELSEC iQ-R C Controller Module User's Manual (Application)

Available software

The following software can be used for the system of MELSEC iQ-R C Controller modules. ( The manual of each
software)
Software package Ver sio n
CW Configurator SW1DND-RCCPU-J Version 1.00A or later
SW1DND-RCCPU-E
CW Workbench SW1DND-CWWR-E/EZ/EVZ Version 1.00A or later
CW-Sim SW1DND-CWWSIMR-EZ Version 1.00A or later
CW-Sim Standalone SW1DND-CWWSIMSAR-E Version 1.00A or later
Wind River Workbench Version 3.3
GX Works3 SW1DND-GXW3-J Version 1.007H or later
SW1DND-GXW3-E
GT Designer3 SW1DNC-GTWK3-J Version 1.126G or later
SW1DNC-GTWK3-E
MT Works2 SW1DNC-MTW2-J Version 1.110Q or later
SW1DNC-MTW2-E
3
3 SYSTEM CONFIGURATION
3.2 Peripheral Configuration
21

SD memory card

Precautions
Only one SD memory card can be inserted in a single C Controller module.
Available memory cards
The following Mitsubishi Electric Corporation's SD memory cards are available.
Model name Description
NZ1MEM-2GBSD SD memory card 2 GB
NZ1MEM-4GBSD SD memory card 4 GB
NZ1MEM-8GBSD SD memory card 8 GB
NZ1MEM-16GBSD SD memory card 16 GB
For commercially available SD memory cards, refer to the following document. Before using any commercially available SD
memory card, it is advised to check and ensure that the card has no impact on the control of the system.
TECHNICAL BULLETIN No. FA-A-0023
• Use the format function of CW Configurator to format an SD memory card.
• If any SD memory card other than the one listed above is used, data in the SD memory card may be corrupted or a system
shutdown may occur.
• If the power is turned OFF or a C Controller module is reset, or the SD memory card is removed while the card is being
accessed, data in the SD memory card may be corrupted. Always turn the power OFF or reset a C Controller module, or
remove an SD memory card after the access to the card has been stopped.
22
3 SYSTEM CONFIGURATION
3.2 Peripheral Configuration
4 WIRING
This chapter shows the wiring methods to a C Controller module.
The bend radius of the cable near the connector or port should be at least four times longer than the cable's
outside diameter.
4.1 Ethernet Ports
This section shows the specification of a usable Ethernet cable and its wiring.
Ethernet cable
The following shows the specifications of the cables that can be used for connection with peripherals by using the Ethernet
ports (CH1 and CH2). Cables compliant with IEEE802.3 10BASE-T/100BASE-TX/1000BASE-T standards can be used.
Transmission rate Unshielded twisted pair cable (UTP cable)
Shielded twisted pair cable (STP cable)
Straight cable Crossing cable
1000 Mbps Category 5e or higher Category 5e
100 Mbps Category 5 or higher Category 5 or 5e
10 Mbps Category 3 or higher Category 3 to 5e
How to connect an Ethernet cable
1. Check the insertion direction, and insert an Ethernet cable into the Ethernet port on the C Controller module until it clicks.
2. Check if the cable is securely connected by pulling it slightly.
3. Check that the SPEED LED of the Ethernet port is ON.
• The time required from when an Ethernet cable is connected to when the SPEED LED turns ON may vary.
Normally, it turns ON in a few seconds. However, it may take longer because the linking-up processing is
repeated due to the device condition on the line.
• When the SPEED LED does not turn ON, check if the connected Ethernet cable has any failure.
• The SPEED LED is turned OFF when connecting with an Ethernet device on the network of which the
transmission rate is 10 Mbps. Check the communication state by executing the PING test, etc.
4
How to disconnect an Ethernet cable
1. Pull out the Ethernet cable while pinching a clip on the connector.

4 WIRING

4.1 Ethernet Ports

23
IP address setting
Precautions
To use the Ethernet port(s), set the IP address with CW Configurator.
[Navigation window] [Parameter] [(CPU module)] [Module Parameter] [Basic Settings] [Own Node Settings]
[IP Address]
The default value is set to the IP address for the C Controller module before shipment and after initialization.
Ethernet port Default IP address
Ethernet port (CH1) 192.168.3.3
Ethernet port (CH2) No setting
Checking method of IP address
The IP address set to a C Controller module can be checked with the operation selection mode or the diagnostic function of
CW Configurator.
For details on the operation selection mode, refer to the following section. Page 41 Switch Operation
Considerations for IP address setting
The following shows the considerations for setting IP address.
• Set the same value for the network portion of the IP addresses for the target device to be connected and the Ethernet port.
• Set the different value for the network portion of CH1 and CH2 on the Ethernet port.
• A message to the target device (including response packets such as ping) is sent (responded) from the Ethernet port that
has IP address of which network portion is the same.
• Do not set the IP address for a C Controller module with a user program.
Considerations for Ethernet device connection
The following shows the considerations for connecting Ethernet devices.
• When the C Controller module has been replaced and also IP address has been changed, then reset the Ethernet device
too. If the Ethernet device holds the Ethernet address (MAC address) of the communication target, continuous
communication may not be performed since the module replacement will change the Ethernet address (MAC address).
• Perform the troubleshooting in accordance with the manual for the Ethernet device when an error occurred on the Ethernet
device.
• When Telnet or Shell of CW Workbench is connected to a C Controller module, an event/error message may be displayed
once VxWorks detects a network error. For details on the displayed event/message, refer to the manual for VxWorks.
Please ask Wind River Systems, Inc. for any event/message which cannot be handled.
Considerations for 1000BASE-T/100BASE-TX connection
In a high-speed data communication (1000 Mbps/100 Mbps) via 1000BASE-T/100BASE-TX connection, a communication
error may occur due to the effect of high frequency noise generated from the equipment other than C Controller system,
depending on the installation environment. Take the following countermeasures on a C Controller module to eliminate the
effect of high frequency noise when constructing a network system.
• Do not install the twisted pair cables together with the main circuit or power lines, or bring them close to each other.
• Make sure to place the twisted pair cable in a duct.
• In the environment where the cable is susceptible to noise, use a shielded twisted pair cable (STP cable).
• In an environment where the system is susceptible to noise, include a retry processing in a user program.
• Change the target device connected with the C Controller module to one which communicates at 10 Mbps, and decrease
the data transmission rate.
24
4 WIRING
4.1 Ethernet Ports
4.2 RS-232 Interface
Precautions
1
2
3
4
5
6
7
8
9
This section shows the specification of an RS-232 interface and its wiring.
RS-232 connector
The RS-232 interface specifications to connect to a target device are shown below.
Connector shape Pin No. Signal
code
1 CD(DCD) Data carrier detect
2 RD(RXD) Received data
3 SD(TXD) Transmitted data
4 ER(DTR) Data terminal ready
5 SG Signal ground
6 DR(DSR) Data set ready
7 RS(RTS) Request to send
8 CS(CTS) Clear to send
Signal name Signal direction (R12CCPU-V RS-232 device)
4
9 CI(RI) Ring indicator
Use the following product as a connection cable connector.
Connector type Manufacturer name Model name
D-sub connector (Solder-connection type) DDK Ltd. 17JE-13090-02(D8C)(-CG)
The specifications of fixing screws are as follows:
• Connector mating screw: #4-40UNC
• Tightening torque range : 0.15 to 0.20 N⋅m
Considerations for wiring RS-232 cable
The following shows the considerations for wiring RS-232 cable.
• Make sure that RS-232 connection cable shield is single-point grounded.
• Do not short-circuit the FG and SG signals of the RS-232 connection cable. When the FG and SG signals are connected
inside of the peripheral device, do not connect the FG signal to a C Controller module.
• For connection method of peripheral device, check the specifications of the peripheral device.
Considerations when connecting a target device
The following shows the considerations when connecting a target device.
• A reception error may occur on the target device connected to a C Controller module when the power for the C Controller
module or the target device is turned ON or OFF.
• A reception error occurs on the target device when the system on the target device side is booting while a C Controller
module is transmitting data to the target device.
• When an error occurred on the target device, take corrective actions in accordance with the manual for the target device.
4 WIRING

4.2 RS-232 Interface

25
4.3 USB Connector
(1)
(2)
(3)
This section shows the specification of a usable USB cable and its wiring.
USB cable
Use a USB cable supplied with a USB Mass Storage Class-compliant device.
The type of cable connector connectable with the USB connector is type A.
Preventing USB cable from falling out
Connected USB cable can be fixed to the hole for fixing band of the module by using a fixing band (recommended
specification: width: 6 to 9 mm, thickness: 1 mm or less).
1. A through hole for a fixing band (1) is situated on the
bottom of a C Controller module.
2. Pass the fixing band (2) through the hole.
3. Pass the USB cable (3) through the fixing band to fix.
26
4 WIRING

4.3 USB Connector

4.4 HMI (GOT)
This section shows the connection method of GOT to a C Controller module.

Connection route

A C Controller module can be connected to GOT by any of the following routes.
• Connection using Ethernet port(s)
• Connection via a network module
Connection using Ethernet port(s)
Connect to GOT by using the Ethernet port(s) (CH1 and CH2).
Connection via a network module
Connection to GOT is available via any of the following network modules.
• CC-Link IE Controller Network
• CC-Link IE Field Network
• CC-Link (via an intelligent device station, G4)
For the connection methods via a network, refer to the manual for the network module used.
4
4 WIRING

4.4 HMI (GOT)

27
5 FUNCTION LIST
This chapter shows the functions of C Controller modules.
Function Description
Program monitoring (WDT) function To monitor and detect errors on the hardware and user programs using the watchdog timer
Clock function To manage the time for the functions performed by the system such as date for the event history
Remote operation function To change the operating status of a C Controller module with CW Configurator or user program,
Device access function To read/write data from/to devices and buffer memory of the intelligent function module which is
Interrupt function to a C Controller module To perform an interrupt routine by an interrupt request from an input module, an intelligent
Fixed cycle processing function To perform refresh with a network module and perform data communication with an external
Inter-module synchronization function To perform synchronous control among each module.
Label communication function To access other stations by using labels.
Data analysis function To perform data analysis processing such as fast Fourier transform, digital filter operation, and
Output mode setting of STOP to RUN To set the output (Y) mode when the operating status of a C Controller module is switched from
Memory card function Boot operation To transfer files stored in an SD memory card to the CPU built-in memory when turning the
Enable/disable the use of file/ data on memory card
RAS function Self-diagnostic function To diagnose any abnormality by a C Controller module itself.
Error clear function To clear continuation errors occurred in a batch.
Event history function To collect and save the operation and error information of each module. The saved event
Security function To prevent assets stored in a personal computer or a module from being stolen, falsified,
Access function using network module
Ethernet communication function
CC-Link IE Field Network Basic function To use for CC-Link IE Field Network Basic. (CC-Link IE Field Network Basic Reference
Multiple CPU system function
Firmware update function To update the firmware of a C Controller module.
Cyclic transmission To perform data communication periodically between stations on a network using link devices.
Transient transmission To perform data communication with other stations when a communication request is issued.
Access function of each network module
Connection with MELSOFT product or GOT
Communication with SLMP To read/write device data from/to a personal computer or HMI using SLMP.
FTP function To operate files in a C Controller module from a target device with the FTP client function.
Time setting function To set the time on a C Controller module by collecting time information with the specified timing
Telnet function To perform remote debugging of a C Controller module with Telnet tool on a personal computer.
Security function To apply optimal security according to the network environment by restricting the access to a C
Out-of-group I/O fetch To access a module which is not controlled by a CPU module to import the input/output (X/Y) or
Operation setting To set operations for the multiple CPU system function.
Data communication between CPU modules
Interrupt from another CPU To restart a user program which is waiting for an interrupt event.
Issuing an interrupt to another CPU
(WDT), an internal timer of a C Controller module.
function.
or by an external device using SLMP.
controlled by a CPU module or a C Controller module.
function module, or an interrupt module.
device.
calculation of a standard deviation.
STOP to RUN.
power OFF and ON, or resetting the C Controller module.
To set whether to use files/data stored on a memory card or not.
history can be viewed in chronological order.
operated incorrectly, and executed improperly due to unauthorized access from a third party.
Communication with different network can also be performed.
To transmit data to the devices on the network via a Network module controlled by a C Controller module.
To monitor or test a C Controller module via Ethernet.
from the time information server (SNTP server) connected to LAN.
Controller module for each communication route.
Manual)
access the buffer memory of an intelligent function module.
To perform data communication among CPU modules in a multiple CPU system.
To issue an interrupt to another CPU from the user program of a C Controller module.
(MELSEC iQ-R Module Configuration Manual)
28

5 FUNCTION LIST

Loading...
+ 90 hidden pages