ComGetCaaSerialComConfig (FB)
FUNCTION_BLOCK ComGetCaaSerialComConfig EXTENDS AbbETrig
Obtain configuration data of project for a specified COM port in CAA SerialCom compatible format
- InOut:
Scope
Name
Type
Initial
Comment
Input
ComIDCOM_PORT_IDCOM_PORT.COM_ID_INVALID
COM port ID: Use ComGetIdByName() to get the COM port ID for a serial device as shown in the configuration device tree
pCaaParamListPOINTER TO Serial_Communication.COM.PARAMETER
0
Where configuration data will be written to
NumParamsUINT0
Number of available elements in pasCaaParamList
Output
ErrorIDERROR_ID.NO_ERROR
Error code describing error condition