Multitech MA420 Especificaciones Pagina 158

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 186
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 157
sigmadue - IEC 61131-3 Function Block Library
150
5-3-21 MB_SLV_RD_DWORD
FB Prototype
MB_SLV_RD_DWORD
Input parameters
Output parameters
Description
This Function Block reads a DWORD value from the memory area corresponding
to 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
register (
DATA
). The setting
AD_MODE
allows the user to select if the
REGIS-
TER
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
DATA DWORD Data
PROTOCOL
REGISTER
AD_MODE
ASCON_SERIALPROTOCOL
UINT
BOOL
¡
¡
¡
USINT
BOOL
OPR
S
DATA
¡
¡
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
Vista de pagina 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 185 186

Comentarios a estos manuales

Sin comentarios