GermanM Posted October 17 Report Share Posted October 17 I would like to know if the switch case statement can run more than one single case at the same time. I don't have access to the PLC right now to test it. My idea is to build a switch case to store a value into a Tag depending on the control of the switch case: If Value is 1: Store Apple in Tag1 If Value is 0: Store Orange in Tag1 If Value is 1: Store 100 in Tag2 If Value is 0 Store 50 in Tag2 In case the control value is 1, Tag1=Apple and Tag2=100 Thank you! Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted October 17 MVP 2022 Report Share Posted October 17 Only one action per Case ID is definable. You'd have to make a small function with what you want to do and call it. Joe T. Quote Link to comment Share on other sites More sharing options...
GermanM Posted October 17 Author Report Share Posted October 17 Ok, I see... Thank you ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.