VAL_SafeBrakeTest
FUNCTION_BLOCK VAL_SafeBrakeTest
Applicable for CS9 controller only |
This function blocks commands a test of all the brakes of the connected robot.
For futher details about CS9 safety features, please consult 'CS9 Safety Manual'
Syntax
Definition:
FUNCTION_BLOCK VAL_SafeBrakeTest
VAR_INPUT
Execute : BOOL := FALSE;
END_VAR
VAR_OUTPUT
Busy : BOOL := FALSE;
Done : BOOL := FALSE;
Error : BOOL := FALSE;
ErrorID : UDINT := 0;
BrakeStatus : ARRAY [0..5] OF INT;
END_VAR
VAR_IN_OUT
AxesGroup : T_StaeubliRobot;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
Execute | BOOL | Rising edge triggers function execution |
Outputs
Name | Type | Description |
---|---|---|
Busy | BOOL | Set when function block is executing. Reset when Done or Error is set |
Done | BOOL | This output is set when function block has terminated with success |
Error | BOOL | This output is set when function block has terminated with error |
ErrorID | UDINT | Error code |
BrakeStatus | ARRAY [0..5] OF INT | Result of the brake test for each axis |