Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

  • <area>is the address space area (AR, DM, CIO, HR, WR).
  • <offset> is the register address (0-65535). In the case of multi-register variables (e.g. FLOAT), this is the address of the first register. It is possible to enter a hexadecimal number using the # character, e.g. DM#3A.
  • <bit> is an optional part of the address that specifies a specific bit (0-15) within the register. This allows individual bits to be addressed.
  • <type> is an optional part of the address that specifies how the data is interpreted:

    TypeDescription
    BITWorking with a single bit (default value if the address contains a bit specification, eg HR1.3)
    BYTE_UThe higher (first) byte of the register
    BYTE_LThe lower (second) byte of the register
    WORDRegister interpreted as a 16-bit unsigned number (default value if the address does not contain a bit specification, e.g. HR1)
    SHORTRegister interpreted as a 16-bit signed number
    BCDRegister interpreted as an unsigned BCD number (0-9999)
    SBCDRegister interpreted as a signed BCD number (+/-7999)
    LBCDTwo 16-bit registers interpreted a 4-byte unsigned BCD number (0-99999999)
    SLBCDTwo 16-bit registers interpreted a 4-byte signed BCD number (0-79999999)
    DWORD

    Two 16-bit registers interpreted as a 32-bit unsigned number (byte order depends on the  4-byte Endian Mode parameter)

    LONGTwo 16-bit registers interpreted as a 32-bit signed number (byte order depends on the  4-byte Endian Mode parameter)
    FLOATTwo 16-bit registers interpreted as a 32-bit float number (byte order depends on the  4-byte Endian Mode parameter)


...

  • DM10 - DM area, register 10, interpreted as a 16-bit unsigned number
  • HR0200.0 - HR area, register 200, the lowest bit
  • DM#020, FLOAT - DM area, registers 32 and 33 interpreted as a 32-bit float number 

...

  • Ver. 1.0 - August 28th, 2020 - document created.
  • Ver. 1.1 - September 3rd, 2020 - support for FINS/TCP variant.
  • Ver. 1.2 - October 5th, 2020 - support for BCD numbers.
Info
titleRelated pages:

Communication protocols

...