FB_GetAllLogicSources_V2

This function block queries the 'Logic sources' defined in the Artist device.
Inputs
VAR_INPUT
bExecute : BOOL;
END_VAR
Name | Type | Description |
---|---|---|
bExecute | BOOL | The function block is enabled by a positive edge at this input. |
Outputs
VAR_OUTPUT
eRRCS_ErrorCode : E_RRCS_ErrorCodes
bBusy : BOOL;
bError : BOOL;
nStatusCode : UINT;
nLogicSourceCount : UINT
aLogicSources : ARRAY[ ] OF ST_LogicSource
END_VAR
Name | Type | Description |
---|---|---|
eRRCS_ErrorCode | Error code received from RRCS_Servers. | |
bBusy | BOOL | Is TRUE as long as the function block is busy with the query and no error occurs. |
bError | BOOL | Is TRUE if an error occurred during the query. |
nStatusCode | UINT | Servers deliver the status code as a response to every HTTP request. |
nLogicSourceCount | UINT | The number of 'Logic Sources' defined in the Artist device. |
aLogicSources | ARRAY[ ] OF ST_LogicSource | Listing of all defined 'Log Sources' in the form of an array. |
FB_GetAllLogicSources_V2 has an extended FB_init method in which an instance of FB_RRCScom must be referenced using a pointer:
VAR
fbGetAllLogicSources_V2: FB_GetAllLogicSources_V2(pfbRRCscom := ADR(fbRRCScom));
END_VAR