Baldor MIN1853 manual Naming a program, Example of Naming a Program

Page 33

Naming a program

A program can be given a descriptive name in addition to the program number that the LinStep+ assigns it. Program names must be put inside of square brackets, [program name], at the start of a program. The name can be up to 14 characters, but the first 10 must be unique. Like variables, the name can be any combination of characters.

Programs or subroutines are often named to help “self document” a program. It is usually easier to remember and understand a name than a number. You may call or branch to a program by name.

Suppose your program has 20 different parts and each part has a different program name. Simply name each program so an operator will easily recognize them. When the keypad RUN key is pressed, instead of entering a number, simply scroll through the list of program names until the desired program is displayed. Then press ENTER to run the program.

Example of Naming a Program

Add a name [MINE] to the program.

To insert [MINE]:

1.Press F3.

2.Press 0 (zero) key. Insert brackets.

3.Press ALPHA. Move to next character.

4.Press #5 key. Insert M.

5.Press ALPHA. Move to next character.

6.Press #3 key three times. Insert I.

7.Press ALPHA. Move to next character.

8.Press # 5 key two times. Insert N.

9.Press ALPHA. Move to next character.

10.Press #2 key two times. Insert E.

11.Press the key to move cursor to the right of the bracket. The program name will be as shown in Figure 4-6.

Figure 4-6

[MINE] AC.3 VE2 DI1 GO

12.Press ESC. You will be prompted as shown in Figure 4-7.

Figure 4-7

Save Program_?

YESNO

4-6Keypad Operation

MN1853

Image 33
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 Connection before you first ensure that power has been Do not touch any circuit board, power device or electricalDo not apply AC power before you ensure that grounds are Voltages that are conducted to its power input terminals.Instead, we recommend using a four wire Wye Extend more than 0.2 5 into keypad assemblyPower is removed from the drive Driver should have specifications compatible to the driveSection Product Overview OverviewMotors Product Overview MN1853 Power Dissipation Section Receiving and InstallationMechanical Installation Receiving & InspectionRecommended System Grounding for UL Recommended System Grounding 1 phase for CESystem Grounding Ungrounded Distribution System Input Power ConditioningDelay a Wire Size and Protection DevicesEurope BaldorConnection 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 ConnectionsWhere are these resistors placed? What is a termination resistor?RS485 PC Connections How many resistors should my system have?13 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 AY0165A00 Leadwire Connection 9 pin to flying leads Motor ConnectorInterlock Intlk Ground GND21 Opto Racks DB25 Pin to Screw Terminal Converter PNP ConverterPNP Power Off Checks Start-Up ProcedurePower On Checks Action Display CommentsSection Keypad Operation OverviewF1, F2, F3 Main Menu Menu KeyJOG F2 MenusDecimal 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 Pressing Help in Menus and Sub-Menus Pressing Help in the Main MenuPressing Help In the Program Edit function Sequentially Eeprom message disappearsCOPY, 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 Fault AMP FaultBrake Over CurrentConfigure 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 CommunicationsData Type Description of Display Data Type Configure Miscellaneous Setup ParametersPOS1 VEL1Password Type Description Gives access to these menus General Password RulesSetup MN1853 Section Keypad Programming Keypad Program Command ListValue Units ExamplesValue 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 =26 =27 =28 =12 =13 =17 =18 =22 =23RUN Edit Copy DELExample 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 Gthome Powerup ONL,GTON EOTMain VE5 DA20 GO= starting output number Syntax RGr RG Registration Value N/A Units N/A SQRESULT=0 SQ27.96,SQRESULTST1 AC1 DE1 VE25 DA6 GO VE50 DA0 GO EN Value N/A Units secondsSyntax VEr VE Velocity Summary of Expressions, Operators and Functions Helpful Hints Programming your applicationProgramming Overview Variables Example of Hosted ModeProgram Variable NamesVariable 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 Increment/Decrement Variables Logical OperatorsExpressions Other Programming Samples WTAI12MAX TempCreate a Message and Read an Input Variable Setting an Output=On on-the-flyReading an Analog Input Value Read a 4 Digit BCD number, 2 Digits at a timeGET 4 Bcds Digit BCD=4 Digit BCD+2TWSection 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 Protection & Indicators Description General SpecificationsVAC VDCDimensions Specifications & Product Data MN1853 Section CE Guidelines Wiring of Shielded Screened CablesCE Declaration of Conformity EMC Conformity and CE MarkingGrounding 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