User manual
IEC61131 User and Reference Manual 
April 22, 2008     
363 
Inputs 
Type 
Description 
stnSlave 
Integer 
Station address used in slave command message for 
selected table entry. 
1 to 255 in standard Modbus 
1 to 65534 in extended Modbus 
This station address must be different from the station 
address assigned to ifSlave. 
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. 
1 to 255 in standard Modbus 
1 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 Modbus/TCP 
command message to, for selected table entry. 
Format is 255.255.255.255. 
Leave blank if not applicable. 
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 










