Configuration of µC/Modbus is done at compile time via about 20 #define
constants. Configuration values are found in mb_cfg.h
which should be placed in your product’s directory or, you can copy the #define
constants in a header file of your choice. It’s recommended that you copy the mb_cfg.h
file that is provided with the µC/Modbus distribution, and modify its content instead of creating mb_cfg.h
from scratch. This way you have a better chance of not forgetting any #define
constants. Default values are shown in RED.
Table of Contents |
---|
Configuring µC/Modbus, MODBUS_CFG_SLAVE_EN
...