Modbus Master Library for rapidM2M hardware platforms and devices.
See What the Microtronics Modbus Master Library offers for details.
Interfaces of the device that can be used for Modbus Master communication
MBM Interface Configuration Bits (Bitmask) for serial interfaces
Modbus operating modes
Modbus read function codes
Modbus write function codes
Current operation state of the MBM interface
Possible responses to a Modbus R/W operation
Information extracted from a "OK Response"
Information extracted from a "Exception response"
Information extracted from a "Timeout response"
Information extracted from a "CRC-error response"
Possible data types / Byte orders
Initialize the MBM interface in RTU or ASCII mode
Send a read request to a Modbus slave
Write data to a Modbus slave
Closes a MBM interface
Get the current operation state of the MBM interface
Called every time when
Extracts the information from a "Response Ok"
Extracts the information from a "Exception response"
Extracts the information from a "Timeout response"
Extracts the information from a "CRC-error response"
Function to write a single value to a data buffer, which then can be sent to a Modbus slave using the "MBM_Write" function.
Function to extract a single value from the "payload{}" data buffer contained in the TMBM_Ok_Response structure after data was received from the modbus slave device.
IO Controller Ready (Callback for C3_Init() used in MBM_Init())
IO Controller System Values are available (Callback for IOCtrl_GetSysValues())
Interfaces of the device that can be used for Modbus Master communication
MBM Interface Configuration Bits (Bitmask) for serial interfaces
Modbus operating modes
Modbus read function codes
Modbus write function codes
Current operation state of the MBM interface
Possible responses to a Modbus R/W operation
Information extracted from a "OK Response"
Information extracted from a "Exception response"
Information extracted from a "Timeout response"
Information extracted from a "CRC-error response"
Possible data types / Byte orders
Initialize the MBM interface in RTU or ASCII mode
Send a read request to a Modbus slave
Write data to a Modbus slave
Closes a MBM interface
Get the current operation state of the MBM interface
Called every time when
Extracts the information from a "Response Ok"
Extracts the information from a "Exception response"
Extracts the information from a "Timeout response"
Extracts the information from a "CRC-error response"
Function to write a single value to a data buffer, which then can be sent to a Modbus slave using the "MBM_Write" function.
Function to extract a single value from the "payload{}" data buffer contained in the TMBM_Ok_Response structure after data was received from the modbus slave device.
IO Controller Ready (Callback for C3_Init() used in MBM_Init())
IO Controller System Values are available (Callback for IOCtrl_GetSysValues())
Serial interfaces of the device that can be used for Modbus Master communication
MBM Interface Configuration Bits (Bitmask)
Modbus operating modes
Modbus read function codes
Modbus write function codes
Current operation state of the MBM interface
Possible responses to a Modbus R/W operation
Information extracted from a "OK Response"
Information extracted from a "Exception response"
Information extracted from a "Timeout response"
Information extracted from a "CRC-error response"
Possible data types / Byte orders
Initialize the MBM interface in RTU or ASCII mode
Send a read request to a Modbus slave
Write data to a Modbus slave
Closes a MBM interface
Get the current operation state of the MBM interface
Called every time when
Extracts the information from a "Response Ok"
Extracts the information from a "Exception response"
Extracts the information from a "Timeout response"
Extracts the information from a "CRC-error response"
Function to write a single value to a data buffer, which then can be sent to a Modbus slave using the "MBM_Write" function.
Function to extract a single value from the "payload{}" data buffer contained in the TMBM_Ok_Response structure after data was received from the modbus slave device.
LAN Setup structure for Modbus TCP
Initialize the MBM interface in TCP mode
Closes a MBM interface in TCP mode
Modbus TCP events
Optional Eventhandler that is called if a TCP related event occurs.
Connect to a Modbus TCP slave and handle reconnections if required
Disconnect from Modbus TCP slave
Get current TCP Connection State
LAN Setup structure for Modbus TCP
Initialize the MBM interface in TCP mode
Closes a MBM interface in TCP mode
Modbus TCP events
Optional Eventhandler that is called if a TCP related event occurs.
Connect to a Modbus TCP slave and handle reconnections if required
Disconnect from Modbus TCP slave
Get current TCP Connection State
Maximum Modbus message (PDU) size [bytes] (default = 256 bytes).
Time between R/W operations [ms] (default 100ms)
Maximum Modbus message (PDU) size [bytes] (default = 256 bytes).
Time between R/W operations [ms] (default 100ms)
Maximum Modbus message (PDU) size [bytes] (default = 256 bytes).
Time between R/W operations [ms] (default 100ms)
Function to configure the modbus interface
Function to initialize the modbus interface with the parameters set via MBM_DL_SetItfSettings. If MBM_DL_SetItfSettings wasn't called beforhand the interface will only be closed.
Function to close the modbus interface
Function to sample all configured modbus input channels
Function to set all configured modbus output channels
Function to check if a read or write action is active
Function to update the input configuration
Function to update the output configuration
Function to update the output values
Function to set a specific output value
Extension of CONC3_CH_DATA_x
Function to configure the modbus interface
Function to initialize the modbus interface with the parameters set via MBM_DL_SetItfSettings. If MBM_DL_SetItfSettings wasn't called beforhand the interface will only be closed.
Function to close the modbus interface
Function to sample all configured modbus input channels
Function to set all configured modbus output channels
Function to check if a read or write action is active
Function to update the input configuration
Function to update the output configuration
Function to update the output values
Function to set a specific output value
Extension of CONC3_CH_DATA_x
Function to configure the modbus interface
Function to initialize the modbus interface with the parameters set via MBM_DL_SetItfSettings. If MBM_DL_SetItfSettings wasn't called beforhand the interface will only be closed.
Function to close the modbus interface
Function to sample all configured modbus input channels
Function to set all configured modbus output channels
Function to check if a read or write action is active
Function to update the input configuration
Function to update the output configuration
Function to update the output values
Function to set a specific output value
Extension of DL4CH_CH_DATA_x