Baldor mn1854 manual Syntax VEr VE Velocity, WTexpression, = starting input number

Page 78

syntax – VEr

VE Velocity

Value:

Units: in/sec set in EDIT > SETUP > MECH > VEL

Range: varies with velocity units

Sets the maximum velocity during a move profile. If the acceleration rate is too slow or the move distance is too short, the motor may make a triangular move (velocity vs. time) and the motor may never reach the specified speed. When VE is specified, the value is used in all subsequent moves until re–defined.

Example:

AC.1 DE.2 VE50 DA4 GO

Move to absolute position 4 units with a top speed of 50 in/sec.

WT Wait

 

syntax – WTi,xx...

 

WTxx... (assumes first input is input 1)

Value:

N/A

WTexpression

WT#1, (synchronized the program after a GI move)

Units:

N/A

i = starting input number, 1–16

Range: 1–16

x=0; input high. X=1; input low (grounded).

 

 

x=anything else; ignore input changes.

 

expression = any valid expression (see math and variables definitions)

Causes LinStep+ to wait for the specified condition to be true before continuing program execution. Either digital or analog input conditions may be used. The WT command allows use of configured inputs in the expression. To help prevent this from causing programming confusion, you can use any character as an input (x). This allows you to self document WT statements. For example, assume input #3 is set to “JOG SPEED”. Programming like “WT01J10” can help remind you that you are already using input # 3.

Example:

 

WT4,1 GO

Wait for input 4 to equal 1 before moving.

WT2,010 GO

Wait for inputs 2–4 to equal 010 before moving.

WT110 GO

Wait for inputs 1–3 to equal 110 before moving.

WT#1

Causes program execution to halt (wait) until GI move is complete.

MN1854

Keypad Programming 6-23

