atvise Connect Modbus Sintaxis Options

Created by Vester Business Support Team, Modified on Tue, 22 Jun 2021 at 04:49 PM by Vester Business Support Team

The basic Items are


I = Digital Input

O = Coil

IR = Input Register

HR = Holding Register


1. To extract a BIT from an Register you can use this example:


       HRX2.1  = where "HRX" is the sintaxis for bits, "2" is the number of register you want to read and ".1" is the bit you want to read.


2.  To join 2 registers together to form 32 bit Integers or Real numbers.

    

   - As a 32 Bit Integer   HRDI1  where HRDI means Holding Register Double Integer and "1" is the register number

  - As a 32 Bit Float  HRF1 where HRF1 means Holding Register Float and "1" is the register number

  - As a 32 bit Word   HRDW1 where HRDW means  Holding Register Double Word and "1" is the register number 


If you want to work with 64 bit registers instead of the "D" letter for Double, you can use the letter "Q".


3. To configure the register as Signed or Unsigned


 - For 16 bit register

        - HRI1  = means HRI sets as signed and "1" is the register number.

         - HRW1 = means HRW sets as unsigned and "1" is the register number. 



4. For bit Swaping you can append the word "SWAP" at the end of any sintaxis.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article