User manual

Transferring Data Using Communication Blocks
33002479 06 07/2008 139
Elementary
Description for
WordArr5 with
TCP/IP Ethernet
Elementary description for WordArr5 with TCP/IP Ethernet:
Function Mode of
READ_REG
Blocks
Although a large number of READ_REG function blocks can be programmed, only
16 read operations may be active at the same time. In such a case, it is insignificant
whether they are the result of this function block or of other read operations (for
example, MBP_MSTR, MSTR, CREAD_REG). All function blocks use 1 data
transaction path and require multiple cycles to complete a job.
The entire routing information is contained in data structure WordArr5 of input
AddrFld. The type of function block connected to this input and thus the contents of
the data structure depends on the network used.
Please use:
z TCP/IP Ethernet: the function block TCP_IP_ADDR
REQ A rising edge triggers the read transaction.
The REQ parameter can be specified as direct address, located variable, unlocated
variable, or Literal.
Element Data Type Meaning
WordArr5[1] WORD low value byte: MBP on Ethernet Transporter (MET) mapping
index
high value byte: Slot of the NOE module
WordArr5[2] WORD byte 4 (MSB) of the 32-bit destination IP address
WordArr5[3] WORD byte 3 of the 32-bit destination IP address
WordArr5[4] WORD byte 2 of the 32-bit destination IP address
WordArr5[5] WORD byte 1 (LSB) of the 32-bit destination IP address
Note: A TCP/IP communication between a Quantum PLC (NOE 771xx) and a
Momentum PLC (all TCP/IP CPUs and all TCP/IP I/O modules) is possible only
when 1 read or write job is carried out in every cycle. If several jobs are sent per
PLC cycle, the communication stops without generating an error message in the
status register of the function block.
Note: For experts: The WordArr5 data structure can be used with constants as
well.