Omron

Last modified by Jett on 2024/10/23 20:42

Omron

CJ2M Series Ethemet

Supported device:CJ series, CJ1W-EIP21,CJ2M-EIP21

HMI Settings

ItemsSettings
ProtocolOMRON CJ TCP FINS Ethemet
ConnectionEthernet
Port No.9600
Device No.0
HMI No.0

Address List

TypeDevice registersHMI registersFormatRangeNote
BitCIOCIOCIO d0~99999 
WWW d0~99999 
DDD d0~99999 
HHH d0~99999 
AAA d0~99999 
TTT h0~99999 
CFCFCF d0~99999 
FFFFFF d0~99999 
CCC d0~99999 
EM0EM0EM0 d0~99999 
EM1EM1EM1 d0~99999 
EM2EM2EM2 d0~99999 
EM3EM3EM3 d0~99999 
EM4EM4EM4 d0~99999 
EM5EM5EM5 h0~99999 
EM6EM6EM6 d0~99999 
EM7EM7EM7 d0~99999 
EM8EM8EM8 d0~99999 
EM9EM9EM9 d0~99999 
EMAEMAEMA d0~99999 
EMBEMBEMB d0~99999 
EMCEMCEMC d0~99999 
LampLampLamp d0~0 
WordCIOCIOCIO d0~99999 
WWW d0~99999 
DDD d0~99999 
HHH d0~99999 
AAA d0~99999 
TTT h0~99999 
CFCFCF d0~99999 
FFFFFF d0~99999 
CCC d0~99999 
EM0EM0EM0 d0~99999 
EM1EM1EM1 d0~99999 
EM2EM2EM2 d0~99999 
EM3EM3EM3 d0~99999 
EM4EM4EM4 d0~99999 
EM5EM5EM5 h0~99999 
EM6EM6EM6 d0~99999 
EM7EM7EM7 d0~99999 
EM8EM8EM8 d0~99999 
EM9EM9EM9 d0~99999 
EMAEMAEMA d0~99999 
EMBEMBEMB d0~99999 
EMCEMCEMC d0~99999 
IRIRIR d0~99999 
DRDRDR d0~99999 

Configure the communication protocol

image-20220830143348-1.png

2.3.2.png

PLC Setting:

①[PLC]→[Change Communication Settings]→[Network Type] Ethernet→[setting…]→[Derive]→[IPaddress]set the IP address as PLC’s ,192.168.40.99→[Port Number]9600→[OK]→[OK]
Note:The IP address of the PLC is displayed on the LED when the PLC is powered up

1.3.1.png

②[PLC]→[Work Online]→USB connection between PC and PLC→The connection prompt appears→[Yes]

1.3.2.png

③PLC default parameters: [IO Table and Unit Settings] → [Built-in Port/Inner Board] [1500] CJ2M-EIP21→[TCP/IP] → [Transfer [Unit to PC]] → Transfer successfully, click [Close]

[IP Address] Use the following address → [IP Address] 192.168.40.99, [Subnet Mask] 255.255.255.0.
Note: Please configure the IP parameters of PLC according to the field needs

1.4.png

④Two rotary coding switches should be set depanding on the program paremeter:
a) rotary coding switch for unit No. :For example, [Built-in Port/Inner Board] [1500] CJ2M-EIP21(Built In EtherNet/IP Port for CJ2M)(Unit: 0),the rotary coding switch should be dialed to 0

WeCom Screenshot_20230828090604.png

b) rotary coding switch for node No. :The high byte 4 of the IP address should be the same as theone configured by the software. such as [IP address] 192.168.40.99. The IP address high byte 4 is 99,rotary coding switch is to use hexadecimal 63 corresponds to decimal 99, node number dialling code 161 corresponds to: 6, 160 corresponds to: 3.

WeCom.png

Cable Wiring

Pin Definition Diagram

12.PLC Protocol_html_2297240b57346b2a.png

CP1E Series Serial 

Supported device: OMRON CS1(CP1E/CP1H)

HMI Settings

ItemsSettingsNote
ProtocolOMRON CS1(CP1E/CP1H) 
ConnectionRS232 (9600, 2, 7, EVEN) 
Port No.None 
PLC station No.0 

