This lesson is part of the Sequential Function Charts in Ignition course. You can browse the rest of the lessons below.

LESSON LIST

Autoplay Off

Description

Learn how to best take advantage of one of SFCs most powerful feature: the ability to visually monitor the status of a running chart. Use the SFC Monitor component to view all running SFCs or an individual instance based on the chart ID.

Video recorded using: Ignition 7.8

Transcript

(open in window)

[00:00] In this lesson we're going to learn to monitor the status of a running chart. The first method used to monitor a chart we've seen a number of times throughout these lessons and it's right here in the designer. If you have chart instances running and you open up the definition for the chart, it will show you all the running instance for that chart. If you double click on one of the instances, it will turn your designer into monitoring mode where you can monitor that chart. You can then monitor a different chart, or you can return to design view via this link up here. The other way to monitor charts is through a Vision client. So I'm going to go ahead and start up a second chart here. We'll let this thing run for awhile and then I'm going to go over to the Vision modules window section, where I have a window open and you'll find in the admin section of your pallette, there's a component called the SFC Monitor if you have both the Vision module and the sequential function chart modules installed. And if you drop that onto a window, you'll get a component that let's you view the status of all your running charts. So you get this control panel over on the left that shows you each running instance you have of all your different charts. And if you go into preview mode or if you're in a running client and you click on these, it directly lets you monitor each of the chart instances. You can also run this component in modes where it only views one chart at a time. I've already got this setup on another window. On this window we have a chart monitoring panel and a button and this button has a script on it which starts a new instance of our looper chart. And the start chart function returns the identifier for that chart. It then sets the instance ID property of our SFC Monitor panel to that instance ID. So you can see that if I press this button, it starts a chart and sets the instance ID of our monitoring panel which directly starts monitoring the status of that chart. And the way I set this up is simply by toggling the instance list visible and the scope table visible booleans which let me control just how this component works. And those are the different ways that you can monitor a sequential function chart. Either in the designer or the client.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.