User manual
IEC61131 User and Reference Manual 
April 22, 2008     
347 
setmtpi2 
Set Modbus/TCP Interface method 2 
The setmtpi2 function block is used to set the protocol interface settings used by all Modbus 
IP protocols on the specified communication interface. This function supports Enron Modbus 
parameters. This function block is used by the SCADAPack 330, SCADAPack 350 and 
SCADAPack 32 controller series only. 
ifType
stn
setmtpi2
set
SandFEnabled
Q
addrMode
EnEnabled
EnStn
Arguments 
Inputs 
Type 
Description 
Set 
Boolean 
Sets the protocol interface settings for the selected 
interface when TRUE.  Set this input to FALSE once 
the settings have been set. 
IfType 
Integer 
Communication interface to set protocol settings. 
100 = Ethernet 
Stn 
Integer 
Modbus station number. 
1 to 255 in standard Modbus 
1 to 65534 in extended Modbus 
Default = 1 
AddrMode 
Integer 
Modbus addressing mode 
0 = standard 
1 = extended 
Default = 0 
SandFEnabled 
Boolean 
Modbus Store and forward enable 
TRUE = Enable store and forward. 
FALSE = Disable store and forward. 
Default = FALSE 
EnEnabled 
Boolean 
Enron Modbus enable 
Enable Enron Modbus when set to TRUE. 
Disables Enron Modbus when set to FALSE. 
Default = FALSE 










