Please enable JavaScript to view this site.

This function allows you to check if there is an alarm in the alarm stack (32 locations) by also specifying the value of one or more USV parameters.

Syntax

bool is_alarm_par_present_us (i32 nAl, i32 nAx, u32 parMask [, string s1=0] [, string s2=0] [, string s3=0])

nAl

Alarm number whose presence to check (0 or 1-:-9999)

nAx

Axis number in alarm (1-:-32) or 0 if non-axis alarm

parMask

Mask to indicate which parameters are affected:

Value

Description

0x0

No USV parameter

0x1

s1

0x2

s2

0x3

s1 and s2

0x4

s3

0x5

s1 and s3

0x6

s2 and s3

0x7

s1, s2, and s3

s1

User string to be used as the first parameter of the alarm. (optional, default 0)

s2

User string to be used as the second parameter of the alarm. (optional, default 0)

s3

User string to be used as the third parameter of the alarm. (optional, default 0)

Result

Returns:

Value

Description

TRUE

Alarm present

FALSE

alarm not present

illegal alarm number

alarm does not have USV and parMask different from 0

Validity

Rule, Task

System Requirements

From RTE 34.30.0

Note

 

hmtoggle_plus0  Diagnostics

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC