Baldor mn1854 Inputs will work. See the RG command for more details, Service routine program

Page 45

 

 

Table 5-1 Continued

Char

Keypad Display

Input Character Description

E

Extend Jog 1

Extend Jog – When activated, the motor will Jog in the Extend (+) direction.

e

Extend Jog 2

When the input is released, motion stops at the Jog Accel rate. If an End of

 

 

Travel limit is hit while jogging, the motor will stop at the Stop Rate (see

 

 

Edit–Setup–Misc.). Before the motor can be removed from the limit, a Stop or

 

 

Kill input must be activated to clear the fault generated by the End of Limit

 

 

switch. Serial commands S or K will also clear the fault.

 

 

The velocity is determined by the Jog Speed Input and the Jog Low and High

 

 

setup parameters. When the input is off, the speed is low. If no input is

 

 

configured for Jog Speed, the motor will jog at the Jog Low setting.

 

 

 

G

Registration

Registration – Input #1 must be configured as a Registration input for axis #1

 

 

and Input #2 must be configured as a Registration input for axis #2 – no other

 

 

inputs will work. See the RG command for more details.

 

 

 

I

Interrupt (Run98)

Interrupt (Run 98) – When activated, motion on all axes stop at the stop–rate

 

 

(see Edit–Setup–Misc–Stop–Rate). The current program is stopped, and

 

 

processing continues with the first command in program 98. If no program is

 

 

running when the input is activated, program 98 will run. This input is ignored

 

 

while the keypad is in Edit mode. This is a positive edge triggered input,

 

 

rather than a level sensitive input. If multiple inputs are configured as

 

 

Interrupts, only the first edge of the first activated input will be seen. If

 

 

subsequent Interrupt inputs go active while the first Interrupt input is active,

 

 

no additional interrupts will be seen.

 

 

Advanced Interrupt handling can be achieved using the INT98CTRL and

 

 

ARM INT98 variables. The INT98CTRL variable determines whether

 

 

Interrupts can be disabled or not. The ARM INT98 variable allows you to arm

 

 

and disarm the Interrupt as desired.

 

 

After power–up, INT98CTRL is initialized to 0. In this mode, every interrupt

 

 

results in an immediate jump to program 98, even if you just entered program

 

 

98. The value of (ARM INT98) is ignored.

 

 

When INT98CTRL=1, Interrupts can be disabled with the ARM INT98

 

 

variable. INT98CTRL=1 also initializes ARM INT98 to 1. This means the

 

 

control is watching for interrupts. When INT98CTRL is set to 1 an interrupt

 

 

causes the program to jump to program 98 and sets ARM INT98=0, disabling

 

 

any further interrupts until you re–enable them by setting ARM INT98=1. This

 

 

allows you to control when you want to re–enable Interrupts in your interrupt

 

 

service routine (program 98).

 

 

To summarize, when (INT98CTRL)=1:

 

 

If (ARM INT98)=0, Interrupts are ignored. (ARM INT98) is internally set to 0

 

 

on the first edge if the previous (ARM INT98) value was 1.

 

 

Interrupt processing will be suspended until (ARM INT98) is

 

 

reset to 1. This allows for input debounce and controlling

 

 

the ability of program 98 to interrupt itself.

 

 

If (ARM INT98)=1, The system is awaiting the first INT98 input assert edge.

 

 

Once the interrupt is seen the control will go to program 98.

 

 

Subsequent interrupts are ignored until (ARM INT98) is set

 

 

to 1.

 

 

INT98CTRL and ARM INT98 are reset to factory values on power–up.

 

 

Note: There is a space in ARM INT98.

 

 

When activated, any executing program or functional operation is terminated

 

 

and program I98 (interrupt program) is immediately executed. If a move is

 

 

executing when the interrupt is activated, the move is terminated (decelerated

 

 

at a rate determined by the Stop Deceleration rate setup parameter). The unit

 

 

will go into Run mode once program I98 is completed.

5-8 Setup

MN1854

