Opto 22

43044 Business Park Drive, Temecula, CA 92590 USA
Local & outside the USA:(951) 695-3000
Toll-Free within the USA:(800) 321-6786
Fax: (951) 695-3095
Email: sales@opto22.com

Hot Tips from Product Support: Changing PAC Control Variables to Persistent

Get Just the News You Need with OptoSubscriptions

Need a CAD Drawing of an Opto Product?

Hot Tips from Product Support: Changing PAC Control Variables to Persistent

PAC ControlOpto 22's Product Support Group (PSG) develops some helpful tips as they work with customers who contact them for free product support.

In our control programming software PAC Control, you use variables to store pieces of information that your control program (or strategy) will act upon. For example, these pieces of information might be the on or off state of a switch, or communication parameters for a peer on the network.

Sometimes, after you've defined a variable in your strategy, you may decide it needs to be persistent rather than global.

  • A global variable is set to its initial value whenever the strategy is run or whenever it is downloaded to the controller.
  • A persistent variable, however, is initialized only once, when the strategy is first downloaded, and its value is saved in the controller's memory.

PSG engineer Josh M. says that customers think they need to go through a lot of steps to change a variable from global to persistent. But it's not that hard to do. Here's the best way.

1. Create a new persistent variable that is the same type as the global and has a similar name. For example, if the global is named josh, name the persistent josh1.

2. Choose Edit-->Replace. Find josh and replace it with josh1. This Find/Replace does the bulk of the work.

3. Save the strategy.

4. Delete josh. Rename josh1 to josh.

All done!

Questions? Contact Product Support.

Get Just the News You Need with OptoSubscriptions

OptoSubscriptions videoHere's an easy way to find out when updates you need are posted to our website.

In the new OptoSubscriptions video, Alexi Beck Gray shows you how to subscribe to email updates for just the items you want. For example:

  • Firmware updates for SNAP-PAC-EB brains
  • PAC Project software updates
  • User guide changes for SNAP PAC controllers
  • Product Support KnowledgeBase articles on issues and workarounds
  • New or revised data sheets
  • ...or whatever you need to know about

Notifications arrive in just one email, and you'll never receive more than one in a single day.

Watch the video and see how to get the news you need!

Need a CAD Drawing of an Opto Product?

Find a CAD drawingYes, we have CAD drawings on our website that you can download and use. Here's how to find them.

From any page on our website, click the Products tab and locate the product you're interested in. Or search on the part number if you know it; for example, search on SNAP-PAC-S1.

When you get to the product page, click the DOCS & DOWNLOADS tab.

Scroll down past the Documents and look for "CAD Drawing" in the Downloads section. Click the title to go to the download page for the drawing.

File format is .dwg

Several CAD drawings for our older products are also available in a zipped file (file extension .zip). You may see it in the downloads list, too.

Our goal is to add CAD drawings for all products. If the one you need isn't there yet, let us know.

My.Opto22

All Opto22

Request Information
  • FREE Product Brochure
  • Product Demonstration
  • PreSales Engineering Assistance

Opto 22 Product Support

Opto 22 Product Support is FREE Monday through Friday 7 a.m. to 5 p.m. Pacific Time

Product Support Numbers:

Local: (951) 695-3080
Toll-Free: (800) 835-6786
Fax: (951) 695-3017
support@opto22.com

Products

None

Downloads

None

Documents

None