background image

RGB ELEKTRONIKA AGACIAK CIACIEK

SPÓŁKA JAWNA

 
Jana Dlugosza 2-6 Street

51-162 Wrocław

Poland

      [email protected]
     +48 71 325 15 05

www.rgbautomatyka.pl

www.rgbelektronika.pl

DATASHEET

www.rgbautomatyka.pl
www.rgbelektronika.pl 

 

OTHER SYMBOLS:

3G3AX-MX2-EIO15-E

OMRON

Summary of Contents for CJ2*-CPU Series

Page 1: ...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 DATASHEET www rgbautomatyka pl www rgbelektronika pl OTHER...

Page 2: ...d with a wide variety of tools and having several testing stands at their disposal are a guarantee of the highest quality service OUR SERVICES ENCODERS SERVO DRIVERS LINEAR ENCODERS SERVO AMPLIFIERS C...

Page 3: ...CJ Series General purpose Serial Connection Guide RS 485 Modbus Communication P641 E1 01 OMRON Corporation Multi function Compact Inverter 3G3MX2 Series Type V1...

Page 4: ...n 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...

Page 5: ...iring 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...

Page 6: ...W472 CJ2H CPU6 EIP CJ2H CPU6 CJ2M CPU CJ Series CJ2 CPU Unit Hardware USER S MANUAL W473 CJ2H CPU6 EIP CJ2H CPU6 CJ2M CPU CJ Series CJ2 CPU Unit Software USER S MANUAL W336 CJ1W SCU 1 V1 CJ1W SCU 2 C...

Page 7: ...planation and Definition Serial Gateway mode This is a function of PLC that performs serial communications by automatically converting a message command data to a specified protocol either CompoWay F...

Page 8: ...15 It is subject to change without notice for improvement The following notations are used in this document Indicates a potentially hazardous situation which if not avoided may result in minor or mode...

Page 9: ...N Time Monitor PLC Serial communications RS 485 Inverter Sending the command data Executing the command Receiving the response data and storing in memory Returning the response data Prepare a latest C...

Page 10: ...scribe 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...

Page 11: ...t Use Prepare a latest project file beforehand To obtain a project file contact your OMRON representative Precautions for Correct Use Update CX Programmer to the version specified in this clause or hi...

Page 12: ...ation 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 Units OPERATION MANUAL Cat No W336 Additional Information The system...

Page 13: ...2 wire Fixed Serial communications mode Serial Gateway Data length Transmission character 8 bits 8 bits Fixed Stop bit 1 bit 1 bit Default C075 Communication Stop Bit Selection 01 Parity Parity bit N...

Page 14: ...eive 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 pins 3 and 4 Note 2 Pin 5 Shield is c...

Page 15: ...r and connect the cables 7 2 2 Parameter Settings Set the parameters for Inverter 7 3 Setting up PLC Set up PLC 7 3 1 Hardware Settings Set the hardware switches on Serial Communications Unit and conn...

Page 16: ...escribed in the following procedure 2 Remove Option Unit Cover from the Inverter front panel as shown in the right figure 1 Loosen the mounting screw x 1 from Option Unit Cover of the Inverter front p...

Page 17: ...r 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 No I585 6...

Page 18: ...ON the power supply to Inverter 3 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...

Page 19: ...er Key c071 5 Use the procedure on the right to set the parameters as follows C072 Communication Station No Selection 1 Slave address 1 Setting range 1 to 247 c071 Press the Increment Key c072 Press t...

Page 20: ...ght to set the parameters as follows C075 Communication Stop Bit Selection 01 1 bit 01 1 bit 02 2 bits c074 Press the Increment Key c075 Press the Enter Key 01 Press the Enter Key c075 C074 parameter...

Page 21: ...ement inverter c075 Press the Increment Key or the Decrement Key to display C096 parameter c096 Press the Enter Key 00 Press the Enter Key c096 9 Turn OFF the power supply to Inverter After connecting...

