Loading...
Searching...
No Matches
RS_MsgTypeDef Struct Reference
Modbus tools » Modbus Internal Tools » Modbus Message Tools

Structure for modbus messsage. More...

`#include <modbus_core.h>`

Collaboration diagram for RS_MsgTypeDef:
[legend]

## Public Attributes

uint8_t | MbAddr
| Modbus Slave Address.
MB_FunctonTypeDef | FuncCode
| Modbus Function Code.
MB_DevIdMsgTypeDef | DevId
| Read Device Identifications Header struct.
uint16_t | Addr
| Modbus Address of data.
uint16_t | Qnt
| Quantity of modbus data.
uint8_t | ByteCnt
| Quantity of bytes of data in message to transmit/receive.
uint16_t | MbData [DATA_SIZE]
| Modbus Data.
MB_ExceptionTypeDef | Except_Code
| Exception Code for the command.
uint16_t | MbCRC
| Modbus CRC.

## Detailed Description

Structure for modbus messsage.

Definition at line 176 of file modbus_core.h.

## Member Data Documentation

## MbAddr

uint8_t RS_MsgTypeDef::MbAddr

Modbus Slave Address.

Definition at line 184 of file modbus_core.h.

## FuncCode

MB_FunctonTypeDef RS_MsgTypeDef::FuncCode

Modbus Function Code.

Definition at line 185 of file modbus_core.h.

## DevId

MB_DevIdMsgTypeDef RS_MsgTypeDef::DevId

Read Device Identifications Header struct.

Definition at line 186 of file modbus_core.h.

## Addr

uint16_t RS_MsgTypeDef::Addr

Modbus Address of data.

Definition at line 187 of file modbus_core.h.

## Qnt

uint16_t RS_MsgTypeDef::Qnt

Quantity of modbus data.

Definition at line 188 of file modbus_core.h.

## ByteCnt

uint8_t RS_MsgTypeDef::ByteCnt

Quantity of bytes of data in message to transmit/receive.

Definition at line 189 of file modbus_core.h.

## MbData

uint16_t RS_MsgTypeDef::MbData[DATA_SIZE]

Modbus Data.

Definition at line 191 of file modbus_core.h.

## Except_Code

MB_ExceptionTypeDef RS_MsgTypeDef::Except_Code

Exception Code for the command.

Definition at line 192 of file modbus_core.h.

## MbCRC

uint16_t RS_MsgTypeDef::MbCRC

Modbus CRC.

Definition at line 194 of file modbus_core.h.

The documentation for this struct was generated from the following file:

- E:/.WORK/STM32/Diod_Test/diode_tester/Core/Modbus/Inc/modbus_core.h