Chapter 18 Omron - CS CJ PLC
Chapter 18 Omron - CS CJ PLC
Chapter 18 Omron - CS CJ PLC
18-1
Chapter 18 Omron: CS/CJ PLC
OMRON’s Host Link protocol provides 4 lines wiring method only not 2 lines.
Put the switch at ‘4’ position as shown at below picture.
A terminator resistor is embedded so make the switch to set terminate resistor ‘ON’.
Setting switcher are different depending on communication module so for setting, refer to the below pictures.
18-2
Chapter 18 Omron: CS/CJ PLC
Notice
1. Suggestions
☞ A shielded wire is recommended for stable communication. (For detailed wiring, refer to the OMRON
Communication manual.)
☞ When applying 1:N connection through RS-422/485 communication mode, set(ON) the terminator switch for
the last communication module only.
2. Term Description
☞ Host Link indicates connection between host PC and OMRON PLC and XGT Panel communicates with
OMRON PLC with this way.
18-3
Chapter 18 Omron: CS/CJ PLC
Notice
☞ When connecting hub-node, direct cable has to be used and cross cable has to be used when connecting 1:1.
18-4
Chapter 18 Omron: CS/CJ PLC
‘White-yellow’, ‘White-green’, ‘White-blue’, ‘White-brown’ from above figure is indicated on the coating of the
cable. For example, ‘white-blue’ has blue stripes on white coating.
Notice
☞ Use according to the connection method.
☞ Wire the cable by using a modular tool. Bad connection may occur.
☞ If the lock part of the modular jack gets damaged, it may not get fixed to the RJ45 connector (Ethernet
connector) and bad connection may occur.
☞ The UTP cable is made out of solid wire material. Therefore, it may break when heavily bent or shaken.
☞ It is advisory to use a plug cover when wiring cables.
18-5
Chapter 18 Omron: CS/CJ PLC
● Step2: If IO setting screen is displayed, select the communication module installed to PLC as below.
● Step3: If the communication setting screen is displayed as below, set communication parameters.
18-6
Chapter 18 Omron: CS/CJ PLC
● Step4: Select ‘Unit No.’ at communication module. At this time, ‘Unit No.’ should be input when adding a
new communication module at ‘Step1’ or you can select it at IO Setting screen as below.
18-7
Chapter 18 Omron: CS/CJ PLC
Notice
1. Suggestions to set PLC
☞ This manual covers the simple description on setting so for setting communication, make sure to refer to
OMRON manual.
☞ The details on setting OMRON PLC can be chanted without a previous notice, before setting
communication, make sure to check OMRON Communication manual.
2. Checking communication status
☞ There are SD, RD LED for Cnet module. If you have a normal communication, you can see that LED flashes
fast.
18-8
Chapter 18 Omron: CS/CJ PLC
18-9
Chapter 18 Omron: CS/CJ PLC
2) Add Station
18-10
Chapter 18 Omron: CS/CJ PLC
18-11
Chapter 18 Omron: CS/CJ PLC
3) Add Block
Example 1) Start Address: C1010, Block Size: If it is 100, 100 words will be loaded starting from the
10th word of CIO memory (starting from 0)
Example 2) Start Address: TF20, Block Size: If it is 20, 20 status bits will be loaded starting from the
20th status bit of TF memory (starting from 0)
Caution) CIO, LR, HR, AR, TIM, CNT, DM, EM, EM0, EM1, EM2, EM3, EM4, EM5, EM6, EM7, EM8,
EM9, EMA, EMB AND EMC ARE DEVICES IN WORD UNIT.
Caution) If there are more than 30 devices in WORD unit and more than 120 devices in Bit unit, they
can be read with multi frames.
18-12
Chapter 18 Omron: CS/CJ PLC
● Period: Input an interval to collect data of the relevant block (unit: msec).
● Block Size: A number to read for each corresponding delimiter.
● Save: If ‘Save’ button is pressed, Block information will be saved and the saved information will add to
the left “Configuration Information” tree.
● Delete: If “Delete” button is pressed, the currently selected Block will be deleted.
4) I/O Address
● Example of Analog Input Address
CIO_100: Load the value of the 100th word in CIO Area.
EM7_20000: Load the value of the 20000th Word in EM7 Area.
● Example of Digital Input Address
CIO_90A: Load the 10(A)th bit value of the 90th word in CIO Area.
EM7_07: Load the 7th bit value of the 0th word in EM7 Area.
TF_123: Load the completion flag value of the timer in Timer Flag Area.
● Omron PLC Memory Device Map
CS/CJ
CV CPU
Memory Descripti CPU Remark
Data Type Memory Address Example
Code on Memory s
Address
Address
AI : CIO_xxxx (xxxx : 0~6143 )
CIO_100
CIO CIO Area WORD 0~6143 0~2555
DI : CIO_xxxx0~F(xxxx : 0~6143)
CIO_100A
18-13
Chapter 18 Omron: CS/CJ PLC
18-14
Chapter 18 Omron: CS/CJ PLC
● Step2: If IO setting screen is displayed, select Ethernet communication module installed to PLC.
● Step3.1: You can set the Ether module with two communication protocol module types. First, you can see
how to set UTP/IP.
a. Select ‘Auto (dynamic)’ mode at the below setting screen.
b Set IP address and Sub-net Mask. Set Sub-net Mask as ‘255.255.255.0’ like the picture and IP address
18-15
Chapter 18 Omron: CS/CJ PLC
should have the same 3 digits(XXX.XXX.XXX.~) as InfoU(namely, it should be connected to the same
network.)
c. Select the port as ‘Default(9600)’.
b. Set IP address and Sub-net Mask. Set Sub-net Mask as ‘255.255.255.0’ like the picture and IP address
should have the same 3 digits (XXX.XXX.XXX. ~) as InfoU (namely, it should be connected to the same
network.)
c. Set the port as ‘Default (9600)’.
d. Set FINS/TCP Server as below, which is basically set so check it.
18-16
Chapter 18 Omron: CS/CJ PLC
Notice
1. Checking communication status
☞ There are SD, RD LED for Cnet module. If you have a normal communication, you can see that LED flashes
fast.
2. Suggestions to set PLC
☞ This manual covers the simple description on setting so for setting communication, make sure to refer to
OMRON manual.
☞ The details on setting OMRON PLC can be chanted without a previous notice, before setting
communication, make sure to check OMRON Communication manual.
18-17
Chapter 18 Omron: CS/CJ PLC
Select “OmronE” from the I/O driver list and press “Add”.
18-18
Chapter 18 Omron: CS/CJ PLC
2) Add Station
18-19
Chapter 18 Omron: CS/CJ PLC
18-20
Chapter 18 Omron: CS/CJ PLC
3) Add Block
Example 1) Start Address: C1010, Block Size: If it is 100, 100 words will be loaded starting from the
10th word of CIO memory (starting from 0)
Example 2) Start Address: TF20, Block Size: If it is 20, 20 status bits will be loaded starting from the
20th status bit of TF memory (starting from 0)
※CIO, WR, HR, AR, TIM, CNT, DM, EM, EM0, EM1, EM2, EM3, EM4, EM5, EM6, EM7, EM8, EM9,
EMA, EMB, EMC, EM_CURR, DR은 WORD단위의 디바이스이며, IR은 DWORD단위의 디바이스이다.
TKF, TKS, TF and CF are devices in Bit unit.
● Period: Input an interval to collect data of the relevant block (unit: msec).
● Block Size: A number to read for each corresponding delimiter.
● Save: If ‘Save’ button is pressed, Block information will be saved and the saved information will add to
the left “Configuration Information” tree.
● Delete: If “Delete” button is pressed, the currently selected Block will be deleted.
18-21
Chapter 18 Omron: CS/CJ PLC
4) I/O Address
● Example of Analog Input Address
CIO_100 : Load the value of the 100th word in CIO Area
EM7_20000 : Load the value of the 20000th Word in EM7 Area.
● Example of Digital Input Address
CIO_90A: Load the 10(A)th bit value of the 90th word in CIO Area.
EM7_07: Load the 7th bit value of the 0th word in EM7 Area.
TF_123: Load the completion flag value of the timer in Timer Flag Area.
18-22
Chapter 18 Omron: CS/CJ PLC
18-23
Chapter 18 Omron: CS/CJ PLC
Index
IR DWORD AI : IR_xxxx ( xxxx : 0~15) IR_5
Register
AI : DR_xxxxx (xxxxx : 0~15 )
0~15
Data DR_9
DR WORD 0~15
Register DI : DR_xxxxx0~F(xxxxx : 0~15)
DR_1A
18-24
Chapter 18 Omron: CS/CJ PLC
Notice
☞ Use it within device area.
☞ The range of device may be different depending on CPU module so refer to each CPU module manual.
18-25