06-30-2023 09:22 AM
I am confused about using of home position conditions for pneumatic cylinders in OnApplyOutputs of Command handler units.
In some project people use BinIO.xxx and in other (e.g. DigitalMachine) there is Unit.OutImm.IsInBas(Wrk)Pos. What is the right usage?
My opinion:
Solved! Go to Solution.
07-03-2023 03:13 PM
I agree. For conditions in the HMI (release of manual function or operation mode) you should use BinIo instead of BasMove OutImm.
I am looking forward to the next releases. It is planned to replace variables with the BMK (item designator) and its HMI text. This solution will cover both BasMove and axis/robot positions etc.
OES and CpStudio until V5.7:
New view (without any change in code or CpStudio):
For subtrees you have to put a CASE InstIdx around IsInHomePosition (this must be done manually):