Download SCADAPack E Series

Transcript
A sample function block implementation of rdstring is illustrated below;
Figure 4-13 rdstring function block example
A structured text implementation of rdstring is listed below. In this example, variable
ISaGRAF_APP_1 contains the DNP address of the ISaGRAF application name running on kernel 1.
This is the system point number for the first ISaGRAF application name.
Read_String := TRUE;
ISaGRAF_APP_1 := 50100;
r_string(Read_String, ISaGRAF_APP_1);
IF(r_string.CNF) THEN
Read_String := FALSE;
IF(r_string.STATUS = SUCCESS) THEN
ReadStringValue := r_string.VALUE;
valid_string := TRUE;
ELSE
valid_string := FALSE;
END_IF;
END_IF;
SCADAPack E Series ISaGRAF Function Reference
January 19, 2006
39