IoDrvModbusTCPSlave (FB)ΒΆ
FUNCTION_BLOCK IoDrvModbusTCPSlave EXTENDS IoDrvBase IMPLEMENTS ICmpIoDrvParameter
This function block is generated for each Modbus TCP slave device in the device tree.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnableBOOLTRUE
TRUE : start operation, open socketsOutput
xOnlineBOOLTCP Port opened, ready for receiving request.
xInternalErrorBOOLFALSE
Unrecoverable internal error (e.g. if mem-alloc fails or no license)
ErrorCodeUDINTerror code
PortUINTPort Number
uiClientConnectionsUINTnumber of currently established client connections (TCP/IP)
xTimeoutBOOLTimeout (if configured) expired. Holding Registers and Coils are set to zero.
Properties:
Methods:
Structure: