Industrial Automation
Industrial Automation | Europe

What is myOMRON?

Click here to find out

Search myKnowledge

Login

Username

Password



Register / Forgot password?

myKnowledge

Main > Product Type > Automation Systems > PLCs
Minimize Text   Default    Enlarge Text
 

Print
E-mail

Refresh-FB for Modbus communication CJ/CS with SCU or CP1 to MX2 or RX and JX/MX-inverter


Introduction

To use MX2  and JX/MX inverter connected to a PLC with Modbus protocol a new version of the Function Block _INV002_Refresh.cxf (known from the CX-Programmer's library)   is needed:       INV_Refresh_X31_.cxf.

Hardware needed
  • CJ / CS1-PLC with SCU/SCB or CP1H / CP1L (except 10 point) 
  • MX2 or RX and JX/MX inverter 
Cable connections
SCU (RS485 port) or CP1W-CIF11 MX2
2,8 SDB, RDB           SDB+ SP
1,6 SDA, RDA           SDA- SN
CX-Programmer setup

There is an example CX-Programmer project attached. If you already know the Function Block from the library called _INV002_Refresh, you will find that only some status bits are missing and the set frequency has to be changed to be transmitted.
 

This version from July 2010 is divided into 2 different Refresh-FBs:
INV_Refresh_X31_.cxf works only for MX2 and JX/MX and
INV_Refresh_RX31_.cxf works only for RX and JX/MX.

It is still smaller than the original, but can handle all Modbus node numbers from 1 to 31 (31 total on one PLC port).
The main difference is the improved error handling:
If the communication is broken, Bit15 (error bit) is turned ON and all other status bits are turned OFF.


(All older versions do not work with RX-inverters.)

  • The version from March 2010 had several changes compared to the version from November 2009.
  • It is not attached here anymore.
  • It was limited to only inverter number 1 to 15, only 15 inverters!
    command bit 0 is always Forward Run,
    command bit 1 is always Reverse Run.
    It is possible to choose the type of inverter with FB-parameter ModelTypJX,
    a bit has to be set for every inverter address, which is JX or MX, like in the scan list;
    Bit = 1 means older type JX or MX
    Bit = 0 means type MX2 (RX for the RX-FB)
  • the FB is much smaller than before, you will have much more space left for the main program.
    Some status bits are not read out of a JX/MX (Bit 4 = Zero speed,Bit 10 = Under voltage)
  • The original FBs from the library ParameterRead and ParameterWrite work with this version of Refresh-FB, but some double word parameters of JX cannot be accessed.
    You have to use new ReadNoParameter WriteNoParameter-FB.
    The example has been changed, to present a changed set frequency during run to the Refresh-FB.
  •  
  • You should also set the SCUs port “Serial Gateway Response Time out” to e.g. 300ms
     
CP1W-CIF11 setup

Put all DIP switches to ON except DIP 4 = OFF (RS485 with termination)

MX2 parameter settings

Open manual I114-EN-01 and go to section B2. Here are the parameters that need to be set to make sure MX2 is able to communicate. Match the parameters of MX2 inverter to the settings in the PLC. After changing the settings recycle power of the MX2. If parameters are set properly, communication between PLC and MX2 is established.

Set following settings in MX2 and cycle the power:
A001: 3      Frequency source
A002: 3      Run command source
C071: 05    9600 bps
C072: 1      Modbus address
C074: 01    Even parity
C075: 1      Stop bits



Attachments

INV002_Refresh_RX31_.pdf - Size: 4074366
INV002_Refresh_X31_.cxf - Size: 21281
INV002_Refresh_X31_.pdf - Size: 9293978
INV002_Refresh_RX31_.cxf - Size: 21088


Comments (View All Comments / Add Comment)

Related Articles
Refresh-FB For Modbus Communication CJ/CS/CP1L To MV/RV/V7AZ/F7Z/E7Z/L7Z/V1000
Attached there is a smaller version of the function block from the library _INV002_Refresh.cxf It is for following inverter types: MV/RV/V7AZ/F7Z/E7Z/L7Z/V1000 The FB...
Profibus Connection To A MX2-inverter With Gateway PRT1-SCU11
Introduction The OMRON gateway between Profibus and serial connections does not work only with temperature controllers, but since version 2 also with inverters. With the...
Connecting NQ Terminal To MX2 Inverter
Introduction Below steps describe the connection of a NQ HMI terminal to a MX2 inverter. Hardware needed NQ3 or NQ5 ( Use COM1) MX2 inverter....
 
Created 2009-11-06
Modified 2010-07-21
Views 1540

 

You are not logged in.