Address List

TypeDevice registersHMI registersFormatRangeNote
BitCIOCIOCIO d0~99999 
WWW d0~99999 
DDD d0~99999 
HHH d0~99999 
AAA d0~99999 
TFTT h0~99999 
CFCFCF d0~99999 
TFFFF d0~99999 
CCC d0~99999 
EM0EM0EM0 d0~99999 
EM1EM1EM1 d0~99999 
EM2EM2EM2 d0~99999 
EM3EM3EM3 d0~99999 
EM4EM4EM4 d0~99999 
EM5EM5EM5 h0~99999 
EM6EM6EM6 d0~99999 
EM7EM7EM7 d0~99999 
EM8EM8EM8 d0~99999 
EM9EM9EM9 d0~99999 
EMAEMAEMA d0~99999 
EMBEMBEMB d0~99999 
EMCEMCEMC d0~99999 
WordCIOCIOCIO d0~99999 
WWW d0~99999 
DDD d0~99999 
HHH d0~99999 
AAA d0~99999 
TTT h0~99999 
CIOCFCF d0~99999 
CCC d0~99999 
EM0EM0EM0 d0~99999 
EM1EM1EM1 d0~99999 
EM2EM2EM2 d0~99999 
EM3EM3EM3 d0~99999 
EM4EM4EM4 d0~99999 
EM5EM5EM5 h0~99999 
EM6EM6EM6 d0~99999 
EM7EM7EM7 d0~99999 
EM8EM8EM8 d0~99999 
EM9EM9EM9 d0~99999 
EMAEMAEMA d0~99999 
EMBEMBEMB d0~99999 
EMCEMCEMC d0~99999 
IRIRIR d0~99999 
DRDRDR d0~99999 

Configure the communication protocol

image-20220902153118-1.png

image-20220902151322-2.png

 PLC Settings(CX-Programmer)

Open cx-programmer, create a new PLC project or open the project that has been created.
 Create new project: [File]→[New]→[Device Type]CP1E→[settings]→[General]→[CPU Type]N30→[OK]→[OK].

1.2 工程新建D.png

PLC Default Parameters:[Settings]→[Built-in RS232C Port]→[Communication Settings]→[Standard]9600,1,7,2,E means:[Baud rate] 9600, [Data bits]7, [Stop bits] 2,[Parity] EVEN→[Unit Number]0 →[Mode]Host Link(Defaut).

1.3 串口参数的查看-配置D.png

Cable Wiring

image-20220902153949-2.png

Pin Definition Diagram

image-20220902154056-3.png

EC55 Protocol

Supported device: EC55 temperature instrument

1)HMI Settings

ItemsSettingsNote
ProtocolOmron EC55 
ConnectionRS485 (9600, 2, 7, EVEN) 
Port No.None 
PLC station No.0 

2)Address List

TypeRegisterDevice rangeHMI rangeFunction
Double wordC00-13 (Hex)0-19Set read only parameter for area 0
C10-4D(Hex)0-77Set Read/Write parameter for area 0
C30-CD(Hex)0-205Set Read/Write parameter for area 1
Word800-13(Hex)0-19Set read only parameter in area 0
810-4D(Hex)0-77Set Read/Write parameter in area 0
830-CD(Hex)0-205Set Read/Write parameter in area 1
CP-0-6Read controller intrinsic property
CS-0-2Read controller states
CA-0-17Action command

3)Device Settings

Omron E5CC PLC configuration

After entering the Communication Settings menu, please set the parameters to the default values for the following table. Press the cycle key of the instrument to enter the next setting.

12.PLC Protocol_html_3d95e093792ba98a.png

According to PLC configuration and communication port configuration information of the HMI, provide the corresponding steps and configuration screenshots. This configuration needs to communicate properly with the above PLC configuration. The project settings are as follows

12.PLC Protocol_html_be583aa69dd6cf4c.png

✎Note: The communication settings for HMI should be consistent with this setting.

Cable Wiring

12.PLC Protocol_html_5e9a81a14106da9e.png

12.PLC Protocol_html_1897d92be6948d58.png

