User manual
IEC61131 User and Reference Manual
April 22, 2008
278
getmtcpi
Get Modbus/TCP Interface
The getmtcpi function is used to obtain the protocol interface settings used by all Modbus IP
protocols on the specified communication interface. See also the function getmtpi2, which
supports Enron Modbus parameters. This function block is used by the SCADAPack 330,
SCADAPack 350 and SCADAPack 32 controller series only.
addrMode
SandFEnabled
getmtcpi
stn
ifType
Q
Arguments
Inputs
Type
Description
ifType
Integer
Communication interface to get protocol settings.
100 = Ethernet1
Outputs
Type
Description
stn
Integer
Modbus station number.
1 to 255 in standard Modbus
1 to 65534 in extended Modbus
addrMode
Integer
Modbus addressing mode
0 = standard
1 = extended
SandFEnabled
Boolean
Modbus Store and forward enable
Enable store and forward when set to TRUE.
Disable store and forward when set to FALSE.
Q
Boolean
TRUE when operation is successful.
FALSE when ifType is invalid. Operation is
unsuccessful.
See Also
getmtpi2, getmbip