Baldor mn1854 manual Syntax MC+ MC Move Continuous, Value N/A Units N/A Range N/A

Page 71

syntax – MC+

MC Move Continuous

Value: N/A

Units: N/A

Range: N/A

Sets move profiles to “continuous move”, using the AC, DE and VE parameters. Move Continuous is enabled on an axis with the “+” sign. “MC+” enables the mode for axis one. DI, DA and DC commands reset the mode to distance.

Each MC+ segment must contain a GO command. Accelerations, Velocities, and Decelerations may be changed in any segment. If no change is specified, the last parameter value will be used. It is not valid to issue positional commands (DI, DA, DC, GH, SP) to an axis while it is moving in continuous mode. Any command is valid within an MC segment except Distance Commands (DA, DC, & DI).

The direction of the move is specified by the sign of the VE parameter. If the sign of the VE parameter changes between two segments, the control will automatically stop the motor (at the programmed deceleration rate) and change directions to the new speed. This makes changing directions based on variable inputs very easy to program using a scaled variable as the VE parameter.

When a MC+ segment is started, it will continue to move at the speed specified by VE until another VE is commanded, the ESC Key is pressed, or an End Of Travel, Kill Motion, Interrupt, or Stop Input is activated. A commanded velocity of zero (VE0) stops a Mode Continuous move. Motion will also stop if the edit, help, copy, or delete menus are opened.

After a continuous move segment has started, command processing will continue when constant velocity is reached. Other commands are then processed sequentially. This allows you to do things like:

SHave asynchronous inputs change the speed of an axis

SMake motion profile changes based on time delays or input states

SManipulate I/O while moving as a function or time, distance, or input states

SChange speed based on analog inputs or variables

SHave an operator update the speed of an axis through the keypad

SServo to an analog input

SMake a one axis joystick using analog inputs

If a motor is making a move when it comes to the end of a program, the motor will continue moving, even after the program ends. This allows you to:

SPut different MC moves in different programs and select different speeds by running different programs.

SChange speeds based on Binary or BCD program select lines

SCall MC+ moves as subroutines

SRun from “hosted” RS–232C mode, where the computer commands speed changes

SRun another program from the keypad that does not violate MC syntax. So you could run another program from the keypad to change speeds, manipulate I/O, interface with an operator or calculate arithmetic.

6-16 Keypad Programming

MN1854

Image 71
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