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

LESSON LIST

Autoplay Off
Take topic challenge

Supplemental Videos

Description

Memory tags are simple tags, in that they do not automatically update or change value. They are useful for storing values, as they are available throughout the entire gateway.

Video recorded using: Ignition 8.0

Transcript

(open in window)

[00:00] In this lesson, we'll take a look at Memory Tags. A Memory Tag is a very simplistic tag. It doesn't automatically update or change its value. Creating a Memory Tag is as easy as creating any of the other standard types of tags. In our Tag browser over here, if you have at least the Tags folder, or All Providers folder selected, you can hit the little Add Tag drop down at the top, go down to New Standard Tag, and create a Memory Tag. We'll give this a name. How about My Memory Tag? And you can see that the Memory Tag has a lot of the same properties as an OPC Tag. Let's start by giving it an initial value here, how about 10? We'll hit Enter here. And if I scroll down further, and just like those other types of tags, you can see that we can set up security in scripting, alarms, history, really all of those other kinds of settings you'd see elsewhere. We'll hit OK. And you can see that we've added our Memory Tag. You can see that its type is listed, just to the right. And of course, if our Designer is in a read-write state here, I can simply double-click, type something in, and change its value. Now again, the Memory Tag won't automatically update and it doesn't poll anything. It simply sits with that value until something comes along and writes to it. Typically, the "something" in that case, is a component that has some sort of tag binding, or a script running somewhere, that's writing to the tag. They're very useful if you just need a place-holder tag. Say you're developing a project but you don't have access to the tags, you could use Memory Tags to start with. Also, they're useful for storing information that you don't want to write to some external system, such as a database or a controller. It's pretty common to use these as say, set point tags for alarms, storing the current work order for a particular line, or any number of other uses. So if you're storing something inside of one of your PLCs, but really doesn't have anything to do with controlling a piece of machinery, or isn't being utilized by the PLC program, you could just put that information in a Memory Tag instead. And again, because this is inside of one of our tag providers, every other module, every other sub-system, or feature inside of Ignition, has access to this tag.

You are editing this transcript.

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