ModbusSerialDeviceDiag
(FB)
FUNCTION_BLOCK ModbusSerialDeviceDiag EXTENDS CAADiagDeviceDefault
An instance of this function block function block is generated for each serial Modbus Server device in the device tree.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnable
BOOL
TRUE
TRUE : start operation, open Com-PortOutput
xOnline
BOOL
Com Port opened, receives data
xBusy
BOOL
operating
xInternalError
BOOL
FALSE
ComPort errors or licence not ok
ErrorCode
UDINT
error code