Image 45
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 injury or death Product Notice Intended useCould result in damage to property On next 2General Information MN1854Connection 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 MN1854 Power Dissipation Section Receiving and InstallationMechanical Installation Receiving & InspectionGND 2Receiving & Installation MN1854System Grounding Ungrounded Distribution System Input Power ConditioningWire Size and Protection Devices Power Connections Power connections are shown in Figure4Receiving & Installation MN1854 Connection Locations 115VAC, 2 Axis MN1854 Receiving & InstallationTools Required 6Receiving & Installation MN1854RS-232 PC Connections 9 & 25 Pin RS-232 Cable Connections for UL InstallationsDaisy Chain Connections 8Receiving & Installation MN1854Rules for Daisy Chain Operation PC / Host DeviceOptional Opto I/O Connections Programmable I/O ConnectionsThese input connections are made at terminals 6-40 Figure Typical connection each inputEncoder Signal PVS100 Danaher 9-Pin D 10Receiving & Installation MN1854Encoder Color Code +5VDCLD9068A00 Leadwire Connection 9 pin to flying leads Motor ConnectorInterlock Intlk Ground GNDPower Off Checks Start-Up ProcedureSwitch and Potentiometer Settings Section General InformationAction Display Comments Power On ChecksMotor should now be producing torque HighReceiving & Installation MN1854 Overview Section Keypad OperationKeypad layout with the LCD display is shown in Figure F1, F2, F3Copies one program to another within the LinStep+ Decimal Point CommaAlpha Thus eliminating the need for a PC terminal connection TestTrace Output Move Shutdn RS232 EncoderPressing the Edit key displays a set of sub-menus Edit MenuEdit an existing program Save the program6Keypad Operation MN1854 Save Program? YesNoExample of Naming a Program Naming a programPress ESC. You will be prompted as shown in Figure Mine AC.3 VE2 DI1 GOEntering Characters with the Alpha Key In edit mode Use the =O keys for additional alpha characters8Keypad Operation MN1854 Submenu Setup Parameter Description of Setup Parameter Edit, Setup SubmenuPress EDIT, ↓ , List to Press EDIT, POS F3 Press YES F1 or no F3Display the number Programs stored Press ↓ to display the totalPressing Help in Menus and Sub-Menus Pressing Help in the Main MenuPressing Help In the Program Edit function Sequentially Eeprom message disappearsEnter the program number. Or, if COPY, to PAD SubmenuYou wish, you can scroll the list Program namesProcedure Format Definition Section SetupAxis One Motor Type Steper Setup MN1854Axis One Drive Res Axis One Motor DirOpen Loop Axis One ENC ModeApplication Notes Axis One Encoder RES ↑5000 cnts/in ↓Value IN-RANGE Setup WindowIN-RANGE Window PM GainMech Setup Configure Your Application MechanicsDist Vmax Accel AmaxEdit Axis One Vel Units In/sAxis One MAX Vel 500.0 in/s ↓→Configure the I/O Iuuuuuuu ←↑↓→Char Keypad Display Input Character Description Service routine program Inputs will work. See the RG command for more detailsTo summarize, when INT98CTRL=1 Reset to 1. This allows for input debounce and controllingPower-up program, if defined, will start Warm BootJog Speed InputsOUT1 Programmable Pppppppp ←↑↓→ OPTO9 Input Configure the Output StatesIiiiiiii OFFConfigure JOG Parameters Configure End of Travel Switch PolarityEnable Accel LO-VEL HI-VELConfigure Home Parameters Mode Edge SwitchOffset DIR Negative ↑SETUP↓ Configure Power-up ProgramPower Up Program PROGRAM0 Axis One Final Dir PositiveRS232C Setup Configure Serial Communications↑ Enabled ↓ Echo UNIT#Data Type Description of Display Data Type Configure Miscellaneous Setup ParametersPassword Setup General Password RulesOpratr Admin Clear Password Type Description Gives access to these menusSection Keypad Programming Keypad Program Command ListAcceleration Start Home Outputs On/Off Function Key Message to DisplayValue Units Range Keypad Programming MN1854Example AC2 DE.5 VE12 DA3 GO DA3 GO DA3 GODC Distance to Change DCn * DCn*1 * Vn*1 2* Vnt w Example Distance to ChangeExamples of DC move profiles, AC = seconds, VE=ips DC n + 10 +AC.1 VE60 DI2 GO DI1 GO DI-4 GO DE DecelerationValue 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 Set in Edit Setup Mech Accel VELValue N/A Units N/A Range N/A Go Immediate Syntax GI or GIiValue N/A Units N/A Range i=1-16 GO Go Start a Move Syntax GO or GOiAC.05 DE.05 VE50 DI5 GO VE2 AC.1 DA4,2 GP=1-400, name = any legal program name Gosub Syntax GSi and GSnameIF10 Gtpart a EB If input 1 is on and input 2 is off, jump to program Part aIFPARTS=25 GS20 EB Units RangeIV12,LENGTH LppiecesDilength Value Units N/A Range N/A Syntax LPi LP LoopSyntax MC+ MC Move Continuous Move Continuous 27 7th character, 2nd row MS27,COUNTGthome Powerup ONL,GTON EOTMain VE5 DA20 GO=0 input high. X=1 input low grounded = starting output number=anything else ignore input changes OT4,1 Turn on Output OT2,0D1Syntax 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 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 Arithmetic Operands and Equations AO15=VOLTAGE + ErrorExamples of incorrect use Instead, you should useIncrement/Decrement Variables Logical OperatorsExpressions 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 Reading an Analog Input Value Read a 4 Digit BCD number, 2 Digits at a timeGET 4 Bcds Digit BCD=4 Digit BCD+2TW1Operation Indicators Section Troubleshooting2Axis 1 and 2 Indicators Additional Information GeneralAdditional Information Troubleshooting MN1854Serial Communications Problems Troubleshooting MN1854 MN1854 Specifications & Product Data Section Specifications & Product DataIdentification LinStep+ LX 2 P 1 aProtection & Indicators Description General SpecificationsVAC VDCDimensions Optional Keypad 10.08 256.0 Axis Driver 148.394.7 230.1 Specifications & Product Data MN1854 Section CE Guidelines Wiring of Shielded Screened CablesCE Declaration of Conformity EMC Conformity and CE MarkingCE Guidelines MN1854 EMC Wiring TechniqueCit Grounding EarthCable Screens Grounding EMC Installation InstructionsSimulated Encoder Output Cable Grounding Input Signal Cable GroundingEncoder Cable Grounding To ControllerAppendix a Programming TemplateMN1854 Appendix A-1 Appendix MN1854 MN1854 Appendix A-3 122.88 Remote Keypad Mounting Template838 111.25Baldor Electric Company MN1854 01 C&J Baldor Electric CompanyLinStep+ Dual-Axis Microstepping Indexer/Driver