ETHx_MOD_CONFIG (FB)
FUNCTION_BLOCK ETHx_MOD_CONFIG
Configuration Modbus TCP
- InOut:
Scope
Name
Type
Initial
Comment
Input
ENBOOLFALSE
Enable function block by FALSE->TRUE edge
RESP_TIMEOUTWORDDEFAULTS.CONFIG_RESPONSE_TIME
Slave response timeout in ms. Maximum time waiting for a response after having sent a request
KEEP_ALIVEDWORDDEFAULTS.CONFIG_KEEP_ALIVE
- Open Modbus Time in ms. A connection to a Server stays open after sending a request
until the time is expired. If there is another request within this time, the timer is restarted. On expiration the connection is closed.
BYTE_ORDERCAA.ENDIANESSDEFAULTS.CONFIG_BYTE_ORDER
Endianess of data, little or Big Endian; Modbus Standard is Big Endian
PORTWORDDEFAULTS.CONFIG_PORT
TCP Port
Output
DONEBOOLFALSE
Execution is finished when set to TRUE
ERRBOOLFALSE
Error occured during execution when set to TRUE
ERNOWORD0
Code of error occured during execution