✎Note:

  • COM3 only available in PI8000/PI9000 series.
  • CA address could not support continuous writing function;
  • Because of CP address intrinsic property: read control intrinsic property, so please place the character input part in use. Set address with CP0 and character length 10, used to display controller type. And place a number input part, set address with CP5 (cache size). Do not place other CP type address without CP0 in screen, otherwise CP type address is invalid
  • When set value into read & write address, it is necessary to switch the temperature instrument meter to the corresponding interface according to the menu of the instrument where the address locates, so that the value could be written, otherwise, the value could not be written; When the communication write setting of the instrument is turned off, the writing function is invalid. Writing function could be opened by using the 00 address of the CA register, which write 01 value.
  • When continuous writing of a value to a read-write address, please make sure all continuous writing address could be written. Otherwise, if one of these addresses could not be written, then all continuous writing commands will fail.
  • Because of the mechanism problem, this protocol could not support CompoWay/F function that is read-write function of variables in protocol document.
  • When using double-word address, set the data format to 32 bits, otherwise the read/write function is unable.
  • Please set the communication delay time of 10ms in setting, to avoid that the instrument may not be able to communicate in a short time due to too fast data access and too much connection requests.
  • 12.PLC Protocol_html_d428cad280fdefb3.png Because of the particularity of the instrument, it is necessary to write the value of the address in the menu interface corresponding to the address, and to enter the menu where the address locates, so that the value could be written.

Ethernet/IP (NX/NJ Serirs)

Supported series: Omron NX/NJ series

HMI Setting

ItemsSettingsNote
ProtocolOmron NX/NJ Ethernet/IP 
ConnectionEthernet 
Port No.44818 
PLC station No.1 

Address list

Data typeMemoRange
BOOL1FALSE(0) or TRUE(1)
BYTE80~255
WORD160~65535
DWORD320~4294967295
LWORD640~(2^64-1)
SINT8-128~127
USINT80~255
INT16-32768~32767
UINT160~65535
DINT32-2147483648~2147483647
UDINT320~4294967295
LINT64(-2^63)~(2^63-1)
ULINT640~(2^64-1)
REAL32-3.402823466E+38~3.402823466E+38
LREAL64

-1.7976931348623158E+308~1.79769313

48623158E+308

DATE321970-01-01~2106-02-07
TIME320D0H0M0S0MS~49D17H2M47S295MS
DATE_AND_TIME321970-1-1-0:0:0~2106-02-07-06:28:15
TIME_OF_DAY320:0:0~23:59:59.999
STRING  

Instruction

1) In Sysmac Studio, please select [Publish Only] for [Network Publish] when setting address tag.

2) When [Do not publish] is selected for a tag, different import methods may lead to different results. When import tags by [Get Tags from Device], the tag will be eliminated. If [Import tags] is selected, the tags will be imported, but the communication will not succeed.

1725933697098-418.png

Export labels from Sysmac Studio

Launch Sysmac Studio, under Global Variables create the address labels, and thenselect [Tools] -> [Export Global Variables];

1725933727638-698.png

1725933619328-454.png

Create a .CSV file,and Paste the [CX-Designer] into it.

✎Note: Make sure the CSV data is separated by commas.

1725933782144-300.png

Launch PIStudio, in [Communication] Settings add [Omron Ethernet/IP (NX/NJ Serirs)] protocol;

1725933826453-416.png

Click [Label manage];Click [Import Tags form file] and then Choose the .CSV file you need;

1725933926323-707.png

Communication Settings

Set PLC IP in [Device IP] settings;

1725934163105-489.png

1725934131262-239.png

Cable Wiring

12.PLC Protocol_html_2297240b57346b2a.png

CJ2M Series Serial 

HMI Setting:

ParametersRecommended
PLC typeOMRON CV/CJ1M/CS1H
PLC I/FRS232/RS485
Baud rate9600
Data bits7
ParityEven
Stop bits2
PLC sta. no.0

PLC Setting:

Open cx-programmer, create a new PLC project or open the project that has been created.
 Create new project: [File]→[New]→[Device Type]CJ2M→[settings]→[General]→[CPU Type]CPU31→[OK]→[OK].

1.2 新建工程.png

