/
µC/Modbus-S, Accessing Application Data
µC/Modbus-S, Accessing Application Data
µC/Modbus-Saccesses your application data via interface functions that are defined in mb_data.c
. Specifically, functions that YOU provided in this file are called by µC/Modbus-S to read and write coils, integers, floating-point values and more. It’s up to you to decide how your data is accessed. Specifically, you can use tables, functions, switch
statements, etc. Examples are provided in this section. This flexibility also allows you to execute code whenever a data is read or written.
You must thus write the code for the following functions:
MB_CoilRd()
MB_CoilWr()
MB_DIRd()
MB_InRegRd()
MB_InRegRdFP()
MB_HoldingRegRd()
MB_HoldingRegRdFP()
MB_HoldingRegWr()
MB_HoldingRegWrFP()
MB_FileRd()
MB_FileWr()
, multiple selections available,
Related content
Directories and Files
Directories and Files
Read with this
MBM_FC02_DIRd() - Modbus-M
MBM_FC02_DIRd() - Modbus-M
More like this
Board Support Package (BSP)
Board Support Package (BSP)
Read with this
MBM_FC01_CoilRd() - Modbus-M
MBM_FC01_CoilRd() - Modbus-M
More like this
Using µC/Modbus
Using µC/Modbus
Read with this
µC/Modbus Architecture
µC/Modbus Architecture
More like this