This keyword allows a variable of type STRU_AH_D_EXT (STRUCT_P) to be defined.
It is used by the ah_get_d() alarm handling instruction.
It consists of the following information:
Field |
Type |
Description |
---|---|---|
Id |
I32 |
Alarm identifier |
hour |
I32 |
Hour in which the alarm occurred |
min |
I32 |
Minute in which the alarm occurred |
sec |
I32 |
Second in which the alarm occurred |
day |
I32 |
Day in which the alarm occurred |
mon |
I32 |
Month in which the alarm occurred |
year |
I32 |
Year in which the alarm occurred |
alnum |
I32 |
Number of the alarm |
alaxis |
I32 |
Axis to which the alarm refers |
p1 |
REAL |
Possible first parameter of the alarm |
p2 |
REAL |
Possible second parameter of the alarm |
p3 |
REAL |
Possible third parameter of the alarm |
us1 |
STRING[64] |
First user string variable USV |
us2 |
STRING[64] |
Second user string variable USV |
us3 |
STRING[64] |
Third user string variable USV |
Example of use:
|