Omron CJ, CJ2*-CPU, CJ2H-CPU6, CJ2M-CPU, 3G3MX2 V1 Connection Manual

...
DATASHEET
3G3AX-MX2-EIO15-E
OMRON
OTHER SYMBOLS:
RGB ELEKTRONIKA AGACIAK CIACIEK
SPÓŁKA JAWNA
Jana Dlugosza 2-6 Street
51-162 Wrocław
Poland
biuro@rgbelektronika.pl
+48 71 325 15 05
www.rgbautomatyka.pl
www.rgbelektronika.pl
www.rgbelektronika.pl
YOUR PARTNER IN MAINTENANCE
Repair this product with RGB ELEKTRONIKA
LINEAR ENCODERS
ENCODERS
SERVO AMPLIFIERS
CNC
MACHINES
OUR SERVICES
PLC
SYSTEMS
CNC
CONTROLS
ORDER A DIAGNOSIS
INDUSTRIAL COMPUTERS
POWER
SUPPLIERS
MOTORS
SERVO DRIVERS
At our premises in Wrocław, we have a fully equipped servicing facility. Here we perform all the repair
works and test each later sold unit. Our trained employees, equipped with a wide variety of tools and
having several testing stands at their disposal, are a guarantee of the highest quality service.
Buy this product at RGB AUTOMATYKA
OPERATOR PANELS
BUY
CJ Series
(RS-485 Modbus Communication)
(3G3MX2 Series Type V1)
General-purpose Serial Connection Guide
OMRON Corporation Multi-function Compact Inverter
P641-E1-01
About Intellectual Property Rights and Trademarks
Microsoft product screen shots reprinted with permission from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the USA and other countries. Company names and product names in this document are t he trademarks or registered trademarks of their respective companies.
Table of Contents
1. Related Manuals ........................................................................................ 1
2. Terms and Definitions ............................................................................... 2
3. Precautions ................................................................................................ 3
4. Overview .................................................................................................... 4
5. Applicable Devices and Device Configuration ....................................... 5
5.1. Applicable Devices ............................................................................. 5
5.2. Device Configuration .......................................................................... 6
6. Serial Communications Settings ............................................................. 8
6.1. Parameters ........................................................................................ 8
6.2. Cable Wiring Diagram ........................................................................ 9
7. Serial Communications Connection Procedure ................................... 10
7.1. Work Flow ........................................................................................ 10
7.2. Setting up Inverter ............................................................................. 11
7.3. Setting up PLC ................................................................................. 17
7.4. Checking the Serial Communications .............................................. 31
8. Initialization Method ................................................................................ 35
8.1. Initializing PLC ................................................................................. 35
8.2. Initializing Inverter ............................................................................ 36
9. Program .................................................................................................... 37
9.1. Overview .......................................................................................... 37
9.2. Destination Device Command .......................................................... 42
9.3. Error Detection Processing .............................................................. 44
9.4. Memory Maps .................................................................................. 45
9.5. Ladder program ............................................................................... 48
9.6. Timing Chart ..................................................................................... 54
9.7. Error processing ............................................................................... 55
10. Revision History .................................................................................. 57
1.Related Manuals
1

1. Related Manuals

To ensure syst em safety, make sure to always read and heed the information provided in all Safety Precautions and Precautions for Saf e Use of manuals for each device which is used in the system. The table below lists the manuals related to thi s document.
Cat. No. Model Manual name
W472 CJ2H-CPU6[]-EIP
CJ2H-CPU6[] CJ2M-CPU[][]
W473 CJ2H-CPU6[]-EIP
CJ2H-CPU6[] CJ2M-CPU[][]
W336 CJ1W-SCU[]1-V1
CJ1W-SCU[]2
W446 - CX-Programmer OPERATION MANUAL W342 CJ2[]-CPU[][] CJ Series
W474 CJ2[]-CPU[][] CJ Series
I585 3G3MX2-A[][][][]-V1 Multi-function Compact Inverter
CJ Series CJ2 CPU Unit Hardware USER’S MANUAL
CJ Series CJ2 CPU Unit Software USER’S MANUAL
CJ Series Serial Communications Units OPERATION MANUAL
Communications Commands REFERENCE MANUAL
Programmable Controllers INSTRUCTIONS REFERENCE MANUAL
MX2 Series Type V1 User’s Manual
2

