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.

FUNCTION REFERENCE<br />

GETALARMTAG(INDEX)<br />

GETALARMTAG(INDEX)<br />

ARGUMENT TYPE DESCRIPTION<br />

index int Tag index number<br />

DESCRIPTION<br />

This function returns a bit mask integer representing the tag alarms state for the tag identified<br />

with index. Bit 0 (ie. the bit with a value of 0x01) represents the Alarm 1 state and bit 1 (ie.<br />

the bit with a value of 0x02) the Alarm 2.<br />

Note: The tag index can be found from the tag name using the FindTagIndex() function<br />

FUNCTION TYPE<br />

This function is passive.<br />

RETURN TYPE<br />

int<br />

EXAMPLE<br />

AlarmsInTag = GetAlarmTag(12)<br />

In this example, the function returns the states of Alarm 1 and 2 for the tag with index 12.<br />

REVISION 6 PAGE 333

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

Saved successfully!

Ooh no, something went wrong!