Baldor mn1854 manual Example Distance to Change, DCn * DCn*1 * Vn*1 2* Vnt w, DC n + 10 +

Page 59

Example: (Distance to Change)

The DC command can only be used when the motor is moving at constant speed (no acceleration of deceleration). Issuing a DC command before a previous DC command has finished executing is invalid and can cause unpredictable results. (For example, “AC1 VE DA20 DC1.75 VE7.5 GO” is incorrect use of the DC command). The initial acceleration ramp requires 2.5 units to reach velocity S= 0.5Vt, the DC1.75 is an invalid trigger position and is ignored. The following formula ensures the use of valid DC trigger positions:

DCn * DCn*1 * (Vn*1 2* Vn)t w 0

Where:

n is the commanded DC distance (n=19 in this example)

n–1 is the previous commanded DC distance (for example 10) V is the velocity

t is the acceleration time

(The first commanded DC move in a profile, n–1 is the beginning of the move).

Examples of DC move profiles:, AC = seconds, VE=ips.

AC1.6 DE0.8 VE5 DA20 DC10 AC2.5 VE3 DC? VE2.5 GO

5

10

?

19

20 Units

To calculate DCn (or DC? in the example)

DCn +

(5 * 3) (2.5)

) 10 + 12.5

 

2

 

 

“?” must be 12.5 distance units. Also, the DC trigger position and the DC? VE2.5 segment must be verified or determined before the beginning of the move declaration. If “?” is chosen to be 13.35 (a valid trigger position), use the beginning of the decel ramp as DCn in the DC formula. A decel ramp from 2.5 to 0 requires 1 distance unit in 0.8 seconds (S= 0.5Vt).

19 * 13.35 *

(0 * 2.5) (0.8)

+ 5.65

2

 

 

Since the result is positive, the DC13.35 VE2.5 is a valid segment. AC.05 DE.05 VE10 DA4 DC1 OT100 DC2 OT010 DC3 OT001 GO

{While moving to an absolute position of 4 units, turn on output 1 at 1 unit, output 2 at 2 units and output 3 at 3 units}

AC.05 DE.09 VE30 DA6 DC3 VE15 GO

{Move to absolute position 6 units with a starting speed of 30. At 3 units, reduce speed to 15 (change–on–fly) and complete move}

AC1 DE.5 VE20 DI–8 DC1 OT10 DC3 OT01 GO

{Move an incremental distance of negative 8 units. After 1 unit, turn on output 1, and after 3 additional units of motion, turn off output 1 and turn on output 2}

AC.05 DE.15 VE50 DI15 DC5 VE10 DC5 VE5 GO

{At a starting speed of 50, begin moving an incremental distance of 15 units. After 5 units, ramp down to 10 speed. After an additional 5 distance units, ramp down to 5 speed and continue until the final position is reached}

6-4 Keypad Programming

MN1854

