Baldor mn1854 Power Screwdriver User Manual


 
6-28 Keypad Programming MN1854
NonVolatile Variables
(#F1) through (#F50) are fifty user variables stored in nonvolatile flash memory
so they retain their values through power cycles, warm boots, and system resets.
Standard user variable are lost at power down or reset. When one of these
variables is changed (i.e. used on the left side of a equal (=) sign, the new value is
written to, and stored in the user nonvolatile flash.
Note: Flash memory has a limited read/ write lifetime (100,000 writes before failure), variable values
that change frequently should not be stored as these variables. Examples include loop count
variables, and POS1 and POS 2 variables. LinStep+ will allow only 1,000 FLASH writes between
power cycles. This limit is set to prevent damage to nonvolatile memory due to a simple
programming mistake or misunderstanding. When this write limit is exceeded, all programs will
stop running, an error message will be displayed, and the appropriate status bits will be set.
Example: At the start of each part run, a program called [Setup] is used to
initialize a number of variable part parameters. During production the program
called [PARTS] is run. This program reads from the FLASH variables, but does not
generate any writes to the FLASH, so the lifetime of the FLASH is not
compromised.
[Setup] {Program #1}
MS1,Feed length?: Writes string beginning at character 1, top line
IV12,(LENGTH),1,15 Loads the part length to variable (LENGTH)
MS1,Feed Speed?: Writes string beginning at character 1, top line
IV12,(SPEED),.05, 5 Loads the speed into volatile variable (SPEED)
(#F1)=(LENGTH) Loads the length into nonvolatile variable (#F1)
(#F2)=(SPEED) Loads the speed into nonvolatile variable (#F2)
EN
[PARTS] [PARTS] runs on power up, unless new parameters
are entered.
(LENGTH)=(#F1) Load part specific variable from nonvolatile #F1.
(SPEED)=(#F2) Load part specific variable from nonvolatile #F2.
LP(NUMBER) Loop (NUMBER) of times
DI(LENGTH) Move (LENGTH)
VE(SPEED) at (SPEED) velocity
GO
OT1 TD.1 OT0 Change output to indicate part done
EB End the loop Block