Multitech MA420 Dokumentacja Strona 167

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 166
Chapter 5 - AsconMBCommLib
159
5-3-30 MB_SLV_WR_REAL
FB Prototype
MB_SLV_WR_REAL
Input parameters
Output parameters
Description
This Function Block writes the REAL value passed with DATA parameter to the
memory area corresponding to the passed register (REGISTER). The output of
the module (OPRS) is used to detect if the operation is performed correctly.
The setting AD_MODE allows the user to select if the REGISTER input base is 0
(AD_MODE = FALSE) or 1 (AD_MODE = TRUE). The default value for
AD_MODE is TRUE.
Reference
tables
Here are reported the range of the parameters used by the function block.
Protocol
OPRS
Label Type Description
PROTOCOL ASCON_SERIALPROTOCOL Reference Protocol
REGISTER UINT Register
DATA BOOL Data
AD_MODE BOOL
Addressing Mode Setting
(default value = TRUE)
Label Type Description
OPRS BOOL Function block result
PROTOCOL
REGISTER
DATA
AD_MODE
ASCON_SERIALPROTOCOL
UINT
REAL
BOOL
¡
¡
¡
¡
USINT OPR
S
¡
Protocol Description
SLAVE1 Protocol Modbus Slave 1
SLAVE2 Protocol Modbus Slave 2
OPRS Description
0 Service executed correctly
1 Address not allowed
3 Protocol number not valid
Przeglądanie stron 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag