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 (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 some API 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 with the MODBUS protocol. The returned buffer includes the Station-Id, the issued Function-Code and any data bytes. This function can also be used to receive custom function codes. The data packets are received transparently by the SuperCom protocol module. |
|
RS_TXMODBUS |
Transmit a data packet with the MODBUS protocol.
The issued parameter define the Station-Id, the Function-Code and any data, that the SuperCom protocol module transmits transparently. This function can also be used to transmit custom function codes. |
|
: |
: |