VAL_WriteAxesGroup
The function block VAL_WriteAxesGroup writes data into the communication interface. It should be called at the end of a robot’s program.
Syntax
Definition:
FUNCTION_BLOCK VAL_WriteAxesGroup
VAR_INPUT
Enable : BOOL := FALSE;
OutputAddress : POINTER TO T_ToRobot;
END_VAR
VAR_OUTPUT
Error : BOOL := FALSE;
ErrorID : UDINT := 0;
END_VAR
VAR_IN_OUT
AxesGroup : T_StaeubliRobot;
END_VAR
Inputs
Name | Type | Description |
|---|---|---|
Enable | BOOL | TRUE = Content of the FB is executed |
OutputAddress | POINTER TO T_ToRobot | Base address of the Outputs within the IO interface with a robot. Use 'ADR' operator for setting this input of the function block. |
Outputs
Name | Type | Description |
|---|---|---|
Error | BOOL | Error flag |
ErrorID | UDINT | Error code |