Wiki source code of Rockwell

Version 2.2 by Hunter on 2023/08/24 18:12

Show last authors
1 = {{id name="HRockwell"/}}**Rockwell** =
2
3 == {{id name="HDF1"/}}**DF1** ==
4
5 MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5
6
7 **HMI Settings**
8
9 |=Item|=Recommended |=Note
10 |=Protocol|Rockwell DF1|
11 |=Connection|RS232|
12 |=Baud rate|19200|
13 |=Stop bits|1|
14 |=Data bits|8|
15 |=Parity|None|
16 |=PLC Station No.|1|
17 |=HMI Station No.|0|
18
19 **PLC Settings**
20
21 DF1 Full Duplex protocol and CRC error check
22
23 **Address List**
24
25 |=**Type**|=**Device registers**|=**Format**|=**Range**|=Note
26 |(% rowspan="5" %)Bit|I|I ddd.dd|0.0~~255.15|Only able to communicate with file number I1
27 |O|O ddd.dd|0.0~~255.15|Only able to communicate with file number O0
28 |B|B nnhh.dd|0.0~~ffff.15|Only able to communicate with file number B3
29 |S|S ddd.dd|0.0~~255.15|Only able to communicate with file number S2
30 |N|N nnhh.dd|0.0~~ffff.15|Only able to communicate with file number N7
31 |(% rowspan="6" %)Word|S|S ddd|0~~255|Only able to communicate with file number S2
32 |TS|TS nnhh|0~~ffff|Only able to communicate with file number T4 (Timer Preset Value)
33 |TP|TP nnhh|0~~ffff|Only able to communicate with file number T4 (Timer Accumulator Value)
34 |CS|CS nnhh|0~~ffff|Only able to communicate with file number C5 (Counter Preset Value)
35 |CP|CP nnhh|0~~ffff|Only able to communicate with file number C5 (Counter Accumulator Value)
36 |N|N nnhh|0~~ffff|Only able to communicate with file number N7
37
38 **Cable Wiring**
39
40 {{id name="IAB.gif"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c884ca361be80135.gif||alt="AB.gif" height="247" width="400"]]
41
42 == {{id name="HDF1Advanced"/}}**DF1 Advanced** ==
43
44 MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5
45
46 **HMI Settings**
47
48 |=Item|=Recommended |=Note
49 |=Protocol|Rockwell DF1 Advanced|
50 |=Connection|RS232|
51 |=Baud rate|19200|
52 |=Stop bits|1|
53 |=Data bits|8|
54 |=Parity|None|
55 |=PLC Station No.|1|
56 |=HMI Station No.|0|
57
58 **PLC Settings**
59
60 DF1 Full Duplex protocol and CRC error check
61
62 **Address List**
63
64 |=**Type**|=**Device registers**|=**Format**|=**Range**|=Note
65 |(% rowspan="7" %)Bit|I1|I1ddd.dd|0.0~~255.15|Only able to communicate with file number I1
66 |O0|O0ddd.dd|0.0~~255.15|Only able to communicate with file number O0
67 |S2|S2ddd.dd|0.0~~255.15|Only able to communicate with file number S2
68 |B3|B3ddd.dd|0.0~~255.15|Only able to communicate with file number B3
69 |BN|BNddddd.dd|0.0~~99255.15|(((
70 Bit data file B0~~B99
71
72 First two digits is for file number
73
74 For example, BN13001.00 represents file number B13, address 001, the 0th bit.
75 )))
76 |N7|N7ddd.dd|0.0~~255.15|Only able to communicate with file number N7
77 |NN|NNddddd.dd|0.0~~99255.15|(((
78 Integer data file bit format N0~~N99
79
80 First two digits is for file number
81
82 For example, NN13001.00 represents file number N13, address 001, the 0th bit.
83 )))
84 |(% rowspan="11" %)Word|S2|S2ddd|0~~255|Only able to communicate with file number S2
85 |T4S|T4Sddd|0~~255|Only able to communicate with file number T4 (Timer Preset Value)
86 |T4P|T4Pddd|0~~255|Only able to communicate with file number T4 (Timer Accumulator Value)
87 |TNS|TNSddddd|0~~99255|(((
88 Timer Preset Value
89
90 First two digits is for file number
91
92 For example, TNS99255 represents file number T99, address 255.
93 )))
94 |TNP|TNPddddd|0~~99255|(((
95 Timer Accumulator Value
96
97 First two digits is for file number
98
99 For example, TNP99255 represents file number T99, address 255.
100 )))
101 |C5S|C5Sddd|0~~255|Only able to communicate with file number C5 (Counter Preset Value)
102 |C5P|C5Pddd|0~~255|Only able to communicate with file number C5 (Counter Accumulator Value)
103 |CNS|CNSddddd|0~~99255|(((
104 Counter Preset Value
105
106 First two digits is for file number
107
108 For example, CNS99255 represents file number C99, address 255.
109 )))
110 |CNP|CNPddddd|0~~99255|(((
111 Counter Accumulator Value
112
113 First two digits is for file number
114
115 For example, CNP99255 represents file number C99, address 255.
116 )))
117 |N7|N7ddd|0~~255|Only able to communicate with file number N7
118 |NN|NNddd|0~~99255|(((
119 Integer data file
120
121 First two digits is for file number
122
123 For example, NN99255 represents file number N99, address 255.
124 )))
125 |(% rowspan="3" %)Double Word|F8|F8ddd|0~~255|Only able to communicate with file number F8
126 |FN|FNddddd|0~~99255|(((
127 Floating point data file
128
129 First two digits is for file number
130
131 For example, FN99255 represents file number F99, address 255.
132 )))
133 |LN|LNddddd|0~~99255|Long
134
135 **Cable Wiring**
136
137 {{id name="IAB.gif-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c884ca361be80135.gif||alt="AB.gif" height="247" width="400"]]
138
139 == {{id name="HMicroLogix"/}}**MicroLogix** ==
140
141 MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
142
143 **HMI Settings**
144
145 |**Item**|**Settings**|**Note**
146 |Protocol|Allen-Bradlley MicroLogix|
147 |Connection|RS232|
148 |Baud rate|19200|
149 |Data bit|8|
150 |Parity|None|
151 |Stop bit|1|
152 |PLC station No.|1|
153
154 **Address List**
155
156 |**Type**|**Device registers**|**Format**|**Range**|**Note**
157 |(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15|
158 |O|O d.d|0.0~~255.15|
159 |B|B nnhh.dd|0.0~~ffff.15|nn: block number (hex)
160 |S|S d.d|0.0~~255.15|
161 |N|N nnhh.dd|0.0~~ffff.15|nn: block number (hex)
162 |(% rowspan="9" %)Word|S|S d|0~~255|
163 |TS|TS nnhh|0~~ffff|(% rowspan="8" %)nn: block number (hex)
164 |TP|TP nnhh|0~~ffff
165 |CS|CS nnhh|0~~ffff
166 |CP|CP nnhh|0~~ffff
167 |N|N nnhh|0~~ffff
168 |C|C nnhh|0~~ffff
169 |T|T nnhh|0~~ffff
170 |R|R nnhh|0~~ffff
171
172 **Cable Wiring**
173
174 {{id name="I12.PLCProtocol_html_58205bdf82c06d4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_32d8ab10ec374ea6.png||alt="12.PLC Protocol_html_58205bdf82c06d4.png" height="307" width="500"]]
175
176 == {{id name="HEtherNet2FIP28CompactLogixSeries29"/}}**EtherNet/IP(CompactLogix Series)** ==
177
178 Allen-Brandly Compact Logix Free Tag
179
180 **HMI Settings**
181
182 |**Items**|**Settings**|**Note**
183 |Protocol|EtherNet/IP(CompactLogix Series)|
184 |Connection|Ethernet|
185 |Port No.|44818|
186
187 **PLC Setting**
188
189 Create new tags
190
191 {{id name="I12.PLCProtocol_html_a748a27dcf7f1124.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_75d3f4097ac67d8e.png||alt="12.PLC Protocol_html_a748a27dcf7f1124.png" height="411" width="700"]]
192
193 Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])
194
195 {{id name="I12.PLCProtocol_html_151379170bb8ff3e.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_39bb299de26a0af0.png||alt="12.PLC Protocol_html_151379170bb8ff3e.png" height="352" width="700"]]
196
197 Import labels, please open [Communication] window and click [Import label];
198
199 Select csv file, all tags will be displayed as belows;
200
201 {{id name="I12.PLCProtocol_html_af192e54dee96f38.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4216defdc24cba39.png||alt="12.PLC Protocol_html_af192e54dee96f38.png" height="586" width="700"]]
202
203 **✎Note:**
204
205 Because in different region, the separation symbol is different, we suggest you check this before you want to import your tags. To open csv file as text format.
206
207 {{id name="I12.PLCProtocol_html_33df1d63ebe53726.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_24f4d658173f88a9.png||alt="12.PLC Protocol_html_33df1d63ebe53726.png" height="206" width="700"]]
208
209 The directory of changing system settings: [Control Panel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator]. Please select [,] and export CSV file after setting.
210
211 **Communication settings in HMI**
212
213 Enable HMI Ethernet in [Project Settings];
214
215 {{id name="I12.PLCProtocol_html_43b671f18153910d.png-5"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a98ee09dac36eba3.png||alt="12.PLC Protocol_html_43b671f18153910d.png" height="106" width="400"]]
216
217 Set PLC IP in [Device IP] settings;
218
219 {{id name="I12.PLCProtocol_html_27870d373581892e.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_10385ddd81c8baff.png||alt="12.PLC Protocol_html_27870d373581892e.png" height="206" width="600"]]
220
221 **Cable Wiring**
222
223 {{id name="I12.PLCProtocol_html_2297240b57346b2a.png-3"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="400"]]
224
225 == {{id name="HMicroLogix1200"/}}**MicroLogix 1200** ==
226
227 The operational address is determined by the connection of Allen-Bradley PLC to HMI. For extension modules or other special conditions, refer to allen-Bradley PLC instruction manual. The following is an example of allen-bradley MicroLogix1200.
228
229 * **Bit address I:** The address ranges from 0.0 to 255.15. The value of the data before the decimal point ranges from 0 to 255 (decimal). The value from 0 to 15 after the decimal point is the sub address (decimal).
230 * **Bit address B:** The address ranges from 000.0 to fff.15. The first f from left to right represents the block number (hexadecimal); The second and third f from left to right represent the word address (hexadecimal). The value 0 to 15 after the decimal point reprensents the sub address (decimal).
231 * **Word address S:** The word address ranges from 0 to 255 (decimal).
232 * **Word address TS:** The address ranges from 000.0 to ffff. The first and second f from left to right represents the block number (hexadecimal); The third and fourth f from left to right represent the word address (hexadecimal).
233
234 **✎Note: **Register address TP, CS, CP, N, F and TS address edit are same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table.
235
236 |**PLC bit address type**|**Address format**|**Address range**
237 |I|dd.dd|I 0.0 ~~ 255.15
238 |O|dd.dd|O 0.0 ~~ 255.15
239 |B|fff.dd|B 000.0 ~~ fff.15
240 |S|dd.dd|S 0.0 ~~ 255.15
241 |N|ffff.dd|N 000.0 ~~ fff.15
242 |**PLC word address type**|**Address format**|**Address range**
243 |S|ddd|S0 ~~ 255
244 |TS|ffff|TS0 ~~ FFFF
245 |TP|ffff|TP0 ~~ FFFF
246 |CS|ffff|CS0 ~~ FFFF
247 |CP|ffff|CP0 ~~ FFFF
248 |N|ffff|N0 ~~ FFFF
249 |F|ffff|F0 ~~ FFFF