 |
plc.myforum.ro PLCs users www.plc.myforum.ro!
|
| View previous topic :: View next topic |
| Author |
Message |
gert Member 3


Joined: 02 Jan 2015 Posts: 645
|
Posted: 28/02/2018 15:59 Post subject: Connecting SLC 5/05 or MicroLogix to Comfort Panels |
|
|
How do you optimize performance when connecting a controller of the Allen-Bradley "SLC 5/05" or "MicroLogix" type to a SIMATIC Comfort Panel or the WinCC (TIA Portal) Advanced Runtime?
https://support.industry.siemens.com/cs/document/109475773/
Procedure
| Code: | The measures given below atenuează the overhead in communication between the operator panels and the Allen-Bradley controllers, through which you achieve a maximum effective data rate.
Refer here also to the TIA Portal and RSLogix500 projects available for downloading, in which examples are given for the relevant configurations.
HMI messages
Bit messages:
Configure the bit messages (Errors and Warnings) continuously as far as possible with a minimum of arrays. The same holds for the HMI acknowledge tag of bit messages (Errors).
An example is given in the attached TIA project under "HMI Messages" and "HMI Tags" in the "Alarms" folder.
HMI tags
The communication load is reduced in that the Runtime groups the tasks to the controllers in as few messages as possible.
Words:
Configure the controller memory addresses of separate words (B and N files) as close together as possible and in the same data file.
Example: Screen "Word Tags" "HMI Tags" in the "Word Tags" folder in the attached TIA project
Float (double-words):
Configure the controller memory addresses of separate elements in F files as close together as possible and in the same data file.
Example: Screen "Float Tags" and "HMI Tags" in the "Float Tags" folder in the attached TIA project
Bits:
Configure as few single bits as possible (BOOL data type). Instead, configure words and double-words so that they are close together in the controller data file.
The functions "InvertBitInTag", "ResetBitInTag" and "SetBitInTag" are to be used in preference to the functions "InvertBit", "ResetBit" and "SetBit".
Example: Screens "Bits" and "ChangeBitInTag" and "HMI Tags" in the folders "BitInTags" and "TagsForBits" in the attached TIA project
Note
If the controller memory addresses used are processed by both the operator panel and the controller, make sure that the functions "InvertBitInTag", "ResetBitInTag" and "SetBitInTag" work by ReadModifyWrite.
This means that the word or double-word is first read into the operator panel, then changed and finally written to the controller. If the controller changes its value in the meantime, this change is overwritten. This might lead to errors.
Reading tags continuously:
If possible, avoid configuring tags with the acquisition type "Cyclic-continuous", because this permanently impairs performance.
Array elements:
The use of individual array elements as process tags in IO fields is not supported with the "Allen-Bradley Ethernet/IP" communication driver when you select the CPU types "SLC, MicroLogix". Therefore you cannot improve performance in this way. Arrays are supported in the case of bit messages (Errors and Warnings) and bit-triggered trends.
Scripts
Scripts in screens:
Process tags used in scripts are updated with their acquisition cycle as soon as a screen is opened in which the script concerned is incorporated (via a button, for example). These updates might generate a high data load under circumstances.
Scripts in tasks:
Process tags used in tasks in scripts are updated continuously with their acquisition cycle. They behave as if configured with the acquisition type "Cyclic-continuous".
Recommendation: Place as many calculations and other tasks as possible in the controller and only read out the results on the operator panel.
Archives
As far as possible configure the archives with the "segmental circular log" archiving method and avoid the "circular log" archiving method.
PLC program
The controller types SLC 5/05 and MicroLogix support the command "SVC" [Service Communications]. In this way the "Communication" service is executed in addition during the unfinished controller cycle. This speeds up the processing of requests and tasks of the operator panel by the controller.
It is imperative to refer here to the descriptions and notes of the controller manufacturer.
Example: In the attached Allen-Bradley controller program the command has been integrated for better understanding. The "SVC" command is effective in special when the controller program used has a high cycle time. The cycle time in the attached controller program is still too short to recognize the effects of the "SVC" command.
|
Downloads
ExampleProject_SLC5_05_V15.zip (7,0 MB)
https://support.industry.siemens.com/cs/attachments/109475773/109475773_ExampleProject_SLC5_05_V15.zip
AB_Communication_RS_Logix.zip (18,7 KB)
https://support.industry.siemens.com/cs/attachments/109475773/109475773_AB_Communication_RS_Logix.zip |
|
| Back to top |
|
 |
Hardeepreddy Junior 2

Joined: 03 Nov 2019 Posts: 49
|
Posted: 09/09/2020 14:30 Post subject: |
|
|
| Hi! I am trying to communicate siemens hmi with AB Micro850 PLC, looking for help as I've never done it before, can someone guide me on the settings to establish communication? |
|
| Back to top |
|
 |
nobodyspecial Junior 2

Joined: 26 Oct 2018 Posts: 21
|
Posted: 20/09/2020 04:22 Post subject: |
|
|
I feel your pain... not sure how you got apples and oranges and decided to make pineapple juice. I am guessing a cheap customer or boss...
here you go...
[url]https://support.industry.siemens.com/tf//WW/en/posts/siemens-tp1500-to-rockwell-micro850-plc-via-ethernet-ip/143033?page=0&pageSize=10[/url] |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|