2. Terms and Definitions

Term Explanation and Definition Serial Gateway mode
This is a function of PLC that performs serial communic ations by automatically converting a message (command data) to a specified protocol (either CompoWay/F, Modbus-RTU, or Modbus-ASCII) depending on a type of message.
2.Terms and Definitions
3.Precautions
3
Precautions for Safe Use
Precautions for Correct Use
Additional Information
Symbol

3. Precautions

(1) Understand the specifications of devices which are used in the system. Allow some
margin for ratings and performance. Provide saf ety measures, such as installing safety circuit, in order to ensure safety and minimize ri sks of abnormal occurrence.
(2) To ensure syst em safety, make sure to always read and heed the information provided in
all Safety Precautions and Precautions for Safe Use of manuals for each device which is used in the system.
(3) The user is encouraged to confirm the standards and regulations that the system must
conform to.
(4) It is prohibited to copy, to reproduce, and to distribute a part or the whole of this
document without the permission of OMRON Corporat ion.
(5) The information contained in this document is current as of November 2015. It is subject
to change without notice for improvement.
The following notations are used in this docum ent.
Indicates a potentially hazardous situation whi ch, if not avoided, may result in minor or moderate injury or property damage.
Precautions on what to do and what not to do to ensure saf e usage of the product.
Precautions on what to do and what not to do to ensure proper operation and performance.
Additional information to read as required. This information is provided to increase unders tanding or make operation easier.
The triangle symbol indicates precautions (including warnings). The specific operation is shown in the triangle and explained in text. This example indicates a general precaution.
The filled circle symbol indicat es operations that you must do. The specific operation is shown in the c ircle and explained in text. This example shows a general precaution for something that must do.
4

4. Overview

Serial communications
(RS-485)
Command data
Response data
This document describes the procedures f or connecting 3G3MX2 Series Type V1 Multi-function Compact Inverter (hereinafter referred to as Inverter) of OMRON Corporation (hereinafter referred to as OMRON) to CJ-series Programmable Controller + Serial Communications Unit (hereinafter referred t o as PLC) of OMRON using serial communications as well as the procedures for checking their connections. Refer to Section 6. Serial Communications Set tings and Section 7. Serial Communications Connection Procedure to understand setting methods and key points to send or receive messages using serial communications. The ladder program in a prepared CX-Programm er project file is used to check the serial connection by sending or receiving the messages of ''Total Power ON Time Monitor'' to/from Inverter.
Send/Receive messages of ''Total Power ON Time Monitor''
4.Overview
PLC
Sending the command data Executing the command
Receiving the response data
and storing in memory
Prepare a latest CX-Programmer project file bef orehand. To obtain a project file, contact your OMRON representative.
Name File name Version CX-Programmer project file (extension: cxp)
This document aims to explain the wiring methods and communications settings necessary to connect the corresponding devices and provide the setting procedures. The program used in this document is designed to chec k if the connection was properly established and i s not designed to be constantly used at a site. Therefore, functionality and performances are not sufficiently t aken into consideration. When you construct an actual system, please use the wiring methods, communications settings, and setting procedures described in this document as a reference and design a new program according to your application needs.
OMRON_3G3MX2-V1_Mod485_EV100.cxp Ver.1.00
Returning the response data
Inverter
5.Applicable Devices and Device Configuration
5
OMRON
CJ2 CPU Unit
CJ2□-CPU[][]
OMRON
Serial Communications Unit
CJ1W-SCU[]1-V1 CJ1W-SCU[]2
OMRON
Inverter
your OMRON representative.

