User manual
IEC61131 User and Reference Manual
April 22, 2008
414
ISaGRAF IEC61131 C Tools
The ISaGRAF C language application program interface provides the following functions.
Refer to the ISaGRAF 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.