User manual

IEC61131 User and Reference Manual
April 22, 2008
362
setsfip
Set Store and Forward Entry
Use the function block setsfip2 instead of setsfip. The setsfip2 FB supports a forwarding
time-out for each entry. A default timeout of 10 seconds is set when setsfip is used.
This function block is used by the SCADAPack 330, SCADAPack 350 and SCADAPack 32
controller series only.
The function block setsfip is used to define one translation in the Store and Forward Table.
Instead of entering a translation in any order for the communication interfaces (as done with
setsf for serial translations only), the translation data is entered specifying the receiving
slave interface (ifSlave and stnSlave) and the forwarding master interface (ifFwd, stnFwd
and ipFwd, if applicable).
Translations describe the communication path of the master command: e.g. the slave
interface which receives the command and the forwarding interface to forward the command.
The response to the command is automatically returned to master through the same
communication path in reverse.
Do not specify additional entries in the Store and Forward Table to describe the response
path.
indexInTable
ifSlave
setsfip
set
ipFwd
status
stnSlave
ifFwd
stnFwd
Arguments
Inputs
Type
Description
set
Boolean
When TRUE the translation entry is written to the store
and forward table. Set this input to FALSE once the
translation has been set.
indexInTable
Integer
Index of the entry in store and forward table.
Valid values are 0 to 127.
ifSlave
Integer
Communication interface receiving slave command
message for selected table entry.
100 = LAN/PPP
1 = com1
2 = com2
3 = com3
4 = com4