For atvise® Connect the following item syntax is set up as show below:
Syntax with Letter
This section describes the syntax for addressing using letters to represent different area types in the Modbus protocol when working with atvise® Connect. Each area type has specific access rights and orientation, determining whether the registers can be read, written, or both.
Syntax with Letter | ||||
---|---|---|---|---|
Area Type | Syntax | Example | Orientation | Access Rights |
Discrete Output | O | O15 | BIT | Read/Write |
Discrete Input | I | I5 | BIT | Read |
Input Register | IR | IR10 | WORD | Read |
Holding Register | HR | HR1 | WORD | Read/Write |
Input Register | IRW | IRW3 | UINT16 | Read |
Holding Register | HRW | HRW2 | UINT16 | Read/Write |
Syntax with Number
This section presents the address syntax using numbers to represent different area types in the Modbus protocol. The addresses are categorized by the type of register and data format, along with their access permissions.
Syntax with Number | ||||
---|---|---|---|---|
Area Type | Syntax | Example | Orientation | Access Rights |
Discrete Output | 0XXXX | 00015 | BIT | Read/Write |
Discrete Input | 1XXXX | 10005 | BIT | Read |
Input Register | 3XXXX | 30010 | WORD | Read |
Holding Register | 4XXXX | 40001 | WORD | Read/Write |
Input Register | 3WX | 3W5 | UINT16 | Read |
Holding Register | 4WX | 4W5 | UINT16 | Read/Write |
Other Syntax & Registers Combining
This section introduces additional syntax options for working with registers in Modbus, including the use of individual bits and the combination of registers to form longer data types such as 32-bit integers, 64-bit integers, or floating-point numbers.
Other Sintaxis & Join Registers | ||||
---|---|---|---|---|
Data Type | Syntax | Example | Register | Raw Value |
BIT | HRXn.bit | HRX5.3 | 40005 = 255 | [0000000011111111] |
INT32 | HRD / IRD | HRD1 | 40000 + 40001 | - |
UINT32 | HRDW / IRDW | HRDW1 | 40000 + 40001 | - |
FLOAT | HRF / IRF | HRF5 | 40004 + 40005 | - |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article