Modbus Master and Slave for Arduino
1.2
Arduino library for implementing a Modbus Master or Slave through Serial port
|
Functions | |
uint16_t | Modbus::getInCnt () |
number of incoming messages More... | |
uint16_t | Modbus::getOutCnt () |
number of outcoming messages More... | |
uint16_t | Modbus::getErrCnt () |
error counter More... | |
uint8_t | Modbus::getState () |
uint8_t | Modbus::getLastError () |
get last error message More... | |
uint16_t Modbus::getErrCnt | ( | ) |
error counter
Get errors counter value This can be useful to diagnose communication.
Definition at line 386 of file ModbusRtu.h.
uint16_t Modbus::getInCnt | ( | ) |
number of incoming messages
Get input messages counter value This can be useful to diagnose communication.
Definition at line 362 of file ModbusRtu.h.
uint8_t Modbus::getLastError | ( | ) |
get last error message
Get the last error in the protocol processor
NO_REPLY = 255 Time-out
Definition at line 409 of file ModbusRtu.h.
uint16_t Modbus::getOutCnt | ( | ) |
number of outcoming messages
Get transmitted messages counter value This can be useful to diagnose communication.
Definition at line 374 of file ModbusRtu.h.
uint8_t Modbus::getState | ( | ) |
Get modbus master state
Definition at line 396 of file ModbusRtu.h.