Baldor mn1854 manual GO Go Start a Move Syntax GO or GOi, Value N/A Units N/A Range i=1-16

Page 66

GO Go (Start a Move)

syntax – GO or GOi

Value: N/A

Units: N/A

Range: i=1–16

GO executes a move profile defined by some combination of AC, VE, DE, DI, DA, DC, or MC commands. Actual motion of a new profile will occur after a short calculation of the motion trajectory. GOn pre–calculates the move and waits for Input number “n” to activate before executing. This variation is sometimes useful for applications needing very short, repeatable move calculation delays. It is more often used simply to shorten code, since it functions like the combination of Wait on Input and Go (WTn GO) yet it pre–calculates the move. Like other commands using I/O, GOn does not restrict you from using an input even if it has been configured for some predefined function.

Examples:

 

AC.05 DE.05 VE50 DI5 GO

GO initiates calculation of a move profile using buffered parameters (.05 unit

 

Accel and Decel Ramp, speed 50, 5 unit incremental move) and executes it.

AC.05 DE.05 VE50 DI5 GO2 When input 2 is activated, immediate execution of the motion calculation

 

already in the buffer is performed.

 

GP Go Point(Start a Move)

Y

syntax – GP or GPn

Example:

Value:

N/A

 

VE2 AC.1 DA4,2 GP

 

Units:

N/A

(4,2)

 

Range: N/A

 

 

 

X

The GP command allows a LinStep+ two axis to execute a linear interpolated move. An example of the GP move is shown. The path velocity, acceleration and deceleration are specified by the parameters traditionally defined for one axis move. These parameters are defined once and each GP move there after will use these values until new values are entered. The end point of the move is specified by a two axis DA or DI command to the appropriate X and Y coordinates.

In the example, the path velocity is 2 user units/sec, path acceleration is .1 sec and the X,Y position is (4,2). The GPn command specifies a discrete input must be active before executing the move. Although both axes move during a GP move, all GP parameters refer to the path movement rather than the individual axis movements.

Notes:

GP will work with any velocity or acceleration unit.

The largest GP move is restricted to X2+Y2 <= (231–1)2in units of steps.

For example, the longest simultaneous X,Y point move is:

Steps: DA1518500249,1518500249

If resolution is 8000: DA189 812.5311,189 812.5311

If resolution is 25000: DA60 740.0099,60 740.0099

Commanding moves larger than X2+Y2 <= (231–1)2will produce unpredictable results.

The DC command does not recognize an interpolated move as a ’single’ move and will treat the axes independently. Therefore, using a DC during a GP move will cause unpredictable results unless the user has calculated the necessary values to preserve the vector move.

MN1854

Keypad Programming 6-11

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