Data transmission using MODBUS Protocol. Serial Communications and via TCP/IP. MODBUS RTU ASCII Modus. Functions list.

Some SuperCom - MODBUS Functions

The SuperCom MODBUS Protocol Module implements the MODBUS protocol and covers functions from the protocol specification (MODBUS function codes: 1, 2, 3, 4, 5, 6, 7, 15, 16, 17, 20, 21, 22, 23, 24). It also supports custom function codes and data packets by implementing functions that communicate transparently.

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_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_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 responds to custom requests (e.g. custom function codes), build a MODBUS slave, a MODBUS to "other protocol" converter or gateway, etc.
RS_MBHandleRequests Handle Master requests - Simulate a MODBUS Slave.
RS_MBSetPLCMemory Defines and populates a memory area in order to simulate a PLC (simulation of a MODBUS Slave).

:
:

:
:

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.


Home    Back
Modified at:

ADONTEC