![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585171.webp)
All BASIC commands
Section 4-2
159
/i
4-2-112 FLASHVR
/i
6
64
7
128
Example
FLAGS(146) ' 2 + 16 + 128
Set Flags 1,4 and 7 on, all others off.
Example
IF (FLAGS and 8) <>0 then GOSUB somewhere
Test if Flag 3 is set.
See also
N/A
Bit number
Decimal value
Type
System command
Syntax
FLASHVR(option [, flashpage, tablepage])
Description
The
FLASHVR
command is used to store
TABLE
variable data in the
flash memory. After the data has been stored, at each power up the
TABLE
data will be restored to the values held in flash memory. The
command will write either the entire
TABLE
array or a part (page) of it,
depending on the value of the argument option.
Normally,
TABLE
data are preserved in battery backed RAM
memory. However, data can be lost if this battery is empty, or if the bat-
tery replacement takes too long (longer than 5 minutes). In such cases it
is advised to store
TABLE
memory to flash memory, since it is not
affected by battery failure.
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...