User manual

IEC61131 User and Reference Manual
April 22, 2008
423
SCADAPack 330, SCADAPack 350, SCADAPack 32 and 32P 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
When a SCADAPack 330, SCADAPack 350, SCADAPack 32 or SCADAPack 32P
controllers are used the store and forward translation table is configured using an Element
Configuration dialog. From the Controller menu select the Store and Forward command
to access the element configuration. Refer to the TelePACE Ladder Logic Program
Reference Manual for complete information on using the Store and Forward element
configuration.
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 SCADAPack 32 C++ language application program interface provides the following
functions. Refer to the SCADAPack 32 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 setsfip2 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.
ISaGRAF IEC61131 C++ Tools
The SCADAPack 32 C++ language application program interface provides the following
functions. Refer to the SCADAPack 32 C++ Tools Reference and User Manual for details.