... |
... |
@@ -173,77 +173,303 @@ |
173 |
173 |
|
174 |
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 |
175 |
|
176 |
|
-== {{id name="HEtherNet2FIP28CompactLogixSeries29"/}}**EtherNet/IP(CompactLogix Series)** == |
|
176 |
+== {{id name="HMicroLogix1200"/}}**MicroLogix 1200** == |
177 |
177 |
|
178 |
|
-Allen-Brandly Compact Logix Free Tag |
|
178 |
+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. |
179 |
179 |
|
180 |
|
-**HMI Settings** |
|
180 |
+* **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). |
|
181 |
+* **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). |
|
182 |
+* **Word address S:** The word address ranges from 0 to 255 (decimal). |
|
183 |
+* **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). |
181 |
181 |
|
|
185 |
+**✎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. |
|
186 |
+ |
|
187 |
+|**PLC bit address type**|**Address format**|**Address range** |
|
188 |
+|I|dd.dd|I 0.0 ~~ 255.15 |
|
189 |
+|O|dd.dd|O 0.0 ~~ 255.15 |
|
190 |
+|B|fff.dd|B 000.0 ~~ fff.15 |
|
191 |
+|S|dd.dd|S 0.0 ~~ 255.15 |
|
192 |
+|N|ffff.dd|N 000.0 ~~ fff.15 |
|
193 |
+|**PLC word address type**|**Address format**|**Address range** |
|
194 |
+|S|ddd|S0 ~~ 255 |
|
195 |
+|TS|ffff|TS0 ~~ FFFF |
|
196 |
+|TP|ffff|TP0 ~~ FFFF |
|
197 |
+|CS|ffff|CS0 ~~ FFFF |
|
198 |
+|CP|ffff|CP0 ~~ FFFF |
|
199 |
+|N|ffff|N0 ~~ FFFF |
|
200 |
+|F|ffff|F0 ~~ FFFF |
|
201 |
+ |
|
202 |
+== **Ethernet/IP DF1** == |
|
203 |
+ |
|
204 |
+Supported Series: Rockwell MicroLogix 1100, 1400, SLC5/05 Ethernet port. MicroLogix1000,1200,1500,SLC 5/03, 5/04 with 1761-NET-ENI |
|
205 |
+ |
182 |
182 |
|**Items**|**Settings**|**Note** |
183 |
|
-|Protocol|EtherNet/IP(CompactLogix Series)| |
|
207 |
+|Protocol|Rockwell Ethernet/IP DF1| |
184 |
184 |
|Connection|Ethernet| |
185 |
185 |
|Port No.|44818| |
|
210 |
+|PLC station No.|1| |
186 |
186 |
|
187 |
|
-**PLC Setting** |
|
212 |
+**Address List** |
188 |
188 |
|
189 |
|
-Create new tags |
|
214 |
+|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note |
|
215 |
+|(% rowspan="7" %)Bit|I1|I1ddd.dd|0.0~~255.15|Only able to communicate with file number I1 |
|
216 |
+|O0|O0ddd.dd|0.0~~255.15|Only able to communicate with file number O0 |
|
217 |
+|S2|S2ddd.dd|0.0~~255.15|Only able to communicate with file number S2 |
|
218 |
+|B3|B3ddd.dd|0.0~~255.15|Only able to communicate with file number B3 |
|
219 |
+|BN|BNddddd.dd|0.0~~99255.15|((( |
|
220 |
+Bit data file B0~~B99 |
190 |
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"]] |
|
222 |
+First two digits is for file number |
192 |
192 |
|
193 |
|
-Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments]) |
|
224 |
+For example, BN13001.00 represents file number B13, address 001, the 0th bit. |
|
225 |
+))) |
|
226 |
+|N7|N7ddd.dd|0.0~~255.15|Only able to communicate with file number N7 |
|
227 |
+|NN|NNddddd.dd|0.0~~99255.15|((( |
|
228 |
+Integer data file bit format N0~~N99 |
194 |
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"]] |
|
230 |
+First two digits is for file number |
196 |
196 |
|
197 |
|
-Import labels, please open [Communication] window and click [Import label]; |
|
232 |
+For example, NN13001.00 represents file number N13, address 001, the 0th bit. |
|
233 |
+))) |
|
234 |
+|(% rowspan="11" %)Word|S2|S2ddd|0~~255|Only able to communicate with file number S2 |
|
235 |
+|T4S|T4Sddd|0~~255|Only able to communicate with file number T4 (Timer Preset Value) |
|
236 |
+|T4P|T4Pddd|0~~255|Only able to communicate with file number T4 (Timer Accumulator Value) |
|
237 |
+|TNS|TNSddddd|0~~99255|((( |
|
238 |
+Timer Preset Value |
198 |
198 |
|
199 |
|
-Select csv file, all tags will be displayed as belows; |
|
240 |
+First two digits is for file number |
200 |
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"]] |
|
242 |
+For example, TNS99255 represents file number T99, address 255. |
|
243 |
+))) |
|
244 |
+|TNP|TNPddddd|0~~99255|((( |
|
245 |
+Timer Accumulator Value |
202 |
202 |
|
203 |
|
-**✎Note:** |
|
247 |
+First two digits is for file number |
204 |
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. |
|
249 |
+For example, TNP99255 represents file number T99, address 255. |
|
250 |
+))) |
|
251 |
+|C5S|C5Sddd|0~~255|Only able to communicate with file number C5 (Counter Preset Value) |
|
252 |
+|C5P|C5Pddd|0~~255|Only able to communicate with file number C5 (Counter Accumulator Value) |
|
253 |
+|CNS|CNSddddd|0~~99255|((( |
|
254 |
+Counter Preset Value |
206 |
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"]] |
|
256 |
+First two digits is for file number |
208 |
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. |
|
258 |
+For example, CNS99255 represents file number C99, address 255. |
|
259 |
+))) |
|
260 |
+|CNP|CNPddddd|0~~99255|((( |
|
261 |
+Counter Accumulator Value |
210 |
210 |
|
211 |
|
-**Communication settings in HMI** |
|
263 |
+First two digits is for file number |
212 |
212 |
|
213 |
|
-Enable HMI Ethernet in [Project Settings]; |
|
265 |
+For example, CNP99255 represents file number C99, address 255. |
|
266 |
+))) |
|
267 |
+|N7|N7ddd|0~~255|Only able to communicate with file number N7 |
|
268 |
+|NN|NNddd|0~~99255|((( |
|
269 |
+Integer data file |
214 |
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"]] |
|
271 |
+First two digits is for file number |
216 |
216 |
|
217 |
|
-Set PLC IP in [Device IP] settings; |
|
273 |
+For example, NN99255 represents file number N99, address 255. |
|
274 |
+))) |
|
275 |
+|(% rowspan="3" %)Double Word|F8|F8ddd|0~~255|Only able to communicate with file number F8 |
|
276 |
+|FN|FNddddd|0~~99255|((( |
|
277 |
+Floating point data file |
218 |
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"]] |
|
279 |
+First two digits is for file number |
220 |
220 |
|
|
281 |
+For example, FN99255 represents file number F99, address 255. |
|
282 |
+))) |
|
283 |
+|LN|LNddddd|0~~99255|Long |
|
284 |
+ |
|
285 |
+**PLC Setting:** |
|
286 |
+ |
|
287 |
+1.Open the RSLinx Classic Lite software and click [Configure Drivers...] in [Communications].[[image:1.png]] |
|
288 |
+ |
|
289 |
+2.Click the drop-down menu and select EtherNet/IP driver[[image:2.png]] |
|
290 |
+ |
|
291 |
+3.Click Add New and a pop-up window will pop up. Name the driver and click [OK] in the pop-up window.[[image:3.png]] |
|
292 |
+ |
|
293 |
+4.The configuration driver window pops up., click on the correct network adapter option (such as the ASIX USB to Fast Ethernet Family Adapter option in this picture), and click OK |
|
294 |
+ |
|
295 |
+[[image:4.png]] |
|
296 |
+ |
|
297 |
+5.Click the [Close] button.[[image:5.png]] |
|
298 |
+ |
|
299 |
+6.Click the [RSWho] button.[[image:6.png]] |
|
300 |
+ |
|
301 |
+7.Pop up the RS Who window, indicating that the driver has been added successfully.[[image:7.png]] |
|
302 |
+ |
|
303 |
+8.Open the RSLogix 500Pro software and select [System Comms...] in the [Comms] option.[[image:8.jpg]] |
|
304 |
+ |
|
305 |
+9.Select the driver you have created. All device nodes in the same LAN as the computer will be scanned. Select the PLC to be connected and click [OK]. |
|
306 |
+ |
|
307 |
+[[image:9.png]] |
|
308 |
+ |
|
309 |
+10.Click Comms [Go Online].[[image:10.png]] |
|
310 |
+ |
|
311 |
+11.Click [YES] in the pop-up window.[[image:11.png]] |
|
312 |
+ |
|
313 |
+12.Enter online mode.[[image:14.jpg]] |
|
314 |
+ |
221 |
221 |
**Cable Wiring** |
222 |
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"]] |
|
317 |
+(% style="text-align:center" %) |
|
318 |
+[[image:Ethernet.png]] |
224 |
224 |
|
225 |
|
-== {{id name="HMicroLogix1200"/}}**MicroLogix 1200** == |
226 |
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. |
|
321 |
+== **Rockwell EtherNet/IP(CompactLogix Series)** == |
228 |
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). |
|
323 |
+Supported Series: Rockwell CompactLogix Series Ethernet |
233 |
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. |
|
325 |
+|**Items**|**Settings**|**Note** |
|
326 |
+|Protocol|Rockwell EtherNet/IP (CompactLogix Series)| |
|
327 |
+|Connection|Ethernet| |
|
328 |
+|Port No.|44818| |
|
329 |
+|PLC station No.|1| |
235 |
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 |
|
331 |
+**Support Variable Type** |
|
332 |
+ |
|
333 |
+|PLC data type|Bit/Word|PIStudio data format|Memo |
|
334 |
+|BOOL|Boolean|Bit object| |
|
335 |
+|BitArray| | | |
|
336 |
+|SINT| | |-128-127 |
|
337 |
+|USINT| | |0~~255 |
|
338 |
+|INT|Integer|16-bit signed, ASCll|-32768~~32767 |
|
339 |
+|UINT| | |0~~65535 |
|
340 |
+|DINT|Double integer|32-bit signed|-2^31~~(2^31-1) |
|
341 |
+|UDINT| | |0~~4294967295 |
|
342 |
+|REAL|Single Precision Float|32-bit floating| |
|
343 |
+|LINT|Long integer|64-bit signed| |
|
344 |
+|ULINT|Long integer|64-bit unsigned| |
|
345 |
+|LREAL|Double Precision Float|64-bit double| |
|
346 |
+|STRING| | |Enable Read DWord |
|
347 |
+ |
|
348 |
+**PLC Setting:** |
|
349 |
+ |
|
350 |
+1.Open the RSLinx Classic Lite software and click [Configure Drivers...] in [Communications]. |
|
351 |
+ |
|
352 |
+[[image:1726907484077-900.png]] |
|
353 |
+ |
|
354 |
+2.Click the drop-down menu and select EtherNet/IP driver |
|
355 |
+ |
|
356 |
+[[image:1726907484081-522.png]] |
|
357 |
+ |
|
358 |
+3.Click Add New and a pop-up window will pop up. Name the driver and click [OK] in the pop-up window. |
|
359 |
+ |
|
360 |
+[[image:1726907484084-295.png]] |
|
361 |
+ |
|
362 |
+4.The configuration driver window pops up., click on the correct network adapter option (such as the ASIX USB to Fast Ethernet Family Adapter option in this picture), and click [OK]. |
|
363 |
+ |
|
364 |
+[[image:1726907484085-985.png]] |
|
365 |
+ |
|
366 |
+5.Click the [Close] button |
|
367 |
+ |
|
368 |
+[[image:1726907484087-419.png]] |
|
369 |
+ |
|
370 |
+6.Open Stuido5000 and create a new project or open an existing project. |
|
371 |
+ |
|
372 |
+To create a new project: click [New Project]. |
|
373 |
+ |
|
374 |
+(% style="text-align:center" %) |
|
375 |
+[[image:1726907578613-886.png]] |
|
376 |
+ |
|
377 |
+7.Click the [1769-L16ER-BB1B]→ Edit Project Name → Select the file storage location → [Next] |
|
378 |
+ |
|
379 |
+(% style="text-align:center" %) |
|
380 |
+[[image:1726907578645-890.png]] |
|
381 |
+ |
|
382 |
+8. Select the software version →Select [Expansion I/O] number→ Security Authority → Click [Finish]. |
|
383 |
+ |
|
384 |
+The software version must be the same as the PLC firmware version, and the Security Authority protection should be selected according to personal needs. |
|
385 |
+ |
|
386 |
+(% style="text-align:center" %) |
|
387 |
+[[image:1726907578647-323.png]] |
|
388 |
+ |
|
389 |
+**~ Create a new tag** |
|
390 |
+ |
|
391 |
+1.Click the drop-down menu on the left of [Controller ABcs]→ Right-click [Controller Tags] → Click [New tag]. |
|
392 |
+ |
|
393 |
+[[image:1726907578648-590.png]] |
|
394 |
+ |
|
395 |
+2.Input tag name → Select tag type → Create |
|
396 |
+ |
|
397 |
+(% style="text-align:center" %) |
|
398 |
+[[image:1726907578652-543.png]] |
|
399 |
+ |
|
400 |
+Establishing communication |
|
401 |
+ |
|
402 |
+1.Click [Communications]→Click[Who Active]. |
|
403 |
+ |
|
404 |
+(% style="text-align:center" %) |
|
405 |
+[[image:6.jpg]] |
|
406 |
+ |
|
407 |
+2.Select the drive → Select the corresponding PLC →Click [Go Online]. |
|
408 |
+ |
|
409 |
+The driver is a new created driver from step 1.2 |
|
410 |
+ |
|
411 |
+(% style="text-align:center" %) |
|
412 |
+[[image:1726908219964-183.png]] |
|
413 |
+ |
|
414 |
+3.Click [Download] |
|
415 |
+ |
|
416 |
+(% style="text-align:center" %) |
|
417 |
+[[image:1726908219966-477.png]] |
|
418 |
+ |
|
419 |
+4.Click [Download]→ [YES]. |
|
420 |
+ |
|
421 |
+(% style="text-align:center" %) |
|
422 |
+[[image:1726908219968-250.png]] |
|
423 |
+ |
|
424 |
+ |
|
425 |
+(% style="text-align:center" %) |
|
426 |
+[[image:1726908219970-794.png]] |
|
427 |
+ |
|
428 |
+ |
|
429 |
+**Export Tags** |
|
430 |
+ |
|
431 |
+1.Click the drop-down menu on the left of [Controller ABcs]→Right-click [Controller Tags]→ Click [Export Tags]. |
|
432 |
+ |
|
433 |
+(% style="text-align:center" %) |
|
434 |
+[[image:11.jpg]] |
|
435 |
+ |
|
436 |
+2.Edit the tag file name → Select the file storage location → [Export]. |
|
437 |
+ |
|
438 |
+(% style="text-align:center" %) |
|
439 |
+[[image:1726908448582-442.png]] |
|
440 |
+ |
|
441 |
+ **HMI Setting:** |
|
442 |
+ |
|
443 |
+① [Project]→[Communication]→[Setting] |
|
444 |
+ |
|
445 |
+[[image:1726909065716-860.png]] |
|
446 |
+ |
|
447 |
+② Choose protocol: |
|
448 |
+ |
|
449 |
+ Device type [Rockwell]→[Rockwell EtherNet/IP(CompactLogix Series)]→[OK] |
|
450 |
+ |
|
451 |
+(% style="text-align:center" %) |
|
452 |
+[[image:1726909065723-657.png]] |
|
453 |
+ |
|
454 |
+③[Setting]→[PLC IP Address]→[OK]→[Labels manage]. |
|
455 |
+ |
|
456 |
+(% style="text-align:center" %) |
|
457 |
+[[image:1726909065724-657.png]] |
|
458 |
+ |
|
459 |
+④Tags import: |
|
460 |
+ |
|
461 |
+[Import Tags From File]→Choose the .CSV file→[Open]→[Save]→[OK] |
|
462 |
+ |
|
463 |
+(% style="text-align:center" %) |
|
464 |
+[[image:1726909065726-124.png]] |
|
465 |
+ |
|
466 |
+**Project making** |
|
467 |
+ |
|
468 |
+①Using PIStudio to program a HMI project depending on the requirements. |
|
469 |
+ |
|
470 |
+(% style="text-align:center" %) |
|
471 |
+[[image:1726909065727-501.png]] |
|
472 |
+ |
|
473 |
+②After programming[Compile], you can download the project into HMI when compilation complete. |
|
474 |
+ |
|
475 |
+[[image:1726909065727-109.png]] |