Baldor mn1854 manual Move Continuous

Page 72

Move Continuous Continued

Examples:

1.Basic Move Continuous syntax. Demonstrates how to change speed and stop MC+ moves based on time delays and input conditions.

MC+

Enable Move Continuous on axis 1

AC.1 DE.2

Set the acceleration and deceleration rates

VE50

Set top speed to 50

GO

Start the Move Continuous move, command processing will continue when axis 1

 

reaches constant velocity

TD2

Delay for 2 seconds at speed

VE25 GO

Decel to 25

WT111

Wait for inputs 1,2, and 3 to go active

VE0 GO

Stop the move

2.Demonstrates how to prompt an operator for speed changes on a one axis LinStep+. The move is started after the initial velocity prompt. The velocity only changes when the operator enters a new value using the keypad. The move can be stopped by entering a velocity of zero, or when any of the stop conditions defined above exist.

[One Axis MC]

MS1,“Enter the Velocity” Prompt the operator

IV23,(V)

Put the operator input in variable (V)

MC+ AC1

 

VE(V)

Use operator inputted variable (V) as new speed

GO

Change velocity of axis 1 to the new speed

GT[One Axis MC]

Repeat

3. Demonstrates the use of WT, OT and TD commands in continuous move.

MC+ AC3 VE3 GO

Start first segment

WT8,1 AC.1 VE10

GO Wait for input 8 and change speed

TD5 AC.3 VE.2 GO

Wait for 5 seconds and change speed

WT3,1 VE–10 GO

Wait for input 3 and change speed and direction

OT11

Turn on outputs 1 and 2

TD10 VE0 GO

Wait 10 seconds and stop the move

MN1854

Keypad Programming 6-17

