Wiki source code of Omron

Version 10.1 by Theodore Xu on 2023/09/12 10:44

Show last authors
1 = **Omron** =
2
3 == **CP1 Series** ==
4
5 [[Download>>url:https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20ORMON%20CP1%20Series.zip]]
6
7 == **CP2M Series** ==
8
9 [[Download>>url:https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20ORMON%20CJ2M.zip]]
10
11 == **CJ2M Ethemet** ==
12
13 Supported device:CJ series, CJ1W-EIP21,CJ2M-EIP21
14
15 **V-Box Settings**
16
17 |=**Items**|=**Settings**
18 |Protocol|OMRON CJ TCP FINS Ethemet
19 |Connection|Ethernet
20 |Port No.|9600
21 |Device No.|0
22 |V-Box No.|0
23
24 (% style="text-align:center" %)
25 [[image:欧姆龙创建.png]]
26
27 **Address List **
28
29 |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
30 |(% colspan="1" rowspan="23" %)Bit
31 |CIO|CIO|CIO d|0~~99999|
32 |W|W|W d|0~~99999|
33 |D|D|D d|0~~99999|
34 |H|H|H d|0~~99999|
35 |A|A|A d|0~~99999|
36 |T|T|T h|0~~99999|
37 |CF|CF|CF d|0~~99999|
38 |FF|FF|FF d|0~~99999|
39 |C|C|C d|0~~99999|
40 |EM0|EM0|EM0 d|0~~99999|
41 |EM1|EM1|EM1 d|0~~99999|
42 |EM2|EM2|EM2 d|0~~99999|
43 |EM3|EM3|EM3 d|0~~99999|
44 |EM4|EM4|EM4 d|0~~99999|
45 |EM5|EM5|EM5 h|0~~99999|
46 |EM6|EM6|EM6 d|0~~99999|
47 |EM7|EM7|EM7 d|0~~99999|
48 |EM8|EM8|EM8 d|0~~99999|
49 |EM9|EM9|EM9 d|0~~99999|
50 |EMA|EMA|EMA d|0~~99999|
51 |EMB|EMB|EMB d|0~~99999|
52 |EMC|EMC|EMC d|0~~99999|
53 |Lamp|Lamp|Lamp d|0~~0|
54 |(% colspan="1" rowspan="24" %)Word
55 |CIO|CIO|CIO d|0~~99999|
56 |W|W|W d|0~~99999|
57 |D|D|D d|0~~99999|
58 |H|H|H d|0~~99999|
59 |A|A|A d|0~~99999|
60 |T|T|T h|0~~99999|
61 |CF|CF|CF d|0~~99999|
62 |FF|FF|FF d|0~~99999|
63 |C|C|C d|0~~99999|
64 |EM0|EM0|EM0 d|0~~99999|
65 |EM1|EM1|EM1 d|0~~99999|
66 |EM2|EM2|EM2 d|0~~99999|
67 |EM3|EM3|EM3 d|0~~99999|
68 |EM4|EM4|EM4 d|0~~99999|
69 |EM5|EM5|EM5 h|0~~99999|
70 |EM6|EM6|EM6 d|0~~99999|
71 |EM7|EM7|EM7 d|0~~99999|
72 |EM8|EM8|EM8 d|0~~99999|
73 |EM9|EM9|EM9 d|0~~99999|
74 |EMA|EMA|EMA d|0~~99999|
75 |EMB|EMB|EMB d|0~~99999|
76 |EMC|EMC|EMC d|0~~99999|
77 |IR|IR|IR d|0~~99999|
78 |DR|DR|DR d|0~~99999|
79
80 (% class="wikigeneratedid" %)
81 **PLC setting**
82
83 (% class="wikigeneratedid" %)
84 ①[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]
85 Note:The IP address of the PLC is displayed on the LED when the PLC is powered up
86
87 (% style="text-align:center" %)
88 [[image:1.3.1.png]]
89
90 ②[PLC]→[Work Online]→USB connection between PC and PLC→The connection prompt appears→[Yes]
91
92 (% style="text-align:center" %)
93 [[image:1.3.2.png]]
94
95 ③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]
96
97 [IP Address] Use the following address → [IP Address] 192.168.40.99, [Subnet Mask] 255.255.255.0.
98 Note: Please configure the IP parameters of PLC according to the field needs
99
100 (% style="text-align:center" %)
101 [[image:1694161978199-503.4.png]]
102
103 ④Two rotary coding switches should be set depanding on the program paremeter:
104 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
105
106 (% style="text-align:center" %)
107 [[image:WeCom Screenshot_20230828090604.png]]
108
109 **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.Address List**
110
111 (% style="text-align:center" %)
112 [[image:WeCom.png]]
113
114 **Cable Wiring**
115
116 Pin Definition Diagram
117
118 (% style="text-align:center" %)
119 [[image:12.PLC Protocol_html_2297240b57346b2a.png]]
120
121 == **EC55 Series ** ==
122
123 Supported device: EC55 temperature instrument
124
125 **1)V-BOX Settings**
126
127 |**Items**|**Settings**|**Note**
128 |Protocol|Omron EC55|
129 |Connection|RS485 (9600, 2, 7, EVEN)|
130 |Port No.|None|
131 |PLC station No.|0|
132
133 **2)Address List**
134
135 |**Type**|**Register**|**Device range**|**HMI range**|**Function**
136 |(% rowspan="3" %)Double word|C0|0-13 (Hex)|0-19|Set read only parameter for area 0
137 |C1|0-4D(Hex)|0-77|Set Read/Write parameter for area 0
138 |C3|0-CD(Hex)|0-205|Set Read/Write parameter for area 1
139 |(% rowspan="6" %)Word|80|0-13(Hex)|0-19|Set read only parameter in area 0
140 |81|0-4D(Hex)|0-77|Set Read/Write parameter in area 0
141 |83|0-CD(Hex)|0-205|Set Read/Write parameter in area 1
142 |CP|-|0-6|Read controller intrinsic property
143 |CS|-|0-2|Read controller states
144 |CA|-|0-17|Action command
145
146 **3)Device Settings**
147
148 Omron E5CC PLC configuration
149
150 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.
151
152 {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_3d95e093792ba98a.png3Fwidth3D55026height3D22926rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_3d95e093792ba98a.png?width=550&height=229&rev=1.1||alt="12.PLC Protocol_html_3d95e093792ba98a.png" height="229" width="550"]]
153
154 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
155
156 {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_be583aa69dd6cf4c.png3Fwidth3D55026height3D24226rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_be583aa69dd6cf4c.png?width=550&height=242&rev=1.1||alt="12.PLC Protocol_html_be583aa69dd6cf4c.png" height="242" width="550"]]
157
158 **✎Note:** The communication settings for HMI should be consistent with this setting.
159
160 **4)Configure the communication protocol**
161
162 {{id name="Iimage-20220831161041-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_24bd1420f057cde5.png||alt="image-20220831161041-1.png" height="712" width="1671"]]
163
164 **5)Cable Wiring**
165
166 {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_5e9a81a14106da9e.png3Fwidth3D39226height3D22326rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_5e9a81a14106da9e.png?width=392&height=223&rev=1.1||alt="12.PLC Protocol_html_5e9a81a14106da9e.png" height="223" width="392"]]
167
168 {{id name="Ihttps:2F2Fdocs.we-con.com.cn2Fbin2Fdownload2FPIStudio2F12.PLC2520protocols2FWebHome2F12.PLC2520Protocol_html_1897d92be6948d58.png3Fwidth3D39326height3D22326rev3D1.1"/}}[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_1897d92be6948d58.png?width=393&height=223&rev=1.1||alt="12.PLC Protocol_html_1897d92be6948d58.png" height="223" width="393"]]
169
170 **✎Note:**
171
172 * COM3 only available in PI8000/PI9000 series.
173 * CA address could not support continuous writing function;
174 * 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
175 * 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.
176 * 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.
177 * Because of the mechanism problem, this protocol could not support CompoWay/F function that is read-write function of variables in protocol document.
178 * When using double-word address, set the data format to 32 bits, otherwise the read/write function is unable.
179 * 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.
180 * {{id name="Iimage-20220831161356-1.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_26911ab93ca27dc7.png||alt="image-20220831161356-1.png" height="456" width="772"]] 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.