I would like to get your direction for the LB Edit in CEE Mode, in "Eixts" we have "If Condition", seems we can only add one "If condition", is it possible to add another "If condition" or "Else"?
such as below LB:
"If condition" siganl_1=true, "Value Expression" signal_2=1;
"If Condition" signal_1=False, "Value Expression" signal_2=2;
how to make it come true?
Solved! Go to Solution.
Actually I have not possible solution to use the IF condition for your case in a LB.
But, maybe you can work with modules.
Maybe someone else has a solution for implementation in LB.
Thanks for your direction, I have made it came true trough module edit as you showed below.
since I am a new student for Process simulate
I just want to learn from your side what is different between "LB" and "Module Edit", I thought in CEE mode, LB more seems like "PLC program" but now seems "Module" more seems like "PLC program"
Modules in PS are like PLC Program.
A LB is very helpful if you want to put some logical control into a resource.
Just create a simple kinematics e.g. a clamp, define two poses (OPEN/CLOSE) and run the command "Automatic Action/Sensor Creation".
It creates a LB with entries, exists, sensors and the actions. You only need to connect some signals.
You can use a LB independent from a resource as well.
It depends on the use case and what you want to achieve.