Validity: Rule, Task
This predefined variable contains the command mask of the LEDs on the DISPAN programming terminal.
Syntax |
I32 sts_dispan_led |
---|---|
Attributes |
Bit-accessible |
The meaning of the bits is as follows:
Bit |
Hexadecimal value |
Description |
---|---|---|
BIT 0 |
0x1 |
Funct |
BIT 1 |
0x2 |
Letters |
BIT 2 |
0x4 |
S/F |
BIT 3 |
0x8 |
HOLD (In accordance with the dis_display variable). |
By setting the relevant bit to 1, the led turns on.
Example
; we turn on led letters on dispan sts_dispan_led.1 = 1 |
Example
; if bit 1 of sts_dispan_led is equal to 1 ; then in sr(1) will be stored the string ; "the LETTERS led is on" _if(sts_dispan_led.1) sr(1) = "the led LETTERS is on" |