
Function Blocks
TCPR Function Block
384
HC900 Hybrid Control Designer Function Block Reference Guide
Revision 11
2/07
TCPR Function Block
Description
The
TCPR
label stands for
Modbus/TCP Read.
This block is part of the
Communications
category. It
looks like this graphically.
Function
A communication function block that expands the read capability of the Modbus/TCP Slave function block
to 16 additional data points. Multiple blocks may be connected to the same Modbus/TCP Slave block.
The Modbus/TCP read block has no inputs and 16 outputs. Up to 16 registers can be configured as the
source of data for the outputs.
The configuration data for each point will consist of:
•
the address of the source device on the Modbus link,
•
the register address of the desired data,
•
and the register type: Integer, Float, or Bit Packed.
The sixteen outputs can be connected or tagged in the same manner as any other function block output.
Inputs
ADDR
= Slave address from associated TCPS block. (Must be connected to a TCPS block)
Outputs
RD1 through RD16
– Last read value from selected address