Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

µ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-Sto 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()

  • No labels