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 slave, 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.
|RS_MBGetConfig||Retrieve the protocol module configuration|
|RS_MBSetConfig||Change the protocol module configuration|
|RS_MBReadCoil||Read values of a single coils|
|RS_MBReadCoils||Read the values of a sequence of coils|
|RS_MBReadInput||Read the values (bits) of one or more discrete Input bits|
|RS_MBReadInputRegisters||Read a sequence of Input Registers|
|RS_MBReadHoldingRegisters||Read a sequence of Holding Registers|
|RS_MBReadGeneralReference||Can read multiple groups & references|
|RS_MBWriteCoil||Set the value of a single coil|
|RS_MBWriteCoils||Set the value of a sequence of coil|
|RS_MBWriteRegister||Set the value of a single register|
|RS_MBWriteRegisters||Set the value of a sequence of registers|
|RS_MBHandleRequests||Handle Master requests - Simulate a MODBUS Slave. This function is almost all that is necessary with the SuperCom software to create a slave, that can even control multiple connections simultaneously (e.g. under TCP/IP). Specific samples are included.|
|RS_MBSetPLCMem||Defines and populates a memory area in order to simulate a PLC (simulation of a MODBUS Slave). It can also be used to get a snapshot of the simulated PLC's memory.|
|RS_RXMODBUS||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, build a MODBUS slave, a MODBUS to "other protocol" converter or gateway, etc.|
|RS_TXMODBUS||Transmit a data packet according to the MODBUS protocol specification. Using this function it is possible to transmit data packets transparently e.g. responds to custom requests, support custom function codes, build a MODBUS Slave, a MODBUS to "other protocol" converter or MODBUS Gateway (e.g. Serial to Ethernet), etc.|
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.