VAL_ReadAxesGroup
FUNCTION_BLOCK VAL_ReadAxesGroup
This function block initializes the values of the interface data block by reading the inputs of the communication interface. It provides the data for the other blocks of the library. It must be called as the first network of a robot’s program.
Syntax
Definition:
FUNCTION_BLOCK VAL_ReadAxesGroup
VAR_INPUT
Enable : BOOL := FALSE;
InputAddress : POINTER TO T_FromRobot;
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 |
InputAddress |
POINTER TO T_FromRobot |
Base address of the Inputs 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 |