Chapter 2. API Reference
• CONFIG_FMB_TIMER_ISR_IN_IRAM
• CONFIG_FMB_SERIAL_ASCII_TIMEOUT_RESPOND_MS
• CONFIG_FMB_MASTER_DELAY_MS_CONVERT
• CONFIG_FMB_MASTER_TIMEOUT_MS_RESPOND
• CONFIG_FMB_TIMER_GROUP
• CONFIG_FMB_TIMER_INDEX
CONFIG_FMB_COMM_MODE_TCP_EN
Enable Modbus stack support for TCP communication mode
Found in: Component config > Modbus configuration
Enable Modbus TCP option for stack.
Default value:
• Yes (enabled)
CONFIG_FMB_TCP_PORT_DEFAULT
Modbus TCP port number
Found in: Component config > Modbus configuration > CONFIG_FMB_COMM_MODE_TCP_EN
Modbus default port number used by Modbus TCP stack
Range:
• from 0 to 65535
Default value:
• 502
CONFIG_FMB_TCP_PORT_MAX_CONN
Maximum allowed connections for TCP stack
Found in: Component config > Modbus configuration > CONFIG_FMB_COMM_MODE_TCP_EN
Maximum allowed connections number for Modbus TCP stack. This is used by Modbus master and
slave port layer to establish connections. This parameter may decrease performance of Modbus stack
and can cause increasing of processing time (increase only if absolutely necessary).
Range:
• from 1 to 6
Default value:
• 5
CONFIG_FMB_TCP_CONNECTION_TOUT_SEC
Modbus TCP connection timeout
Found in: Component config > Modbus configuration > CONFIG_FMB_COMM_MODE_TCP_EN
Modbus TCP connection timeout in seconds. Once expired the current connection with the client will
be closed and Modbus slave will be waiting for new connection to accept.
Range:
• from 1 to 3600
Default value:
• 20
Espressif Systems 1140
Submit Document Feedback
Release v4.4