4/22/2020 12:37 PM | |
Joined: 4/28/2015 Last visit: 2/27/2025 Posts: 1278 Rating:
|
Hmm...so you have 1 infeed plus 6 drives. From your explanation that it works in few cases this makes me believe that the drive load / communication load is very high and therefore some requests are declined by the drive. I think there are two options for improvement for you: 1. Using cyclic data transfer: Which parameters do you want to read / write from the drive? Maybe those parameters can all be read in a cyclic telegram extension. You can check the parameters. So if you want to see actual values like the voltage and so on I recommend anyway to use cyclic communication for monitoring instead of acyclic reading commands. Of course some parameters are only accessible via acyclic communication but from what I have seen so far you want to see some actual values and most of them can be read in a cyclic telegram. This brings the advantage that you will get the latest values in each communication cycle. Acyclic communication can be very slow especially with high load and this does not make sense for actual drive values like speed, current, voltage,... 2. Using LAcycCom library: If you really have parameters which cannot be read in a cyclic telegram and you really need to use acyclic communication I recommend to use the LAcycCom library when you have such a high load. This SIMATIC library contains blocks for reading and writing multiple parameters. And there is also a special FB called Resource Manager which handles all the read/write requests with the drive. This block collects all requests and then communicates to the drive in a way that it will also check whether the drive is accesible at the moment or not. So you do not need to take care of that by yourself. This is the big difference between SINA_PARA (I would say for simple one time requests with less load) and the LAcycCom (for more complex requests and loads). Here you find that lib: https://support.industry.siemens.com/cs/de/en/view/109479553 BUT: I would recommend always solution 1. Try that first - it is more easy and just the better way of communication. |
Best regards, |
|
This contribution was helpful to
2 thankful Users |
4/22/2020 7:00 PM | |
Joined: 1/2/2018 Last visit: 2/20/2025 Posts: 13 Rating:
|
Ok, so following this guide is a good advice: SIMATIC Manual DriveBasedFunctionalities 03/2019 (2,8 MB) I think for all function blocks to work you have to employ the LacycCom_ResourceManager and use the requestBuffer DB in the library (or create one yourself). |
This contribution was helpful to
1 thankful Users |
Follow us on