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). The sign is defined by the highest bit.
    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). The sign is defined by the highest bit.
    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)


...