EasyManua.ls Logo

MultiTrode MultiSmart - ISaGRAF Program Downloading; Viewing ISaGRAF Variables Status

MultiTrode MultiSmart
260 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MultiSmart Installation & Operation Manual
24.3.2.26 WriteInteger
This function block can be used to write to the value of Integer tags, or to the set point of Integer Attribute
tags. It receives the full name of the tag as an input, together with a Boolean variable which defines whether
the function block should be activated. It also receives the value which is to be written to the tag. It then
returns a Boolean result, indicating whether the operation was successful.
24.3.2.27 WriteString
This function block can be used to write to the value of String tags, or to the set point of String Attribute tags.
It receives the full name of the tag as an input, together with a Boolean variable which defines whether the
function block should be activated. It also receives the value which is to be written to the tag. It then returns a
Boolean result, indicating whether the operation was successful.
24.3.2.28 WriteWITSInhibit
This function can be used to trigger and clear WITS inhibits on specified tags. As with the ReadWITSInhibit
block, this functionality was designed in support of WITS-DNP, but can also be taken advantage of in native
DNP applications.
24.4 Downloading ISaGRAF Resources to MultiSmart
Once ISaGRAF programs have been completed, it is time to download them to the MultiSmart unit.
MultiSmart only supports downloading via Ethernet. To do this, first click on the Deployment page on
workbench, and then highlight the vertical line which connects the configuration to the horizontal bar labelled
DefNet. On the Properties tab, you will then see an entry for specifying an IP address. This needs to be the
IP address of the MultiSmart unit.
Once the IP address has been specified, highlight the project and click on the Download icon. This may first
compile the resources, if they have not been previously compiled. If this is the case, you will need to click on
the Download icon again once this is completed.
It should be noted that ISaGRAF 5 must be enabled via the enable code on the MultiSmart unit. Otherwise,
the download process will fail.
24.5 Compiling and Downloading Multiple Resources
ISaGRAF and MultiSmart support the concept of multiple resources. A new resource can be added by right-
clicking on the Device in the Solution Explorer, and then selecting Add->New Resource. The second
resource can be defined to run at a different frequency from the first resource. This is especially useful where
there is a time-critical resource which needs to be run frequently, as well as a non-time-critical resource
which can be run at a much slower frequency. It can also be useful as a means of dividing unrelated
functionality. Each resource defines its own separate dictionary.
As explained in the following section, MultiSmart allows viewing of ISaGRAF variables from the LCD, and
supports this in a multi-resource environment. However, in order for this to work, the symbol table for each
resource must be downloaded to MultiSmart. This can be defined by displaying the properties of a resource.
Ensure that Embed Symbol Table is checked.
24.6 Viewing the Status of ISaGRAF Variables
Once ISaGRAF resources have been compiled and downloaded to MultiSmart, it is possible to view the
values of all ISaGRAF variables from the LCD. To do so, navigate to Info->More->ISaGRAF 5. From
there, you will see the status information for the first resource. If multiple resources have been downloaded,
then information for additional resources can be displayed by using the arrow keys at the bottom of the
screen.
Of particular interest is the Variables button at the bottom-right of the screen. If you press this button, all
ISaGRAF variables for the selected resource will be displayed, together with their values. The values of
these variables are updated dynamically. This is an extremely valuable tool for confirming that a resource is
behaving properly, and for debugging any problems. If you then highlight a variable and select the Details
button, you will see additional information for that variable, such as whether it is retained (in non-volatile
memory), and whether it has Read or Write access.
Page 212 of 260 MultiSmart_IO_Manual_R20

Table of Contents

Other manuals for MultiTrode MultiSmart