ETHx_MOD_CONFIG (FB)

FUNCTION_BLOCK ETHx_MOD_CONFIG

Configuration Modbus TCP

InOut:

Scope

Name

Type

Initial

Comment

Input

EN

BOOL

FALSE

Enable function block by FALSE->TRUE edge

RESP_TIMEOUT

WORD

DEFAULTS.CONFIG_RESPONSE_TIME

Slave response timeout in ms. Maximum time waiting for a response after having sent a request

KEEP_ALIVE

DWORD

DEFAULTS.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_ORDER

CAA.ENDIANESS

DEFAULTS.CONFIG_BYTE_ORDER

Endianess of data, little or Big Endian; Modbus Standard is Big Endian

PORT

WORD

DEFAULTS.CONFIG_PORT

TCP Port

Output

DONE

BOOL

FALSE

Execution is finished when set to TRUE

ERR

BOOL

FALSE

Error occured during execution when set to TRUE

ERNO

WORD

0

Code of error occured during execution