5/8/2025 12:29 PM | |
Joined: 1/2/2014 Last visit: 8/25/2025 Posts: 160 Rating:
|
Dear Experts I am stuck with STL Loop on PLC Sim. My logic is working but labels CD14/12/10/8/6/4/2 are not responsing or nor creating any output. Logic is to select one of the input based on the quality bit. All those logics are working well. Issue is with the even numbered labels are not working. Can any one help? Attachment0508_STL Loop.txt (133 Downloads) |
Last edited by: Moderator_Lan at: 05/08/2025 12:38:10Code attached / Image embedded |
|
5/10/2025 3:13 PM | |
Joined: 1/2/2014 Last visit: 8/25/2025 Posts: 160 Rating:
|
Update. I have found solution after continuous testing. The logic was right but for some reason LAR1 and LAR2 was filled up with some other value when loop was decremented or something related to that. Hence i modified the logic to point the LAR1/2 right value just before the loop decrement command. That solved the issue. L #Point_to; LAR2 ; L #Point_to_1; LAR1 ; The attached file can be used to read the healthy analog input from the redundant analog modules by checking the quality bit of each modules. it can be more optimized may be by experts. My set up is using ET200 SP HA redundancy modules in connection with S7 410E (NOT PCS7 using with Simatic manager) AttachmentFB141.txt (121 Downloads) |
Follow us on