Page 22: ...d ON settings may not be applicable as described in the following procedure 2 Check the positions of hardware switches on the front panel of Serial Communications Unit by referring to the right figure...

Page 23: ...ht Connect Inverter to Port 1 on Serial Communications Unit with a Serial cable RS 485 For connections refer to 6 2 Cable Wiring Diagram Connect Personal computer to PLC with a USB cable PLC Serial Co...

Page 24: ...nd 1 Turn ON the power supplies to PLC and Inverter 2 Start CX Programmer If a confirmation dialog for an access right is displayed at start execute a selection to start 3 CX Programmer starts 4 Selec...

Page 25: ...Box is displayed From the pull down list of Device Type select the device type of PLC that you use Click Settings CJ2M is selected in this document 9 The Device Type Settings Dialog Box is displayed F...

Page 26: ...t If you changed Device Type in step 8 or CPU Type in step 9 the dialog box on the right is displayed Check that there is no problem and click Yes Make sure that the program was normally converted 0 e...

Page 27: ...ngs such as the connection type in steps 7 to 9 and try again For details refer to Connecting Directly to a CJ2 CPU Unit Using a USB Cable of the CX Programmer OPERATION MANUAL Cat No W446 Additional...

Page 28: ...hat there is no problem and click Yes Refer to Additional Information on the previous page for the settings concerning the dialog display 3 Check that Stop Program Mode is displayed on the right of th...

Page 29: ...ed Check that there is no problem and click Yes 4 The Transfer from PLC Dialog Box is displayed Select IO Table and SIO Unit Parameters and click Transfer When the transfer is completed the Transfer R...

Page 30: ...for Serial Communications Unit 1 Double click 0000 Main Rack in the PLC IO Table Window to expand the tree 2 Right click 00 1500 CJ1W SCU42 and select Unit Setup 3 The View Parameters Dialog Box is di...

Page 31: ...shows the default values 5 Select User settings from the pull down list of Set Value for Port1 Port Settings 6 Set the following parameters in the same way as step 5 Serial communications mode Serial...

Page 32: ...em and click Yes Check that the transfer is completed as shown in the right dialog box Click Close 8 A confirmation dialog box on the right is displayed Check the contents and click Yes The Select Por...

Page 33: ...Compare on the View Parameters Dialog Box 11 Check that a message Compare successful is displayed in the dialog box on the right Click Close 12 Click OK on the View Parameters Dialog Box 13 Select Exi...

Page 34: ...d Program index Click OK The I O table and Special Unit Setup are unnecessary to transfer here because they are already set in 7 3 3 Creating the I O Table and 7 3 4 Parameter Settings The Comments an...

Page 35: ...is displayed stating Download successful when the transfer is completed Click OK 5 Select Programs in the project workspace Select Transfer Compare with PLC from the PLC Menu 6 Select Program s and cl...

Page 36: ...fety sufficiently before monitoring power flow and present value status in the Ladder Section Window or in the Watch Window Precautions for Correct Use Check that a serial cable is connected before pe...

Page 37: ...re is no problem and click Yes 4 Check that the operating mode changes to Monitor Mode 5 In the Ladder Section Window right click Input_Start and select Set On 6 Check that the Input_Start contact is...

Page 38: ...ck CIO from the list in the PLC Memory Window that is displayed 9 Enter 5500 in the Start Address Field in the displayed CIO Window Check that the start address changes to CIO5500 10 Select Monitor fr...

Page 39: ...y to display the parameter of Monitor Mode d If the output frequency is not displayed in Data display press and hold the Mode Key for 3 seconds or more to display the output frequency 0 00 d001 14 Pre...

Page 40: ...initialize Serial Communications Unit and CPU Unit Change the operating mode of PLC to Program Mode before the initialization 8 1 1 Serial Communications Unit To initialize the settings of Serial Comm...

Page 41: ...from the PLC Menu of CX Programmer Select Initialize on the Confirm All Memory Area Clear Dialog Box and click OK 8 2 Initializing Inverter For information on how to initialize Inverter refer to 5 1...