Image 78
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 Could result in damage to property Product Notice Intended useCould result in injury or death On next 2General Information MN1854Do not apply AC power before you ensure that grounds are Do not touch any circuit board, power device or electricalConnection before you first ensure that power has been Voltages that are conducted to its power input terminals.Power is removed from the drive Extend more than 0.2 5 into keypad assemblyInstead, we recommend using a four wire Wye Driver should have specifications compatible to the driveSection Product Overview OverviewMotors Product Overview MN1854 Mechanical Installation Section Receiving and InstallationPower Dissipation 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 ConnectionsRules for Daisy Chain Operation 8Receiving & Installation MN1854Daisy Chain Connections PC / Host DeviceThese input connections are made at terminals 6-40 Figure Programmable I/O ConnectionsOptional Opto I/O Connections Typical connection each inputEncoder Color Code 10Receiving & Installation MN1854Encoder Signal PVS100 Danaher 9-Pin D +5VDCInterlock Intlk Motor ConnectorLD9068A00 Leadwire Connection 9 pin to flying leads Ground GNDSwitch and Potentiometer Settings Start-Up ProcedurePower Off Checks Section General InformationMotor should now be producing torque Power On ChecksAction Display Comments HighReceiving & Installation MN1854 Keypad layout with the LCD display is shown in Figure Section Keypad OperationOverview F1, F2, F3Copies one program to another within the LinStep+ Decimal Point CommaAlpha Trace Output Move TestThus eliminating the need for a PC terminal connection Shutdn RS232 EncoderEdit Menu Pressing the Edit key displays a set of sub-menus6Keypad Operation MN1854 Save the programEdit an existing program Save Program? YesNoPress ESC. You will be prompted as shown in Figure Naming a programExample of Naming a Program 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 ParameterDisplay the number Press EDIT, POS F3 Press YES F1 or no F3Press EDIT, ↓ , List to Programs stored Press ↓ to display the totalPressing Help In the Program Edit function Pressing Help in the Main MenuPressing Help in Menus and Sub-Menus Sequentially Eeprom message disappearsYou wish, you can scroll the list COPY, to PAD SubmenuEnter the program number. Or, if Program namesSection Setup Procedure Format DefinitionAxis One Drive Res Setup MN1854Axis One Motor Type Steper Axis One Motor DirApplication Notes Axis One ENC ModeOpen Loop Axis One Encoder RES ↑5000 cnts/in ↓IN-RANGE Window IN-RANGE Setup WindowValue PM GainDist Configure Your Application MechanicsMech Setup Vmax Accel AmaxAxis One MAX Vel Axis One Vel Units In/sEdit 500.0 in/s ↓→Configure the I/O Iuuuuuuu ←↑↓→Char Keypad Display Input Character Description To summarize, when INT98CTRL=1 Inputs will work. See the RG command for more detailsService routine program Reset to 1. This allows for input debounce and controllingJog Speed Warm BootPower-up program, if defined, will start InputsOUT1 Programmable Pppppppp ←↑↓→ Iiiiiiii Configure the Output StatesOPTO9 Input OFFEnable Configure End of Travel Switch PolarityConfigure JOG Parameters Accel LO-VEL HI-VELConfigure Home Parameters Mode Edge SwitchOffset DIR Negative Power Up Program PROGRAM0 Configure Power-up Program↑SETUP↓ Axis One Final Dir Positive↑ Enabled ↓ Configure Serial CommunicationsRS232C Setup Echo UNIT#Configure Miscellaneous Setup Parameters Data Type Description of Display Data TypeOpratr Admin Clear General Password RulesPassword Setup Password Type Description Gives access to these menusAcceleration Start Home Outputs On/Off Keypad Program Command ListSection Keypad Programming Function Key Message to DisplayExample Keypad Programming MN1854Value Units Range AC2 DE.5 VE12 DA3 GO DA3 GO DA3 GODC Distance to Change Examples of DC move profiles, AC = seconds, VE=ips Example Distance to ChangeDCn * DCn*1 * Vn*1 2* Vnt w 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 RUN Edit =12 =13 =17 =18 =22 =23=26 =27 =28 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/AAC.05 DE.05 VE50 DI5 GO GO Go Start a Move Syntax GO or GOiValue N/A Units N/A Range i=1-16 VE2 AC.1 DA4,2 GPIF10 Gtpart a EB Gosub Syntax GSi and GSname=1-400, name = any legal program name 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 rowMain Powerup ONL,GTON EOTGthome VE5 DA20 GO =anything else ignore input changes = starting output number =0 input high. X=1 input low grounded OT4,1 Turn on Output OT2,0D1Syntax RGr RG Registration ST1 AC1 DE1 VE25 DA6 GO VE50 DA0 GO EN SQRESULT=0 SQ27.96,SQRESULTValue N/A Units N/A 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 Examples of incorrect use AO15=VOLTAGE + ErrorArithmetic Operands and Equations Instead, you should useExpressions Logical OperatorsIncrement/Decrement Variables 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 GET 4 Bcds Read a 4 Digit BCD number, 2 Digits at a timeReading an Analog Input Value Digit BCD=4 Digit BCD+2TW2Axis 1 and 2 Indicators Section Troubleshooting1Operation Indicators Additional Information GeneralTroubleshooting MN1854 Additional InformationSerial Communications Problems Troubleshooting MN1854 Identification Section Specifications & Product DataMN1854 Specifications & Product Data LinStep+ LX 2 P 1 aVAC General SpecificationsProtection & Indicators Description VDCDimensions Optional Keypad 10.08 256.0 Axis Driver 148.394.7 230.1 Specifications & Product Data MN1854 CE Declaration of Conformity Wiring of Shielded Screened CablesSection CE Guidelines EMC Conformity and CE MarkingCit EMC Wiring TechniqueCE Guidelines MN1854 Grounding EarthEMC Installation Instructions Cable Screens GroundingEncoder Cable Grounding Input Signal Cable GroundingSimulated Encoder Output Cable Grounding To ControllerAppendix a Programming TemplateMN1854 Appendix A-1 Appendix MN1854 MN1854 Appendix A-3 838 Remote Keypad Mounting Template122.88 111.25Baldor Electric Company Baldor Electric Company MN1854 01 C&JLinStep+ Dual-Axis Microstepping Indexer/Driver