05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PRIMITIVE DESCRIPTIONS<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

The first step is achieved using the system variable Data. This system variable is only<br />

available for the OnHelp field and contains information on the alarm selected. Data is a Long<br />

(Double word) and contains the following information:<br />

• Low word: the tag index this alarm is related to.<br />

• High word: the alarm number for this tag. (Remember, there are two alarms per<br />

tag.<br />

The second step is thus achieved by running a program with Data as argument. A program<br />

has to be created first and set up to accept an integer argument as show in the image below.<br />

Now the OnHelp field is ready to accept the following code. This tells the viewer to run<br />

Program1 with the information provided in Data when the Help button is pressed.<br />

Program1(Data)<br />

PAGE 194<br />

http://www.redlion.net/controller

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!