FB_CxGetDeviceIdentificationEx
The function block FB_CxGetDeviceIdentificationEx can be used to read device ID data of the CX. The function block is an extension of the function block FB_CxGetDeviceIdentification. The read device data are stored in the variable stDevIdent of type ST_CxDeviceIdentificationEx.
Obsolete functionality
|
Inputs
VAR_INPUT
bExecute : BOOL;
tTimeout : TIME;
END_VAR
Name | Type | Description |
---|---|---|
bExecute | BOOL | The command is executed with a rising edge. |
tTimeout | TIME | States the time before the function is canceled. |
Outputs
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
nErrorId : UDINT;
stDevIdent : ST_CxDeviceIdentificationEx;
END_VAR
Name | Type | Description |
---|---|---|
bBusy | BOOL | The data are read from the CX. After error-free execution, the data are in the structure stDevIdent if bBusy = FALSE. |
bError | BOOL | Becomes TRUE, as soon as an error occurs. |
nErrorID | UDINT | Supplies the error number when the bError output is set. |
stDevIdent | ST_CxDeviceIdentificationEx | Contains the read device data (type: ST_CxDeviceIdentificationEx) |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1 | CX (WES7/Win7/Win10: TC RT x86/x64, WEC6/7 :TC TR x86, WEC7: TC CE7 ARMV7) | Tc2_SystemCX |