User manual
IEC61131 User and Reference Manual
April 22, 2008
421
SCADAPack 100 Controller
An application program, written in TelePACE Ladder Logic or TelePACE C Tools and
ISaGRAF IEC61131 or ISaGRAF IEC61131 C Tools programming, enables and configures
store and forward messaging. A HMI host may enable and configure store and forward
messaging through the controller I/O database.
TelePACE Ladder Logic
1. To enable the use of store and forward messaging on one or more serial ports the
Configuration I/O Module CNFG Protocol Settings Method 1, 2 or 3 must be added to
the register assignment. The store and forward enable register must be set to enable.
2. Add the Configuration I/O Module CNFG Store and Forward to the register assignment
to configure the translation table.
3. Configure the translation table by writing the necessary translation table entries to the
registers defined in the CNFG Store and Forward I/O module.
The translation table must be initialized before store and forward messaging is enabled.
Forwarding of messages is disabled when TelePACE programming software or a SERVICE
boot initializes the controller. This prevents inadvertent forwarding of messages when new
controllers are installed on networks.
TelePACE C Tools
The TelePACE C language application program interface provides the following functions.
Refer to the TelePACE C Tools Reference and User Manual for details.
The getSFTranslation function returns an entry from the store and forward translation
table. The entry consists of two port and station address pairs.
The setSFTranslation function writes an entry into the store and forward translation
table. The entry consists of two port and station address pairs. The function checks for
invalid translations; if the translation is not valid it is not stored. The function returns a
status code indicating success or an error if the translation is not valid. A translation is
cleared from the table by writing a translation with both stations set to
DISABLED_STATION (65535).
The clearSFTranslationTable function clears all entries in the translation table. A
cleared entry has the port set to 0 (com1) and the station set to DISABLED_STATION
(65535).
The checkSFTranslationTable function checks the translation table for invalid entries. It
returns a status structure indicating if the table is valid and the location and type of the
first error if it is not valid.
ISaGRAF IEC61131
1. To enable the use of store and forward messaging on one or more serial ports the
Custom Function setprot or setprot2 must be added to the project. The SandFEnabled
input must be set to TRUE.
2. Configure the translation table by using the setsf function to write the necessary
translation table entries.
The translation table must be initialized before store and forward messaging is enabled.
Forwarding of messages is disabled when ISaGRAF IEC61131 programming software or a
SERVICE boot initializes the controller. This prevents inadvertent forwarding of messages
when new controllers are installed on networks.