/
MB_Init()
MB_Init()
As mentioned in the previous section, MB_Init()
needs to be called to initialize µC/Modbus. When called, MB_Init()
creates one task that handles processing of all frames sent to your product. See section 7 for details.
Prototype
void MB_Init (CPU_INT32U freq);
Arguments
freq
corresponds to the RTU timer interrupt frequency you intend to use. If you don’t use Modbus RTU in your product, simply pass 0
.
Returned Value
None
Notes / Warnings
None
Called By
Your Modbus master or slave application.
Related content
MB_CfgCh()
MB_CfgCh()
More like this
MB_Exit()
MB_Exit()
More like this
Using µC/Modbus
Using µC/Modbus
More like this
µC/Modbus Architecture
µC/Modbus Architecture
More like this
Configuring µC/Modbus
Configuring µC/Modbus
More like this
MB_InRegRd()
MB_InRegRd()
More like this