5/13/2020 8:49 AM | |
Joined: 4/28/2015 Last visit: 10/22/2024 Posts: 1278 Rating: (300) |
Hi, so it seems you want to use positioning inside the drive (EPOS function). You can do the absolute encoder adjustment from the PLC side by using a function block which is doing acyclic communication. See here: https://support.industry.siemens.com/cs/de/en/view/109760317 Other option is to use Technology objects of the SIMATIC to do position control - then the homing is anyway realized within the SIMATIC. |
Best regards, |
|
5/13/2020 9:59 AM | |
Joined: 4/28/2015 Last visit: 10/22/2024 Posts: 1278 Rating: (300) |
Exactly like this |
Best regards, |
|
5/13/2020 10:31 AM | |
Joined: 11/18/2019 Last visit: 2/2/2023 Posts: 10 Rating: (0) |
do you have download link for TIA 15.1 ? I did not find it Thanks |
5/13/2020 10:48 AM | |
Joined: 4/28/2015 Last visit: 10/22/2024 Posts: 1278 Rating: (300) |
Here it is (STEP7 and WinCC): https://support.industry.siemens.com/cs/ww/en/view/109761045 Here the Updates for STEP7 V15.1: https://support.industry.siemens.com/cs/de/en/view/109763890 And here for Startdrive including all updates (just in case you need it, not necessary for V90PN): https://support.industry.siemens.com/cs/de/en/view/109760845 Please note that TIA V15.1 is not the latest one (TIA V16 is the latest), but for your purpose V15.1 is fine. |
Best regards, |
|
12/14/2020 9:33 AM | |
Joined: 4/28/2015 Last visit: 10/22/2024 Posts: 1278 Rating: (300) |
Hi, the status in "diagId" (DE80B500) means that the slave is not ready for acyclic communication. So either the drive was just started and still needs a while after booting to be ready for this or the acyclic traffic on that axis is quite high so that some requests are denied. If you do this after startup, I would recommend to wait a little longer until you request the encoder adjustment. If that does not help there is also a second and even better option for acyclic communication. There is a library called "LAcycCom" which has a resource manager included. That resource manager FB can check the slaves and starts requesting it only when it is ready. Then you would need to program the parameter accesses by your own. (writing reference point, starting adjustment, copy ram to rom). Here would be the link: https://support.industry.siemens.com/cs/de/en/view/109479553 But I would try to keep using the Encoder Adjustment FB first, and just wait for a longer time or so. LAcycCom is the more complex solution. |
Best regards, |
|
This contribution was helpful to1 thankful Users |
Follow us on