Schneider Automation Modicon Quantum Ethernet Manual de usuario Pagina 138

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 382
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 137
Transferring Data Using Communication Blocks
138
33002479 06 07/2008
READ_REG
Function
Description
Upon request, the READ_REG block reads a register area once (rising edge of the
REQ input). It reads data from an addressed slave via TCP/IP Ethernet.
EN and ENO can be projected as additional parameters.
Symbol Block representation:
Parameter
Description
Description of block parameters:
Note: About this function block:
z When programming this function, you must be familiar with the routing
procedures used by your network.
z For technical reasons, this function block does not allow the use of ST and IL
programming languages.
READ_REG
REQBOOL
SLAVEREG
DINT
NO_REG
INT
AddrFld
WordArr5
BOOLNDR
BOOL
ERROR
WORD
REG_READ
WORD
STATUS
Parameter Data Type Meaning
REQ BOOL start read operation once
SLAVEREG DINT offset address of the first %MW word (4x register) in the slave
to be read from
NO_REG INT number of registers to be read from slave
AddrFld WordArr5 data structure describing the TCP/IP address
NDR BOOL set to 1 for one cycle after reading new data
ERROR BOOL set to 1 for one scan in case of error
STATUS WORD error code
REG_READ WORD first %MW word (4x register) for read values
Vista de pagina 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 381 382

Comentarios a estos manuales

Sin comentarios