User manual
IEC61131 User and Reference Manual
April 22, 2008
366
Inputs
Type
Description
IfFwd
Integer
Communication interface to forward command message
from, as master, for selected table entry.
When forwarding interface uses a TCP or UDP protocol,
ifFwd selects the type of protocol network. The IP Stack
automatically determines the exact interface (e.g.
Ethernet1) to use when it searches the network for the
forward IP address.
100 = Modbus/TCP network
101 = Modbus RTU over UDP network
102 = Modbus ASCII over UDP network
1 = com1
2 = com2
3 = com3
4 = com4
StnFwd
Integer
Station number of remote slave device to forward
command message to, for selected table entry.
0 to 255 in standard Modbus
0 to 65534 in extended Modbus
This station address must be different from the station
address assigned to ifFwd.
ipFwd
Message
IP address of remote slave device to forward command
message to, for selected table entry.
Format is 255.255.255.255.
Leave blank if not applicable.
timeOut
Integer
Time-out is maximum time the forwarding task waits for a
valid response from the forward station, in tenths of
seconds.
Valid values are 0 to 65535.
Outputs
Type
Description
status
Integer
Status code returned from last set operation.
0 = valid entry
1 = index for entry is out of range
2 = no translation (slave and fwd entries are equal)
3 = invalid interface
4 = invalid station address
5 = entry already defined
6 = invalid IP address
7 = invalid timeout