Thanks for the quick response.
I will try it with the statement handler first!
I’am trying a virtual commissioning of a production cell with an ABB-Robot.
For communication between the robot and the PLC, I created the required DI/DO’s as boolean signal behavior and then connected them to the corresponding ports of the boolean map using a Python script.
This works fine for a SetBinaryOutput statement in the program editor.
My problem: In the original robot program, however, I also have to query the digital output in an if statement.
I also thought about only using a boolean property for this task, so I can reference the property in an expression for the if statement but also set the value with the AssignVariable statement.
In this case my question is:
Is there a difference between pairing a boolean property and a boolean signal behavoir with the corresponding ports of the PLC?
Is it possible to create a wait statement that is evaluating more then one digital input? Is there some work around?
I have to do something like this:
WaitUntil digInput1==False OR digInput2==True
Please excuse my bad English.