Validity: Rule, Task.
Variable used as a flag to store various causes that require movements to stop, if any.
Syntax |
I32 hold |
---|---|
Attributes |
Bit-accessible |
It can be provided as a parameter to the following functions:
mva_to_n, mva_to_n_cj, mva_to_n_v.
This variable will have to be handled by the application in case of other types of movements.
Any value other than 0 implies "stop condition". However, resetting this flag is the responsibility of the application.
Bits 0 to 15 are imposed by RTE, while bits 16 to 31 are at user disposal:
Bit |
Hexadecimal value |
Description |
---|---|---|
BIT 0 |
0x1 |
Hold on DISPAN/VISPAN |
BIT 1 |
0x2 |
Reserved RTE |
BIT 2 |
0x4 |
Minor generic alarms present |
BIT 3 |
0x8 |
Minor axis alarms present (code consisting of alarm number # axis number ex: 10#3) |
BIT 4 |
0x10 |
Reserved RTE |
BIT 5 |
0x20 |
Reserved RTE |
BIT 6 |
0x40 |
Reserved RTE |
... |
|
Reserved RTE |
BIT 15 |
0x8000 |
Reserved RTE |
BIT 16 |
0x10000 |
Available to the user |
... |
|
... |
BIT 31 |
0x80000000 |
Available to the user |
Example
; the hold request on bit 20 available to the user is activated hold.20 = 1 ; if the hold variable is different from 0 ; then in the string register sr(24) will be stored ; the string "Hold request present" _if(hold) sr(24) = "Hold request present" |