User manual

Transferring Data Using Communication Blocks
130
33002479 06 07/2008
CREAD_REG
Function
Description
The CREAD_REG block reads register data continuously from an addressed node
via TCP/IP-Ethernet.
EN and ENO can be projected as additional parameters.
Representation Block representation:
Parameter
Description
Description of 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.
CREAD_REG
SLAVEREGDINT
NO_REG
INT
AddrFld
WordArr5
WORD
REG_READ
WORD
STATUS
Parameter Data Type Meaning
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 TCI/IP address
REG_READ WORD first %MW word (4x register) for read values
STATUS WORD error code