5. Applicable Devices and Device Configuration

5.1. Applicable Devices

The applicable devices are as follows:
Manufacturer Name Model
3G3MX2-A[][][][]-V1
Precautions for Correct Use
As applicable devices above, the devices with the models and versions listed in 5.2. Device Configuration are actually used in this document to describe the procedure for connecting
devices and checking the connection. You cannot use devices with versions lower than the versions listed in 5.2. To use the above devices with models not listed in 5.2. or versions higher than those listed in
5.2., check the differences in the specifications by referring to t he manuals before operating the devices.
Additional Information
This document describes the procedure to es tablish the network connection. It does not provide information on operation, installation, wiring method, device functionality or device operation which is not related to the connection pr ocedure. Refer to the manuals or contact
5.Applicable Devices and Device Configuration
6
OMRON
Serial Communications Unit
CJ1W-SCU42
Ver.2.0
OMRON
CPU Unit
CJ2M-CPU12
Ver.2.0
OMRON
Power Supply Unit
CJ1W-PA202
OMRON
CX-One
CXONE-AL[][]C-V4
/AL[][]D-V4
Ver.4.[][] OMRON
CX-Programmer
(Included in CX-One)
Ver.9.54
OMRON
CX-Programmer project file
OMRON_3G3MX2-V1_M od485_EV100.cxp
Ver.1.00
-
Personal computer (OS: Windows 7)
- -
USB cable (USB 2.0 type B connector)
-
-
Serial cable (RS-485)
- OMRON
Inverter
3G3MX2- A2002-V1
V2.0
Precautions for Correct Use
Precautions for Correct Use
Precautions for Correct Use
Serial cable
(RS-485)
CJ2M-CPU12+ CJ1W-SCU42
Personal computer
3G3MX2
V1

5.2. Device Configuration

The hardware components to reproduce the connect i on procedures of this document are as follows:
(CX-One installed, OS: Windows 7)
Manufacturer Name Model Version
USB cable
- A2002-
Prepare a latest project file beforehand. To obtain a project file, contact your OMRON representative.
Update CX-Programmer to the version specifi ed i n thi s clause or higher version. If you use a version higher than the one specified in this clause, the procedures and related screenshots described in Sect ion 7. and subsequent sections may not be applicable. In that case, use the equivalent procedures described i n this document by referring to the CX-Programmer OPERATION MANUAL (Cat. No. W446).
Turn ON the terminating resistance switch on Serial Communications Unit and connect a 100 to 125Ω(1/2W) terminating resistor to the end of Inverter on RS-422A/485 port.
5.Applicable Devices and Device Configuration
7
Precautions for Correct Use
Additional Information
Additional Information
The maximum length of communications c able for Inverter is 500m. Make sure to connect Serial Communications Uni t and Inverter with a 500m or less serial cable (RS-485).
For information on the serial cable (RS-485), refer to 3-4 RS-232C and RS-422A/485 Wiring of the CJ Series Serial Communications Unit s OPERATION M ANUA L (Cat. No. W336).
The system configuration in this document uses USB for the connection between Personal computer and PLC. For information on how to install a USB driver, refer to A-5 Installing t he USB Driver in Appendices of the CJ-series CJ2 CPU Unit Hardware USER'S MANUAL (Cat. No. W472).
6.Serial Communications Settings
8
Precautions for Correct Use

6. Serial Communications Settings

This section describes the specifications of parameters and wirings that are set in this document.

6.1. Parameters

