Validity: Rule, Task
This keyword permits access to a nonvolatile system string register.
Syntax |
STRING nvsr (n) |
---|---|
n |
Index of the retentive register nvsr. Minimum representable number: 1 Maximum representable number: RTE.CFG Keyword: NUM_NVSR Size: 128 Byte |
Notes |
Registers keep their contents at power off (even in case of unintentional power failure) |
Example
; in the nonvolatile string register nvsr(1) will be stored ; the string "recipe_1" nvsr(1) = "recipe_1" ; in the nonvolatile string register nvsr(2) will be stored ; the string obtained from the concatenation of ; the string contained in the string register sr(1) ; and the string "mm" nvsr(2) = sr(1) # "mm" |