Baldor MIN1853 manual Value N/A Units N/A Range N/A

Page 69

GI

Go Immediate

syntax – GI or GIi

Value: N/A

Units: N/A

Range: N/A

The GI command begins a defined move profile in the same manner as the GO command. Unlike the GO command, where program execution waits until all defined moves have terminated, GI allows program execution to continue when the move has begun. This allows for other program defined processes to take place while an axis is moving, such as independent multi–axis moves, OT commands, and conditional IF blocks.

Examples:

VE1 DI20 GI MS1, “Axis #1 is moving” TD2

In this example, when the DI20 move begins, program execution immediately displays the “Axis #1 is moving” message for 2 seconds. When the TD2 command has executed, the program will terminate; however, axis #1 will continue to move until the DI20 distance is reached. A Stop, Kill, or press of the ESC key will halt a GI based move either inside or outside program execution.

The GI command can cause program execution and moves to be asynchronous. To re–synchronize the end of a GI move with program execution, use the Wait (WT) command, i.e. WT#1 will wait for only axis #1. If a program error occurs during a GI move, the move will stop at the Stop Decel Rate.

VE1 DA100 GI OT1,1 DA0 GI IF1,1 MS1, “All moves done” EB

If a GI move is in progress and an additional move is commanded on the same axis, the additional move will not begin until the GI move has completed.

In this program, one may expect to see the message “All moves done” immediately after the DA100 move begins. In reality, the program will wait at the DA0 GI until the DA100 move has completed before continuing. More simply stated, a move cannot be commanded to begin on an axis that is already moving.

Since GI allows program execution to continue, there can be programming issues when using GI. For example, in the program fragment “LP VE2 DI10 GI OT1 TD1 OT0 EB” shown in Figure 6-2, after the first pass through, the loop command (LP) will wait at the GI command since subsequent GI moves must wait for the present move to finish.

 

 

Figure 6-2

V

 

 

Axis 1

 

 

 

 

T

V

1 Second

1 Second

Output 1

 

 

 

 

T

V

 

 

Axis 1

 

 

 

 

T

V

 

 

Output 1

 

 

 

 

T

The program will operate as shown here.

The program will not operate as shown here.

6-10 Keypad Programming

MN1853

