Baldor mn1854 manual Non-Volatile Variables, Parts, Lpnumber

Models: mn1854

1 105
Download 105 pages 58.42 Kb
Page 83
Image 83

Non–Volatile Variables

(#F1) through (#F50) are fifty user variables stored in non–volatile 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 non–volatile 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 non–volatile 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 [Set–up] 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.

[Set–up]

{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 non–volatile variable (#F1)

(#F2)=(SPEED)

Loads the speed into non–volatile variable (#F2)

EN

 

[PARTS]

[PARTS] runs on power up, unless new parameters

 

are entered.

(LENGTH)=(#F1)

Load part specific variable from non–volatile #F1.

(SPEED)=(#F2)

Load part specific variable from non–volatile #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

6-28 Keypad Programming

MN1854

Page 83
Image 83
Baldor mn1854 manual Non-Volatile Variables, Parts, Lpnumber