Baldor MIN1853 manual Non-Volatile Variables, Parts, Lpnumber

Page 87

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

MN1853

Image 87
Contents LinStep+ Single-Axis Microstepping Indexer/Driver Table of Contents Prog POSProg To PAD From Troubleshooting Iv Table of Contents MN1853 Limited Warranty Section General InformationCE Compliance Product Notice Intended use Could result in injury or deathCould result in damage to property Voltages that are conducted to its power input terminals. Do not touch any circuit board, power device or electricalConnection before you first ensure that power has been Do not apply AC power before you ensure that grounds areDriver should have specifications compatible to the drive Extend more than 0.2 5 into keypad assemblyInstead, we recommend using a four wire Wye Power is removed from the driveSection Product Overview OverviewMotors Product Overview MN1853 Receiving & Inspection Section Receiving and InstallationPower Dissipation Mechanical InstallationRecommended System Grounding for UL Recommended System Grounding 1 phase for CESystem Grounding Ungrounded Distribution System Input Power ConditioningBaldor Wire Size and Protection DevicesDelay a EuropeConnection Locations 115VAC, 1 Axis Tools Required Keypad Nullmodem ConnectionsRS-232 PC Connections 9 & 25 Pin RS-232 Cable Connections for UL InstallationsRules for Daisy Chain Operation Daisy Chain ConnectionsHow many resistors should my system have? What is a termination resistor?Where are these resistors placed? RS485 PC Connections13 RS485 4 Wire Multi-Drop for UL Installations Discrete I/O Connections Limits ConnectionsET± Encoder Signal PVS100 Danaher 9-Pin D Encoder Color Code+5VDC Ground GND Motor ConnectorAY0165A00 Leadwire Connection 9 pin to flying leads Interlock Intlk21 Opto Racks DB25 Pin to Screw Terminal Converter PNP ConverterPNP Action Display Comments Start-Up ProcedurePower Off Checks Power On ChecksSection Keypad Operation OverviewF1, F2, F3 Menus Menu KeyMain Menu JOG F2Decimal Point CommaAlpha New Program Edit MenuEdit an existing program Save the programExample of Naming a Program Naming a programUse the =O keys for additional alpha characters Entering Characters with the Alpha Key In edit modeSubmenu Setup Parameter Description of Setup Parameter Edit, Setup SubmenuPress EDIT, POS F3 Press YES F1 or no F3 Sequentially Eeprom message disappears Pressing Help in the Main MenuPressing Help in Menus and Sub-Menus Pressing Help In the Program Edit functionCOPY, to PAD Submenu Keypad Operation MN1853 Procedure Format Definition Section SetupValue Range AR unloaded + 12.987 x log + log 155 Tm * JrFine-Tuning Offsets Value HighValue OFF Range N/A ValueApplication Notes Configuring Encoder Resolution ERi Configure Your Application Mechanics Value inch Char Keypad Display Input Character Description Configure the I/ONo additional interrupts will be seen By one-half Over Current AMP FaultFault BrakeConfigure the Output States Configure the Optional Lxopto 44/88Configure JOG Parameters Configure End of Travel Switch PolarityConfigure Home Parameters Configuring Home Edge HEi Configure Power-up Program Value Enabled Range Enabled, Disabled Configure Serial CommunicationsVEL1 Configure Miscellaneous Setup ParametersData Type Description of Display Data Type POS1Password Type Description Gives access to these menus General Password RulesSetup MN1853 Examples Keypad Program Command ListSection Keypad Programming Value UnitsValue Units Range ExampleAC2 DE.5 VE12 DA3 GO DA3 GO DA3 GO DC Distance to Change Examples of DC move profiles, AC = seconds, VE=ips Example Distance to ChangeAC.1 VE60 DI2 GO DI1 GO DI-4 GO Value Units Range N/A LP2 DI3 GO EBIF2,1 EN EB DI2 GO Copy DEL =12 =13 =17 =18 =22 =23=26 =27 =28 RUN EditExample 3-Screen Menu Program GH Start Home Value N/A Units N/A Range N/A Units Range N/A Value N/A Units N/A Range i=1-16IF10 Gtpart a EB =1-400, name = any legal program nameIFPARTS=25 GS20 EB Units RangeIV12,LENGTH LppiecesDilength Value Units N/A Range N/A Syntax MC+ MC Move Continuous Move Continuous MS27,COUNT VE5 DA20 GO Powerup ONL,GTON EOTGthome Main= starting output number Syntax RGr RG Registration Value N/A Units seconds SQRESULT=0 SQ27.96,SQRESULTValue N/A Units N/A ST1 AC1 DE1 VE25 DA6 GO VE50 DA0 GO ENSyntax VEr VE Velocity Summary of Expressions, Operators and Functions Helpful Hints Programming your applicationProgramming Overview Variable Names Example of Hosted ModeVariables ProgramVariable Name Description of Built-in Variable Type Built-in VariablesUsing Built-in Variable Arowrel Non-Volatile Variables PartsLpnumber AO15=VOLTAGE + Error Arithmetic Operands and EquationsBoolean Operators WTAI12MAX Temp Logical OperatorsIncrement/Decrement Variables Expressions Other Programming SamplesCreate a Message and Read an Input Variable Setting an Output=On on-the-flyDigit BCD=4 Digit BCD+2TW Read a 4 Digit BCD number, 2 Digits at a timeReading an Analog Input Value GET 4 BcdsSection Troubleshooting 1Operating Mode Indications, 1 AxisAdditional Information General Additional Information Serial Communications Problems Troubleshooting MN1853 Section Specifications & Product Data IdentificationLinStep+ LX 1 P 1 A- 0xF9 VDC General SpecificationsProtection & Indicators Description VACDimensions Specifications & Product Data MN1853 EMC Conformity and CE Marking Wiring of Shielded Screened CablesSection CE Guidelines CE Declaration of ConformityGrounding Earth EMC Wiring TechniqueCable Screens Grounding EMC Installation InstructionsInput Signal Cable Grounding Simulated Encoder Output Cable GroundingEncoder Cable Grounding Programming Template Appendix aAppendix MN1853 MN1853 Appendix A-3 Remote Keypad Mounting Template Baldor Electric Company MN1853 01 C&J Baldor Electric CompanyLinStep+ Single-Axis Microstepping Indexer/Driver