Chapter 2. API Reference
Range:
• from 3 to 23
Default value:
• 10
CONFIG_FMB_PORT_TASK_AFFINITY
Modbus task affinity
Found in:
Component config
Allows setting the core affinity of the Modbus controller task, i.e. whether the task is pinned to particular
CPU, or allowed to run on any CPU.
Available options:
• No affinity (FMB_PORT_TASK_AFFINITY_NO_AFFINITY)
• CPU0 (FMB_PORT_TASK_AFFINITY_CPU0)
• CPU1 (FMB_PORT_TASK_AFFINITY_CPU1)
CONFIG_FMB_CONTROLLER_SLAVE_ID_SUPPORT
Modbus controller slave ID support
Found in:
Component config
Modbus slave ID support enable. When enabled the Modbus <Report Slave ID> command is supported
by stack.
Default value:
• Yes (enabled)
CONFIG_FMB_CONTROLLER_SLAVE_ID
Modbus controller slave ID
Found
in:
FIG_FMB_CONTROLLER_SLAVE_ID_SUPPORT
Modbus slave ID value to identify modbus device in the network using <Report Slave ID> command.
Most significant byte of ID is used as short device ID and other three bytes used as long ID.
Range:
• from 0 to 4294967295
Default value:
•"0x00112233"
CONFIG_FMB_CONTROLLER_NOTIFY_TIMEOUT
Modbus controller notification timeout (ms)
Found in:
Component config
Modbus controller notification timeout in milliseconds. This timeout is used to send notification about
accessed parameters.
Range:
• from 0 to 200
Default value:
• 20
Espressif Systems
>
Modbus configuration
>
Modbus configuration
Component
config
>
Modbus configuration
1143
Submit Document Feedback
>
Modbus
configuration
>
CON-
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?