Page 42: ...l end or an error end A normal end of the send receive processing means a normal end of the CMND instruction An error end means an error end of the CMND instruction and an error of Destination Device...

Page 43: ...tion 3 The Inverter executes the command by receiving the command data from PLC and returns the response data to PLC 4 The PLC receives the response data from Inverter and stores in the specified addr...

Page 44: ...address is specified to set the send command Data is sent from the first command word in the following format Command code 2804 is known as the FINS command for Modbus RTU communication D First respon...

Page 45: ...k Destination node address One from the range of 00 to the maximum node address is set 00 Transmit within the local node Destination unit address The following 1 or 2 is set 1 Unit address CPU Unit 00...

Page 46: ...ormation Silent interval Waiting time to recognize the first frame using the Modbus RTU communication During the reception standby the first received data is deemed as the first byte of frame after th...

Page 47: ...Register Reads the contents of consecutive holding registers From the specified holding register the specified number of holding registers can be read 05 Write to Coil Writes the ON OFF status to a s...

Page 48: ...4 digit hex 2804 Modbus RTU communication command S 1 Upper Slave address 2 digit hex 0103 01 Destination Device address Lower Function code 2 digit hex 03 Read from Holding Register S 2 Register add...

Page 49: ...ugh the error is detected with 1 the allocated CIO area of SCU TransmissionErrorStatus 1508 is stored in the output area for the communication error check 3 Errors in Destination Device Destination De...

Page 50: ...n the send receive processing ends normally 5000 03 BOOL Output_ErrorEnd Turns ON when one or more of the following errors occur 1 CMND instruction error 2 Communications error 3 Destination Device er...

Page 51: ...ationDeviceError Turns ON when a Destination Device error occurs 5010 UINT Local_FirstControlWord Execution parameter of CMND instruction 5011 UINT Local_ControlWord_1 Execution parameter of CMND inst...

Page 52: ...mory Allocations of the CJ Series Serial Communications Units OPERATION MANUAL Cat No W336 Related auxiliary area The addresses of the following related auxiliary area are determined by the communicat...

Page 53: ...ng 2 3 Normal Error detection processing CMND instruction Modbus RTU communication is executed A normal end or an error end is detected based on the related flags and receive data 3 Normal end state m...

Page 54: ...he control word of CMND instruction is set For details on the settings refer to 9 2 2 Detailed Description of the Function 1 3 Send Receive symbol setting The FINS command and the Destination Device f...

Page 55: ...ons port No 7 can be used CMND instruction is not being executed Precautions for Safe Use Make sure to sufficiently check the overall program before specifying the area to store the receive data of th...

Page 56: ...ntified as a normal end when all the following conditions are satisfied Normal end of CMND instruction No CMND instruction error Condition of No communication error is included in 1 Receives normal me...

Page 57: ...n 3 1 Normal end processing Turns ON the normal end flag if it is detected in 2 3 Normal Error detection processing that the send receive processing ends normally 3 2 Response code setting Sets respon...

Page 58: ...cted in 2 3 Normal Error detection processing that the send receive processing ends in an error 4 2 Response code setting Sets the response code corresponding to the error in the response code storage...

Page 59: ...e timing chart patterns are as follows Pattern Normal end Error end 1 CMND instruction error Error end 2 Communications error Error end 3 Destination Device error Command Normal Error Normal Normal De...

Page 60: ...nd Lists in SECTION 5 FINS Commands of the CJ Series Communications Commands REFERENCE MANUAL Cat No W342 Additional Information For details on the CMND instruction error and troubleshooting refer to...

Page 61: ...tempts to write data to a register during trip UV 1 Function attempts to write data to a register on which the soft lock function is enabled Function attempts to change an I O terminal that cannot be...

Page 62: ...10 Revision History 57 10 Revision History Revision code Date of revision Revision reason and revision page 01 November 16 2015 First edition...

Page 63: ...58...

Page 64: ...2015 1115 P641 E1 01...

Reviews: