Difference between revisions of "MC-Basic:NVRAMFORMAT"
m (Miborich moved page Axystems:MC-Basic:NVRAMFORMAT to MC-Basic:NVRAMFORMAT: Global renaming of Axystems: namespace into (Main):) |
|||
Line 45: | Line 45: | ||
* [[MC-Basic:LNVRAMSIZE|LNVRAMSIZE]] | * [[MC-Basic:LNVRAMSIZE|LNVRAMSIZE]] | ||
− | [[Category | + | [[Category:Obsolete|NVRAMFORMAT]] |
}} | }} |
Revision as of 09:19, 22 May 2014
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)
- Not supported in EtherCAT system
Examples
Program
If (LNvRamSize <> 80) OR (DnvRamSize <> 80) Then
NvRamFormat lnvram = 80 dnvram = 80
End if
End Program