PLC Default Parameters:[Settings]→[Serial Port]→[Communication Settings]→[Standard]9600,1,7,2,E means:[Baud rate] 9600, [Data bits]7, [Stop bits] 2,[Parity] EVEN→[Unit Number]0 →[Mode]Host Link.
 Note:The serial port parameters should be set depending on field requirements

1.3串口参数配置.png

Device Address:

Bit/WordDevice typeFormatRangeMemo
BCIODDDDDdd0 ~65535.15I/O and Internal Relay
BWDDDDDdd0 ~65535.15Hold Relay
BDDDDDDdd0 ~65535.15Link Relay
BHDDDDDdd0 ~65535.15 
BADDDDDdd0 ~65535.15 
BTFDDDDD0 ~ 99999 
BCFDDDDD0 ~ 99999Auxiliary Relay
BTDDDDDdd0 ~65535.15 
BCDDDDDdd0 ~65535.15 
BEM0DDDDDdd0 ~ 99999.15 
BEM1DDDDDdd0 ~ 99999.15 
BEM2DDDDDdd0 ~ 99999.15 
BEM3DDDDDdd0 ~ 99999.15 
BEM4DDDDDdd0 ~ 99999.15 
BEM5DDDDDdd0 ~ 99999.15 
BEM6DDDDDdd0 ~ 99999.15 
BEM7DDDDDdd0 ~ 99999.15 
BEM8DDDDDdd0 ~ 99999.15 
BEM9DDDDDdd0 ~ 99999.15 
BEMADDDDDdd0 ~ 99999.15 
BEMBDDDDDdd0 ~ 99999.15 
BEMCDDDDDdd0 ~ 99999.15 
BLampD0~0 
Bit/WordDevice typeFormatRange
WWDDDDD0 ~ 99999
WDDDDDD0 ~ 99999
WHDDDDD0 ~ 99999
WADDDDD0 ~ 99999
WTDDDDD0 ~ 99999
WCDDDDD0 ~ 99999
WCIODDDDD0 ~ 99999
WEM0DDDDD0 ~ 99999
WEM1DDDDD0 ~ 99999
WEM2DDDDD0 ~ 99999
WEM3DDDDD0 ~ 99999
WEM4DDDDD0 ~ 99999
WEM5DDDDD0 ~ 99999
WEM6DDDDD0 ~ 99999
WEM7DDDDD0 ~ 99999
WEM8DDDDD0 ~ 99999
WEM9DDDDD0 ~ 99999
WEMADDDDD0 ~ 99999
WEMBDDDDD0 ~ 99999
WEMCDDDDD0 ~ 99999
WIRDDDDD0 ~ 99999
WDRDDDDD0 ~ 99999

Wiring Diagram:

RS-485

3.1.png

Pin Definition Diagram

3.2.png

RS-232

CPU Port (CPM2A,CQM1/1H,C200H/HS/ALPHA series)

Communication Module:

CPM1-CIF01 adapter (for CPM1/CPM1A/CPM2A series, CQM1/CQM1H series) CPM1H-SCB41 communication module (for CQM1H-CPU51/61)

The serial port pin assignments may vary between HMI models, please click the following link for more information.

image-20220914115848-1.jpeg

C200HE Series Serial

Supported series: Omron C200HE series

HMI Settings(recommended)

ItemRecommended 
ProtocolOMRON HOSTLINK
ConnectionRS232
Baud rate9600
Stop bits2
Data bits7
ParityEVEN
PLC Station No.0
HMI Station No.0

Address List

TypeDevice registersHMI registersFormatRange
BitIRIRIR d0~99999
BitLRLRLR d0~99999
BitHRHRHR d0~99999
BitARARAR d0~99999
BitTIMBTIMBTIMB d0~99999
BitCNTBCNTBCNTB d0~99999
BitTIMTIMTIM d0~99999
BitDMDMDM d0~99999
BitCNTCNTCNT d0~99999
BitWRWRWR d0~99999
BitLAMPLAMPLAMP d0~0
WordIRIRIR d0~99999
WordLRLRLR d0~99999
WordHRHRHR d0~99999
WordARARAR d0~99999
WordTIMTIMTIM d0~99999
WordDMDMDM d0~99999
WordCNTCNTCNT d0~99999
WordWRWRWR d0~99999

Cable Wiring

3.1.2 接口.png