Difference between revisions of "MC-Basic:NVRAMFORMAT"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= NVRAMFormat LNVRAM = <''expression''> DNVRAM = <''expression''> |AVAILABILITY= All versions |DESCRIPTION= This command formats the Non Volati…') |
m (1 revision) |
(No difference)
| |
Revision as of 16:09, 13 December 2010
This command formats the Non Volatile memory device. All previous data is erased and new sets of data vectors are defined. LNVRAM defines the size of long integer data vector. Each element in the vector is 4 bytes long. DNVRAM defines the size of the data vector. Each element in the vector is 8 bytes long.
Syntax
NVRAMFormat LNVRAM = <expression> DNVRAM = <expression>
Availability
All versions
Type
NA
Range
NA
Units
NA
Default
NA
Scope
Configuration , Task , Library or Terminal
Limitations
- LNVRAM*4 + DNVRAM*8 < 30720bytes (30 KB)
Examples
Program
If (LNvRamSize <> 80) OR (DnvRamSize <> 80) Then
NvRamFormat lnvram = 80 dnvram = 80
End if
End Program