MONITORING_MODBUS

This structure provides the current Modbus I/O states registered in the robot controller. It aggregates the count and an array of Modbus registers.

BYTE#

Field Name

Data Type

Value

Remarks

0

_iRegCount

unsigned short

Number of Modbus I/O signals currently registered

2

_tRegister

MODBUS_REGISTER[]

Modbus I/O signal information array (each entry size: 34 bytes)

Total size: 3402 bytes

Defined in: DRFS.h

typedef struct _MONITORING_MODBUS
{
    unsigned short  _iRegCount;  /* modbus i/o count */
    MODBUS_REGISTER _tRegister[MAX_MODBUS_TOTAL_REGISTERS]; /* modbus i/o values */
} MONITORING_MODBUS, *LPMONITORING_MODBUS;

Note

  • The _iRegCount value (0..MAX_MODBUS_TOTAL_REGISTERS) indicates how many leading entries in _tRegister are valid.