Baldor MIN1853 manual Example 3-Screen Menu Program

Page 67

Program 20:

Figure 6-1 Example 3–Screen Menu Program

 

[SCREEN 1]

Name the main program

MS1,““

Clears keypad screen

MS3,“Select a Part”

Writes a Message

MS21,”Part A Part B Part C”

Writes a message above function keys

FK1,2,3,17,18

Wait for selected key press

GT(FKEY)

Jumps to prog# 1, #2, or #3 if F1,F2, or F3 is pressed Jumps to prog #17, or

 

#18 if the up or down arrow keys are pressed.

EN

End of Routine

Program 18:

 

[SCREEN 2]

MS21,“Part D Part E Part F” FK1,2,3,17,18 IF(FKEY)=17 GT[SCREEN 1] IF(FKEY)=18 GT[SCREEN 3] EB

GT(FKEY)

EN

Program 17:

Writes a message above F1, F2, F3.

Wait for selected key press

EB If Up arrow goto screen 1

If Down arrow goto screen 3 (FKEY)=(FKEY)+3 Add offset to FKEY variable to goto correct part subroutine.

Jumps to part D, E, F in program#4, 5, or 6

End of Routine

[SCREEN 3]

 

MS21,“Part G Part H Part J”

Writes a message above function keys.

FK1,2,3,17,18

Wait for selected key press

IF(FKEY)=17 GT[SCREEN 2] EB

If Up arrow goto screen 2

IF(FKEY)=18 GT[SCREEN 1] EB

If Down arrow goto screen 1

(FKEY)=(FKEY)+6

Add offset to FKEY variable to goto correct part subroutine

GT(FKEY)

Jumps to part G, H, J in program #7,8 or 9

EN

End of Routine

The programs to make Parts A, B, C, D, etc. are in program numbers 1–9. To continuously cycle through put a GT[SCREEN 1] at the end of each part program.

6-8 Keypad Programming

MN1853

Image 67
Contents LinStep+ Single-Axis Microstepping Indexer/Driver Table of Contents POS ProgProg To PAD From Troubleshooting Iv Table of Contents MN1853 Section General Information Limited WarrantyCE Compliance Could result in injury or death Product Notice Intended useCould 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 driveOverview Section Product 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 Limits Connections Discrete I/O ConnectionsET± Encoder Color Code Encoder Signal PVS100 Danaher 9-Pin D+5VDC Ground GND Motor ConnectorAY0165A00 Leadwire Connection 9 pin to flying leads Interlock Intlk21 Opto Racks PNP Converter DB25 Pin to Screw Terminal ConverterPNP Action Display Comments Start-Up ProcedurePower Off Checks Power On ChecksOverview Section Keypad OperationF1, F2, F3 Menus Menu KeyMain Menu JOG F2Comma Decimal PointAlpha 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 * JrValue High Fine-Tuning OffsetsValue OFF Value Range N/AApplication 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 UnitsExample Value Units RangeAC2 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 LP2 DI3 GO EB Value Units Range N/AIF2,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 RangeLppieces IV12,LENGTHDilength 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 Helpful Hints Programming your application Summary of Expressions, Operators and FunctionsProgramming Overview Variable Names Example of Hosted ModeVariables ProgramVariable Name Description of Built-in Variable Type Built-in VariablesUsing Built-in Variable Arowrel Parts Non-Volatile VariablesLpnumber Arithmetic Operands and Equations AO15=VOLTAGE + ErrorBoolean 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 Bcds1Operating Mode Indications, 1 Axis Section TroubleshootingAdditional Information General Additional Information Serial Communications Problems Troubleshooting MN1853 Identification Section Specifications & Product DataLinStep+ 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 InstructionsSimulated Encoder Output Cable Grounding Input Signal 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