The parameters required for connecting PLC and Inverter using serial communications are shown below.
Item Unit number 0 ­Address number (Slave address)
Communications (Connection ) port Terminating resistor Yes (TERM: ON) No
2-wire or 4-wire 2-wire (WIRE: 2) 2-wire (Fixed) Serial communications mode Serial Gateway ­Data length (Transmission character) Stop bit 1 bit 1 bit (Default)
Parity (Parity bit) No No (Default)
Transmission rate (Baud rate) 9,600 bps (Default) 9,600 bps (Default)
Communication selection - Modbus communication (Default )
PLC (Serial Communications Unit)
- 1 (Default) (C072: Communication Station No. Selection =1.)
Port 1 (RS-422/485)
8 bits 8 bits (Fixed)
-
(Terminating register selector switch OFF)
(C075: Communication Stop Bit Selection = 01)
(C074: Communication Parity Selec tion =
00)
(C071: Communication Speed Select i on = 05)
(C096: Communication Selection = 00)
Inverter
This document describes the setting procedures of CJ1W-SCU42 Serial Communications Unit with unit number 0 and communications (connection) port 1. To connect devices under different conditions, change the CIO area and the control wor d of CMND instruction used in the program. Refer to Section 9. Program for details.
6.Serial Communications Settings
9
Pin No.
Symbol
Signal name
Input/Output
(CJ1W-SCU42).
Terminating resistor

6.2. Cable Wiring Diagram

Refer to SECTION 3 Installation and Wiring of the CJ Series Serial Communications Units OPERATION MANUAL (Cat. No. W336) for details on cable wirings.
Check connector configurations and signal li nes (pin assignments) before wiring.
Connector configurations and signal lines (pin assignments) CJ1W-SCU42 Serial Communications Unit applicable connector: Terminal block
1(See note 1.) RDA Receive data - Input 2(See Note 1.) RDB Receive data + Input 3(See Note 1.) SDA Send data - Output 4(See Note 1.) SDB Send data + Output 5(See Note 2.) FG Shield -
Note 1: For 2-wire connection, use either pins 1 and 2 or pi ns 3 and 4. Note 2: Pin 5 (Shield) is connected to the GR terminal on Power Supply Unit though Serial
Communications Unit. The cable shield can thus be grounded by grounding the GR terminal of Power Supply Unit.
Inverter (3G3MX2-A[][][][]-V1) applicable connector: Terminal block
Control Circuit Terminal
Cable/Pin assignments Serial Communications Unit
RS-422A/ 485 interface
Terminal block Terminal block
Signal name RDA- 1 A1 RS­RDB+ 2 B1 RS+ SDA- 3 SDB+ 4 FG 5
Pin No. Terminal
Inverter (3G3MX2-A[][][][]-V1)
Signal
block
name
RS-485 interface
7.Serial Communications Connection Procedure
10
7.2. Setting up Inverter
Set up Inverter.
Set the hardware switches on Inverter and connect the cables.
Set the parameters for Inverter.
7.3. Setting up PLC
Set up PLC.
Set the hardware switches on Serial Communicati ons Unit and connect the cables.
Start CX-Programmer, open the project file, and Create the I/O table for PLC.
Set the parameters for Serial Communications Uni t.
7.3.5. Transferring the Project Data
Transfer the project data to PLC.
Communications
Start the send/receive processing and check that Check that the correct data is written to the I/O
memory of PLC by using CX-Programmer.

7. Serial Communications Connection Procedure

This section describes the procedures for connecting PLC to Inverter using serial communications. In this document, the explanations of procedures for setting up PLC and Inverter are based on the factory default settings. For the initializ ation, refer to Section 8. Initialization Method.

7.1. Work Flow

Take the following steps to connect PLC to Inverter using serial communications, and send and receive messages.
7.2.1. Hardware Settings
7.2.2. Parameter Settings
7.3.1. Hardware Settings
7.3.2. Opening the Project File and
Connecting Online with PLC
7.3.3. Creating the I/O Table
7.3.4. Parameter Settings
connect online with PLC.
7.4. Checking the Serial
7.4.1. Checking the Receive Data
serial communications are normally performed.
7.Serial Communications Connection Procedure
11
1
following procedure.
2
1: Loosen the mounting screw (x 1) from Option Unit Cover of the Inverter
3
Check that Terminating Resistor
4
Connect a Serial cable to
RS-485 terminal
Terminating resistor
Option Unit Cover
Mounting screw
Control Circuit T erminal Block A Control Circuit Terminal Block B
SDB+ SDA-

