Chapter 2. API Reference
CONFIG_FMB_COMM_MODE_RTU_EN
Enable Modbus stack support for RTU mode
Found in: Component config > Modbus configuration
Enable RTU Modbus communication mode option for Modbus serial stack.
Default value:
• Yes (enabled)
CONFIG_FMB_COMM_MODE_ASCII_EN
Enable Modbus stack support for ASCII mode
Found in: Component config > Modbus configuration
Enable ASCII Modbus communication mode option for Modbus serial stack.
Default value:
• Yes (enabled)
CONFIG_FMB_MASTER_TIMEOUT_MS_RESPOND
Slave respond timeout (Milliseconds)
Found in: Component config > Modbus configuration
If master sends a frame which is not broadcast, it has to wait sometime for slave response. if slave is not
respond in this time, the master will process timeout error.
Range:
• from 50 to 3000
Default value:
• 150
CONFIG_FMB_MASTER_DELAY_MS_CONVERT
Slave conversion delay (Milliseconds)
Found in: Component config > Modbus configuration
If master sends a broadcast frame, it has to wait conversion time to delay, then master can send next
frame.
Range:
• from 50 to 400
Default value:
• 200
CONFIG_FMB_QUEUE_LENGTH
Modbus serial task queue length
Found in: Component config > Modbus configuration
Modbus serial driver queue length. It is used by event queue task. See the serial driver API for more
information.
Range:
• from 0 to 200
Default value:
• 20
Espressif Systems 1141
Submit Document Feedback
Release v4.4