FORCE in ControlBuilder M 5.1
Using Bool IO Datatype, im trying to control the Hardware..
To be Precise, I’m trying to force the Hardware from HMI.
With the help of attached logic, I’m able to “FORCE” the Hardware and also I’m able to release it. But the problem is, using this logic if i control the hardware then I’m not able to force it from Hardware.
I need to meet 2 requirements:
1) Forcing of Hardware should be possible using a local variable defined in Application (This local Variable will be called in HMI to control the Hardware)
2) Because of this logic, direct Forcing from Hardware should not be affected.
Has any one done like this..Any Suggestions?
Answers
You could try using a "move" function block with the EN (Enable) parameter. Only when the EN parameter is active the move block will execute the action (write true or false to the "Force" variable).
regards,
Michael
"Forced" can be set by the Application Program or by the HMI.
The simplest and most common way is simply to write directly to BoolIO.Forced - Do not use an intermediate variable. You can also write directly to BoolIO.Forced from a faceplate or other operator input field on the HMI.
This will also set the Forced indication in the hardware window of Control Builder M.
If Forced is true, enable the operator entry of "Value" or "IOValue".
Add new comment