7.2. Setting up Inverter

Set up Inverter.

7.2.1. Hardware Settings

Set the hardware switches on Inverter and connect the c abl es.
Precautions for Correct Use
Make sure that the power supply is OFF when you perform the setting up.
Make sure that the power supply to Inverter is OFF.
*If the power supply is turned
ON, settings may not be applicable as described in the
Remove Option Unit Cover from the Inverter front panel as shown in the right figure.
front panel.
2: Remove Option Unit Cover.
Selector Switch inside of the terminal block cover is OFF.
RS-485 terminal (RS-, RS+). Connect Terminating resistor (120Ω 1/2W) to RS-485 terminal (RS-, RS+).
Serial cable
12
Connect 3-Phase 200 VAC
No. I585).
6
Main power supply input
3-Phase 200 VAC
Power supply
5
power supply to Main power supply input terminal on Inverter with a Power supply cable.
*For details on wiring
specifications of the power supply, refer to 2-3 Wiring of the Inverter Multi-function
Compact Inverter MX2 Series Type V1 User’s Manual (Cat.
7.Serial Communications Connection Procedure
terminal
cable
power supply
Mount Option Unit Cover on the Inverter front panel.
13

7.2.2. Parameter Settings

1
2
3
output frequency.
0.00
Data display
Operation keys
Data display.
Set the parameters for Inverter.
Check the positions of Data display and Operation keys on Digital Operator.
7.Serial Communications Connection Procedure
Digital Operator
Turn ON the power supply to Inverter. Use the procedure on the right to display the parameters in the extended function mode C.
*If the output frequency is not
displayed in Data display, press and hold the Mode Key for 3 seconds or more to display the
The output frequency is displayed in
Press the Mode Key 5 times.
C001 parameter is displayed.
c001
14
Use the procedure on the right
c001
c071
c071
c072
Check that the displayed value is the
Check that the displayed value is the
4
to set the parameters as follows:
C071 (Communication Speed Selection): 05 (9600bps)
03: 2400bps 07: 38.4kbps 04: 4800bps 08: 57.6kbps 05: 9600bps 09: 76.8kbp 06: 19.2kbps 10: 115.2kbps
7.Serial Communications Connection Procedure
Press the Increment Key or
the Decrement Key to display C071 parameter.
c071
05
Press the Enter Key.
C071 parameter is displayed.
Press the Enter Key.
default value ''05''. *If the setting is different, change the
set value.
C071parameter is displayed again.
Use the procedure on the right
5
to set the parameters as follows:
C072 (Communication Station No. Selection): 1.
Slave address: 1.
Setting range 1. to 247.
Press the Increment Key.
c072
Press the Enter Key.
1.
Press the Enter Key.
C072 parameter is displayed.
default value ''1.''. *If the setting is different, change the
C072 parameter is displayed again.
set value.
15
Use the procedure on the right
c072
c074
7
c074
c075
Check that the displayed value is the
set value.
Check that the displayed value is the
set value.
6
to set the parameters as follows:
C074 (Communication Parity Selection): 00 (No parity)
00: No parity 01: Even parity 02: Odd parity
7.Serial Communications Connection Procedure
Press the Increment Key.
C074 parameter is displayed.
c074
Press the Enter Key.
default value ''00''.
00
Press the Enter Key.
*If the setting is different, change the
C074 parameter is displayed again.
Use the procedure on the right to set the parameters as follows:
C075 (Communication Stop Bit Selection): 01 (1 bit)
01: 1 bit 02: 2 bits
Press the Increment Key.
c075
Press the Enter Key.
01
Press the Enter Key.
C075 parameter is displayed.
default value ''01''. *If the setting is different, change the
C075 parameter is displayed again.
Loading...
+ 44 hidden pages