Multitech MA420 Spécifications Page 154

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 186
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 153
sigmadue - IEC 61131-3 Function Block Library
146
5-3-17 MB_SLV_RD8_REAL
FB Prototype
MB_SLV_RD8_REAL
Input parameters
Output parameters
Description
This Function Block reads 8 REALvalues from the memory area starting from the
passed register (
REGISTER
). The module returns the
OPRS
parameter that is
used to detect if the operation is performed correctly, and the value of the regis-
ters (
OUT1 – OUT8
). The setting
AD_MODE
allows the user to select if the
REG-
ISTER
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
AD_MODE BOOL
Addressing Mode Setting
(default value = TRUE)
Label Type Description
OPRS USINT Function block result
OUT1 – OUT8 REAL Data
PROTOCOL
REGISTER
AD_MODE
ASCON_SERIALPROTOCOL
UINT
BOOL
USINT
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
OPRS
OUT1
OUT2
OUT3
OUT4
OUT5
OUT6
OUT7
OUT8
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
Vue de la page 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 185 186

Commentaires sur ces manuels

Pas de commentaire