Wiki source code of Omron

Version 5.1 by Theodore Xu on 2023/09/07 19:18

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 == **CJ TCP FINS 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 **2)Address List **
28
29
30 |**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
31 |(% rowspan="9" %)Bit|I|I|I ddddd.o|0.0~~99999.7|
32 |Q|Q|Q ddddd.o|0.0~~99999.7|
33 |V|VWbit|VWbit ddddd.o|0.0~~99999.7|
34 |V|V|V ddddd.o|0.0~~99999.7|
35 |M|M|M ddddd.o|0.0~~99999.7|
36 |SM|SM|ddddd.o|0.0~~99999.7|
37 |S|S|ddddd.o|0.0~~99999.7|Read only
38 |T|T|ddddd|0~~99999|Timer state, read only
39 |C|C|ddddd|0~~99999|Counter state, read only
40 |(% rowspan="12" %)Word|I|IW|IW ddddd|0~~99999|
41 |Q|QW|QW ddddd|0~~99999|
42 |AI|AIW|AIW ddddd|0~~99999|
43 |AQ|VB|VB ddddd|0~~99999|
44 |V|VW|VW ddddd|0~~99998|(((
45 VW0=VB (0~~1)
46
47 VW2=VB (2~~3)
48
49 Address value is a multiple of 2
50 )))
51 |V|VD|VD ddddd|0~~99998|(((
52 VD0=VB (0~~3)
53
54 VD2=VB (4~~7)
55
56 Address value is a multiple of 4
57 )))
58 |M|MB|MB ddddd|0~~99999|
59 |M|MW|MW ddddd|0~~99999|(((
60 MW0=MB(0~~1)
61
62 MW2=MB(2~~3)
63
64 Address value is a multiple of 2
65 )))
66 |M|MD|MD ddddd|0~~99999|(((
67 MD0=MB(0~~3)
68
69 MD4=MB(4~~7)
70
71 Address value is a multiple of 4
72 )))
73 |T|TW|TW ddddd|0~~99999|Value of timer
74 |C|CW|CW ddddd|0~~99999|Value of counter
75 |W|SW|SW ddddd|0~~99999|
76
77 (% class="wikigeneratedid" %)
78 **3)PLC software**
79
80 (% class="wikigeneratedid" %)
81 ①[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]
82 Note:The IP address of the PLC is displayed on the LED when the PLC is powered up
83
84 == **EC55 Series ** ==
85
86 Supported device: EC55 temperature instrument
87
88 **1)V-BOX Settings**
89
90 |**Items**|**Settings**|**Note**
91 |Protocol|Omron EC55|
92 |Connection|RS485 (9600, 2, 7, EVEN)|
93 |Port No.|None|
94 |PLC station No.|0|
95
96 **2)Address List**
97
98 |**Type**|**Register**|**Device range**|**HMI range**|**Function**
99 |(% rowspan="3" %)Double word|C0|0-13 (Hex)|0-19|Set read only parameter for area 0
100 |C1|0-4D(Hex)|0-77|Set Read/Write parameter for area 0
101 |C3|0-CD(Hex)|0-205|Set Read/Write parameter for area 1
102 |(% rowspan="6" %)Word|80|0-13(Hex)|0-19|Set read only parameter in area 0
103 |81|0-4D(Hex)|0-77|Set Read/Write parameter in area 0
104 |83|0-CD(Hex)|0-205|Set Read/Write parameter in area 1
105 |CP|-|0-6|Read controller intrinsic property
106 |CS|-|0-2|Read controller states
107 |CA|-|0-17|Action command
108
109 **3)Device Settings**
110
111 Omron E5CC PLC configuration
112
113 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.
114
115 {{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"]]
116
117 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
118
119 {{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"]]
120
121 **✎Note:** The communication settings for HMI should be consistent with this setting.
122
123 **4)Configure the communication protocol**
124
125 {{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"]]
126
127 **5)Cable Wiring**
128
129 {{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"]]
130
131 {{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"]]
132
133 **✎Note:**
134
135 * COM3 only available in PI8000/PI9000 series.
136 * CA address could not support continuous writing function;
137 * 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
138 * 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.
139 * 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.
140 * Because of the mechanism problem, this protocol could not support CompoWay/F function that is read-write function of variables in protocol document.
141 * When using double-word address, set the data format to 32 bits, otherwise the read/write function is unable.
142 * 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.
143 * {{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.