5/23/2024 6:59 AM | |
Joined: 10/7/2005 Last visit: 8/18/2024 Posts: 3016 Rating:
|
Hi Sandip_BD ideally you upload a screenshot that shows the TEMP variable declaration together with the STL code in NW1 and also a call of that FC or FB. In absence of this, I'll hazard a guess though and say
If so, your STL code takes the Input address of the first PKW, converts it into S7 pointer format (SLD3), loads the Drives Status Word (P#8.0 offset to point to the first PZD word), stores it in TEMP variable #StatusWord and then checks two bits from the Status word by directly accessing L#x.y from the #StatusWord Temp variable. EDIT: Gustavo beat me to the answer, need to learn to type faster, but we are at laest in agreement |
Last edited by: fritz at: 05/23/2024 07:03:21Cheers |
|
Follow us on