Image 72
Contents LinStep+ Dual-Axis Microstepping Indexer/Driver Table of Contents Other Programming Samples Ii Table of Contents MN1854 Arithmetic Operands and EquationsIncrement/Decrement Variables Troubleshooting Serial Communications Problems Iv Table of Contents MN1854 Limited Warranty Section General InformationCE Compliance Product Notice Intended use Could result in injury or deathCould result in damage to property On next 2General Information MN1854Do not touch any circuit board, power device or electrical Connection before you first ensure that power has beenDo not apply AC power before you ensure that grounds are Voltages that are conducted to its power input terminals.Extend more than 0.2 5 into keypad assembly Instead, we recommend using a four wire WyePower is removed from the drive Driver should have specifications compatible to the driveSection Product Overview OverviewMotors Product Overview MN1854 Section Receiving and Installation Power DissipationMechanical Installation Receiving & Inspection2Receiving & Installation MN1854 GNDInput Power Conditioning System Grounding Ungrounded Distribution SystemWire Size and Protection Devices Power Connections Power connections are shown in Figure4Receiving & Installation MN1854 MN1854 Receiving & Installation Connection Locations 115VAC, 2 Axis6Receiving & Installation MN1854 Tools Required9 & 25 Pin RS-232 Cable Connections for UL Installations RS-232 PC Connections8Receiving & Installation MN1854 Daisy Chain ConnectionsRules for Daisy Chain Operation PC / Host DeviceProgrammable I/O Connections Optional Opto I/O ConnectionsThese input connections are made at terminals 6-40 Figure Typical connection each input10Receiving & Installation MN1854 Encoder Signal PVS100 Danaher 9-Pin DEncoder Color Code +5VDCMotor Connector LD9068A00 Leadwire Connection 9 pin to flying leadsInterlock Intlk Ground GNDStart-Up Procedure Power Off ChecksSwitch and Potentiometer Settings Section General InformationPower On Checks Action Display CommentsMotor should now be producing torque HighReceiving & Installation MN1854 Section Keypad Operation OverviewKeypad layout with the LCD display is shown in Figure F1, F2, F3Copies one program to another within the LinStep+ Decimal Point CommaAlpha Test Thus eliminating the need for a PC terminal connectionTrace Output Move Shutdn RS232 EncoderEdit Menu Pressing the Edit key displays a set of sub-menusSave the program Edit an existing program6Keypad Operation MN1854 Save Program? YesNoNaming a program Example of Naming a ProgramPress ESC. You will be prompted as shown in Figure Mine AC.3 VE2 DI1 GOEntering Characters with the Alpha Key In edit mode Use the =O keys for additional alpha characters8Keypad Operation MN1854 Edit, Setup Submenu Submenu Setup Parameter Description of Setup ParameterPress EDIT, POS F3 Press YES F1 or no F3 Press EDIT, ↓ , List toDisplay the number Programs stored Press ↓ to display the totalPressing Help in the Main Menu Pressing Help in Menus and Sub-MenusPressing Help In the Program Edit function Sequentially Eeprom message disappearsCOPY, to PAD Submenu Enter the program number. Or, ifYou wish, you can scroll the list Program namesSection Setup Procedure Format DefinitionSetup MN1854 Axis One Motor Type SteperAxis One Drive Res Axis One Motor DirAxis One ENC Mode Open LoopApplication Notes Axis One Encoder RES ↑5000 cnts/in ↓IN-RANGE Setup Window ValueIN-RANGE Window PM GainConfigure Your Application Mechanics Mech SetupDist Vmax Accel AmaxAxis One Vel Units In/s EditAxis One MAX Vel 500.0 in/s ↓→Configure the I/O Iuuuuuuu ←↑↓→Char Keypad Display Input Character Description Inputs will work. See the RG command for more details Service routine programTo summarize, when INT98CTRL=1 Reset to 1. This allows for input debounce and controllingWarm Boot Power-up program, if defined, will startJog Speed InputsOUT1 Programmable Pppppppp ←↑↓→ Configure the Output States OPTO9 InputIiiiiiii OFFConfigure End of Travel Switch Polarity Configure JOG ParametersEnable Accel LO-VEL HI-VELConfigure Home Parameters Mode Edge SwitchOffset DIR Negative Configure Power-up Program ↑SETUP↓Power Up Program PROGRAM0 Axis One Final Dir PositiveConfigure Serial Communications RS232C Setup↑ Enabled ↓ Echo UNIT#Configure Miscellaneous Setup Parameters Data Type Description of Display Data TypeGeneral Password Rules Password SetupOpratr Admin Clear Password Type Description Gives access to these menusKeypad Program Command List Section Keypad ProgrammingAcceleration Start Home Outputs On/Off Function Key Message to DisplayKeypad Programming MN1854 Value Units RangeExample AC2 DE.5 VE12 DA3 GO DA3 GO DA3 GODC Distance to Change Example Distance to Change DCn * DCn*1 * Vn*1 2* Vnt wExamples of DC move profiles, AC = seconds, VE=ips DC n + 10 +DE Deceleration AC.1 VE60 DI2 GO DI1 GO DI-4 GOValue Units Range N/A LP2 DI3 GO EBIF2,1 EN EB DI2 GO =12 =13 =17 =18 =22 =23 =26 =27 =28RUN Edit Copy DELExample 3-Screen Menu Program Set in Edit Setup Mech Accel VEL GH Start HomeGo Immediate Syntax GI or GIi Value N/A Units N/A Range N/AGO Go Start a Move Syntax GO or GOi Value N/A Units N/A Range i=1-16AC.05 DE.05 VE50 DI5 GO VE2 AC.1 DA4,2 GPGosub Syntax GSi and GSname =1-400, name = any legal program nameIF10 Gtpart a EB If input 1 is on and input 2 is off, jump to program Part aUnits Range IFPARTS=25 GS20 EBIV12,LENGTH LppiecesDilength Syntax LPi LP Loop Value Units N/A Range N/ASyntax MC+ MC Move Continuous Move Continuous MS27,COUNT 27 7th character, 2nd rowPowerup ONL,GTON EOT GthomeMain VE5 DA20 GO= starting output number =0 input high. X=1 input low grounded=anything else ignore input changes OT4,1 Turn on Output OT2,0D1Syntax RGr RG Registration SQRESULT=0 SQ27.96,SQRESULT Value N/A Units N/AST1 AC1 DE1 VE25 DA6 GO VE50 DA0 GO EN Value N/A Units secondsSyntax VEr VE Velocity WTexpression= starting input number Summary of Expressions, Operators and Functions Helpful Hints Programming your applicationProgramming Overview Example of Hosted Mode ProgramVariable Names Examples of how to use Built-in Variables Built-in VariablesVariable Name Description of Built-in Variable Type Using Built-in Variable Arowrel Non-Volatile Variables PartsLpnumber AO15=VOLTAGE + Error Arithmetic Operands and EquationsExamples of incorrect use Instead, you should useLogical Operators Increment/Decrement VariablesExpressions Other Programming SamplesSetting an Output=On on-the-fly Create a Message and Read an Input VariableCreate a Menu menu display on keypad display for operator Read a 4 Digit BCD number, 2 Digits at a time Reading an Analog Input ValueGET 4 Bcds Digit BCD=4 Digit BCD+2TWSection Troubleshooting 1Operation Indicators2Axis 1 and 2 Indicators Additional Information GeneralTroubleshooting MN1854 Additional InformationSerial Communications Problems Troubleshooting MN1854 Section Specifications & Product Data MN1854 Specifications & Product DataIdentification LinStep+ LX 2 P 1 aGeneral Specifications Protection & Indicators DescriptionVAC VDCDimensions Optional Keypad 10.08 256.0 Axis Driver 148.394.7 230.1 Specifications & Product Data MN1854 Wiring of Shielded Screened Cables Section CE GuidelinesCE Declaration of Conformity EMC Conformity and CE MarkingEMC Wiring Technique CE Guidelines MN1854Cit Grounding EarthEMC Installation Instructions Cable Screens GroundingInput Signal Cable Grounding Simulated Encoder Output Cable GroundingEncoder Cable Grounding To ControllerAppendix a Programming TemplateMN1854 Appendix A-1 Appendix MN1854 MN1854 Appendix A-3 Remote Keypad Mounting Template 122.88838 111.25Baldor Electric Company Baldor Electric Company MN1854 01 C&JLinStep+ Dual-Axis Microstepping Indexer/Driver