Control Microsystems 5901 Instrukcja Użytkownika Strona 364

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 620
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 363
IEC61131 User and Reference Manual
April 22, 2008
356
setregsl
Set value of signed long integer register
Description
The setregsl function writes the input signed long integer value to the specified Modbus
register. The function writes to two consecutive registers starting at address when the
integer value is written. If the registers are found, their current values are updated. If the
registers are not found, nothing is done.
The validity of the specified Modbus register is not checked. It is assumed that address is an
input or holding register. This function provides a method for accessing database registers
defined in a C Application database handler, such as the RealFLO database handler. This
function may also be used to access the Permanent Non-Volatile Registers. See the section
Modbus Addressing for more details.
address
value
setregsl
Q
Arguments
Inputs
Type
Description
address
Integer
First Modbus register of 2 consecutive registers assigned to a
signed long integer value. Address may be a Network Address
assigned to an integer variable in the Dictionary, or address
may be assigned to a C Application signed long integer
variable using a database handler, or address may be a double
register from the Permanent Registers.
value
Integer
Value to write to Modbus register.
Outputs
Type
Description
Q
Boolean
TRUE if 0 < address < 65535.
FALSE for all other cases.
See Also
getregsl
Przeglądanie stron 363
1 2 ... 359 360 361 362 363 364 365 366 367 368 369 ... 619 620

Komentarze do niniejszej Instrukcji

Brak uwag