Page 1
Cat. No. W489-E1-01 GQ-CRM21 CompoNet Gateway Unit for CC-Link OPERATION MANUAL...
Page 2
OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con- stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
Thank you for purchasing a GQ-CRM21 CompoNet Gateway Unit for CC-Link. This manual contains information required to use a GQ-CRM21 CompoNet Gateway Unit for CC-Link. Please read this manual carefully and be sure you understand the information provided before attempt- ing to use the CompoNet Gateway Unit.
Using this Manual Using this Manual Page Structure The following page structure is used in this manual. Level-2 heading 2-1 Specifications 2-1-1 General Specifications Level-2 heading Item Specification 21.6 to 26.4 VDC (24 VDC ±10%) (Supplied from power supply connector.) Unit power supply voltage Gives the current level-2 heading.
Page 5
Using this Manual Icons The following icons are used in this manual. Precautions for Safe Use Precautions on what to do and what not to do to ensure using the product safely. Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performance. Supplemental Information Supplemental information to increase understanding.
WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY. In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted. IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS...
Page 7
Application Considerations SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products. At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products.
Page 8
Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
Safety Precautions Safety Precautions Definition of Precautionary Information The following notation is used in this manual to provide precautions required to ensure safe usage of the CompoNet Gateway Unit for CC-Link. The safety precautions that are provided are extremely important to safety. Always read and heed the information provided in all safety precautions.
Page 10
Safety Precautions Symbols The circle and slash symbol indicates operations that you must not do. The specific operation is shown in the circle and explained in text. The symbol at the left means "do not disassemble." The triangle symbol indicates precautions (including warn- ings).
Page 11
Safety Precautions WARNING Always input the voltage and current to the Unit within the specified ranges. Using a voltage or current outside the specified range may result in malfunction or fire. Do not touch any part of the terminal section or disassemble the Unit and touch internal parts while the power is being supplied.
Page 12
Safety Precautions Caution Confirm safety at the destination slave device before changing or transferring parameters to another node. Changing or transferring parameters without confirming safety may result in unexpected equipment operation. The output status from a slave device when problems occur in communications will depend on the specifications of the slave device.
Precautions for Safe Use Precautions for Safe Use Observe the following precautions when using a CompoNet Gateway Unit for CC-Link. Power Supply • Always use the power supply voltages specified in this manual. • Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied.
Page 14
Precautions for Safe Use Handling • Use the special packing box when transporting a Unit. Also, protect the Unit from being exposed to excessive vibration or impact during transportation. • Do not drop the Units or expose them to excessive vibration or impact. Doing so may result in failure or malfunction.
Precautions for Correct Use Precautions for Correct Use • Follow the instructions in this manual to correctly perform installation. The Unit may fail if it is not installed correctly. • Observe the voltage specifications when wiring the power supply. An incorrect voltage may result in malfunctions.
• Compliance was confirmed for I/O wiring of less than 30 m. * EMC standard compliance was confirmed with an OMRON S82J Power Supply. • This is a Class A product (designed for industrial environments). Radio interference may occur if it is used in a residential area.
Trademarks Trademarks • “CC-Link” is a registered trademark of Mitsubishi Electric Corporation. • “GX-Developer” is a registered trademark of Mitsubishi Electric Corporation. • “CompoNet” is a registered trademark of the ODVA (Open DeviceNet Vendors Association, Inc.). Other system names and product names that appear in this manual are the trademarks or registered trademarks of their respective companies.
The following manuals are related to CompoNet. Use them together with this manual whenever required. Cat. No. Manual name Contents W489 CompoNet Gateway Unit Specifications and wiring procedures for the GQ-CRM21 (this manual) for CC-Link Operation CompoNet Gateway Unit for CC-Link. Manual W484 CompoNet Analog I/O...
Table of Contents Table of Contents About this Manual .......................... 1 Using this Manual .......................... 2 Read and Understand this Manual ....................4 Safety Precautions......................... 7 Precautions for Safe Use ......................11 Precautions for Correct Use ......................13 Conformance to EC Directives ....................14 Trademarks ..........................
Page 20
Table of Contents 4-2 Memory Map..........................4-8 4-2-1 Overview ............................4-8 4-2-2 I/O Memory Allocations According to Communications Modes ........... 4-8 4-2-3 Memory Map for Each Communications Mode ................4-9 4-2-4 Status Area Allocations ......................4-10 4-2-5 Node Address Types on the CompoNet Network............... 4-14 4-2-6 Data Allocations for Word Slave Units..................
The GQ-CRM21 CompoNet Gateway Unit for CC-Link provides one CC-Link port and one CompoNet port. It cyclically transfers I/O data between the CompoNet Slave Units and the CC-Link Master Unit. The GQ-CRM21 CompoNet Gateway Unit for CC-Link is referred to as the “Gateway Unit” in this man- ual.
Overview 1-1-2 Gateway Unit Features A Gateway Unit can be used to take advantage of CompoNet features to simplify wiring. A Selection of Communications Cables The following communications cables can be used with CompoNet systems: Round Cable I (2-conductor), Round Cable II (4-conductor), Flat Cable I (standard), and Flat Cable II (sheathed). Note: Refer to the CompoNet Slave Unit and Repeater Unit Operation Manual (Cat.
Page 24
Easy Maintenance with Complete System Monitoring Functions The CompoNet Network is constantly monitored to enable confirming system safety by quickly iden- tifying errors and checking communications status. • Gateway Unit Detection of Network Participation, Errors, and Status When a CompoNet Slave Unit joins the network, a Participation Flag that corresponds to the node address of the Unit turns ON.
2-1 Specifications 2-1-1 General Specifications Item Specification Unit power supply voltage 21.6 to 26.4 VDC (24 VDC±10%) (Supplied from power supply connector.) Current Communications 3.80 A at 24 VDC consumption power supply Internal current 0.13 A at 24 VDC power consumption Noise immunity Conforms to IEC 61000-4-4, 2.0 kV...
2-1-3 CompoNet Communications Specifications Item Specification Communications protocol CompoNet protocol Baud rate 93.75 kbps, 1.5 Mbps, 3 Mbps, or 4 Mbps*1 A baud rate of 4 Mbps is not supported for branch lines and thus cannot be used for Slave Units with Cables. Modulation Baseband Coding...
2-2-1 Indications Indications of both CompoNet and CC-Link status are provided on the Gateway Unit. CompoNet Communications Section CompoNet Communications Indicators The following LED indicators are provided for CompoNet communications. MS (Module Status): Shows the status of the node itself (two colors: green and red). NS (Network Status): Shows the status of communications (two colors: green and red).
Page 31
Description of Gateway Unit CompoNet Seven-segment Display The display operates as shown below during normal operation and when an error occurs. The information shown on the display during normal operation can be changed by setting pin 3 on the CompoNet DIP switch (pin 3: DCN (details of connected nodes). Displayed Status Description...
Page 32
Displayed Status Description contents Error Initialization error Error code The error code is shown on the display in hexadecimal. Error code (2-digit hexadecimal) → Slave Unit type → Communications error The error code, node Node address (3-digit decimal: 100s digit is indicated with 1 bit dot) are type, and displayed in order (for each error cause).
Description of Gateway Unit 2-2-2 Switch Settings CompoNet Communications Section Mode Switch This switch sets the communications mode number for the Gateway Unit. It is set to between 0 and 6 on a decimal rotary switch. The expanded cyclic setting (a network parameter set with the GX-Developer) in the station information must be set according to the communications mode as shown below.
Page 34
DIP Switch • Baud Rate Setting Pin 1 Pin 2 Description 4 Mbps (default) 3 Mbps 1.5 Mbps 93.75 kbps The CompoNet Slave Units will automatically detect and use the baud rate that is set on pin 1 (DR0) and pin 2 (DR1). Setting the baud rate is not necessary for any of the Slave Units. •...
Page 35
Description of Gateway Unit Supplemental Information To press the CompoNet setting buttons, open the cover as shown below. Open from here. CC-Link Communications Section Station Number Switch The station number switch sets the station number of the Gateway Unit on the CC-Link network. X 1 0 Number Description...
2-2-3 Terminal Arrangement Gateway Unit/Communications Power Connector This connector supplies power to the Gateway Unit. Depending on the type of communications cable that is used for CompoNet, it also supplies power to Slave Units and Repeater Units on the trunk line connected to the CompoNet communications connec- tor.
Wiring and Settings Overview of Operating Procedures......... 3-1 Installation Method ............3-4 Wiring................. 3-5 Wiring the Power Supply ..........3-6 Wiring the CompoNet Network........3-10 Wiring the CC-Link Network ..........3-11 Communications Settings ..........3-13...
3-1 Overview of Operating Procedures 3-1-1 Basic Startup Procedures The basic steps required to use the Gateway Unit are given below. 1) Mounting and Wiring Refer to 3-2 to 3-6. Network Wiring and Power Supply Wiring • Use the special CC-Link cables. •...
Page 41
Wiring and Settings 7) Settings from the GX-Developer Refer to 3-7-2. Set up the Gateway Unit using the network parameters and write the parameters to the PLC. ▼ 8) Confirming Operation • Confirming CC-Link Network Communications ---Refer to 2-2-2. Check the communications status using the indicators and displays on the CC-Link Master Unit and Gateway Unit.
3-1-2 Procedure for Using the Registration Table Use the following procedure to register the CompoNet Slave Units in the registration table. 1. Turn OFF pin 4 (REGS) on the CompoNet DIP switch and press the REGIST CompoNet setting button for at least 2 seconds. The Slave Unit configuration in the CompoNet system will be registered in the registration table.
Wiring and Settings 3-2 Installation Method 3-2-1 Mounting to a Control Panel • When using a DIN Track to mount the Gateway Unit in the control panel, use End Plates (PFP-M, sold separately) to secure the Gateway Unit on the DIN Track. •...
We recommend using the following Special Screwdrivers to tighten wiring screws when wiring the power supply or connecting connector cables to connect accessories. Model Manufacturer (supplier) XW4Z-00C OMRON SZF-1 Phoenix Contact 3 - 5 CompoNet Gateway Unit for CC-Link Operation Manual...
3-4-1 Wiring the Power Supply to the Gateway Unit Power (24 VDC) is supplied directly from a power source to the Gateway Unit. B.RATE MODE RESET REGIST STATION No. REGS GQ-CRM21 DC24V INPUT Communications Power connector Connector 3 m max. Communications power supply...
3-4-2 Power Supply Wiring for CompoNet Slave Units and the CompoNet Network The following power supplies are required to operate the CompoNet network. • Communications power supply: Required for Slave Unit communications and internal operation. • I/O power supply: Required for external I/O operation for the Slave Units. The power supply method for communications and I/O depends on the cables and the Slave Units that are used, as shown below.
Page 47
Wiring and Settings Power Supply Methods According to Slave Unit Power Supply Types An overview of the power supply methods for each Slave Unit power supply type is given in this section. Refer to the CompoNet Slave Unit and Repeater Unit Operation Manual (Cat. No. W457) for details on wiring methods.
Page 48
Network Power Supply The communications power (BS+ and BS− ) and the I/O power (V and G) are supplied together. They do not have to be supplied separately. Both communications power and I/O power are supplied from the Gateway Unit. Slave Unit When complying with UL standards, install a device to limit the current...
Wiring and Settings 3-5 Wiring the CompoNet Network 3-5-1 Wiring Methods for the CompoNet Network Refer to the CompoNet Slave Unit and Repeater Unit Operation Manual (Cat. No. W457) for basic wiring specifications, cable wiring methods, cable processing and mounting methods, and cable types. 3 - 10 CompoNet Gateway Unit for CC-Link Operation Manual...
3-6 Wiring the CC-Link Network The Gateway Unit is treated as a remote device station in the CC-Link network. To connect the Gateway Unit to the CC-Link network, refer to documentation for the CC-Link Master Unit and the CC- Link Cable Wiring Manual. 3-6-1 Recommended Materials and Tools After stripping the special CC-Link cable, attach ferrules.
Wiring and Settings 3-6-2 Wiring the Connector Strip the wires in the CC-Link cable, attach ferrules, and insert them into the connector. To insert a ferrule, hold the orange tab in and insert the ferrule all the way to the back of the connector. Then release the orange tab and pull lightly on the wire to confirm that the wire is securely connected.
3-7 Communications Settings 3-7-1 CompoNet Settings Setting the Communications Mode Set the communications mode to between 0 and 6 on the mode switch according to the number of Word Slave Units, Bit Slave Units, and control points connected to the Gateway Unit. (Refer to 2-2-2 Switch Settings for details.) The range of buffer memory allocated to the Gateway Unit in the CC-Link Master Unit will depend on the communications mode.
Wiring and Settings 3-7-2 CC-Link Settings Setting the Unit Station Number Set the station number of the Gateway Unit on the CC-Link network. Baud Rate Setting Set the baud rate of the Gateway Unit on the CC-Link network using the baud rate DIP switch. Settings from the GX-Developer Set the Gateway Unit in the network parameters of the GX-Developer to a 4-station remote device station using the following procedure.
Page 54
2. Make the following settings on the CC-Link Station Information Dialog Box. • CompoNet communications mode 0, 1, 2, 4, or 5 (1) Set the station type to Ver. 2 Remote device station. (2) Set the exclusive station count to Exclusive station 4. (3) Set the expanded cyclic setting as shown below according to the communication mode that was set on the mode DIP switch.
4-1 Exchanging Data 4-1-1 Basic Communications Operations Data Exchange between CC-Link and CompoNet Networks Bit input and bit output data for Bit Slave Units on the CompoNet network and input and output data for Word Slave Units on the CompoNet network are shared with the Gateway Unit using remote I/O com- munications.
Page 57
Remote I/O Communications CompoNet Network Start/Stop Conditions • The CompoNet network will start when the power supply to the Gateway Unit and the communica- tions power supply to the Slave Units are turned ON. Note: Overall communications will not stop even if there is a verification error for the registration table or a dupli- cated slave address.
4-1-2 Confirming Normal Slave Unit Operation in Communications Modes 0 to 3 Participation Flags and Communications Error Flags • To check whether Slave Units are normally participating in the network, the Participation Flags and Communications Error Flags in the Status Area are used. •...
Page 59
Remote I/O Communications • One bit is allocated for each node address. Participation Flags and Communications Error Flags are allocated for each node type (Word Input Slave Units, Word Output Slave Units, Bit Input Slave Units, and Bit Output Slave Units). One word is allocated for each 16 Slave Units. Note: For I/O Slave Units, Participation Flags and Communications Error Flags are allocated to the Unit only as an Input Slave Unit.
4-1-3 Registration Table Overview A registration table is used to register Slave Units that are intended to participate at particular node addresses (along with the models corresponding to the node addresses) to enable verifying that they actually are participating. At the same time, using the registration table prevents unregistered Slave Units and Slave Units of the wrong node addresses or models from participating in the network.
Page 61
Remote I/O Communications Operation The operation for each case is as follows: • If all registered Slave Units are participating within the Registered Slave Unit Participation Monitoring Time*1 after the power is turned ON, the All Registered Slave Units Participating Flag (status bit 06) will turn ON.
Page 62
Slave Unit Address Duplication Error In any of the following cases, a Slave Unit address duplication error will occur and the Address Duplica- tion Error Flag (status bit 03) will turn ON for the Slave Unit that joined the network later. At the same time, the NS indicator on the front of the Gateway Unit will flash red and the seven-seg- ment display will show “d0.”...
Remote I/O Communications 4-2 Memory Map This section describes how the CompoNet network data is assigned to buffer memory in the CC-Link Master Unit. 4-2-1 Overview Buffer memory in the CC-Link Master Unit is allocated to Slave Unit I/O information and status informa- tion through the Gateway Unit.
4-2-3 Memory Map for Each Communications Mode The following allocations assume that the first refresh device is set to 0. Participa- tion Flags Communi- Expanded Bit Slave Word Slave Bit Slave Word Slave cations cyclic Status Unit Unit out- Unit inputs Unit inputs Communi- mode...
Remote I/O Communications 4-2-4 Status Area Allocations The Status Area consists of the following two items. • Status: The status of the network and of the Gateway Unit • Participation Flags and Communications Error Flags: Participation and error flags for applicable Slave Units Status The status of the Gateway Unit and the entire network are stored here.
Page 66
Bit address Name Description RXn6 All Registered Slave Enabled only in Registration Table Enable Mode, i.e., when pin 4 Units Participating (REGS) is ON on the Gateway Unit when the power is turned ON. Flag OFF: A Slave Unit is not participating. (Not all Slave Units in the registration table are participating.) ON: All Slave Units in the registration table are participating.
Page 67
Remote I/O Communications Participation Flags and Communications Error Flags (Communications Mode 0 to 3 Only) These flags indicate nodes participating in the network and nodes where errors have occurred after participation has started. Flag name Description Participation Flag ON: The applicable Slave Unit is participating or has participated in the network. OFF: Power has been interrupted or a restart has been executed.
Page 68
CC-Link Status • Remote Inputs (RX) Bit address*1 Name RXn0 Initial Data Processing Request Flag*2 RXn1 Initial Data Setting Completed Flag*2 RXn2 Error Status Flag*3 RXn3 Remote Station Ready Flag*4 RXn4 Reserved. RXn5 RXn6 RXn7 Defined by OS. • Remote Outputs (RY) Bit address*1 Name RYn0...
Remote I/O Communications 4-2-5 Node Address Types on the CompoNet Network There are three types of node addresses on a CompoNet network. • Node address • Bit node address • Repeater Unit node address Abbrevia- Node Node Address tion on address Node name address...
4-2-6 Data Allocations for Word Slave Units Memory is allocated to Word Slave Units in units of 16 bits (1 word). Slave Units requiring fewer than 16 bits are sill allocated one word per node (the allocation for the set node address).
Page 71
Remote I/O Communications • Eight-point Input Slave Units Remote Input Registers (RWr) Not used. • Eight-point Output Slave Units Remote Output Registers (RWw) Not used. • Sixteen-point Input Slave Units Remote Input Registers (RWr) • Sixteen-point Output Slave Units Remote Output Registers (RWw) •...
Page 72
• Analog Input Units Only the input analog values are selected as I/O data. The data is allocated four words (eight bytes) in the remote input register (RWr) area of the CC-Link Master Unit. Input analog value for input 0 Input analog value for input 1 Input analog value for input 2 Input analog value for input 3...
Page 73
Remote I/O Communications Data Allocations for Word Slave Units with Expansion Units When an Expansion Unit is used, data is allocated for a Slave Unit that includes the remote input regis- ter (RWr) and remote output register (RWw) data size of the Expansion Unit. •...
Page 74
• Sixteen-point Output Slave Unit with Sixteen-point Output Expansion Unit The allocations for two nodes are assigned, including node address m of the remote output registers (RWw) and node address m+1 of the remote output registers (RWw). Remote Output Registers (RWw) •...
Page 75
Remote I/O Communications • I/O Expansion for Word Slave Units The number of I/O points for Word Slave Units in a CompoNet network can be increased by using Expansion Units. The following table shows the Slave Unit and Expansion Unit models that can be used. Basic Unit Expansion Unit Inputs...
4-2-7 Data Allocations for Bit Slave Units Bit Slave Units are allocated data in units of two bits (two points). For example, eight Slave Units with two points each would be allocated one word. Likewise, four Slave Units with two points each and two Slave Units with four points each would be allocated one word. A Slave Unit with two points is allocated two bits in the node address area for the node address set for the Unit.
5-1 Troubleshooting CompoNet Network Errors This section describes how to handle errors that may occur in the CompoNet network. 5-1-1 CompoNet Network Errors This section describes the meanings of the indicators and seven-segment display when errors occur in the CompoNet network. It also provides countermeasures for handling the errors. Meanings of Gateway Unit Indicators and Procedure for Handling Errors If an error occurs, the general location of the error is shown by the status of the indicators.
Page 81
Troubleshooting Initialization Errors Seven- Unit operation Probable cause of segment Item after error Countermeasures error display detection ❍ ● Hardware test An error was The Gateway Unit Replace the error, CC-Link detected while stops operating Gateway Unit. ASIC test checking the CC- and goes into Link ASIC in the standby mode.
Page 82
Errors in Remote I/O Communications The following indicator patterns show that an error related to the CompoNet network has occurred. Errors can basically be identified by the NS indicator flashing red and the seven-segment display show- ing "d*." Seven- Probable cause of Unit operation after error segment Item...
Page 83
Troubleshooting yy: Indicates the Slave Unit type, as shown below. Actual Slave Unit type display Input (including I/O Slaves) Bit input Bit output Repeater Unit zzz: Node address where the error occurred (2-digit decimal) (Note: The 100s digit is displayed with dots.) Errors in Memory Access Processing The following indicator patterns show that an error has occurred in the Gateway Unit.
5-2 Troubleshooting CC-Link Network Errors The communications status on the CC-Link network can be checked on the CC-Link communications indicators on the Gateway Unit. Refer to this information when troubleshooting. To troubleshoot errors in the CC-Link network, refer to documentation for the CC-Link Master Unit. Indicator Operating status L RUN...
Appendices A-2 Status Area Allocations According to Communications Modes Communications Mode 0 Bits Word (See note 1.) Input Slave Units Participating Flags (0 to 15) Input Slave Units Participating Flags (16 to 31) Input Slave Units Participating Flags (32 to 47) Input Slave Units Participating Flags (48 to 63) Output Slave Units Participating Flags (0 to 15) Output Slave Units Participating Flags (16 to 31)
Page 98
Communications mode 1 Bits Word (See note 1.) Input Slave Units Participating Flags (0 to 15) Input Slave Units Participating Flags (16 to 31) Output Slave Units Participating Flags (0 to 15) Output Slave Units Participating Flags (16 to 31) Bit Input Slave Units Participating Flags (0 to 15) Bit Input Slave Units Participating Flags (16 to 31) Bit Input Slave Units Participating Flags (32 to 47)
Page 99
Appendices Communications mode 2 Bits Word (See note 1.) Input Slave Units Participating Flags (0 to 15) Output Slave Units Participating Flags (0 to 15) Bit Input Slave Units Participating Flags (0 to 15) Bit Input Slave Units Participating Flags (16 to 31) Bit Input Slave Units Participating Flags (32 to 47) Bit Output Slave Units Participating Flags (0 to 15) Bit Output Slave Units Participating Flags (16 to 31)
Page 100
Appendix - 15 CompoNet Gateway Unit for CC-Link Operation Manual...
Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. W489-E1-01 Revision code Revision code Date Revised content May 2010 Original production CompoNet Gateway Unit for CC-Link Operation Manual...