9/4/2019 8:30 AM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating: (1054)
|
hi, process image of Inputs is updated before OB1 and PI of outputs is updated after OB1. When you want to program it in OB38 you need to control it undependend from PI. You can use a Part Process Image(PIP) that can be updatedwith OB38, or you control the I/Os directly with peripherial access or SFC. Peripherial access is e.g. PIB(peripherial input byte) or PQB(peripherial output byte. You can also access words an double-words(PIW/PQW/PID/PQD). Bits can not be accessed in that what. The SFC´s that are mentioned before are DPRD_DAT/DPWR_DAT(SFC14/15). With this functions you can read or write the I/O´s of peripherial devices at the time the function is executed. Step7-help explaines how they work. Also this manual shows you the functions, chapter 16.5/16.6: System Software for S7-300/400 System and Standard Functions Volume 1 and Volume 2 hope this helps, regards, |
FCK WAR! |
|
9/10/2019 7:53 AM | |
Joined: 9/8/2016 Last visit: 6/29/2024 Posts: 198 Rating: (10) |
Hello 8Noodles, I have not opportunity to test it on the plant. For sure will come back here with the results. |
9/15/2019 8:55 AM | |
Joined: 9/8/2016 Last visit: 6/29/2024 Posts: 198 Rating: (10) |
Update. It seems that it is working like it should. Thank you for help. |
Follow us on