Image 59
Contents LinStep+ Dual-Axis Microstepping Indexer/Driver Table of Contents Increment/Decrement Variables Other Programming Samples Ii Table of Contents MN1854Arithmetic Operands and Equations Troubleshooting Serial Communications Problems Iv Table of Contents MN1854 CE Compliance Limited WarrantySection General Information On next 2General Information MN1854 Product Notice Intended useCould result in injury or death Could result in damage to propertyVoltages 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 driveMotors Section Product OverviewOverview Product Overview MN1854 Receiving & Inspection Section Receiving and InstallationPower Dissipation Mechanical InstallationGND 2Receiving & Installation MN1854System Grounding Ungrounded Distribution System Input Power Conditioning4Receiving & Installation MN1854 Wire Size and Protection DevicesPower Connections Power connections are shown in Figure Connection Locations 115VAC, 2 Axis MN1854 Receiving & InstallationTools Required 6Receiving & Installation MN1854RS-232 PC Connections 9 & 25 Pin RS-232 Cable Connections for UL InstallationsPC / Host Device 8Receiving & Installation MN1854Daisy Chain Connections Rules for Daisy Chain OperationTypical connection each input Programmable I/O ConnectionsOptional Opto I/O Connections These input connections are made at terminals 6-40 Figure+5VDC 10Receiving & Installation MN1854Encoder Signal PVS100 Danaher 9-Pin D Encoder Color CodeGround GND Motor ConnectorLD9068A00 Leadwire Connection 9 pin to flying leads Interlock IntlkSection General Information Start-Up ProcedurePower Off Checks Switch and Potentiometer SettingsHigh Power On ChecksAction Display Comments Motor should now be producing torqueReceiving & Installation MN1854 F1, F2, F3 Section Keypad OperationOverview Keypad layout with the LCD display is shown in FigureCopies one program to another within the LinStep+ Alpha Decimal PointComma Shutdn RS232 Encoder TestThus eliminating the need for a PC terminal connection Trace Output MovePressing the Edit key displays a set of sub-menus Edit MenuSave Program? YesNo Save the programEdit an existing program 6Keypad Operation MN1854Mine AC.3 VE2 DI1 GO Naming a programExample of Naming a Program Press ESC. You will be prompted as shown in Figure8Keypad Operation MN1854 Entering Characters with the Alpha Key In edit modeUse the =O keys for additional alpha characters Submenu Setup Parameter Description of Setup Parameter Edit, Setup SubmenuPrograms stored Press ↓ to display the total Press EDIT, POS F3 Press YES F1 or no F3Press EDIT, ↓ , List to Display the numberSequentially Eeprom message disappears Pressing Help in the Main MenuPressing Help in Menus and Sub-Menus Pressing Help In the Program Edit functionProgram names COPY, to PAD SubmenuEnter the program number. Or, if You wish, you can scroll the listProcedure Format Definition Section SetupAxis One Motor Dir Setup MN1854Axis One Motor Type Steper Axis One Drive ResAxis One Encoder RES ↑5000 cnts/in ↓ Axis One ENC ModeOpen Loop Application NotesPM Gain IN-RANGE Setup WindowValue IN-RANGE WindowVmax Accel Amax Configure Your Application MechanicsMech Setup Dist500.0 in/s ↓→ Axis One Vel Units In/sEdit Axis One MAX VelChar Keypad Display Input Character Description Configure the I/OIuuuuuuu ←↑↓→ Reset to 1. This allows for input debounce and controlling Inputs will work. See the RG command for more detailsService routine program To summarize, when INT98CTRL=1Inputs Warm BootPower-up program, if defined, will start Jog SpeedOUT1 Programmable Pppppppp ←↑↓→ OFF Configure the Output StatesOPTO9 Input IiiiiiiiAccel LO-VEL HI-VEL Configure End of Travel Switch PolarityConfigure JOG Parameters EnableOffset DIR Configure Home ParametersMode Edge Switch Negative Axis One Final Dir Positive Configure Power-up Program↑SETUP↓ Power Up Program PROGRAM0Echo UNIT# Configure Serial CommunicationsRS232C Setup ↑ Enabled ↓Data Type Description of Display Data Type Configure Miscellaneous Setup ParametersPassword Type Description Gives access to these menus General Password RulesPassword Setup Opratr Admin ClearFunction Key Message to Display Keypad Program Command ListSection Keypad Programming Acceleration Start Home Outputs On/OffAC2 DE.5 VE12 DA3 GO DA3 GO DA3 GO Keypad Programming MN1854Value Units Range ExampleDC Distance to Change DC n + 10 + Example Distance to ChangeDCn * DCn*1 * Vn*1 2* Vnt w Examples of DC move profiles, AC = seconds, VE=ipsAC.1 VE60 DI2 GO DI1 GO DI-4 GO DE DecelerationIF2,1 EN EB DI2 GO Value Units Range N/ALP2 DI3 GO EB Copy DEL =12 =13 =17 =18 =22 =23=26 =27 =28 RUN EditExample 3-Screen Menu Program GH Start Home Set in Edit Setup Mech Accel VELValue N/A Units N/A Range N/A Go Immediate Syntax GI or GIiVE2 AC.1 DA4,2 GP GO Go Start a Move Syntax GO or GOiValue N/A Units N/A Range i=1-16 AC.05 DE.05 VE50 DI5 GOIf input 1 is on and input 2 is off, jump to program Part a Gosub Syntax GSi and GSname=1-400, name = any legal program name IF10 Gtpart a EBIFPARTS=25 GS20 EB Units RangeDilength IV12,LENGTHLppieces Value Units N/A Range N/A Syntax LPi LP LoopSyntax MC+ MC Move Continuous Move Continuous 27 7th character, 2nd row MS27,COUNTVE5 DA20 GO Powerup ONL,GTON EOTGthome MainOT4,1 Turn on Output OT2,0D1 = starting output number=0 input high. X=1 input low grounded =anything else ignore input changesSyntax 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 EN= starting input number Syntax VEr VE VelocityWTexpression Programming Overview Summary of Expressions, Operators and FunctionsHelpful Hints Programming your application Variable Names Example of Hosted ModeProgram Variable Name Description of Built-in Variable Type Examples of how to use Built-in VariablesBuilt-in Variables Using Built-in Variable Arowrel Lpnumber Non-Volatile VariablesParts Instead, you should use AO15=VOLTAGE + ErrorArithmetic Operands and Equations Examples of incorrect useOther Programming Samples Logical OperatorsIncrement/Decrement Variables ExpressionsCreate a Menu menu display on keypad display for operator Setting an Output=On on-the-flyCreate a Message and Read an Input Variable Digit BCD=4 Digit BCD+2TW Read a 4 Digit BCD number, 2 Digits at a timeReading an Analog Input Value GET 4 BcdsAdditional Information General Section Troubleshooting1Operation Indicators 2Axis 1 and 2 IndicatorsAdditional Information Troubleshooting MN1854Serial Communications Problems Troubleshooting MN1854 LinStep+ LX 2 P 1 a Section Specifications & Product DataMN1854 Specifications & Product Data IdentificationVDC General SpecificationsProtection & Indicators Description VAC94.7 230.1 DimensionsOptional Keypad 10.08 256.0 Axis Driver 148.3 Specifications & Product Data MN1854 EMC Conformity and CE Marking Wiring of Shielded Screened CablesSection CE Guidelines CE Declaration of ConformityGrounding Earth EMC Wiring TechniqueCE Guidelines MN1854 CitCable Screens Grounding EMC Installation InstructionsTo Controller Input Signal Cable GroundingSimulated Encoder Output Cable Grounding Encoder Cable GroundingMN1854 Appendix A-1 Appendix aProgramming Template Appendix MN1854 MN1854 Appendix A-3 111.25 Remote Keypad Mounting Template122.88 838Baldor Electric Company MN1854 01 C&J Baldor Electric CompanyLinStep+ Dual-Axis Microstepping Indexer/Driver