Image 69
Contents LinStep+ Single-Axis Microstepping Indexer/Driver Table of Contents Prog POSProg To PAD From Troubleshooting Iv Table of Contents MN1853 Limited Warranty Section General InformationCE Compliance Product Notice Intended use Could result in injury or deathCould result in damage to property Connection before you first ensure that power has been Do not touch any circuit board, power device or electricalDo not apply AC power before you ensure that grounds are Voltages that are conducted to its power input terminals.Instead, we recommend using a four wire Wye Extend more than 0.2 5 into keypad assemblyPower is removed from the drive Driver should have specifications compatible to the driveSection Product Overview OverviewMotors Product Overview MN1853 Power Dissipation Section Receiving and InstallationMechanical Installation Receiving & InspectionRecommended System Grounding for UL Recommended System Grounding 1 phase for CESystem Grounding Ungrounded Distribution System Input Power ConditioningDelay a Wire Size and Protection DevicesEurope BaldorConnection Locations 115VAC, 1 Axis Tools Required Keypad Nullmodem ConnectionsRS-232 PC Connections 9 & 25 Pin RS-232 Cable Connections for UL InstallationsRules for Daisy Chain Operation Daisy Chain ConnectionsWhere are these resistors placed? What is a termination resistor?RS485 PC Connections How many resistors should my system have?13 RS485 4 Wire Multi-Drop for UL Installations Discrete I/O Connections Limits ConnectionsET± Encoder Signal PVS100 Danaher 9-Pin D Encoder Color Code+5VDC AY0165A00 Leadwire Connection 9 pin to flying leads Motor ConnectorInterlock Intlk Ground GND21 Opto Racks DB25 Pin to Screw Terminal Converter PNP ConverterPNP Power Off Checks Start-Up ProcedurePower On Checks Action Display CommentsSection Keypad Operation OverviewF1, F2, F3 Main Menu Menu KeyJOG F2 MenusDecimal Point CommaAlpha New Program Edit MenuEdit an existing program Save the programExample of Naming a Program Naming a programUse the =O keys for additional alpha characters Entering Characters with the Alpha Key In edit modeSubmenu Setup Parameter Description of Setup Parameter Edit, Setup SubmenuPress EDIT, POS F3 Press YES F1 or no F3 Pressing Help in Menus and Sub-Menus Pressing Help in the Main MenuPressing Help In the Program Edit function Sequentially Eeprom message disappearsCOPY, to PAD Submenu Keypad Operation MN1853 Procedure Format Definition Section SetupValue Range AR unloaded + 12.987 x log + log 155 Tm * JrFine-Tuning Offsets Value HighValue OFF Range N/A ValueApplication Notes Configuring Encoder Resolution ERi Configure Your Application Mechanics Value inch Char Keypad Display Input Character Description Configure the I/ONo additional interrupts will be seen By one-half Fault AMP FaultBrake Over CurrentConfigure the Output States Configure the Optional Lxopto 44/88Configure JOG Parameters Configure End of Travel Switch PolarityConfigure Home Parameters Configuring Home Edge HEi Configure Power-up Program Value Enabled Range Enabled, Disabled Configure Serial CommunicationsData Type Description of Display Data Type Configure Miscellaneous Setup ParametersPOS1 VEL1Password Type Description Gives access to these menus General Password RulesSetup MN1853 Section Keypad Programming Keypad Program Command ListValue Units ExamplesValue Units Range ExampleAC2 DE.5 VE12 DA3 GO DA3 GO DA3 GO DC Distance to Change Examples of DC move profiles, AC = seconds, VE=ips Example Distance to ChangeAC.1 VE60 DI2 GO DI1 GO DI-4 GO Value Units Range N/A LP2 DI3 GO EBIF2,1 EN EB DI2 GO =26 =27 =28 =12 =13 =17 =18 =22 =23RUN Edit Copy DELExample 3-Screen Menu Program GH Start Home Value N/A Units N/A Range N/A Units Range N/A Value N/A Units N/A Range i=1-16IF10 Gtpart a EB =1-400, name = any legal program nameIFPARTS=25 GS20 EB Units RangeIV12,LENGTH LppiecesDilength Value Units N/A Range N/A Syntax MC+ MC Move Continuous Move Continuous MS27,COUNT Gthome Powerup ONL,GTON EOTMain VE5 DA20 GO= starting output number Syntax RGr RG Registration Value N/A Units N/A SQRESULT=0 SQ27.96,SQRESULTST1 AC1 DE1 VE25 DA6 GO VE50 DA0 GO EN Value N/A Units secondsSyntax VEr VE Velocity Summary of Expressions, Operators and Functions Helpful Hints Programming your applicationProgramming Overview Variables Example of Hosted ModeProgram Variable NamesVariable Name Description of Built-in Variable Type Built-in VariablesUsing Built-in Variable Arowrel Non-Volatile Variables PartsLpnumber AO15=VOLTAGE + Error Arithmetic Operands and EquationsBoolean Operators Increment/Decrement Variables Logical OperatorsExpressions Other Programming Samples WTAI12MAX TempCreate a Message and Read an Input Variable Setting an Output=On on-the-flyReading an Analog Input Value Read a 4 Digit BCD number, 2 Digits at a timeGET 4 Bcds Digit BCD=4 Digit BCD+2TWSection Troubleshooting 1Operating Mode Indications, 1 AxisAdditional Information General Additional Information Serial Communications Problems Troubleshooting MN1853 Section Specifications & Product Data IdentificationLinStep+ LX 1 P 1 A- 0xF9 Protection & Indicators Description General SpecificationsVAC VDCDimensions Specifications & Product Data MN1853 Section CE Guidelines Wiring of Shielded Screened CablesCE Declaration of Conformity EMC Conformity and CE MarkingGrounding Earth EMC Wiring TechniqueCable Screens Grounding EMC Installation InstructionsInput Signal Cable Grounding Simulated Encoder Output Cable GroundingEncoder Cable Grounding Programming Template Appendix aAppendix MN1853 MN1853 Appendix A-3 Remote Keypad Mounting Template Baldor Electric Company MN1853 01 C&J Baldor Electric CompanyLinStep+ Single-Axis Microstepping Indexer/Driver