Please enable JavaScript to view this site.

Function that returns the status of the Application Diagnostic's bits of a safety island.

Syntax

i32 safe_appl_diag (i32 nIsle [, i32 what=0])

nIsle

Number of the island (1-:-31)

what

Parameter to select the bits group. (optional, default 0)

Value

Meaning

0

Receive all 32 bits

1

Receive the first 16 bits

2

Receive the last 16 bits

Result

Returns:

Condition

Value

Meaning

what = 0

> 0, Application Diagnostic (bit 0 -:- 31)

Positive result

0

Negative result

what = 1

> 0, Application Diagnostic (bit 0 -:- 15)

Positive result

-1

Illegal parameters

-2

Illegal nIsle

-4

Non-existent island

what = 2

> 0, Application Diagnostic (bit 16 -:- 31)

Positive result

-1

Illegal parameters

-2

Illegal nIsle

-4

Non-existent island

Validity

Rule, Task

System Requirements

RTE 34.20.1

Note


 

  

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