Function Mode of the CWRITE_REG
Block
Although a large number of CWRITE_REG
function blocks can be programmed, only four write operations may
be active at the same time. In this case it is irrelevant whether
they are the result of this function block or others (e.g. MBP_MSTR
, MSTR
, WRITE_REG
). All function blocks use one data transaction path and require
multiple cycles to complete a job.
If several CWRITE_REG
function blocks are used within an application, they must at least
differ in the values of their NO_REG
or REG_WRIT
parameters.
All
routing information is contained in the WordArr5
data
structure of the ADDRFLD
input. The type function
block assigned to this input is defined by the network used.
Please use:
Modbus Plus for function block
ModbusP_ADDR
TCP/IP Ethernet for function block
TCP_IP_ADDR
SY/MAX Ethernet for function block
SYMAX_IP_ADDR
WordArr5
data structure
can also be used with constants.WRITE_REG
function
block, a variation of this function block that does not operate in
a continuous mode, but under command control.