Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I've tried using the SMC3_BrakeControl function block to control the brake, but unfortunately, it's not functioning as expected. Despite setting the appropriate parameters and inputs, the brake control does not operate correctly. Any insights or suggestions on resolving this issue would be greatly appreciated.
STATE_MANUAL.UNLOCK_BRAKE:
IF Button_release_brake THEN
GVL.drum1_Control_Brake:=TRUE;
FBA.T11_ContBrake.bExecute := TRUE;
GVL.manual_state := STATE_MANUAL.WAIT_FOR_BRAKE_RELEASE;
END_IF
STATE_MANUAL.WAIT_FOR_BRAKE_RELEASE:
IF FBA.T11_ContBrake.bDone THEN
FBA.T11_ContBrake.bExecute := FALSE;
GVL.manual_state := STATE_MANUAL.WAIT_START_BUTTON;
END_IF
Last edit: hanoues 2024-04-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've tried using the SMC3_BrakeControl function block to control the brake, but unfortunately, it's not functioning as expected. Despite setting the appropriate parameters and inputs, the brake control does not operate correctly. Any insights or suggestions on resolving this issue would be greatly appreciated.
STATE_MANUAL.UNLOCK_BRAKE:
IF Button_release_brake THEN
GVL.drum1_Control_Brake:=TRUE;
FBA.T11_ContBrake.bExecute := TRUE;
GVL.manual_state := STATE_MANUAL.WAIT_FOR_BRAKE_RELEASE;
END_IF
STATE_MANUAL.WAIT_FOR_BRAKE_RELEASE:
IF FBA.T11_ContBrake.bDone THEN
FBA.T11_ContBrake.bExecute := FALSE;
GVL.manual_state := STATE_MANUAL.WAIT_START_BUTTON;
END_IF
Last edit: hanoues 2024-04-08