The SuperCom MODBUS Protocol Module implements the MODBUS protocol. It also supports custom function codes and data packets by implementing functions that communicate transparently.
A MODBUS client or server, created with the required SuperCom software, can control different type of connections. More...
Following a list of some functions of the SuperCom MODBUS Protocol Module.
|Retrieve the protocol module configuration
|Change the protocol module configuration
|Change the protocol module configuration. The difference to RS_MBSetConfig is: the values are stored in a string as "Name=Value;" pairs.
|Read values of a single coils
|Read the values of a sequence of coils
|Read the values of a sequence of coils and returns the coil values as a string, e.g. "01100100"
|Read the values (bits) of one or more discrete Input bits
|Read a sequence of Input Registers
|Read a sequence of Holding Registers
|Can read multiple groups & references
|Set the value of a single coil
|Set the value of a sequence of coil
|Set the value of a sequence of coil. The difference to RS_MBWriteCoils is: the new coil values are provided as a string, e.g. "01100100"
|Set the value of a single register
|Set the value of a sequence of registers
|Handle Master requests - Simulate a MODBUS Server. This function is almost all that is necessary with the SuperCom software to create a server, that can even control multiple connections simultaneously (e.g. under TCP/IP). Specific samples are included.
|Defines and populates a memory area in order to simulate a PLC (simulation of a MODBUS Server). It can also be used to get a snapshot of the simulated PLC's memory.
|Read First-In-First-Out (FIFO) queue of holding registers. The function returns the count and the value of the registers in the queue.
|Read Device Identification and other device related information (e.g. vendor name, product code, version, revision number). It is using function code 43 (Hex 2B) and MEI Type 14 (Hex 0E).
|Provides a status word and an event count from the Modbus server's plc.
|Provides a status word, an event count, a message count and event bytes from the Modbus server's plc.
|Receive a data packet according to the MODBUS protocol specification. Data packets received are handed over transparently. Using this function it is possible to receive custom requests (custom function codes e.g. FC43), build a MODBUS Server, a MODBUS to "other protocol" converter or gateway, etc.
|Transmit a data packet according to the MODBUS protocol specification. Using this function it is possible to transmit data packets transparently e.g. respond or transmit a custom requests (custom function codes e.g. FC43), support custom function codes, build a MODBUS Server, a MODBUS to "other protocol" converter or MODBUS Gateway (e.g. Serial to Ethernet), etc.
* introduced with Version 4.5.
With the SuperCom MODBUS Protocol Module there is only one API to learn! The same functions and parameters used with serial, TCP/IP or ISDN type of connections.