Baldor mn1854 User Manual

LinStep+ Dual–Axis
Microstepping Indexer/Driver
Installation & Operating Manual
7/01 MN1854

Table of Contents

Section 1
General Information 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Limited Warranty 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Notice 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Safety Notice 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 2
Product Overview 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 3
Receiving and Installation 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Receiving & Inspection 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Location Considerations 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power Dissipation 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mechanical Installation 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Electrical Installation 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
System Grounding 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power Disconnect 3-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Protection Devices 3-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power Connections 3-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RS232/Keypad Installation 3-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RS–232 PC Connections 3-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Programmable I/O Connections 3-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Optional Opto I/O Connections 3-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Encoder Connections 3-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Motor Connections 3-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Start-Up Procedure 3-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power Off Checks 3-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Switch and Potentiometer Settings 3-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power On Checks 3-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents iMN1854
Section 4
Keypad Operation 4-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview 4-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Run Menu 4-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PROG 4-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
JOG 4-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Test 4-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Edit Menu 4-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PROG 4-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setup 4-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
POS 4-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List 4-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HELP Menu 4-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
COPY Menu 4-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PROG 4-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TO PAD 4-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FROM 4-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DEL Menu 4-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 5
Setup 5-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview 5-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Motor 5-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Encoder 5-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Your Application 5-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure the I/O 5-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Optional Opto I/O 5-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure the Output States 5-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure End of Travel Switch Polarity 5-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure JOG Parameters 5-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure HOME Parameters 5-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Power–up Program 5-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Serial Communications 5-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Miscellaneous Setup Parameters 5-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 6
Keypad Programming 6-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Commands 6-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Helpful Hints 6-24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Variables 6-25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Arithmetic Operands and Equations 6-29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Boolean Operators 6-29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logical Operators 6-30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Increment/Decrement Variables 6-30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Expressions 6-30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Other Programming Samples 6-30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii Table of Contents MN1854
Section 7
Troubleshooting 7-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Serial Communications Problems 7-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 8
Specifications & Product Data 8-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identification 8-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General Specifications 8-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dimensions 8-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 9
CE Guidelines 9-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CE Declaration of Conformity 9-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EMC – Conformity and CE – Marking 9-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EMC Installation Instructions 9-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A A-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming Template A-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Remote Keypad Mounting Template A-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents iiiMN1854
iv Table of Contents MN1854
Section 1 General Information
Copyright Baldor  2001. All rights reserved. This manual is copyrighted and all rights are reserved. This document may not, in
whole or in part, be copied or reproduced in any form without the prior written consent of Baldor.
Baldor makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of fitness for any particular purpose. The information in this document is subject to change without notice. Baldor assumes no responsibility for any errors that may appear in this document.
Microsoft and MS–DOS are registered trademarks, and Windows is a trademark of Microsoft Corporation.
UL and cUL are registered trademarks of Underwriters Laboratories.
CE Compliance
A custom unit may be required, contact Baldor. Compliance to Directive 89/336/EEC is the responsibility of the system integrator. A control, motor and all system components must have proper shielding, grounding, and filtering as described in MN1383. Please refer to MN1383 for installation techniques for CE compliance. For additional information, refer to Sections 3 and 9 of this manual.
Limited Warranty
For a period of two (2) years from the date of original purchase, BALDOR will repair or replace without charge controls and accessories which our examination proves to be defective in material or workmanship. This warranty is valid if the unit has not been tampered with by unauthorized persons, misused, abused, or improperly installed and has been used in accordance with the instructions and/or ratings supplied. This warranty is in lieu of any other warranty or guarantee expressed or implied. BALDOR shall not be held responsible for any expense (including installation and removal), inconvenience, or consequential damage, including injury to any person or property caused by items of our manufacture or sale. (Some states do not allow exclusion or limitation of incidental or consequential damages, so the above exclusion may not apply.) In any event, BALDOR’s total liability, under all circumstances, shall not exceed the full purchase price of the control. Claims for purchase price refunds, repairs, or replacements must be referred to BALDOR with all pertinent data as to the defect, the date purchased, the task performed by the control, and the problem encountered. No liability is assumed for expendable items such as fuses.
Goods may be returned only with written notification including a BALDOR Return Authorization Number and any return shipments must be prepaid.
General Information 1-1MN1854
Product Notice Intended use:
These drives are intended for use in stationary ground based applications in industrial power installations according to the standards EN60204 and VDE0160. They are designed for machine applications that require 2 phase stepper motors.
These drives are not intended for use in applications such as:
Home appliances Mobile vehicles Ships Airplanes
Unless otherwise specified, this drive is intended for installation in a suitable enclosure. The enclosure must protect the control from exposure to excessive or corrosive moisture, dust and dirt or abnormal ambient temperatures. The exact operating specifications are found in Section 8 of this manual.
The installation, connection and control of drives is a skilled operation, disassembly or repair must not be attempted.
In the event that a control fails to operate correctly, contact the place of purchase for return instructions.
Safety Notice: This equipment contains high voltages. Electrical shock can cause serious or fatal
injury. Only qualified personnel should attempt the start–up procedure or troubleshoot this equipment.
This equipment may be connected to other machines that have rotating parts or parts that are driven by this equipment. Improper use can cause serious or fatal injury. Only qualified personnel should attempt the start–up procedure or troubleshoot this equipment.
System documentation must be available at all times. Keep non-qualified personnel at a safe distance from this equipment. Only qualified personnel familiar with the safe installation, operation and
maintenance of this device should attempt start-up or operating procedures.
Always remove power before making or removing any connections to
this control.
PRECAUTIONS: Classifications of cautionary statements.
WARNING: Indicates a potentially hazardous situation which, if not avoided,
could result in injury or death.
Caution: Indicates a potentially hazardous situation which, if not avoided,
could result in damage to property.
Continued on next page.
1-2 General Information MN1854
PRECAUTIONS:
WARNING: Do not touch any circuit board, power device or electrical
connection before you first ensure that power has been disconnected and there is no high voltage present from this equipment or other equipment to which it is connected. Electrical shock can cause serious or fatal injury.
WARNING: Be sure that you are completely familiar with the safe operation
of this equipment. This equipment may be connected to other machines that have rotating parts or parts that are controlled by this equipment. Improper use can cause serious or fatal injury.
WARNING: Be sure all wiring complies with the National Electrical Code and
all regional and local codes or CE Compliance. Improper wiring may cause a hazardous condition.
WARNING: Be sure the system is properly grounded before applying power.
Do not apply AC power before you ensure that grounds are connected. Electrical shock can cause serious or fatal injury.
WARNING: Do not remove cover for at least five (5) minutes after AC power
is disconnected to allow capacitors to discharge. Electrical shock can cause serious or fatal injury.
WARNING: Improper operation may cause violent motion of the motor and
driven equipment. Be certain that unexpected movement will not cause injury to personnel or damage to equipment.
WARNING: Motor circuit may have high voltage present whenever AC power
is applied, even when motor is not moving. Electrical shock can cause serious or fatal injury.
WARNING: If a motor is driven mechanically, it may generate hazardous
voltages that are conducted to its power input terminals. The enclosure must be grounded to prevent a possible shock hazard.
WARNING: A DB Resistor may generate enough heat to ignite combustible
materials. To avoid fire hazard, keep all combustible materials and flammable vapors away from brake resistors.
WARNING: The user must provide an external hard-wired emergency stop
circuit to disable the control in the event of an emergency.
Caution: To prevent equipment damage, be certain that the input power has
correctly sized protective devices installed as well as a power disconnect.
Caution: Avoid locating the control immediately above or beside heat generating
equipment, or directly below water or steam pipes.
Caution: Suitable for use on a circuit capable of delivering not more than the RMS
symmetrical short circuit amperes listed here at rated voltage. Horsepower RMS Symmetrical Amperes 1–50 5,000
Continued on next page.
General Information 1-3MN1854
Caution: To prevent keypad damage, be sure keypad mounting screws do not
extend more than 0.2 (5) into keypad assembly.
Caution: Avoid locating the control in the vicinity of corrosive substances or
vapors, metal particles and dust.
Caution: Baldor recommends not using “Grounded Leg Delta” transformer power
leads that may create ground loops and degrade system performance. Instead, we recommend using a four wire Wye.
Caution: Logic signals are interruptible signals; these signals are removed when
power is removed from the drive.
Caution: The safe integration of the driver into a machine system is the
responsibility of the machine designer. Be sure to comply with the local safety requirements at the place where the machine is to be used. In Europe this is the Machinery Directive, the ElectroMagnetic Compatibility Directive and the Low Voltage Directive. In the United States this is the National Electrical code and local codes.
Caution: Drivers must be installed inside an electrical cabinet that provides
environmental control and protection. Installation information for the drive is provided in this manual. Motors and controlling devices that connect to the driver should have specifications compatible to the drive.
Caution: Do not tin (solder) exposed wires. Solder contracts over time and may
cause loose connections.
Caution: Electrical components can be damaged by static electricity. Use ESD
(electro-static discharge) procedures when handling this control.
Caution: Do not connect or disconnect motor wires from the control while power is
on. If motor leads are disconnected while the control is powered up, damage to the control may result.
1-4 General Information MN1854
Section 2 Product Overview
Overview The design of LinStep and LinStep+ microstepping motor drivers (also called a
driver or control) and the internal cooling tunnel are revolutionary. These drivers consume less panel space than other controls and keep internal electronics cool and clean for years of reliable performance and operation. LinStep+ single and dual–axis drivers are used with Baldor motion controls and other popular stepper controllers that provide step and direction (or CW/CCW step pulses) . They are ideally suited to control Baldor single and dual–axis linear stepping motors. Figure 2-1 shows how the LinStep+ driver is placed in a linear stepper motor system.
The open loop linear stepper motor provides the most economical linear motor positioning solution. There are two types of linear stepper motors: a single–axis linear stepper motor and the compact dual–axis linear stepper motor. Linear stepper motors include the motor, positioning system and bearings in two components: a moving forcer and a stationary platen.
Figure 2-1 Motion Control with LinStep+
LinStep+ Dual Axis Indexer/ Driver
Linear Step Motor
Linear Step Motor
Dual Axis Stepping Motor
Linear stepper motors move in discrete incremental moves called steps. The size of each step is determined by the spacing of the teeth in the platen and how the coils are energized. Baldor 2–phase motors travel 0.010 inches (0.254mm) in a single full step yielding 100 steps per inch. Baldor 4–phase motors travel 0.005 inches (0.127mm) in a step. When the coils are energized in a predetermined pattern, the forcer will move down the platen. Reversing the pattern will reverse the direction of travel. The microstep frequency determines the velocity of the forcer. Linear stepper motors produce their maximum force at zero speed. As speed increases the ability to switch winding current decreases due to motor inductance. This results in lower forces at higher speeds.
Contact your local Baldor distributor or sales representative for assistance with sizing and compatibility. Custom motors or motors not manufactured by Baldor may be used. Please contact your local Baldor distributor or sales representative for assistance.
Motors Baldor LinStep+ Drivers are compatible with many Linear Stepper motors from
Baldor and other manufacturers. Compatible Baldor motors include: (refer to BR1800 for additional motor information).
S LMSS Series Single Axis S LMDS Series Dual Axis
Axis 1
Axis 2
Product Overview 2-1MN1854
2-2 Product Overview MN1854
Section 3 Receiving and Installation
Receiving & Inspection
Baldor Drivers are thoroughly tested at the factory and carefully packaged for shipment. When you receive your driver, there are several things you should do immediately.
1. Observe the condition of the shipping container and report any damage immediately to the commercial carrier that delivered your driver.
2. Remove the driver from the shipping container and remove all packing materials. The container and packing materials may be retained for future shipment.
3. Verify that the part number you received is the same as the part number listed on your purchase order.
4. Inspect for external physical damage that may have been sustained during shipment and report any damage immediately to the commercial carrier that delivered your driver.
5. If the driver is to be stored for several weeks before use, be sure that it is stored in a location that conforms to published storage humidity and temperature specifications stated in this manual.
Location Considerations The location of the driver is important. Installation should be in an area
that is protected from direct sunlight, corrosives, harmful gases or liquids, dust, metallic particles, and vibration. Exposure to these can reduce the operating life and degrade performance of the driver.
Several other factors should be carefully evaluated when selecting a location for installation:
1. For effective cooling and maintenance, the driver should be mounted on a smooth, non-flammable vertical surface.
2. At least 3 inches (75mm) top and bottom clearance must be provided for air flow. Between drivers (each side), allow at least 0.1 inch (2.5mm).
3. Altitude derating. Up to 3300 feet (1000 meters) no derating required. Derate the continuous and peak output current by 1.1% for each 330 (100) above 3300 feet. Maximum altitude is 8300 (2540m).
4. Temperature derating. From 0°C to 40°C ambient no derating required. Above 40°C, derate the continuous and peak output current by
2.5% per °C above 40°C. Maximum ambient is 50°C.
Power Dissipation
Cooling requirements can be determined if you know the maximum (or continuous) current output from the microstepping driver, I dissipation, W
= 5 + 3.4ID +0.15I
W
Diss
Mechanical Installation
Mount the driver to the mounting surface. The driver must be securely fastened to the mounting surface by the driver mounting holes. The location of the mounting holes is shown in Section 8 of this manual. Use #8 (M4) cap screws.
as follows:
Diss
2
D
. Calculate heat
D
Receiving & Installation 3-1MN1854
Electrical InstallationAll interconnection wires between the driver, AC power source, motor, host
driver and any operator interface stations should be in metal conduits. Use listed closed loop connectors that are of appropriate size for wire gauge being used. Connectors are to be installed using crimp tool specified by the manufacturer of the connector. Only class 1 wiring should be used.
System Grounding Baldor drivers are designed to be powered from standard single phase lines
that are electrically symmetrical with respect to ground. System grounding is an important step in the overall installation to prevent problems. The recommended grounding method is shown in Figure 3-1 for UL compliant systems (Figure 3-2 for CE compliant systems).
Figure 3-1 Recommended System Grounding for UL
AC Main Supply
L N
Microstepper Driver
L
N
GND
B+A– B–A+
Note: Wiring shown for clarity of grounding method only. Not representative of actual terminal block location.
Safety Ground
Driven Earth Ground Rod (Plant Ground)
Note: Use shielded cable for driver signal wires. Route driver signal wires in
conduit. These wires must be kept separate from power and motor wires.
Earth
Route all 3 wires L, N, and Earth (Ground) together in conduit or cable.
Figure 3-2 Recommended System Grounding (1 phase) for CE
AC Main Supply
Safety Ground
Note: Use shielded cable for driver signal wires. Route driver signal wires in
L N
Earth
Driven Earth Ground Rod (Plant Ground)
All shields
conduit. These wires must be kept separate from power and motor wires.
Route all power wires together in conduit or cable.
Enclosure Backplane (see Section 8)
Microstepper Driver
LN
GND
A+
Linear Motor
Ground per NEC and Local codes.
Note: Wiring shown for clarity of grounding method only. Not
B+A– B–
representative of actual terminal block location.
Linear Motor
Motor GND
3-2 Receiving & Installation MN1854
System Grounding
Continued
Ungrounded Distribution System
With an ungrounded power distribution system it is possible to have a continuous current path to ground through the MOV devices. To avoid equipment damage, an isolation transformer with a grounded secondary is recommended.
Input Power Conditioning
Certain power line conditions must be avoided. An AC line reactor or an isolation transformer may be required for some power conditions.
If the feeder or branch circuit that provides power to the driver has permanently connected power factor correction capacitors, an input AC line reactor or an isolation transformer must be connected between the power factor correction capacitors and the driver.
If the feeder or branch circuit that provides power to the driver has power factor correction capacitors that are switched on line and off line, the capacitors must not be switched while the driver is connected to the AC power line. If the capacitors are switched on line while the driver is still connected to the AC power line, additional protection is required. TVSS (Transient Voltage Surge Suppressor) of the proper rating must be installed between the AC line reactor or an isolation transformer and the AC input to the driver.
Power Disconnect A power disconnect should be installed between the input power service
and the driver for a fail–safe method to disconnect power. The driver will remain in a powered-up condition until all input power is removed from the driver and the internal bus voltage is depleted.
Protection Devices The driver must have a suitable input power protection device installed.
Input and output wire size is based on the use of copper conductor wire rated at 75 °C. Table 3-1 describes the wire size to be used for power connections and the ratings of the protection devices. Use the recommended circuit breaker or fuse types as follows:
Circuit Breaker: 1 phase, thermal magnetic.
Equal to GE type THQ or TEB for 115 VAC
Time Delay Fuses: Buss LPN on 115 VAC or equivalent.
Recommended fuse sizes are based on the following:
UL 508C suggests a fuse size of four times the continuous output current of the driver. Dual element, time delay fuses should be used to avoid nuisance trips due to inrush current when power is first applied.
Receiving & Installation 3-3MN1854
Table 3-1 Wire Size and Protection Devices
Incoming Power
Catalog Number
LX2P1A06
Nominal Input
Voltage
115V (1f)
Continuous Input
Continuous
Output
(RMS)
Amps
Input
Breaker
(A)
6.0A 20 20 14 2.5
Input Fuse Wire Gauge
Time
Delay (A)
AWG
(USA)
Note: All wire sizes are based on 75°C copper wire. Higher temperature smaller gauge wire may
be used per NEC and local codes. Recommended fuses/breakers are based on 25°C ambient, maximum continuous driver output current and no harmonic current.
Power Connections Power connections are shown in Figure 3-3.
Figure 3-3 115VAC Single Phase AC Power Connections
L1
Note 1
2
minimum, 6AWG). For CE
Note 1
Note 2
Power 110VAC
RPack
RPack
Line
* Circuit Breaker
Neutral
Earth
L1 Neutral
Line Neutral
Baldor LinStep+
Earth
Earth
Note 3 & 4
Note 5
Alternate * Fuse Connection
Notes:
1. See Protection Devices described in this section.
2. Metal conduit or shielded cable should be used. Connect conduits so the use of a Reactor or RC Device does not interrupt EMI/RFI shielding.
3. Use same gauge wire for Earth ground as is used for L and N. (VDE (Germany) requires 10mm Compliance, connect Earth to the backplane of the enclosure.
4. Reference EMC wiring in Section 8.
5. GND is located on the motor terminal strip.
* Components not provided with driver.
2
mm
(Europe)
Connector location is shown in Figure 3-4.
3-4 Receiving & Installation MN1854
Figure 3-4 Connection Locations (115VAC, 2 Axis)
Bottom Connections
Side Connections
Receiving & Installation 3-5MN1854
RS232/Keypad Installation Procedure: (optional keypad – LXKP)
Optional Remote Keypad Installation
The keypad may be remotely mounted and sealed to NEMA 4 specification by using the gasket and 6 ft (1.8m) cable included. The keypad assembly is complete with the screws and gasket required to mount it to an enclosure. The gasket has adhesive on one side that must be placed toward the enclosure.
Tools Required:
Center punch.
3
/16" drill bit (for clearance mounting holes).
1
/2" (12.7) and 1-1/2" (38.1) standard knockout punch.
(4) 6-32 nuts and washers (or M3.5 hardware).
Remote keypad mounting template. A tear out copy is
provided at the end of this manual for your convenience.
Mounting Instructions: (see remote keypad mounting template)
1. Locate a flat mounting surface. Material should be sufficient thickness (14 gauge minimum).
2. Place the template on the mounting surface or mark the holes as shown.
3. Accurately center punch the 4 mounting holes (labeled E for SAE or M for metric) and the three large Cut–Out holes.
4. Drill four
3
/16" holes (at E or M).
5. Make the three large Cut–Out holes using the punch manufacturers instructions.
6. Debur knockout and mounting holes making sure the panel stays clean and flat.
7. Apply the adhesive backed gasket to the enclosure.
8. Assemble the keypad to the panel. Non–conductive screws and washers should be used to electrically isolate the keypad from the enclosure.
Caution: To prevent keypad damage, be sure keypad mounting screws
do not extend more than 0.2 (5) into keypad assembly.
9. Connect the keypad cable to the Remote Cable connector, Figure 3-4.
Figure 3-5 Keypad (Nullmodem) Connections
Keypad
GND
N/C
+5VDC
R
T
x
x
Standard Connections External +5VDC
LinStep+ RS232 / Keypad Connector
+5VDC R
x
T
x
GND Shld
Note: A 6ft (1.8m) cable is provided with the keypad. If a longer cable is
to be used, an external +5VDC @ 500mA power supply is required.
External P.S.
+5VDC
GND
Keypad
N/C
GND
R
x
T
x
+5VDC
Connections
LinStep+ RS232 / Keypad Connector
+5VDC R
x
T
x
GND Shld
3-6 Receiving & Installation MN1854
RS–232 PC Connections
A null modem connection must be made between the LinStep+ and the computer COM port. This will ensure that the transmit and receive lines are properly connected. Either a 9 pin or a 25 pin connector can be used at the computer, Figure 3-6. Maximum recommended length for RS232 cable is 6 ft. (1.8 meter).
Figure 3-6 9 & 25 Pin RS-232 Cable Connections for UL Installations
RS232 Connector
9 Pin Connector
N/A N/A
N/A
Rx
Tx
Com
Connector location is shown in Figure 3-4.
Figure 3-7 9 & 25 Pin RS-232 Cable Connections for CE Installations
RS232 Connector
LinStep+ (DCE)
Control (DCE)
RXD– 4
TXD – 5
Com – 6 Chassis
RXD
TXD
GND
Computer
RXD
COM
TXD
Port
GND
(DTE)
If required, RTS, CTS, DSR and DTR may also be connected for a full null modem connection.
Jumper RTS to CTS
DSR to DTR
PE PE
9 Pin 25 Pin 7 to 8
4 to 6
4 to 5 6 to 20
RXD TXD
GND
Computer COM Port
(DTE)
Pin 2 RXD 3 TXD 5 GND
25 Pin Connector
Pin 2 RXD 3 TXD 7 GND
Signal
Signal
Note: For CE installations, connect the overall shield at each end of the cable to
PE. The voltage potential between the PE points at each end of the cable must be Zero Volts.
Receiving & Installation 3-7MN1854
Daisy Chain Connections
LinStep+ can support daisy chaining. The unit address (range 1–99) can be set with the keypad, through Application Developer, or with a terminal program using the Unit Number (UN) command, or the entire chain may be addressed at once using the Auto–Address (AA) command. Connect as shown in Figure 3-8.
Rules for Daisy Chain Operation
1. All LinStep’s in a daisy chain must have their device address assigned in ascending order away from the host device. This allows the Load All (LA – EX) commands to work properly. Addresses do not have to be sequential, but must be in ascending order. Example: 1, 2, 4, 6, 8 is valid addressing. 6, 3, 10, 8, 2 is not valid.
2. Do not duplicate unit addresses.
3. RS–232C “Echo” should be turned on for each unit in the daisy chain. Disabling RS–232C Echo will prevent daisy chain operation.
4. All RS–232C connections must be correctly made.
5. Device Addressing RS–232C commands (for a specific LinStep+ device) must have the correct address specified in the command.
6. Status commands require the correct address.
Figure 3-8 Daisy Chain Connection
PC / Host Device
RXD
TXD
GND
LinStep+ Unit 1
RXD
TXD GND
LinStep+ Unit 2
RXD
TXD GND
LinStep+ Unit 3
RXD
TXD GND
3-8 Receiving & Installation MN1854
Programmable I/O Connections
These input connections are made at terminals 6–40 (Figure 3-4). Note: Factory installed jumpers are at locations 9–10, 13–14, 18–19, 19–20 and
21–22.
Figure 3-9 Programmable Input Connections
Factory
Installed
Jumper
EOT1 & 2, Home1 & 2
and Inputs 1–8 (33–40)
(Programmable)
Com 32
Figure 3-10 Programmable Output Connections
Maximum sink current = 100mA each output, 250mA maximum total from 12VDC internal source.
Factory
Installed
Jumper
21 22
Outputs 1–8 (23–30) (Programmable)
Com 31
12V
P–Up
Common (Isolated)
21 22
10kÙ
12V
P–Up
Common (Isolated)
Opto Isolator
1kÙ
Opto Isolator
Outputs 1–8 (Programmable)
Maximum current = 35mA each input, 250mA maximum total from 12VDC internal source.
Optional 24V Output Connections
(Remove Jumper)
External
+24V
12V
P–Up
+24VDC Supply
Com
Com
10kÙ
Opto Isolator
Factory installed jumper for 12VDC pull–up operation. Maximum current sink capability is 100mA per output and 350mA maximum from internal 12VDC supply.
Optional Opto I/O Connections
8 Optically isolated I/O connections are located at terminals 9–16 of Figure 3-4. Connections to these terminals are shown in Figure 3-11 (if the optional Opto Modules are used).
Figure 3-11 Opto Isolated I/O Connections
User Output
Circuit
Typical connection (each input)
AC or +DC voltage source
Remove factory installed jumper from terminal P–Up. Connect an external 24VDC supply to terminals P–Up and Com. (Terminal P–Up must be positive).
User Load
Circuit
AC or +DC voltage source
Typical connection (each output)
Receiving & Installation 3-9MN1854
Encoder Connections (Refer to MN1800 for wire color and lead information.)
The location for each encoder connector (Side Panel) is shown in Figure 3-4. Twisted pair shielded wire with an overall shield should be used. Figures 3-12 and 3-13 show the connections between the encoder and the encoder connector.
Figure 3-12 Differential Encoder Connections for UL Installations
Encoder
Figure 3-13 Differential Encoder Connections for CE Installations
Encoder
Connection of shields to digital ground is optional.
PE
Table 3-2 Encoder Color Code
Encoder
Signal PVS100 Danaher (9–Pin D)
A+ White Green 6 A– Gray Yellow 1 B+ Orange Blue 8 B– Red Violet 3
Z+ (Index) N/A Red 9
Z– (Index) N/A Orange 5
+5VDC Black Brown 7
GND Brown Black 2
Inner shield Blue 4
Outer shield Violet Shell
A+ A– B+
B– Z+ Z–
+5V Com Drain
A+ A– B+
B– Z+ Z–
+5V Com Drain
A+ A– B+
B– C+ (Index) C– (Index)
+5V Com Shell (Chassis)
A+ A– B+
B– C+ (Index) C– (Index)
+5V Com Shell (Chassis)
3-10 Receiving & Installation MN1854
Motor Connections The A+, A–, B+ and B– phase outputs of each axis provides power to the
motor windings. The location for each motor connector (Bottom Panel) is shown in Figure 3-4. The motor windings can be connected in series or parallel as shown in Figure 3-14. For Baldor motors, refer to MN1800 for lead information.
Interlock (INTLK) The two INTLK pins for each motor connector must be jumpered for the drive to apply power to the motor. If an interlock wire breaks, or the connector is removed, motor current is immediately stopped, the drive faults (latched) and flashes the dual function LED labeled Over Volt./INTLK. Interlock wires longer than 5 inches can create shutdowns due to noise.
Ground (GND) GND is internally connected to the Earth pin on the Power connector. This provides a convenient terminal for grounding the motor frame and a motor cable shield.
Figure 3-14 Stepper Motor Connections
Series Motor Connections
B–
Motor
Connector
Motor X
INTLK
A+
A-
GND
B+
INTLK
B-
Parallel Motor Connections
B–
B+
B+
INTLK jumper must be installed.
A–
Motor
Color Phase
A+ INTLK
White Red Green Orange Black
(Refer to MN1800 for wire
A+ A– B+ B– GND
color and lead information.)
INTLK
LD9068A00 Leadwire Connection (9 pin to flying leads)
Color Pin# Description
Red 1 A+ Green 2 A– Yellow 3 B+ Orange 4 B– Black 5 Ground Blue 6 A+ Green 7 A– White 8 B+ Black 9 B–
6 7 8 9
Female (D Sub)
Use twisted pairs, shield open at backshell.
1
When a D Sub connector is used, use the pin
2 3 4 5
When flying leads are used, use the color codes
A–
A+
INTLK
INTLK
numbers to connect the forcer.
to connect the forcer.
Receiving & Installation 3-11MN1854
Section 1 General Information
Start-Up Procedure
Power Off Checks
Before you apply power, it is very important to verify the following:
1. Verify the AC line voltage at the source matches the control rated voltage.
2. Inspect all power connections for accuracy, workmanship and tightness.
3. Verify that all wiring conforms to applicable codes.
4. Verify that the control and motor are properly grounded to earth ground.
5. Check all signal wiring for accuracy.
6. Set Keypad DIP switches as desired, Figure 3-15. (Power must be cycled after a DIP switch position change).
Figure 3-15 Keypad Adjustments
DIP Switch Keypad Operation 12 Off Off Full Keypad Operation Off On No access to Run, ESC, Edit, Copy, Del On Off No access to Run, Edit, Copy, Del On On No access to Edit, Copy , Del
Switch and Potentiometer Settings
The motor current, inductance, and resolution settings must be made before power is applied. The other settings (waveform, standby current, anti–resonance, and phase offset adjustments can be made while the drive is powered and the motor is moving.
Motor Current (can be changed at any time) Set these switches for the correct values for the motors connected to each axis. The Motor Current range is 0.0–6.0 Amps (peak) per motor phase per axis.
Each axis has two, 10–position rotary switches (labeled Amps and Tenths of Amps in Figure 3-4). These switches set the current for each motor. The top switch sets the integer current value, and the bottom switch sets the tenths of amps value.
Motor Resolution (only read at power up, cycle power if changed) Eight selectable motor resolutions (200, 400, 1,000, 5,000, 10,000, 18,000, 25,000 and 25,400 steps) are available. Rotary switches (Res shown in Figure 3-4) set the resolution for each axis motor. Motor Resolution may be selected using these switches or configured with the keypad (or by serial commands). This resolution setting assumes you are using a step motor with 1.8 degree per full step.
Motor Inductance (can be changed at any time) Motor Inductance is set by a 16–position rotary range switch (Side Panel of Figure 3-4). The inductance switch has settings from 0 to 60 mH, in multiples of 4 mH. For the proper setting, round motor inductance to the nearest multiple of 4 mH.
If the exact inductance of the motor is not known, initially set the inductance to 8mH. The inductance switch is more of an adjustment than a setting. If the setting is too low, the motor will stall. If the setting is too high an audible hum will be heard from the motor, and increase motor heating. Between these two extremes is generally 2 or 3 correct inductance settings.
N/C
ON
1234
Switches 3 and 4 are reserved.
5
GND Rx Tx +5VDC
4213
3-12 Receiving & Installation MN1854
Standby Current (can be changed at any time) Setting the Standby current DIP switch to ON reduces motor current by 30% when the drive has not received a step pulse for 250 msec. Full current is restored when the next step pulse is received. Each drive can also be set to standby with the EA2 software command.
A 30% reduction in motor current during Standby correlates with an approximate 30% reduction in motor holding torque. Do not use Standby mode in applications where you need more than 70% of the motor’s torque to hold a load stationary. Standby should not be used in applications where an encoder is used to perform end–of–move position maintenance.
Waveform (can be changed at any time) On Sinusoid, Off for 4% 3rd harmonic.
Step Type (can be changed at any time) Not Used.
AntiRes (can be changed at any time) Not Used.
Power On Checks
When power is first applied, the ON LED will be green. With the keypad connected, the LCD display will briefly display the initialization screens.
Note: The LCD display may require contrast adjustment for better viewing. If the
display cannot be seen, adjust the potentiometer in Figure 3-15 for best viewing.
Action
Apply Power.
The motor should now be producing torque.
Action
Select “RUN, JOG (F2)”.
Display Comments
+0.0000 00000000 00000000
Display Comments
JOG AXIS +0.0000 <LO> HIGH
Power–up diagnostic display. No errors.
Select either Low or High to Jog the motor position. Confirm proper motor operation.
Receiving & Installation 3-13MN1854
3-14 Receiving & Installation MN1854
Section 4 Keypad Operation
Overview (Firmware versions LinStep+ Dual B3.1; Keypad V2.90; FPGA#1 7.1 #2 7.1))
The Keypad layout with the LCD display is shown in Figure 4-1.
Figure 4-1 Keypad and LCD Display
F1 F2 F3
RUN EDIT HELP COPY DEL
ABC
AC
1
DE
JKL
EB
4
STU
MC ON
7
SP
ESC
F1, F2, F3
Selector keys. Used with numeric keys to select commands in the editor. Programmable as operator menu selections. (See the FK command for information on using the function keys within a program.)
Most operations are menu–driven. A menu consists of a title bar (top display line) and as many as three options or sub–menus (bottom display line). Each option is displayed above one of the function keys, F1, F2, or F3. Press a function key to select the corresponding option. Table explains which menus are available.
VE
LP
IF
DEF
2
MNO
5
VWX
8
÷ * =
0
VE AC DE
TD
OT
WT
MS
FK
IV
RG
( )
GHI
GO GH
3
GI
PQR
GT GS
6
EN
YZ
CL
CT
9
ST
±
[ ]
.
ALPHA ENTER
,
Keypad Operation 4-1MN1854
Menu
Menu
Options
Note: If a menu has more than three options, arrows on both sides of the display
indicate that more options are available. Press the appropriate arrow key to display one option at a time. To exit a menu without making a selection, or to back up one menu level, press ESC.
Table 4-1
Menu Key
RUN EDIT HELP COPY DEL
PROG (F1)
Run programs by name or number.
JOG (F2)
Jog either axis at low or high speeds. Press F1 or F2, and any arrow key (←↑↓→).
TEST (F3)
Run programs in trace mode, do amplifier shutdown and reset, and test outputs or moves.
PROG (F1)
Edit or write programs.
SETUP (F2)
Configure system components and operating limits.
POS (F3)
Reset axis position to zero? YES NO (F1) (F3)
LIST () (F1)
Directory of stored programs, memory usage and available space
In Main Menu:
Provides help on the function of RUN, EDIT, or COPY.
In Menus:
Provides help on menus.
In Sub–Menus:
Explains setup choices.
In Editor:
Provides command descriptions.
PROGRAM (F1)
To copy programs within a control (source file> destination file)
TO PAD (F2)
To upload data from control’s memory to the keypad.
FROM (F3)
To download data from keypad memory to a control.
Deletes an entire program or in editor deletes characters
RUN
Press RUN to start a program, Jog an axis, or access Test/Debug functions.
EDIT
Press Edit to change setup parameters and programs, list programs, & reset position counter.
HELP
Provides help information for keys, menus, and command syntax.
COPY
Copies one program to another within the LinStep+.
DEL
Deletes characters in the editor, or deletes entire programs from memory.
0–9
Enters numbers. Used with ALPHA key to enter characters. Used with F1, F2, F3 keys to select commands in the program editor.
ESC
Press ESC to stop a program or to move back one menu level. In program editor, it saves the program and exits the editor.
4-2 Keypad Operation MN1854
+
Selects the motion direction in program editor. May also be used in math programs or equations.
u=O"
Cursor control keys that are used to scroll through menu choices in the editor. Moves an axis in JOG mode.
Decimal Point
Used when entering fixed–point numbers.
Comma
Used in multi–axis programs to separate axis command parameters. Part of the syntax in message and variable prompt commands.
Alpha
In the editor, allows entering alpha characters for the keypad.
ENTER
In the program editor, press ENTER to save parameters that have been typed. Enters a space in the program editor mode.
Run Menu Pressing the RUN key displays a set of sub–menus.
PROG Access the submenus by pressing F1 (PROG), F2 (JOG), or F3 (TEST).
Action
Press RUN key
Press F1 (PROG) to run (or execute) an existing program number.
OR
Press F1 (PROG) select an existing program to run.
PROG JOG TEST
>5
>12 GRIND
Display Comments
RUN
RUN PROGRAM
RUN PROGRAM
Select a sub–menu, press F1 (PROG), F2 (JOG), or F3 (TEST).
Use the numeric keys to enter a program number to run (example, 5 and press ENTER).
Use the keys to scroll through the list of programs. Press ENTER to select the program.
JOG Pressing the RUN key displays a set of sub–menus. Press F2 (JOG).
Action
Press RUN key
Press F2 (JOG) to JOG the motor.
OR
Use the 0–9 keys to enter the desired JOG distance.
PROG JOG TEST
JOG AXIS 1 +0.0000 <LO> HIGH
JOG AXIS 1 +0.0000 Dist: .012
Display Comments
RUN
Use the ←↑↓→ keys to JOG the motor. Press F1 <LO> or F2 HIGH speed.
Press and release an arrow key to make the motor move this distance. The arrow pressed determines the direction of the move. Press and release an arrow key to move the motor again. Press ESC to terminate JOG.
Note: Jog speed and acceleration are changed in the EDIT, SETUP, JOG” menu.
Keypad Operation 4-3MN1854
Test The RUN > TEST > RS232 feature has now been implemented which allows for
testing and debugging of daisy chain terminal communications through the keypad thus eliminating the need for a PC terminal connection.
Action
Press RUN key
Press TEST for sub menu selections.
Press or key for more sub menu selections.
S Trace Allows program execution in trace mode (debug or S Output Test outputs 116 or 1732.
S Move Allows motion for axis 1 or 2 or both. S Shutdown Allows Amp 1 or 2 to be Enabled, Disabled or Reset. S RS232 Allows transmit (ABC123) and receive testing. This allows
S Encoder Allows encoder 1 or 2 testing (Disable, OneRMov or Find Z).
Display Comments
PROG JOG TEST
RUN
RUN TEST
TRACE OUTPUT MOVE
RUN TEST
SHUTDN RS232 ENCODER
Select a sub–menu, press F1 (Prog), F2 (Jog), or F3 (Test).
Select a sub–menu, press F1 (Trace), F2 (Output), or F3 (Move).
Select a sub–menu, press F1 (Shutdown), F2 (RS232), or F3 (Encoder).
troubleshoot).
test and debug of daisy chain communications using the keypad instead of a PC.
4-4 Keypad Operation MN1854
Edit Menu Pressing the EDIT key displays a set of sub–menus.
Action
Press EDIT key
Press or key for more sub menu selections.
PROG SETUP POS
LIST
EDIT
EDIT
Edit, PROG Submenu Create A New Program
1. Press EDIT, F1 (PROG)” and you will see a display with a blinking cursor as shown in Figure 4-2.
Figure 4-2 New Program
EDIT PROGRAM
>_
2. Enter an unused identifying number for the program (between 1–400). (If several programs are stored, you may need to scroll the list to determine a number that has not been used. )
Note: You may assign a name, rather than a number, to your program if you wish.
See Naming Your Programs later in this section.
3. Press ENTER. You will see a blank screen with a blinking cursor in the upper left corner. The program editor is now ready to accept a program.
4. Once inside the program editor, enter commands by pressing a function key and then a numeric key. Examples of creating, saving, naming, and editing programs follow.
Example of entering programming commands found on the #2 key, Figure 4-3.
S To enter the VE command (the upper command on the number 2 key),
press F1 (blue) then press the number 2 key.
S To enter the AC command (the middle command on the number 2 key),
press F2 (yellow) then press the number 2 key.
S To enter the DE command (the lower command on the number 2 key),
press F3 (green) then press the number 2 key.
Display Comments
Select a sub–menu, press F1 (PROG), F2 (SETUP), or F3 (POS).
Select a sub–menu, press F1 (LIST).
Figure 4-3
DEF
VE AC
2
DE
Keypad Operation 4-5MN1854
Example of entering a program using the 0–9 keys. To create a program with the commands AC.3 VE2 DI1 GO, do the following steps: (you must be in the program editor, this example is writing to program #2).
1. Press EDIT→F1→2→ENTER to get to the first line of program 2.
2. Press F2, then press the #2 key. This will enter the AC command.
3. Press the decimal key.
4. Press the #3 key.
5. Press ENTER. This will insert a space after the 3 to separate the commands.
6. Press F1, then press the #2 key. This will enter the VE command.
7. Press the #2 key.
8. Press ENTER. This will insert a space after the 2 to separate the commands.
9. Press F2, then press the #1 key. This will enter the DI command.
10. Press the #1 key.
11. Press ENTER. This will insert a space after the 1 to separate the commands.
12. Press F1.
13. Press the #3 key. This will enter the GO command.
14. Press ENTER.
15. The display should now show the program AC.3 VE2 DI1 GO”.
Save the program
When you have completed the program, and the display shows the program AC.3 VE2 DI1 GO, do the following:
1. Press ESC, the menu of Figure 4-4 is then displayed.
2. Press F1 (YES) or F3 (NO).
Figure 4-4
Save Program?
Yes No
Edit an existing program
1. Press EDIT, F1 (PROG)” and you will see a display with a blinking cursor as shown in Figure 4-5. Enter the name of the program you wish to edit or scroll the list to locate the program.
Remember, ENTER inserts a space (delimiter). DEL deletes a character. Use the cursor keys to scroll through the program one line at a time.
Figure 4-5
↑EDIT PROGRAM↓
>_
4-6 Keypad Operation MN1854
Naming a program
A program can be given a descriptive name in addition to the program number that the LinStep+ assigns it. Program names must be put inside of square brackets, [program name], at the start of a program. The name can be up to 14 characters, but the first 10 must be unique. Like variables, the name can be any combination of characters.
Programs or subroutines are often named to help self document a program. It is usually easier to remember and understand a name than a number. You may call or branch to a program by name.
Suppose your program has 20 different parts and each part has a different program name. Simply name each program so an operator will easily recognize them. When the keypad RUN key is pressed, instead of entering a number, simply scroll through the list of program names until the desired program is displayed. Then press ENTER to run the program.
Example of Naming a Program
Add a name [MINE] to the program. To insert [MINE]:
1. Press F3.
2. Press 0 (zero) key. Insert brackets.
3. Press ALPHA. Move to next character.
4. Press #5 key. Insert M.
5. Press ALPHA. Move to next character.
6. Press #3 key three times. Insert I.
7. Press ALPHA. Move to next character.
8. Press # 5 key two times. Insert N.
9. Press ALPHA. Move to next character.
10. Press #2 key two times. Insert E.
11. Press the
key to move cursor to the right of the bracket. The program
name will be as shown in Figure 4-6.
Figure 4-6
[MINE] AC.3 VE2 DI1 GO
12. Press ESC. You will be prompted as shown in Figure 4-7.
Figure 4-7
Save Program_?
YES NO
Keypad Operation 4-7MN1854
Entering Characters with the Alpha Key (In edit mode) The ALPHA key allows you to enter almost any character into a program from the keypad. This is useful to name your programs or subroutines, call subroutines by name, make variable names descriptive, use operator messages or prompts, send messages over RS–232 port or use commands not on the keypad, such as EA or .
The letters are found on the 0–9 keys. To insert A, B or C on the #1 key:
1. Press ALPHA.
2. Press the numeric key with the character you want. (In this example, press the #1 key once to select A, press it twice to select B, and press it three times if you want the C).
General Rules for Using The Alpha Key
S Any number, letter or character on the 0–9 keys can be placed in a program. S Press a numeric key 4, 5 , and 6 times to access the lower case letters. S Press ALPHA prior to each character you wish to enter. S Press the
or key to move the cursor to the next space.
S Press ALPHA to move the cursor more than one space.
Use the =O keys for additional alpha characters.
The 19 special characters shown to the right are available by pressing ALPHA and scrolling through the list using the arrow keys.
1. Press ALPHA.
2. Press or to scroll through the list of characters.
3. When the desired character is displayed, press ALPHA or ENTER to enter the character. The character will be displayed and the cursor will move one space to the right.
4. Press ESC to leave the editor. The list of characters is shown in Figure 4-8.
Figure 4-8 Alpha Characters
< > ? ! @ # % & _ :
; \ |
4-8 Keypad Operation MN1854
Edit, Setup Submenu Table 4-2 shows the structure within the EDIT, SETUP submenu.
Table 4-2 Edit, Setup Submenu
Submenu Setup Parameter Description of Setup Parameter
TYPE Motor parameters
MOTOR
MOTOR
ENC
MECH
I/O
I/O
JOG
JOG
HOME
HOME
PROG
PROG
RS–232C
RS–232C
MISC
MISC
D–RES Drive resolution DIR Direction of travel MODE Select open/closed loop mode E–RES Encoder resolution FOL–ERR Following error IN–RANGE Position maintenance window PMGAIN Position maintenance gain PMMAX Position maintenance maximum velocity DIST Distance Units PITCH Motor pitch 40mil or 20mil (40mil is factory setting) VEL Speed units VMAX Critical speed limit ACCEL Acceleration units AMAX Maximum rate of acceleration INPUTS Input functions OUTPUTS Output functions OPTOS OPTO module configuration OUTSTS Configure output states during Powerup, Fault, and Stop/Kill command. LIMITS Configure EOT polarity (N.O. or N.C.) ACCEL Jog acceleration LO–VEL Low jog velocity HI–VEL High jog velocity ENABLE Enable/disable jog in RUN menu MODE Homing method EDGE Edge of home switch SWITCH Type of home switch OFFSET Position counter offset DIR Final homing direction (positive or negative) PWR–UP Program to run on power up, if any SCAN How to scan program select inputs DELAY Program Select de–bounce time ECHO Echo characters UNIT# Serial address DISP Display mode (not currently implemented) STOP–RATE Decel rate when stop input activated TEST Enable Test Menu (not currently implemented) PASWRD Password setup for operator/administrator access
Keypad Operation 4-9MN1854
Edit, POS Submenu Select Edit, POS to Reset the Current Position to Zero.
POS is a quick way to reset the motors present position to (absolute) zero a
very useful setup and debugging tool.
Action Display Comments
Press EDIT, POS” (F3)
Reset Position?
YES NO
Press YES (F1) or NO (F3)
Edit, List Submenu Select EDIT, , LIST to view memory usage.
LIST provides a way to view your program memory usage. Standard program
storage is 60K bytes, and the maximum size of a single program is 1,024 bytes. LinStep+ will store up to 400 programs, with a maximum single program size of 1,024 bytes.
Action
Press EDIT, , LIST to display the number of programs stored.
Press to display the total memory used for program storage.
Press to display the total free memory available.
Press continuously to scroll through the list of programs, displaying the number of bytes used by each program.
Display Comments
DIRECTORY MORE PROGRAMS: 18
DIRECTORY MORE BYTES USED: 1186
DIRECTORY MORE BYTES FREE: 4958
DIRECTORY MORE 5<untitled>: 56 bytes
4-10 Keypad Operation MN1854
HELP Menu Press HELP to display a help message related to the menu. Help messages are
often several lines, which you can scroll through using the ↓ and ↑ keys. When you are finished reading a help message, press ESC to return to the menu.
Pressing HELP in the Main Menu
HELP explains the functions available when you press any of the non–numeric keys.
Pressing HELP in Menus and Sub–Menus
HELP explains the selections available from your current menu location.
Pressing HELP In the Program Edit function
HELP provides a brief, alphabetical list of commands. Note: A program must be selected to view the COMMAND SUMMARY.
COPY Menu Pressing the COPY key displays three submenu choices.
Action
Press the COPY key
– – – COPY – – – PROG TO PAD FROM
Display Comments
Select a sub–menu, press F1 (PROG), F2 (TO PAD), or F3 (FROM).
COPY, PROG Submenu Copy one program to another program.
Action Display Comments
Press F1 (PROG) to copy from
a program.
SOURCE PROGRAM
>5
Enter the source program number. Or, if you wish, you can scroll through your list of program names. Press ENTER when finished.
Enter the new program number.
TARGET PROGRAM
>6
If the target program exists, you must first delete it (see DEL). Press ENTER when finished.
Note: Remember to change the name of the copied programs to avoid subroutine
call conflicts.
COPY, TO PAD Submenu Copy a program to the keypad from LinStep+ or a PC.
Action
Press F2 (TO PAD). Two messages are displayed sequentially.
sequentially.
Receiving From Drive
Saving To EEPROM may take 40 seconds
Display Comments
Copies a program from LinStep+ to the keypad. When the Saving To EEPROM message disappears,
EEPROM message disappears, the program has been stored in keypad memory.
Keypad Operation 4-11MN1854
COPY, TO PAD Submenu Continued
To copy a program from a PC to the keypad, connect the keypad to the RS232 port of the PC (COM1 or COM2). Start the Application Developer software and from the Communications menu, click on Send All. The keypad will display the message Receiving From PC and a few more messages will quickly appear, then disappear from the screen. When the keypad display is blank, the transfer is complete.
COPY, FROM Submenu Copy a program from the keypad to the LinStep+ or to a PC.
Action
Press F3 (FROM). Four messages are displayed sequentially.
Receiving From EEPROM
Sending To Drive
Waiting For Processing
Saving To Memory
Display Comments
Copies a program from the keypad to LinStep+. When the Saving To Memory message disappears, the transfer is complete.
To copy a program from the keypad to a PC, connect the keypad to the RS232 port of the PC (COM1 or COM2). Start the Application Developer software and from the Communications menu, click on Retrieve All and choose From Keypad. The keypad will display the message Sending to PC and a few more messages will quickly appear, then disappear from the screen. When the keypad display is blank, the transfer is complete.
DEL Menu The DEL (Delete) key allows you to delete any motion program.
Action
Press the DEL key.
DELETE PROGRAM
>6
DELETE PROGRAM #6
YES NO
Display Comments
Enter the program number. Or, if you wish, you can scroll the list of program names. Press ENTER when finished.
Press F1 to delete program or F3 to not delete the program.
DEL is also used to delete text or numeric characters in the editor. Use the cursor control keys to move over the character you wish to delete, then press DEL.
4-12 Keypad Operation MN1854
Section 5 Setup
Overview There are two ways to setup the parameters: use the keypad or use Intelliware
serial communications software. The procedures presented in this section allow LinStep+ to be configured using the keypad (LXKP). If you are not familiar with the operation of the keypad, please refer to Section 4 of this manual. To ensure that LinStep+ is correctly configured, follow all the procedures so that important parameters are not overlooked.
Intelliware software (serial communications) users can refer to this section for definition of the configuration parameters. The Windows dialog boxes follow the keypad menu structure very closely. Details of Intelliware software are provided in MN1855.
Procedure Format Definition
The 2–character ASCII command appears in brackets next to the keypad command. This is the Intelliware software command. Configuring LinStep+ to a specific application requires customizing a number of software parameters to match the mechanics of the system. These parameters include motor, encoder, distance, acceleration and velocity scaling, I/O, jog, home, and serial communication.
Sample format of a procedure description:
Parameter being Configured
Definition [ ID ] EDIT
> SETUP > I/O > INPUTS
ASCII Command (Intelliware)
Keypad Display
IN1: unassigned:
BBBKREJ
B
Keypad Steps
Factory Setting and range of adjustment
Value: Range:
Pressing the EDIT key displays a set of sub–menus.
Action
Press EDIT key
Press F2 (SETUP) key for more sub menu selections.
Press key for more sub menu selections.
Press key for more sub menu selections.
PROG SETUP POS
PROG RS232 MISC
MOTOR ENC MECH
I/O JOG HOME
Display Comments
EDIT
SETUP
SETUP
SETUP
Select a sub–menu, press F1 (PROG), F2 (SETUP), or F3 (POS).
Select a sub–menu, press F1 (PROG), F2 (RS232), or F3 (MISC).
Select a sub–menu, press F1 (MOTOR), F2 (ENC), or F3 (MECH).
Select a sub–menu, press F1 (I/O), F2 (JOG), or F3 (HOME).
Setup 5-1MN1854
Configure Motor Adjustments for resolution and movement direction can be made while the motor
is energized and moving or at rest.
Configuring Motor Type [ MT11 ]
EDIT
Note: Motor type is fixed, L–Step (Linear Steper) for both axes. Press or → to select next axis.
> SETUP > MOTOR > TYPE > STEPER
Configuring Motor Current [ MR10 ]
EDIT
If you want moves in 0.1 degree increments, a D–RES of 18,000 will allow 50 motor steps per degree and prevent any resolution–induced rounding errors. Setting the drive resolution automatically adjusts the pulse–width.
Configuring Motor Direction [ MDi ]
EDIT
Provides a convenient way to change the motor direction for a positive distance command. When POSITIVE is selected as the motor direction, the EOT+ limit switch should be wired so that moves in the plus direction will activate the switch. When NEGATIVE is selected, the EOT+ limit switch should be wired so that moves in the negative direction will activate the switch.
> SETUP > MOTOR > D–RES
Value: 25000 Range: 200, 400, 1000, 2000, 5000, 8000, 10000,
18000, 25000, 25400, 36000, 50000, 5120, 7120, 10240, 14240, 51200, 71168, 102400, 142400
> SETUP > MOTOR > DIR
Value: Positive Range: Positive or Negative
Axis One Motor Type Steper
– Axis One Drive Res –
25000
or to select value, press ENTER Press or to select next axis.
– Axis One Motor Dir –
POSITIVE
or to select value, press ENTER Press or to select next axis.
5-2 Setup MN1854
Configure Encoder If you are not using an encoder, set encoder mode to OPEN LOOP and skip to MECH.
Configuring Encoder Mode [ EMi ]
EDIT
Open Loop The OPEN LOOP position will be displayed on the keypad. Open–stall The OPEN LOOP position will be displayed on the keypad, and the
Closed Loop The actual encoder position is displayed on the screen. All subsequent
Closed Loop–PM Same as closed loop except for the post move position maintenance of
Use PM GAIN, PM VMAX, and IN–RANGE WINDOW parameters to specify position maintenance tuning parameters.
Application Notes:
Following–error is still active while in CLOSED LOOP–PM mode. A following–error will occur when the number of correction steps exceeds the following error value. This allows the unit to signal a fault when the displacement cannot be corrected, i.e. an obstruction. Ensure proper operation in Open Loop mode before attempting Closed Loop–PM mode.
> SETUP > ENC > MODE
Value: Open Loop Range: Open Loop, OpenStall,
Closed Loop, Closed Loop–PM
encoder will be used for stall detection. (See Following Error) moves are calculated from this actual position. All moves are based on
encoder pulses. Stall detection is enabled. Positioning resolution will equal the resolution of your encoder.
the last commanded position. Provides a “pseudo–servo” operation for a stepper system. Closed Loop–PM will not correct position while navigating menus with the keypad.
Configuring Encoder Resolution [ ERi ]
EDIT
> SETUP > ENC > E–RES
Value: 5000 cnts/in Range: 1–9,999,999
Axis One ENC Mode – – OPEN LOOP
or to select value, press ENTER Press or to select next axis.
Axis One ENCODER RES– – 5000 cnts/in
Select value, press ENTER Press or to select next axis.
This option sets the encoder resolution. The resolution is specified in encoder pulses per in of travel, post–quadrature. To prevent end–of–move dither, an encoder resolution of 8000 or less is recommended.
Setup 5-3MN1854
Configuring Following Error Limit [ FEi ]
EDIT
If a Following Error occurs, the control will enter a fault state where:
S Any motion or program being executed is immediately terminated. S The LCD Display will indicate Following Error, along with an
S A fault output will be generated if defined as a Stall or Fault S The fault must be cleared before motion can occur. A Stop or Kill,
S Bit 9 of SS response is set to 1 S Bit 1 of SD response is set to 1
> SETUP > ENC > FOL–ERR
Value: 750 Steps Range: 0–99,999 motor steps (0 = Off)
explanation. output. by programmable inputs or serial command, the ESC key or a
RESET will clear a Following Error fault
Configuring Position Maintenance In–Range Deadband [ IRi ]
EDIT
In–Range Window specifies the position maintenance deadband or region surrounding the set–point position. The “window” is specified in post–quadrature (4 x # of lines) encoder steps. The window is the region surrounding the commanded position in which the load reside and not be considered “out of position.” The control will try to correct the position if it is outside this window.
> SETUP > ENC > IN–RNGE
Value: 25 Steps Range: 0–32,767 steps
Configuring Position Maintenance Gain [ PGi ]
EDIT
PM Gain specifies a gain value used to determine correction velocity. The correction velocity is calculated as displacement* correction gain in units of steps/in. Therefore, the larger the displacement, the faster position maintenance will attempt to correct position. For example, if the correction gain is set to 3 and an active displacement of 3200 steps occurs, the correction velocity will be (3 * 3200) = 9600 steps/sec.
> SETUP > ENC > PMGAIN
Value: 10 Range: 1–32,767
Axis One Fol Error – – 750 Steps
Select value, press ENTER Press or to select next axis.
– IN–RANGE SETUP – WINDOW
Select WINDOW (press F1)
– IN–RANGE WINDOW – 25 steps
Enter encoder steps, Press ENTER (must be a positive number)
– Axis One PM GAIN – 10
Select value, press ENTER Press or to select next axis.
5-4 Setup MN1854
Configuring Position Maintenance Max Velocity [ PVi ]
EDIT
Limits the velocity of a position maintenance correction. Regardless of the magnitude of displacement of correction gain, the correction velocity will never exceed this maximum velocity setting.
> SETUP > ENC > PMMAX
Value: 1.0 in/s Range: 0.005–9,999,999.0
Configure Your Application (Mechanics)
The MECH SETUP menu allows you to preset distance, velocity, and acceleration units convenient for your application. These units are used for all display and position reporting modes. This menu also allows you to compensate for a known amount of backlash in your mechanical system, and to set a maximum allowable speed for each axis.
– Axis One PM MaxVel – 1.0 in/s
Select value, press ENTER Press or to select next axis.
Action
Press EDIT key
Press F2 (SETUP) key for more sub menu selections. Press key for more sub menu selections.
Press F3 (MECH) key
Press key for more sub menu selections.
Press key for more sub menu selections.
PROG SETUP POS
PROG RS232 MISC
MOTOR ENC MECH ←↑ MECH SETUP ↓→
DIST Pitch Vel ←↑ MECH SETUP ↓→
VMAX ACCEL AMAX
Display Comments
EDIT
SETUP
SETUP
Configuring the Distance Unit [ DUi ]
EDIT
This sets the distance units and unit label. All distance values are expressed in the units selected here.
> SETUP > MECH > DIST
Value: inch Range: inch or mm
Select a sub–menu, press F1 (PROG), F2 (SETUP), or F3 (POS).
Select a sub–menu, press F1 (PROG), F2 (RS232), or F3 (MISC).
Select a sub–menu, press F1 (MOTOR), F2 (ENC), or F3 (MECH).
Select a sub–menu, press F1 (Distance), F2 (Pitch), or F3 (Velocity).
Select a sub–menu, press F1 (VMAX), or F2 (Accel), or F3 (AMAX).
– Axis One Dist Units –
←↑ inch ↓→
orto select value, press ENTER
Press or to select next axis.
Setup 5-5MN1854
Configuring Units of Velocity [ VUi ]
EDIT
> SETUP > MECH > VEL
Value: in/s Range: in/s or in/min
or to select value, press ENTER Press or to select next axis.
Sets the velocity units. All velocity values will be expressed in these units.
Configuring Maximum Velocity [ MVr ]
EDIT
> SETUP > MECH > VMAX
Value: 500.0 in/s Range: 0–9999999.0
Select value, press ENTER Press or to select next axis.
Sets the top speed of your motor. (Limits the speed from LinStep+ to prevent accidental damage to your mechanics.)
Configuring Acceleration Units [ AUi ]
EDIT
Sets the acceleration (and deceleration) units. All acceleration and deceleration values will be expressed in these units. You can specify acceleration as a rate, or in time–to–accelerate to full speed.
> SETUP > MECH > ACCEL
Value: in/s
2
Range: seconds or in/s
2
or to select value, press ENTER Press or to select next axis.
Axis One Vel Units
←↑ in/s ↓→
Axis One MAX Vel
←↑ 500.0 in/s ↓→
Axis One Accel Units
←↑ in/s
2
↓→
5-6 Setup MN1854
Configuring Acceleration Maximum [ AMr ]
EDIT
Sets the maximum acceleration and deceleration limit for programmed move profiles. Programmed accelerations and decelerations for moves will be limited by this parameter (like VMAX for velocity).
> SETUP > MECH > AMAX
Value: 80.0 in/s Range: 0.002–9999999.0
2
Configure the I/O
Each of the 8 opto inputs and 8 opto outputs are easily defined with the I/O SETUP menus. When the I/Os are defined, it is a good idea to write down the configuration for later reference.
Configuring Input Definition [ IDaaaaaaaa ]
EDIT
Each input is easily configured using the keypad as described in Table 5-1. The function of each input channel is indicated by a letter at the bottom of the display.
Note: Use the and keys to select an Input. Then use ↑↓ to
> SETUP > I/O > INPUTS
Value: IUUUUUUU Range: N/A
select the definition for each input (described in Table 5-1).
Axis One MAX Accel
←↑ 80.0 in/s
Select value, press ENTER Press or to select next axis.
IN1:Unassigned IUUUUUUU ←↑↓→
Select value, press ENTER
2
↓→
Table 5-1
Char Keypad Display Input Character Description
B Bin Program Binary Program Select – allows remote program selection and execution from
C BCD Program BCD Program Select – allows remote program selection and execution using
c Clear Command Buffer Clear Command Buffer – Clears the terminal input buffer and buffered D Disable Keypad Lock (Disable) Keypad – When activated, the keypad is disabled allowing NO
a PLC, switches, or outputs from a PC. Up to 255 programs may be selected using 8 binary inputs. The lowest numbered input becomes the least significant selection bit (i.e., input #1 is less significant than input #2). The act of configuring an input as a program select input also enables binary program select mode.
a PLC, switches, or outputs from a computer. Up to 99 programs may be selected using BCD inputs. The lowest numbered input becomes the least significant selection bit (i.e., input #1 is less significant than input #2).
command buffer. user access. The keypad resumes normal operation, subject to the DIP
switch pattern, when the input is released.
Setup 5-7MN1854
Table 5-1 Continued
Char Keypad Display Input Character Description
E
Extend Jog 1
e
Extend Jog 2
G Registration Registration – Input #1 must be configured as a Registration input for axis #1
I Interrupt (Run98) Interrupt (Run 98) – When activated, motion on all axes stop at the stop–rate
Extend Jog – When activated, the motor will Jog in the Extend (+) direction. 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.
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.
(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
Table 5-1 Continued
Char Keypad Display Input Character Description
J
Jog Speed 1
j
Jog Speed 2
K Kill Kill Motion – Causes the control to abruptly stop commanding further motion
M
Shutdown 1
m
Shutdown 2
P Pause/Continue Pause/Continue – When this input is grounded, program execution is
R
Retract Jog 1
r
Retract Jog 2
S Stop Stop – When activated, any program execution or functional operation is
U Unassigned Unassigned – An Unassigned input acts like a programmable input, and can
V Data Valid Data Valid – When configured, it determines if the Binary/BCD program select
W Warm Boot Warm Boot (System Reset) – Clears the RAM Buffer, and resets the LinStep+
Jog Speed – When a jog input is activated, the control checks the state of this input to determine the jog speed. If the input is OFF, the system will jog at the Jog Low speed. If the input is ON it will jog at the Jog High speed. If the input is not configured the jog inputs will jog at the Jog Low speed. This input works along with the Extend Jog and Retract Jog.
and terminates program execution. No deceleration ramp is used. Caution: instantaneous deceleration could cause damage to mechanics. The Stop input provides a more controlled halt.
Motor Shutdown – May be activated when the control is not running a program and the motor is idle. Selecting shutdown (M, m) will disconnect power to the motor, which removes current (torque) and allows the motor to spin freely.
stopped. Moves are not interrupted when the Pause input goes active. Command execution will pause at the end of the move, and continue when the input goes high. See the ST and RG commands for interrupting moves in progress.
Retract Jog – When activated, the motor will Jog in the Retract (–) direction. 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 (J) input and the Jog Low and Jog 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.
immediately stopped. This includes any motion, time delays, loops, and faults. Moves will decelerate at the stop deceleration rate. New programs will not execute until the stop input goes inactive.
See the SCAN setup parameter for more information on stopping program execution. See the ST command for more information on stopping moves without halting command execution.
be used in IF and WT statements just like any of the dedicated function inputs.
inputs are processed or ignored. If the input is active, program select inputs are processed, otherwise they are ignored. This allows applications to be wired in a pseudo–bus architecture fashion with each unit sharing the same program select lines, and the data valid inputs determining which units should listen. Configuring this output can greatly reduce panel wiring. In the example shown in Figure 5-1, using the Data Valid input reduced the number of wires by one–half.
to its power–up state. Programs and setup parameters are not erased. This is typically used to restart the system when a fault condition occurs. The power–up program, if defined, will start.
Setup 5-9MN1854
Figure 5-1
4 3 2 1
Data Valid Unit Selection
LinStep #4
LinStep #3
LinStep #2
LinStep #1
PLC
Program Selection
Configuring Output Definition [ ODaaaaaaaa ]
EDIT
> SETUP > I/O > OUTPUTS
Value: PPPPPPPP Range:
OUT1: PROGRAMMABLE
PPPPPPP ←↑↓→
P
Select value, press ENTER
Each input is easily configured using the keypad as described in Table 5-2. The function of each input channel is indicated by a letter at the bottom of the display.
Note: Use the and keys to select an Input. Then use ↑↓ to select the definition for each
input (described in Table 5-2).
Note: Lower case Input Characters (b, d, h, k and m) appear on the Keypad but are not used.
Table 5-2
Char Keypad Display Input Character Description
A AMP FAULT Amplifier Fault – Output goes low on any amplifier fault. An amplifier fault may
B
BRAKE 1
b
BRAKE 2
C OVER CURRENT Not Used. D
DIRECTION 1
d
DIRECTION 2
F FAULT The fault output acts as an all–inclusive fail–safe output. Under normal
H
AT HOME 1
h
AT HOME 2
be due to temperature, motor short–circuits, excessive following error, over–voltage and excessive regeneration conditions. Note: This is not an all–inclusive fault output. Use F–Fault for this.
It is often advisable that applications using a ball screw type actuator with a vertical load use a brake to prevent the load from falling in the event of a fault. The Brake output is normally disengaged, which is actually an ON condition. When a fault occurs, power to the brake is removed and the brake is engaged. This is a “fail–safe type of brake, controlled by an OPTO module, and it requires a customer supplied, 120VAC power supply, or 24 VDC with B Motors.
The output remains set until motion is commanded in the reverse direction.
operation the output is low (ON) and goes high (OFF) when any type of fault occurs. A fault can occur from any amplifier fault condition (A) as well as for the following general faults:
S BMA (Board Monitor Alarm) timeout S Error finding Home both limits were hit.
The exact cause of the fault can be determined a number of ways:
S Shown on keypad display S RS232C using the SS, SD, and SA status commands (see Appendix A) S Other outputs can be configured to show more specific fault states
The output goes high as long as the axis is at home.
5-10 Setup MN1854
Table 5-2 Continued
Char Keypad Display Input Character Description
L LIMIT ERROR The output goes low if a limit switch is hit during a normal move, or if both M
MOVE DONE 1
m
MOVE DONE 2
P PROGRAMMABLE Unassigned outputs are set to Programmable and can be used with OT S STALL The output goes low if the control detects a motor stall.
limits are hit during a Go Home move. The output goes high as soon as an axis move is started and goes low when
a move is completed. commands.
Optional Opto I/O LinStep+ Dual Axis also supports up to eight Opto I/O modules (optional).
Configuring Input Definition [ OPaaaaaaaa ]
EDIT
Each input is easily configured using the keypad. The function of each channel is indicated by a letter at the bottom of the display.
Note: Use the and keys to select an Input. Then use ↑↓ to
> SETUP > I/O > INPUTS
Value: IIIIIIII Range: I=Input, O=Output
select the definition for each input (input or output).
OPTO9: INPUT
IIIIIII ←↑↓→
I
Select value, press ENTER Note: Use the and keys to select
an Input. Then use ↑↓ to select the definition for each input.
Configure the Output States
Configuring OPTO States at Power–up [ OEa,iiiiiiii ]
EDIT
> SETUP > I/O > OUTSTS > PWR–UP
Value: OFF Range: ON or OFF
On PwrUp Output #1 ←↑ OFF ↓→
Select value, press ENTER
Each output is easily configured using the keypad. Select if the output should power–up in the ON or OFF state.
Note: Use the and keys to select an Output (1–8). Then use ↑↓ to select the definition.
Configuring OPTO States during a Fault [ OEa,iiiiiiii ]
EDIT
Each output is easily configured using the keypad. Select if the output should be ON or OFF state or NO CHANGE when a fault occurs.
Note: Use the and keys to select an Output (1–8). Then use ↑↓ to select the definition.
> SETUP > I/O > OUTSTS > FAULT
Value: NO CHANGE Range: ON, OFF or NO CHANGE
On Fault Output #1 ←↑ No Change ↓→
Select value, press ENTER
Setup 5-11MN1854
Configuring OPTO States for Stop/Kill [ OEa,iiiiiiii ]
EDIT
Each output is easily configured using the keypad. Select if the output should be ON or OFF state or NO CHANGE when a stop or kill command is received.
Note: Use the and keys to select an Output (1–8). Then use ↑↓ to select the definition.
> SETUP > I/O > OUTSTS > ST/K
Value: NO CHANGE Range: ON, OFF or NO CHANGE
On ST/K Output #1 ←↑ No Change ↓→
Select value, press ENTER
Configure End of Travel Switch Polarity
Configuring Motor Type [ ET ]
EDIT
Allows selection of Normally Open or Normally Closed polarity of the End of Travel switch (EOT). Use ↑↓ to select the definition.
> SETUP > I/O > LIMITS
Value: NORM CLOSED Range: NORM OPEN or NORM CLOSED
Axis One EOT POL
←↑ NORM CLOSED ↓→
Select value, press ENTER Press or to select next axis.
Configure JOG Parameters
The keypad provides a convenient way to jog the motor. The parameters that control your jog operation are configured using the JOG SETUP menu:
Action
Press F2 (JOG) for more sub menu selections.
Press key for more sub menu selections.
I/O JOG HOME
ACCEL LO–VEL HI–VEL
ENABLE
Display Comments
SETUP
JOG SETUP
JOG SETUP
Select a sub–menu, press F1 (I/O), F2 (JOG), or F3 (HOME).
Select a sub–menu, press F1 (ACCEL), F2 (LO–VEL), or F3 (HI–VEL).
Select a sub–menu, press F1 (ENABLE)
Configuring JOG Acceleration [ JAr ]
EDIT
Sets the acceleration and deceleration used during a jog move. Use the numeric keys to enter a value (units were selected in the SETUP > MECH > ACCEL menu).
> SETUP > JOG > ACCEL
Value: 50.0 {Accel Units} Range: 0.0–9,999,999.0
Axis One JOG Accel
50.0 in/s
Select value, press ENTER Press or to select next axis.
2
5-12 Setup MN1854
Configuring JOG Low Velocity [ JLr ]
EDIT
Sets the low speed JOG velocity. Use the numeric keys to enter a value (units were selected in the SETUP > MECH > VEL menu).
> SETUP > JOG > LO–VEL
Value: 2.0 {Velocity Units} Range: 0.0–9,999,999.0
Configuring JOG Low Velocity [ JHr ]
EDIT
Sets the high speed JOG velocity. Use the numeric keys to enter a value (units were selected in the SETUP > MECH > VEL menu).
> SETUP > JOG > HI–VEL
Value: 5.0 {Velocity Units} Range: 0.0–9,999,999.0
Configuring JOG Enable [ JEi ]
EDIT
Enables or disables JOG features. When disabled, an error message is displayed when the jog buttons are pressed. JOG is often disabled after installation to prevent access.
> SETUP > JOG > ENABLE
Value: Enabled Range: Disabled or Enabled
Axis One JOG LoVel
2.0 in/s
Select value, press ENTER Press or to select next axis.
Axis One JOG HiVel
5.0 in/s
Select value, press ENTER Press or to select next axis.
Axis One JOG Enable
Enabled
Select value, press ENTER Press or to select next axis.
Configure HOME Parameters
The homing function combines the flexibility of a customized homing routine with the ease of use of calling a canned program. (Also see the GH command).
Action
Press F3 (HOME) for more sub menu selections.
Press key for more sub menu selections.
Press key for more sub menu selections.
Display Comments
↑SETUP↓
I/O JOG HOME
↑HOME SETUP↓
MODE EDGE SWITCH
↑HOME SETUP↓
OFFSET DIR
Select a sub–menu, press F1 (I/O), F2 (JOG), or F3 (HOME).
Select a sub–menu, press F1 (MODE), F2 (EDGE), or F3 (SWITCH).
Select a sub–menu, press F1 (OFFSET) or F2 (DIR).
Setup 5-13MN1854
Configuring Homing Mode [ HMi ]
EDIT
Sets how a Go Home (GH) command will execute. The control will only search for the appropriate edge of a switch.
> SETUP > HOME > MODE
Value: Switch Only Range: Switch Only
Configuring Home Edge [ HEi ]
EDIT
Sets the home switch active on the negative edge or positive edge of the encoder index channel. Use the and keys to select.
> SETUP > HOME > EDGE
Value: NEGATIVE Range: NEGATIVE, POSITIVE
Configuring Home Switch [ HSi ]
EDIT
Selects the type of switch used for the home input. Use the ← and keys to select.
> SETUP > HOME > SWITCH
Value: Norm Open Range: Norm Open or Norm Closed
Axis One Home Mode
←↑ Switch Only ↓→
Only one selection available. Press or to select next axis.
Axis One Home Edge
NEGATIVE
Select value, press ENTER Press or to select next axis.
Axis One Home Switch
Norm Open
Select value, press ENTER Press or to select next axis.
Configuring Home Offset [ HOr ]
EDIT
Sets the offset from home position for the “real” home position. After a successful homing move, the home position (the factory set home position is +0.0000) is set to the offset value. Use the numeric keys to enter a value.
This allows multiple systems to have identical programs and only change the home offset value for each machine.
> SETUP > HOME > OFFSET
Value: 0.0 {Distance Units} Range: 0.0–999,999,999.0
Axis One Home Offset
0.0 in
Select value, press ENTER Press or to select next axis.
5-14 Setup MN1854
Configuring Home Direction [ HFi ]
EDIT
Sets the direction for the Go Home (GH) move. This is the direction used to search for the encoder index mark (Z channel) after the appropriate home switch edge is found.
> SETUP > HOME > DIR
Value: POSITIVE Range: NEGATIVE, POSITIVE
Configure Power–up Program
The Program Setup menu allows selection of (1) a program to be immediately run when LinStep+ is powered–up and (2) scanning conditions for the BCD or binary program select inputs.
Axis One Final Dir
Positive
Select value, press ENTER
Action
Press F1 (PROG) key for more sub menu selections.
PROG RS232 MISC
Display Comments
SETUP
Configuring Power–up Program [ PUi ]
EDIT
Sets the program to run at power–up. The selected program is executed (run) when power is applied or after a reset. If a value of 0 is entered in this menu, or if the specified program does not exist, no program is run. Use numeric keys to enter program number.
> SETUP > PROG > PWR–UP
Value: 0 Range: 0–400
Configuring Scan Conditions [ SNaaaaaaaa ]
EDIT
Selects the events that cause the control to stop scanning program–select configured inputs. The selected event is listed to the right of these 7 characters: ESCape, STOP, LIMIT+, LIMIT–, KILL, FAULT or INTerrupt.
If a stop–scan event is enabled, the system will stop scanning the inputs for program numbers when that condition occurs. To resume scanning, a reset (Warm Boot input or cycle power Off then On) must be given. This option has no effect if the inputs are not configured as program select inputs (either BCD or Binary).
> SETUP > PROG > SCAN
Value: YYYYYYY Range: YYYYYYY, NNNNNNN
Select a sub–menu, press F1 (PROG), F2 (RS232), or F3 (MISC).
– Power Up Program – PROGRAM:0
Select value, press ENTER
Stop After Scan
←↑ Y
YYYYYY ESC ↓→
Select value, press ENTER
Setup 5-15MN1854
Configuring Scan Delay [ DYi ]
EDIT
Sets the amount of time required for the program select inputs (BCD or Binary) to remain stable before they are valid. The minimum time is 2 ms. If program select inputs are not stable for a time equal to or greater than the specified delay, the program will not be executed. Use the numeric keys to enter a value in ms.
Note: See Data V alid Input Configuration for an alternate approach.
> SETUP > PROG > DELAY
Value: 100 Range: 0–99,999
– Scan Debounce – DELAY (ms):100
Configure Serial Communications
To use the LinStep+ serial port, several things must be done first. Use the keypad to set the auto–echo and the units daisy chain address. The baud rate and other parameters have fixed values and may not be changed.
S Baud rate: 9600 S Data bits: 8 S Stop bits: 1 S Parity: none
Action Display Comments
–RS232C SETUP–
ECHO UNIT#
Select a sub–menu, press F1 (ECHO), F2 (UNIT#).
Select value, press ENTER
Configuring Echo Enable [ ECi ]
EDIT
Enable or disable the RS–232C ECHO feature. If ECHO is disabled, characters received by the control’s serial port will not be re–transmitted. ECHO must be enabled in daisy–chain applications.
> SETUP > RS232 > ECHO
Value: Enabled Range: Enabled, Disabled
RS232C ECHO
ENABLED
Select value, press ENTER
Configuring Unit Number [ UNi ]
EDIT
Set the unit’s address. Each unit in an RS–232C serial daisy chain of multiple units must have a unique Unit Number.
> SETUP > RS232 > UNIT#
Value: 1 Range: 1–99
Unit Number
NUMBER:1
Select value, press ENTER
5-16 Setup MN1854
Configure Miscellaneous Setup Parameters
The miscellaneous set–up (MISC SETUP) parameters include the keypad display, and setting the deceleration rate used with a stop input (or with the ESC key while an axis is moving).
Action
Press EDIT key
Press F2 (SETUP) key for more sub menu selections.
Press F1 (DISP) key for more sub menu selections.
PROG SETUP POS
PROG RS232 MISC
DISP Stop–Rate Test
Display Comments
EDIT
SETUP
MISC SETUP
Configuring Display Format [ DF ]
EDIT
The Run Time screen of the data display can be customized. The run time screen has four 10 character segments called quadrants. Each quadrant can display one of the data types defined in Table 5-3.
Select one quadrant, then assign a data type to that quadrant, press ESC to save the data type. Repeat this process for each quadrant.
Note: To define the text for the “text” data type, scroll to the text data
> SETUP > MISC > DISP
Value: 1=POS1, 2=POS2, 3=Inputs, 4=Outputs Range: See Table 5-3.
type selection and press the ALPHA or a number key. A cursor is then displayed, enter up to 10 characters then press ENTER followed by the ESC key to save and exit.
Select a sub–menu, press F1 (PROG), F2 (SETUP), or F3 (POS).
Select a sub–menu, press F1 (PROG), F2 (RS232), or F3 (MISC).
Select a sub–menu, press F1 (DISP), F2 (Stop–Rate), or F3 (Test).
<QUAD#1> QUAD#2 QUAD#3 QUAD#4
←↑ QUAD#1 DISPLAY ↓→ ↑ POS1
Use the ←↑↓→keys to select a Quadrant (1–4), press ENTER.
Use the ↑ and ↓ keys to select a data type.
Table 5-3
Data Type Description of Display Data Type
Blank No Display POS1 (POS2) Axis Position (axis 1 or 2) POS1+Unit (POS2+Unit) Axis Position with axis units (axis 1 or 2) VEL1 (VEL2) Commanded Axis Velocity (axis 1 or 2) Inputs Discrete input status (0=Off, 1=On) Outputs Discrete output status (0=Off, 1=On) OPTOS Opto I/O status (0=off, 1=on) as configured) SA_Status1 (SA_Status2) SA (Tell Axis Status) serial command response (axis 1 or 2) SS_Status SS (Tell System Status) serial command response Text User defined text
Setup 5-17MN1854
Configuring Stop Decel Rate [ SRi ]
EDIT
Set the deceleration rate used whenever a configurable stop input is activated, or when the ESC key is pressed during a move. Normally set to the fastest controllable deceleration rate possible with mechanics in your application.
> SETUP > MISC > Stop–Rate
Value: 80 in/s Range: 0.0–99999.0
2
Configuring Passwords [ PWaaaa,aaaa ]
EDIT
Passwords allow you to restrict access to the RUN, EDIT, COPY, DEL and keypad DIP switches. Select Operator or Administrator (see Table 5-4 for description). Enter a password, use ←→ and DEL keys to edit the password.
General Password Rules:
S Passwords are 4 characters maximum. 09, upper and lower S If no password is entered, there is no restriction.
S Entering the wrong password or pressing ESC at the password S Select EDIT > SETUP > MISC > PASWRD > CLEAR to delete all
Note: Subsequent attempts to RUN or EDIT a program do not
> SETUP > MISC > PASWRD
Value: None Range: N/A
case letters, in any combination.
prompt will return the keypad to the standard run–time display. passwords.
require a password. You are prompted to: Use Last (F1) or Reset (F3). Select Use Last to run or edit another program. Select Reset to require the next user to enter a password.
Axis One Stop Decel
80 in/s
Enter a value, press ENTER
– Password Setup – OPRATR ADMIN CLEAR
Select a value, press ENTER
2
Table 5-4
Password Type Description Gives access to these menus
OPRATR Operator only RUN, EDIT, COPY, DEL ADMIN Administrator only RUN, EDIT, COPY, DEL CLEAR Clears Passwords
5-18 Setup MN1854
Section 6 Keypad Programming
Commands The programming commands that can be entered from the keypad are listed in
Table 6-1.
Table 6-1 Keypad Program Command List
AC Acceleration GH Start Home OT Outputs On/Off CL Not Implemented FK Function Key MS Message to Display CT Not Implemented GI Go Immediate ON On Condition DA Distance Absolute GO Go (Start a Move) __ Message to Serial Port DC Distance to a Change GS Gosub RG Registration Move DE Deceleration GT Go To Program SP Set Position DI Distance Incremental IF If (conditional) ST Stop Move on Input EB End of Block IV Input Variable TD Time Delay EN End of Program LP Loop VE Velocity
MC Move Continuous WT Wait
Acceleration syntax – ACr
AC
Value: N/A Units: seconds, in/sec Range: Unit scaling dependent
Sets the acceleration and deceleration ramps on all velocity changes. The deceleration value (DE) is the same as the acceleration value unless DE is specifically set after the AC command (the value of DE must then be changed every time AC is changed). Change only AC if you want a symmetrical move profile.
Examples:
AC2
VE12 DA3 GO Sets acceleration and deceleration to 2. DE.5 VE12 DA6 GO Accel stays at 2, decel changes to 0.5. VE20 DA0 GO Acceleration and deceleration remain at 2 and 0.5.
DA2 GO Acceleration and deceleration become 4.
AC4 DE3 AC1 DI3 GO DE reset to 1 by AC1 before the move is made.
2
or units/sec2 (set in EDIT > SETUP > MECH > ACCEL)
Keypad Programming 6-1MN1854
Not Implemented syntax –
CL
Value: Units: Range:
Not Implemented syntax –
CT
Value: Units: Range:
Distance Absolute syntax – DA±r
DA
Value: N/A Units: set in EDIT > SETUP > MECH > DIST Range: Unit scaling dependent
Sets the next move position, referenced from absolute zero. The absolute zero position is established after a Go Home move (GH) and/or with the Set Position (SP) command. Absolute positioning is typically used to move between a number of known locations, or if the physical work area is restricted.
Incremental (DI) and absolute moves may be mixed; the control keeps track of the absolute position.
Example:
AC2 DE.5 VE12 DA3
GO DA3 GO Moves once to absolute position 3 units.
DA3
GO Moves to absolute position 3 units.
6-2 Keypad Programming MN1854
Distance to Change syntax – DC±r
DC
Value: N/A Units: set in EDIT > SETUP > MECH > DIST Range: Unit scaling dependent
Defines complex, multiple velocity move profiles, or to change an Output at a specific point during the move. It defines the distance at which a change will occur, on the fly, while the motor is still moving. At the specified distance you can change the velocity, acceleration, deceleration or change the state of an output(s). The DC command must follow the DA or DI command which specifies the total move distance.
The DC distance is interpreted as an absolute position when used with DA and an incremental position when used with DI. When used with DI, the value of DC should be specified as a positive number. When multiple DCs are specified within an incremental move (DI), the incremental distance specified by the DC command is taken from the last DC command, not from the beginning of the move. A maximum of 20 DC commands within a move profile are supported.
Examples:
AC.05 DE.05 VE10 DA4 DC1 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 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 Move an incremental distance of negative 8 units. After 1 unit turn on output 1 and after 3 MORE units of motion, turn off output 1 and turn on output 2.
AC.05 DE.15 VE50 DI15 DC5 At a starting speed of 50, begin moving an incremental distance of 15 units. After 5 units, ramp down to 10 speed. After 5 MORE distance units ramp down to 5 speed and continue until the final position is reached.
OT100 DC2 OT010 DC3 OT001 GO
VE15 GO
OT10 DC3 OT01 GO
VE10 DC5 VE5 GO
Keypad Programming 6-3MN1854
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
DCn* DC
ramp requires 2.5 units to reach velocity S= 0.5V and is ignored. The following formula ensures the use of valid DC trigger positions:
n*1
*
(|
V
* V
n*1
2
t
|)
n
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).
t
Examples of DC move profiles:, AC = seconds, VE=ips.
AC1.6 DE0.8 VE5 DA20 DC10
To calculate DCn (or DC? in the example)
? 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 DC in the DC formula. A decel ramp from 2.5 to 0 requires 1 distance unit in 0.8 seconds (S=
0.5V
AC2.5 VE3 DC? VE2.5 GO
5
DC
).
t
(|5 * 3|) (2.5)
+
n
19 * 13.35 *
10
?
2
(|0 * 2.5|) (0.8)
19
) 10 + 12.5
2
+ 5.65
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}
, the DC1.75 is an invalid trigger position
20 Units
n
6-4 Keypad Programming MN1854
Deceleration syntax – DE±r
DE
Value: N/A Units: seconds, in/sec Range: Unit scaling dependent
Sets the deceleration ramp for all negative velocity changes. This value is the same as the acceleration value unless a deceleration is specified. The value is used on subsequent moves unless it is re–specified by an acceleration (AC) or deceleration (DE) command.
Examples:
AC2 VE12 DA3 GO Sets acceleration and deceleration to 2.
VE12 DA6 GO Accel stays at 2 and decel changes to 0.5.
DE.5 VE20 DA0 GO Acceleration and deceleration remain at 2 and 0.5. AC4 DA2 GO Both acceleration and deceleration become 4.
AC1 DI3 GO AC1 sets both the accel and decel to 1.
DE3
2
or units/sec2 (set in EDIT > SETUP > MECH > ACCEL)
Distance Incremental syntax – DI±r
DI
Value: N/A Units: set in EDIT > SETUP > MECH > DIST Range: Unit scaling dependent
Specifies a move distance relative to the current position. Such moves are called incremental moves, as opposed to the absolute move (DA). Use incremental moves when there is no concern for origin, such as feed–to–length applications. DI is also often used inside a loop to shorten a program. Incremental and absolute moves may be mixed; the control keeps track of the absolute position.
Example:
AC.1 VE60 DI2 Move 2 units in the + direction. Move 1 more unit in the positive direction. Move 4 units in the negative direction. The final absolute position is –1.0000.
GO DI1 GO DI–4 GO
Keypad Programming 6-5MN1854
End of Block syntax – EB
EB
Value: N/A Units: N/A Range: N/A
The EB command designates the End of a Block of loop or IF commands. Every LP, LW, LU, and IF statement must have an EB associated with it.
Examples:
LP2 DI3 GO EB IF1,1 DI5 GO DI10 GO EB
Performs the move twice
GH3 If input 1 is On, make 2 moves before homing. If input 1 is Off,
jump to the GH command.
End of Program syntax – EN
EN
Value: N/A Units: N/A Range: N/A
EN marks the end of a program or subroutine. It is optional at the end of a program. If EN marks the end of a subroutine, command execution continues from the command following the gosub (GS) command that called the subroutine. If the routine was not called from another program, the EN command simply stops execution. The control continues to monitor the program select inputs (if defined). The EN command can be used anywhere in a program to stop command execution.
Example:
IF2,1 EN
EB DI2 GO If input #2 is on, stop the program, or return to the calling program. If not,
move 2 units.
6-6 Keypad Programming MN1854
Function Key syntax – FKi,i,..,i
FK
Value: N/A Units: N/A Range: i=1–28
The FK command allows you to define a function key within your program. The FK command pauses processing until the buttons you have armed are pressed. The number of the button pressed is assigned to the system variable, (FKEY). You can then manipulate or directly use this variable to branch to other routines or make other decisions. FK allows the programmer to redefine the keypad’s function keys as operator menu selection buttons. You can even write your program with menus that look and feel like our setup menus. The returned values of the FKEY’s are:
Note: 24, the ESC key, cannot be assigned since it stops the program.
F1 =1
RUN =4
1=9
EDIT =5
2=10 3=11
4=14 5=15 6=16
7=19 8=20 9=21
ESC
=Not
Example:
FK
1,2,3,4 GS(FKEY) Pauses command execution until F1, F2, F3, or RUN is pressed on the keypad. (FKEY) is assigned a value of 1–4. Subroutine 1–4 is called with the GS(gosub) command.
Figure 6-1 shows how to use the keypad function keys as an operator interface. A 3–screen menu program is provided
1. Write a menu message (MS) on the keypad display above the corresponding function keys.
2. Use the FK command to pause command processing until the operator selects a valid function key. Only
keys explicitly defined in the FK statement are considered valid.
3. Gosub to the appropriate program.
Used
0=25
F2 =2
HELP =6
±
F3 =3
COPY =7
DEL =8
u
=12 =13
=17 =18
.
,
=22 =23
ALPHA ENTER
=27 =28=26
Keypad Programming 6-7MN1854
Program 20:
Figure 6-1 Example 3–Screen Menu Program
[SCREEN 1] Name the main program MS1,“ “ Clears keypad screen MS3,Select a Part Writes a Message MS21,Part A Part B Part C Writes a message above function keys FK1,2,3,17,18 Wait for selected key press GT(FKEY) Jumps to prog# 1, #2, or #3 if F1,F2, or F3 is pressed Jumps to prog #17, or
EN End of Routine
Program 18:
[SCREEN 2] MS21,Part D Part E Part F Writes a message above F1, F2, F3. FK1,2,3,17,18 Wait for selected key press IF(FKEY)=17 GT[SCREEN 1] EB If Up arrow goto screen 1 IF(FKEY)=18 GT[SCREEN 3] EB If Down arrow goto screen 3 (FKEY)=(FKEY)+3 Add offset to FKEY variable to goto
GT(FKEY) Jumps to part D, E, F in program#4, 5, or 6 EN End of Routine
Program 17:
[SCREEN 3] MS21,Part G Part H Part J Writes a message above function keys. FK1,2,3,17,18 Wait for selected key press IF(FKEY)=17 GT[SCREEN 2] EB If Up arrow goto screen 2 IF(FKEY)=18 GT[SCREEN 1] EB If Down arrow goto screen 1 (FKEY)=(FKEY)+6 Add offset to FKEY variable to goto correct part subroutine GT(FKEY) Jumps to part G, H, J in program #7,8 or 9 EN End of Routine
The programs to make Parts A, B, C, D, etc. are in program numbers 1–9. To continuously cycle through put a GT[SCREEN 1] at the end of each part program.
#18 if the up or down arrow keys are pressed.
correct part subroutine.
6-8 Keypad Programming MN1854
Start Home syntax – GH±r
GH
Value: N/A Units: set in EDIT > SETUP > MECH > ACCEL > VEL Range: Unit scaling dependent
Initiates a homing routine (seeks the home switch) to establish a home reference position. When it reaches home, the position counter is set to zero or to the Home Offset (HO) value selected in the EDIT > SETUP > HOME menu. The motor will move at the GH velocity (n) and direction (±) specified until it either finds a home limit switch or determines that it can not find one between the two end–of–travel limit switches. The Go Home move uses the last acceleration and deceleration specified.
The exact homing routine used, and the ultimate end position of your systems home reference, depends on the values of your EDIT > SETUP > HOME parameters (edge, level, final approach direction, and offset) and if you have specified open or closed loop moves in the EDIT > SETUP > ENCODER menu. The control will reverse direction when the first End of Travel limit switch is encountered while searching for a Home switch. If the second End of Travel switch is encountered, the unit will abort the Go Home move and generate a fault. Assuming the presence of an operational home switch, the control will seek a home position according to the parameters you specified (edge, level, final approach direction, and offset).
Closed loop systems will normally home with more accuracy than open loop systems because encoders have a Z marker pulse. In a typical Go Home routine, the control will first sense the edge of the switch defined in the Go Home SETUP menu. It will then decelerate the motor to a stop at the last defined deceleration rate. The final homing motion is determined by the Go Home options selected in the SETUP menu. The final homing direction dictates the direction from which the final approach to the switch is made. The edge selected will determine which side of the home switch this final approach will be based from.
In a “closed loop” mode Go Home routine, the control will additionally slow to a creep speed and stop when it sees the encoders “Z” Marker Pulse after seeing the reference edge of the switch. If a marker pulse is not seen within one motor revolution after the reference edge of the switch is seen, the final homing routine will be aborted.
Note: Homing Mode directly affects or reconfigures the function of the GH command.
Examples:
AC.5 DE.5 GH AC.5 DE.5 GH
–20 Go Home in the negative direction at a speed of 20 20 Axis one Go Home in the positive direction at a speed of 20.
Keypad Programming 6-9MN1854
Go Immediate syntax – GI or GIi
GI
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
Output 1
Axis 1
Output 1
V
1 Second 1 Second
V
V
T
The program will operate as shown here.
T
T
The program will not operate as shown here.
T
6-10 Keypad Programming MN1854
Go (Start a Move) syntax – GO or GOi
GO
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 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.
2 When input 2 is activated, immediate execution of the motion calculation
already in the buffer is performed.
Go Point(Start a Move) syntax – GP or GPn
GP
Value: N/A Units: N/A Range: N/A
Y
Example:
VE2 AC.1 DA4,2 GP
(4,2)
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) 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) 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.
2
in units of steps.
2
will produce unpredictable results.
Keypad Programming 6-11MN1854
Gosub syntax – GSi and GS[name]
GS
Value: N/A Units: N/A Range: i=1–400, [name] = any legal program name
Jumps to program number or name and returns to the calling program when command processing reaches the EN command in the sub–routine. After the return, execution continues at the command immediately following the GS statement. Subroutines may be nested 16 levels deep. A Goto (GT) clears the subroutine stack, preventing future Gosubs from overflowing the stack or returning to the wrong location.
Example:
DI10 GS
[Part A] GO Run program “Part A”, return and make a 10 unit incremental move.
Go to Program syntax – GTi or GT[name]
GT
Value: N/A Units: N/A Range: i=1–199 (1–400 with 30k memory option), [name] = any legal program name
GT branches to the program number or name specified. All subsequent commands in the calling program are ignored. Nested loops and subroutine calls are cleared by a GT command.
Examples:
IF10 GT IF01 GT
[PART A] EB IF input 1 is on and input 2 is off, jump to program Part A 20 GT30 EB EN IF input 1 is off and input 2 is on, run program 20. Program 30 is never run.
Use the GS command if you want to return to this program and goto program 30.
6-12 Keypad Programming MN1854
If
IF
Value: N/A Units: N/A Range: i=starting input number 18
Allows the conditional execution of a block of commands based on the evaluation of an expression or input state. If the expression or input state is TRUE, the commands between the IF and the EB are executed. If FALSE, execution continues with the command following the EB. An IF statement should not be confused with a WT statement. An IF statement evaluates, true or false, based on the conditions at the instant the command is processed. A WT statement pauses command processing until the condition is true.
Note: An End of Block (EB) command must be used with every IF command. IF blocks can be nested up to 16 levels deep. To increase flexibility (primarily with programmable logic controllers) the IF command allows you to use configured inputs with the command. To help prevent this
added flexibility from causing programming confusion, you can specify any character as an input (x). This allows you to self document your IF statements. For example, assume you configure input #3 as a JOG SPEED input. Programming like IF01J10 can help remind you that you are already using input #3 as JOG SPEED.
Examples:
14,1 GO EB If input 14 equals 1 Go
IF
12,010 GO EB If inputs 12–14 equal 010 Go
IF
110 GO OT3,1 EB If inputs 1–3 equal 110 Go and turn on Output #3
IF
(TEMP) > 50 OT1 EB If temperature variable > 50 turn on Output 1
IF
(PARTS)=25 GS20 EB If PARTS variable = 25 Gosub to Program 20
IF
x=0; input high. X=1; input low (grounded). x=anything else; ignore input changes. expression = any valid expression (see math and variables definitions)
syntax – IF (Mathematical expression)
IFxx (assumes first input is input 1) IFi,xx ...
Keypad Programming 6-13MN1854
Input Variable
IV
Value: N/A Units: N/A Range: i=1–40 display position characters
Allows operator input of variable information under program control. It is usually used with the message command (MS) to prompt for operator input of the variable specified in the IV statement. The cursor is placed at character position “i”. The program waits until a number is entered before continuing execution. You are not allowed to type past the end of either display line. Variables store 4 digits to the right of the decimal place. When minimum and/or maximum range values are specified, the IV command will not accept inputs outside this range (one of the following messages is displayed on the keypad):
S Input below minimum, Press ESC to resume S Input above maximum, Press ESC to resume
V ariables can be used in a math equation, conditional expression or to set any command parameters (Example: DA, DC, VE, AC, LP, IF, TD, etc.). A variable can be used anywhere in a program a real number or integer is used. Use care when performing math on variables used in LP statements. LP will truncate the non–integer portion of the variable. For example: (COUNT)=25*.2 LP(COUNT) will only loop 4 times because (COUNT)=4.9999. A small offset can be added to variables used in LP statements to avoid this problem. (COUNT)=(COUNT)+.1 will guarantee that (COUNT) will be greater than 5, so the program will loop 5 times.
Examples:
MS1,“” Clears the Display MS1,How many?: Writes string beginning at character 1, top line
12,(PIECES),1,15 Waits at 12th character for the # of pieces in the range 1–15.
IV
variable= any legal variable name min=the minimum range value (optional); max=the maximum range value (optional)
syntax – IVi,(variable),min,max
MS1,“” Clears the Display MS1,How long?: Writes string beginning at character 1, top line
12,(LENGTH) Waits at 12th character for the # of pieces.
IV LP(PIECES) Loops the number of pieces entered DI(LENGTH) Defines the desired move length/distance. GO Moves the length commanded EB Ends the loop.
6-14 Keypad Programming MN1854
Loop
LP
Value: 0 Units: N/A Range: N/A
Causes all commands between LP and EB to be repeated “i” times. If LP is entered without a number following it or a 0, the loop will repeat continuously.
Note: An End of Block (EB) command must be used with every LP command. Up to 16 nested loops (one inside the other) are allowed. Each LP command must have a corresponding EB
command to end the block (loop). A GT command within a loop will terminate the loop, clear the loop stack and jump to a new program.
Example:
AC.09 DE.09 LP The motor will perform an incremental 1 unit move at speed 30 three times and then a 3 unit move at speed 7 in the other direction.
3 VE30 DI1 GO EB VE7 DI–3 GO EN
syntax – LPi
Keypad Programming 6-15MN1854
Move Continuous
MC
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:
S Have asynchronous inputs change the speed of an axis S Make motion profile changes based on time delays or input states S Manipulate I/O while moving as a function or time, distance, or input states S Change speed based on analog inputs or variables S Have an operator update the speed of an axis through the keypad S Servo to an analog input S Make a one axis joystick using analog inputs
syntax – MC+
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:
S Put different MC moves in different programs and select different speeds by running different programs. S Change speeds based on Binary or BCD program select lines S Call MC+ moves as subroutines S Run from hosted RS232C mode, where the computer commands speed changes S Run 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
Move Continuous
Examples:
1. Basic Move Continuous syntax. Demonstrates how to change speed and stop MC+ moves based on
time delays and input conditions.
MC
+ Enable Move Continuous on axis 1 AC.1 DE.2 Set the acceleration and deceleration rates VE50 Set top speed to 50 GO Start the Move Continuous move, command processing will continue when axis 1
TD2 Delay for 2 seconds at speed VE25 GO Decel to 25 WT111 Wait for inputs 1,2, and 3 to go active VE0 GO Stop the move
2. Demonstrates how to prompt an operator for speed changes on a one axis LinStep+. The move is
started after the initial velocity prompt. The velocity only changes when the operator enters a new value using the keypad. The move can be stopped by entering a velocity of zero, or when any of the stop
conditions defined above exist. [One Axis MC] MS1,Enter the Velocity Prompt the operator IV23,(V) Put the operator input in variable (V) MC
+ AC1 VE(V) Use operator inputted variable (V) as new speed GO Change velocity of axis 1 to the new speed GT[One Axis MC] Repeat
3. Demonstrates the use of WT, OT and TD commands in continuous move. MC
+ AC3 VE3 GO Start first segment WT8,1 AC.1 VE10 GO Wait for input 8 and change speed TD5 AC.3 VE.2 GO Wait for 5 seconds and change speed WT3,1 VE–10 GO Wait for input 3 and change speed and direction OT11 Turn on outputs 1 and 2 TD10 VE0 GO Wait 10 seconds and stop the move
Continued
reaches constant velocity
Keypad Programming 6-17MN1854
Message to Display
MS
Value: N/A Units: N/A Range: n=1–40 characters
MS allows messages to be displayed on the keypads display. Messages are usually to prompt for operator input, display function key prompts, or as a diagnostic tool.
MS,“” can be used to restore the initial axis position and I/O display during program execution. MSn,“” clears the display from the n th character to the end of message. MSn,user text prints user text beginning at the n th character. MSn,(variable) writes the value of the variable beginning at the n th character. These variations to MS all disable the initial position and I/O display until program execution stops. MS,“” can be used to restore the initial axis position and I/O display during program execution.
Examples:
1,“” Clears the Display.
MS MS
3,Part Count Writes string beginning at character 3, top line.
MS
27,(COUNT) Displays the value of the variable (COUNT), beginning at position number
This keypad programming template shows the relationship of the each character position to the location of the function keys. This will help you align messages on the display. A larger version is located in the back of this manual and can be photo copied for programming use.
M1S22374,5(6C7O8U9N10T11)
(20 on each line)
27 (7th character, 2nd row).
syntax – MS,“” returns to the initial runtime display
MSn,“” MSn,user text MSn,(variable)
12 13 14 15 16 17 18 19 20
Display
Lines
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
FK1 FK2 FK3
6-18 Keypad Programming MN1854
On Condition (On Event)
ON
Value: N/A Units: N/A Range: N/A
Allows conditional program execution based on an event. When the programmable event occurs, the current program and move are interrupted and program execution begins at the predefined interrupt program. The interrupt program can be defined as a GT or a GS. Defining the interrupt as a GS allows program execution to return to the exact point in the original program where the interrupt occurred. The ON command currently supports End–of–Travel (EOT) as an event conditional.
After an ON event is defined, it is active in all user programs and need not be redefined except to change the interrupt program type, number or name, or clear the event condition.
Example: Using ON to handle an EOT event. [POWERUP]
L,GT[ON EOT] [Goto [ON EOT] {on an End–of–Travel input}
ON GT[HOME] {Home the machine}
[MAIN] LP {Loop forever} VE5 DA20 GO {Define move} DA0 GO {Define move} EB
[ON EOT] IF(SA1)&256 {Check if EOT– switch was hit (bit #9 in SA)} VEI DA0.5 GO {Move off EOT– switch} GT[HOME] {Home the machine} EB VEI DA–0.5 GO {Move off EOT+ switch} GT[HOME] {Home the machine}
syntax – ONn,GTx
ONn,GSx ONn,0 Clear the event
n= On EOT Limit
[HOME] GH3 {Home} GT[MAIN] {Jump to main loop}
Keypad Programming 6-19MN1854
Output (turn outputs On/Off)
OT
Value: N/A Units: N/A Range: i=1 to 16
Sets both discrete and digital Opto output states. After an output is turned on (low), it remains on until changed by another output command, a reset input (software warm–boot), or power is cycled. All outputs are turned off (high) at power up or during a reset.
For flexibility, the OT command allows you to use configured outputs anytime. To help prevent programming confusion, you can use any character in the dont change section of your output statement. This allows you to self–document your OT statements. For example, assume you configured output #3 as a “FAULT output. Programming like OT01F10 can help remind you that you are already using output #3.
Example:
syntax – OTi,xx ..
OTxx (assumes first input is input 1) i= starting output number 1–16 x=0; input high. X=1; input low (grounded). x=anything else; ignore input changes.
OT4,1 OT2,0D1 OT110
Turn Outputs 2 off, leave 3 as is, and turn 4 on.
Turn Outputs 1 and 2 on, and 3 off.
Turn on Output 4.
Quote
“”
Value: N/A Units: N/A Range: N/A
The “” command transmits an ASCII string from the serial communications interface. A “” without any string transmits a carriage return character (ASCII 13).
Example:
“Move Complete” Transmits string only out serial interface. “” Transmits a carriage return only.
syntax – Any ASCII Character
6-20 Keypad Programming MN1854
Registration
RG
Value: N/A Units: N/A Range: N/A
The Registration command (RG) specifies a distance to be moved from the current position – as commanded by a specific input trigger. For example, in the following program of 10 user–units on axis #1, the input trigger is received at user–unit 4, to move 3 user–units from the point where the input trigger was received.
VE2 AC.1 DA10 RG
Assume the input is an optical sensor that triggered on a registration mark at a position of 4 user–units. The commanded move related to the registration move is as follows:
V
Axis 1
Accompanying the programmable Registration Command is the configurable Registration Input: G (also G in Serial Setup Commands). To configure a Registration input from the keypad, choose EDIT > SETUP > I/O > INPUTS. An input configured as a Registration Input is designated by a G on the keypad input status display. The RG Command will only function if the corresponding input has been configured as a Registration Input.
Note: Registration Input is only configurable on Input #1 for Axis #1.
3 GO
4710
RG
Index
Distanc
e
syntax – RGr
T=4 RG Input Trigger T=7 RG End of Move T=10 Ends at Commanded Position
T
Set Position
SP
Value: 0 Units: set in EDIT > SETUP > MECH > DIST Range: varies with distance units
Sets the current absolute position to “n”. This command is typically used to adjust or shift a coordinate system. It is often done after a series of incremental moves to reset the absolute coordinate frame.
Example:
syntax – SP±r
MC+ GO WT1,1 VE0 GO SP10.5
After the move is complete, sets the current position of axis 1 to 10.5.
Keypad Programming 6-21MN1854
Square Root
SQ
Value: N/A Units: N/A Range: 0.0001 – 214748.3645
The SQ command calculates the square root of a number and returns the result in a user defined variable. The n parameter in the syntax can be a number or a variable parameter, however, the second parameter must be a previously defined variable for which the square root result is stored. If the second parameter is not a defined variable, you will get a Bad Variable Name error. Following mathematical convention, SQ will produce an Invalid Parameter error for negative “r” values. The return value is accurate to the 0.01 place.
Example: This program calculates the square root of 27.96 and stores the value in the user defined variable (SQRESULT).
syntax – SQr,(var)
(SQRESULT)=0 SQ27.96
,(SQRESULT) The returned value in (SQRESULT) is 5.28.
Stop Move on Input
ST
Value: N/A Units: N/A Range: 0–8 inputs
ST stops move execution upon activating the input specified by n. ST0 disables (turns off) the STn command. ST#1 stops the move on axis #1. (Allows program command conditional program termination). ST#1,#2 stops moves on both axes. After ST is executed, the specified input is monitored during every move profile. If the input is activated, the current move in progress is terminated, stopping all motion until the input is deactivated or an ST0 is processed. LinStep+ will process and calculate commands, but will wait at the next GO command until the ST input changes.
The motor is stopped at the deceleration rate specified in the Stop Decel Rate parameter. Once issued, Stop on Input remains active until it is turned off by the ST0 command, a reset is issued, or power is cycled.
Example:
AC1 DE1 VE25 DA6 GO VE50 DA0 GO EN
ST1 Move to absolute position 6 units. If input 1 is activated while moving, Stop Motion. When the input is deactivated, immediately execute the next move profile which is to move to the absolute zero position. If input 1 is not activated while moving, the motor would complete its 6 unit move before executing the move back to absolute zero.
syntax – STn (or ST#n)
STn,n (or ST#n,#n)
Time Delay
TD
Value: N/A Units: seconds Range: r=0.01 99999.99
Delay r seconds before executing the next command.
Example:
VE50 DI4 GO OT11 TD.5 Move 4 units, turn outputs 1 and 2 on, delay .5 seconds, and turn outputs 1 and 2 off.
OT00
syntax – TDr
6-22 Keypad Programming MN1854
Velocity
VE
Value: Units: in/sec set in EDIT > SETUP > MECH > VEL Range: varies with velocity units
Sets the maximum velocity during a move profile. If the acceleration rate is too slow or the move distance is too short, the motor may make a triangular move (velocity vs. time) and the motor may never reach the specified speed. When VE is specified, the value is used in all subsequent moves until re–defined.
Example:
AC.1 DE.2 VE
50 DA4 GO Move to absolute position 4 units with a top speed of 50 in/sec.
syntax – VEr
Wait
WT
Value: N/A Units: N/A Range: 1–16
Causes LinStep+ to wait for the specified condition to be true before continuing program execution. Either digital or analog input conditions may be used. The WT command allows use of configured inputs in the expression. To help prevent this from causing programming confusion, you can use any character as an input (x). This allows you to self document WT statements. For example, assume input #3 is set to JOG SPEED. Programming like WT01J10 can help remind you that you are already using input # 3.
Example:
4,1 GO Wait for input 4 to equal 1 before moving.
WT WT
2,010 GO Wait for inputs 2–4 to equal 010 before moving.
WT
110 GO Wait for inputs 1–3 to equal 110 before moving.
WT
#1 Causes program execution to halt (wait) until GI move is complete.
syntax – WTi,xx...
i = starting input number, 1–16 x=0; input high. X=1; input low (grounded). x=anything else; ignore input changes. expression = any valid expression (see math and variables definitions)
WTxx... (assumes first input is input 1) WTexpression WT#1, (synchronized the program after a GI move)
Keypad Programming 6-23MN1854
Table 6-2 Summary of Expressions, Operators and Functions
[ ] Name Program
( ) Name Variable
&& Logical AND
|| Logical OR
! Logical NOT
!= Not Equal
+ Add – Subtract
* Multiply
/ Divide = Equal > Greater Than
>= Greater Than or equal to
< Less Than
<= Less Than or equal to
& Bitwise Boolean AND
| Bitwise Boolean OR
++ Increment Variable += Increment by n
– – Decrement Variable
= Decrement by n
<< Shift Left >> Shift Right
Helpful Hints Programming your application
This section provides additional information that may be helpful to begin programming the LinStep+. Also, several practical examples are given that can be used or modified. More program examples are available on the Intelliware disk set.
Programming Overview
First, you must decide how the LinStep+ fits into the overall machine control hierarchy. Generally there are three ways that the LinStep+ may be used:
1. Stand–alone mode – controls all the Inputs/Outputs and motion.
2. With a PLC – the PLC runs the machine and calls on the LinStep+ via program select lines for motion.
3. In a “hosted” mode – the PC sends serial commands to the LinStep+ for execution. The LinStep+ uses a sequential, interpretive command processor. This means that commands in a program are executed one at a time, and that one command must be completed before the next command is processed.
6-24 Keypad Programming MN1854
[Move] VE4 DI10 OT01 GO OT10 Example of Hosted Mode Program
In the program [Move], the maximum move velocity is set to 4, the command incremental distance is set to 10, output 1 and output 2 are turned off and on simultaneously, axis one then moves 10 units. After axis one stops moving, output 1 is turned on and output 2 is turned off. These changes of outputs 1 and 2 occur at the same time.
The flow of the program is controlled with WT (wait for an event or condition to occur), TD (wait for a pre–set amount of time to elapse), and IF (if a certain condition is true at this instant, then execute a block of commands) statements. External controllers such as PLC and computers can be coordinated by the digital outputs and ASCII serial commands. The commands that can be entered from the keypad and used in a program are listed in Table 6-1.
Variables Memory space allows for up to 100 variables. All variables are stored as fixed
point numbers. All variables are global. All standard variables are volatile, though non–volatile variables are available as well. Variables can be used in many parts of the program, such as:
S Arithmetic S Conditional Expressions S Loop Counts S Distance and velocity commands S Set values S Set command values or parameters S Set analog signals S Read analog or temperature input S Display information such as position or velocity S Any place that a number can be used, a variable can be used
Variable Names
Descriptive variable names can be assigned, instead of V1, V2, etc. Variable names can be up to 14 characters, but the first 10 characters must be unique. A name can contain other printable ASCII characters, such as numbers, underscores, exclamation points, even spaces. Upper and lower case characters are supported within variable names, and these variable names are case sensitive. ASCII control characters such as LF and CR are not supported. All variables must be enclosed in parentheses, (variable name). Parentheses are not legal variable characters.
Keypad Programming 6-25MN1854
Built–in Variables
Some variable names are pre–defined. They can be used in expressions, to set voltages, to test conditions, or to display information to the keypad display or an external serial device.
Variable Name Description of Built–in Variable Type
(AI1) to (AI6) Analog Inputs 1 through 6 Read Only (AROWREL) Current status of any of the four arrow keys Read Only (CPOS1) (CPOS2) Commanded position of axis 1 or 2 Read Only (EPOS1) (EPOS2) Encoder position of axis 1 or 2 Read Only (VEL1) (VEL2) Commanded velocity of axis 1 or 2 Read Only (POS1) (POS2) Current Position of axis 1 or 2 Read Only (#F1) thru (#F50) Non–volatile, limited use, user system variables Read/Limited Write (FKEY) Value of Function Key pressed Read Only (LASTKEY) Value of last Function key pressed Read Only (TERM) Sends variable out RS–232 port Write Only (1TW) Scans inputs 1–4 for BCD Digit Read Only (2TW) Scans inputs 1–8 for BCD Digit Read Only (TIME) Elapsed Time (ms) since power up or since reset Read Only (CRCS) Value of the EEPROM setup checksum Read Only (CRCP) Value of the EEPROM program checksum Read Only (SA1) (SA2) Integer value of the status of axis 1 or 2 (SeeRS232 command SA) Read Only (SD1) (SD2) Integer value of the drive status of axis 1 or 2 (See RS232 com-
mand SD)
(SS) Integer value of the system status (See RS232 command SS) Read Only (INT98CTRL) Enables/disables (ARM INT98) trigger option Read and Write (ARM INT98) Enables/disables INT98 input if (INT98CTRL) is enabled Read and Write
Read Only
Examples of how to use Built–in Variables
(PIECES)=10 Assigns 10 to variable (SPEED)=(AI12)*(VEL SCALE) Speed = analog input times a scalar MS21,Enter Length IV32,(LENGTH) Prompts user and gets feed length VE(SPEED) Sets velocity to value in variable MS1,(POS2) Displays current position of axis 2 on keypad screen (TERM)=(POS1) Sends the current position of axis 1 out the RS–232 port of the
(TEMPERATURE)=(AI9) Reads in temperature from an analog input (AO15)=4012 Sets the analog output to 4012 (#F1)=(PIECES) Stores the value of Pieces in FLASH memory variable #F1
Smart Drive
6-26 Keypad Programming MN1854
Using Built–in Variable (AROWREL)
(AROWREL) is a built–in Boolean read only variable that determines the status of any of the four arrow keys. When used with (FKEY), the program can detect if an arrow key is being held down. (AROWREL) will only return the status of the four arrow keys. If a different key is pressed, (AROWREL) will return the value 0. (AROWREL) will return one of these values:
(AROWREL)=0 One of the arrow keys is being held down. (AROWREL)=1 The arrow key has been released.
Example JOG application using (AROWREL) and (FKEY):
[MAIN] {Program #1} FK12,13 {Wait for a Left or Right arrow key} GT(FKEY) {Jump to arrow key program #12 or #13}
[LEFT ARROW] {Program #12} MC+ {Enable MC mode} AC.1 {Start MC move} VE1 {Move in positive direction} GO LP
IF(AROWREL)=1 {Check status of arrow key}
VE0 {Stop MC move on key release} GO GT1 {Return to main program}
EB
EB
[RIGHT ARROW] {Program #13} MC+ {Enable MC mode} AC.1 {Start MC move} VE–1 {Move in negative direction} GO LP
IF(AROWREL)=1 {Check status of arrow key}
VE0 {Stop MC move on key release} GO GT1 {Return to main program}
EB
EB
Keypad Programming 6-27MN1854
Non–Volatile Variables
(#F1) through (#F50) are fifty user variables stored in non–volatile flash memory so they retain their values through power cycles, warm boots, and system resets. Standard user variable are lost at power down or reset. When one of these variables is changed (i.e. used on the left side of a equal (=) sign, the new value is written to, and stored in the user non–volatile flash.
Note: Flash memory has a limited read/ write lifetime (100,000 writes before failure), variable values
that change frequently should not be stored as these variables. Examples include loop count variables, and POS1 and POS 2 variables. LinStep+ will allow only 1,000 FLASH writes between power cycles. This limit is set to prevent damage to non–volatile memory due to a simple programming mistake or misunderstanding. When this write limit is exceeded, all programs will stop running, an error message will be displayed, and the appropriate status bits will be set.
Example: At the start of each part run, a program called [Set–up] is used to initialize a number of variable part parameters. During production the program called [PARTS] is run. This program reads from the FLASH variables, but does not generate any writes to the FLASH, so the lifetime of the FLASH is not compromised.
[Set–up] {Program #1} MS1,Feed length?: Writes string beginning at character 1, top line IV12,(LENGTH),1,15 Loads the part length to variable (LENGTH) MS1,Feed Speed?: Writes string beginning at character 1, top line IV12,(SPEED),.05, 5 Loads the speed into volatile variable (SPEED) (#F1)=(LENGTH) Loads the length into non–volatile variable (#F1) (#F2)=(SPEED) Loads the speed into non–volatile variable (#F2) EN
[PARTS] [PARTS] runs on power up, unless new parameters (LENGTH)=(#F1) Load part specific variable from non–volatile #F1.
(SPEED)=(#F2) Load part specific variable from non–volatile #F2. LP(NUMBER) Loop (NUMBER) of times DI(LENGTH) Move (LENGTH) VE(SPEED) at (SPEED) velocity GO OT1 TD.1 OT0 Change output to indicate part done EB End the loop Block
are entered.
6-28 Keypad Programming MN1854
Arithmetic Operands and Equations
Addition (+), subtraction (–), multiplication (*), and division (/) are easily performed. Expressions may only contain one operand. Complex equations require multiple statements. Variables and fixed point numbers may be mixed in arithmetic equations. All user arithmetic and variable storage uses 32 bit integer and fractional representation. The + and – symbols have a dedicated button on the keypad. Pressing the button will change between the two. The *, /, and = are accessed with the Alpha+0+ ... keystrokes.
Example:
(X)=(Y)*10 (AO15=(VOLTAGE) + (ERROR)
Examples of incorrect use:
(X)=1+2–3 This statement is incorrect because it has more than (Length)=(Total)*0.3125 This statement is incorrect because it has more than
Instead, you should use:
(X)=1 (X)=(X)+2 or (X)+=2 (X)=(X)–3 or (X)–=3
and
one operand. four decimal places.
Boolean Operators
Boolean operators & and | perform their respective bitwise Boolean functions on immediate or variable parameters. As an example, isolate a specific bit from an SD response to determine if axis #1 drive is enabled. This corresponds to a bit #5 (10000) Binary, (16) Integer in the SD response. The example program segment is written as follows:
The 16 corresponds to an integer weight of bit #5 (10000).
(Length)=(Total)*3.125 Multiply the significant figures (Length)=(Length)*.01 Then move the decimal place or (Length)=(Total)/32 32 bit storage of fractional decimal number
(DRIVE STAT)=(SD1)&16 IF(DRIVE STAT)=16 MS,1“Drive Enabled” EB
Keypad Programming 6-29MN1854
Logical Operators
Conditional commands (IF,WT, LU, LW) support logical operations of AND (&&) and OR (||). Two expressions may be logically AND’d or OR’d within one conditional command. For example:
(A)=5 (B)=2.5 IF(A)>2&&(B)=2.5 MS1, “True Statement” EB
In this program, the message True Statement appears since BOTH conditional statements are true.
Increment/Decrement Variables
Four syntaxes are supported by variables: ++ (Single Increment), += (Value Increment), –– (Single Decrement), –= (Value Decrement). These operators will initialize any uninitialized variable to zero before incrementing or decrementing it for the first time.
(Variable Name)++ Increments a variable value by 1 (Variable Name)+=n Increments a variable value by n (Variable Name)– – Decrements a variable value by 1 (Variable Name)–=n Decrements a variable value by n
Expressions
Five conditional expressions are supported: less than (<), equal to (=), greater than (>), less than or equal to (<=), and greater than or equal to (>=). The IF and WT commands can use these expressions to direct program flow or wait for an analog input to meet a condition. The > and < symbols are entered into the keypad editor with the ALPHA+↑+↑...↑ Examples:
IF (X)>10 GS20 EB If X is greater than 10 gosub to program #20. WT(AI12)<(MAX TEMP) Wait for the temperature to go below the maximum
before continuing command processing.
Other Programming Samples
These sample programs provide an idea of how to solve simple programming tasks. To aid your program documentation, comments are placed in {brackets}. These comments are stripped from the program as it is downloaded for execution to help conserve memory. Files should be saved before downloading save the comments. Example:
DI10,2 GO Moves to load position DI15,15 GO Moves to unload position
6-30 Keypad Programming MN1854
Create a Message and Read an Input Variable
[GET PARTS] Name the subroutine MS1,“” Clears the Display MS1,How many?: Writes string beginning at character 1, top line IV12,(PIECES) Waits at 12th character for the # of pieces. MS1,“” Clears the Display MS1,How long?:: Writes string beginning at character 1, top line IV12,(LENGTH) Waits at 12th character for the length. LP(PIECES) Loops the number of pieces entered DI(LENGTH) Moves the length entered. GO EB
Create a Menu (menu display on keypad display for operator)
MS1,“” Clears keypad screen MS21,PART1 PART2 PART3Writes a message above function keys. FK1,2,3 Waits for a Function Key to be pressed (FKEY)=(FKEY)+50 Add an offset to FKEY GT(FKEY) Goto program #51, 52, or 53. (50 + 1, 2, or 3)
Fast In, Slow Feed Move (Using the Distance to Change (DC) command)
AC.05 Set acceleration DE.09 Set deceleration VE50 Set first velocity DA6 Set total move distance DC5.5 Set point where you want to change speed VE5 Set second speed GO Start the move profile
50
5.0
0
Setting an Output=On (on–the–fly)
AC.05 Set acceleration VE10 Set velocity DA4 Set total move distance DC1 Set point to turn on... OT1 Output 1 DC2 Set point to turn on... OT2,1 Output 2 DC3 Set point to turn on... OT3,1 Output 3 GO
OT1,11OT2,12OT3,1
5.5
34
6.0
Keypad Programming 6-31MN1854
Read a 4 Digit BCD number, 2 Digits at a time
[GET 4 BCDS] Returns value of 4 digit BCD number OT01 Connect ground of first two BCD digits (4 DIGIT BCD)=(2TW)*100 Make value of first two digits the MSB OT10 Connect ground of 2nd two BCD digits (4 DIGIT BCD)=(4 DIGIT BCD)+(2TW) Add value of 2nd two to 1st two * 100
Reading an Analog Input Value
The value of the analog system variables (Al I –AI6) are scaled from 14,400 to 72,000 Hz. This value is actually a scaled frequency read from the OPTO module representing the analog signal. These input values are updated every 16 milliseconds. If your program needs to display this value in units such as VOLTS, you will need to scale the value to VOLTS in your program. The scaling factor depends upon the type of OPTO module used. For example: a J thermocouple uses a different factor than a ”K” thermocouple. Due to slight variances in the output frequency from module to module, it is recommended that the OPTO be calibrated by querying the corresponding AIx value with no input signal connected to the OPTO. This value should be used as the zero input reference frequency.
Example: Use a 0–10VDC analog input. 0V=14,400; 10V=72,000 or 5.760 Hz/volt.
(VOLT)=(AI2) Read the value of analog input #2 into variable volts (VOLT)=(VOLT)–14400 Remove frequency offset (VOLT)=(VOLT)*1.736 Scaling factor multiplied. by 10,000 (VOLT=(VOLT)*.0001 Scaling back to volts
The variable (VOLT) is now in units of volts. If you are waiting for a condition to occur or doing a comparison, (see below) there is no need to go through the conversion process.
(TEMP)=(AI9) Read in temperature from analog input WT(AI12)<45000 GO Wait for analog input 12 <45000 (<5.3 VDC using the
IF(AI12)<45000 GO EB Go if analog input 12 < 45000
previous example) before moving
Output Frequency (kHz)
14.4
80 70 60 50 40 30 20 10
Min Value
Input Signal
72
Max Value
6-32 Keypad Programming MN1854
Section 7 Troubleshooting
Overview The system troubleshooting procedures involve observing the status of the LEDs.
The tables in this section provide information related to the indications provided by these devices.
Table 7-1 Operation Indicators
LED Color Status Comments
Power Green Indicates that AC power is applied and the
Regen Yellow On during Regen activity. Should remain off. On when Regen circuit is
OverVoltage/
INTLK
Temperature Red On when internal heatsink temperature exceeds
Red Regen circuit cannot handle excess energy or
supplies are operating.
Interlock circuit is open.
158°F (70°C).
Table 7-2 Axis 1 and 2 Indicators
LEDs will flash during power up tests but only
the Power LED should remain on. active to dump excess bus energy.
This fault condition is reset by cycling power. This fault condition is reset by cycling power.
Install a fan kit, reduce the load, reduce ambient temperature, use the Standby current setting.
Stepping Green Indicates LinStep+ is sending CW (right LED) or
Disable/Short Yellow On when the Shutdown input is activated by an
CCW (left LED) step pulses. external control. The Shutdown signal also
activates the Short output, but does not turn on the Short LED.
Short LED indicates that a Short Circuit or
Undervoltage condition has occurred. A short circuit problem can occur because of shorted or miswired motor leads, or internal fault.
Above several steps per second the LED
becomes continuously illuminated.
This fault condition is reset by cycling power. To isolate the problem, disconnect and insulate
the motor leads from the drive connector, but leave the Interlock jumper installed. Apply power and step pulses. If the drive does not invoke the short circuit fault, then it is likely that the defect is in the motor, wires or the connections at the drive.
Note: The fault LED and fault Output do NOT activate the same. The fault Output indicates that
one of several fault conditions has occurred. The fault LEDs provide a means of resolving the source of the fault.
Additional Information (General)
Symptom Possible Cause Possible Remedies
The keypad is blank
with no backlight.
Display is difficult to
read The ON LED is yellow. FLASH memory is corrupt. The operating system and user programs must be reloaded. The ON LED is red. A Fault has occurred. The fault can be determined with the keypad or by using
Motor moves the wrong Wrong Gear Ratio. Check distance units
distance
Motor stalls Acceleration and/or velocity too high. Reduce acceleration and/or velocity.
Motor direction is wrong The motor phases are miswired. Verify connections, or swap A+ with A–.
The control does not re-
spond to keypad input. The motor whines The inductance or anti–resonance
The keypad is not receiving +5VDC. Verify all wiring is correct. Contrast ratio is incorrectly set Adjust the contrast with the pot on the back of the keypad.
Motor stalled. Check motor current, inductance, anti–resonance settings
Motor configured incorrectly. Check motor current, inductance and anti–resonance
The system real direction is reversed. Change the control’s direction parameter. The keypad is disabled. Check the switch settings on the back of the keypad.
setting is incorrect.
Verify that the +5VDC is between 4.8 and 5.2V.
serial status commands (SS, SA, SD).
Check Speed Torque required for move, reduce
acceleration.
settings.
Verify the Inductance setting. Operation is best with motors
4 mH or above. Otherwise, verify the anti–resonance setting.
Troubleshooting 7-1MN1854
Additional Information Continued
tion and keypad do
Symptom Possible Cause Possible Remedies
No RS232 commu-
nication but keypad works.
RS232 communica-
tion and keypad do not work.
Hit A Limit A limit switch has been activated. Either the motion commanded was not correct, or the EOT “Amplifier Fault Multiple drive faults have occurred. The fault can be determined with the keypad or by using serialOver Temperature
Fault
Over Current Fault Motor is miswired or damaged. The
Over Voltage Fault Excessive bus voltage. Usually
Interlock Fault Motor connector does not have an
Following Error Motor stalled. Confirm proper motor configuration (current, AR, mH).
Encoder Wired
Backwards
Encoder Fault Attempted closed loop motion andError Finding Home Both EOT switches were activatedInvalid Program Attempted to call an empty programProgram Too Large Program length exceeds 1024 bytes. Divide program into smaller programs or reduce program size.
Insufficient Memory All stored user programs exceed 60K. Reduce program size, or delete programs.Invalid Program # Program number exceeds 400 or
If the keypad works, the RS232 port
is working. Something else is wrong (wiring, configuration, address).
The keypad is disabled. Verify that you do not have an RS485 version. The serial port is not working. Contact Baldor.
Internal Fan is not operating or
Heatsink Tunnel is clogged or restricted.
Ambient air in cabinet is too hot. If multiple units are installed within the enclosure, ventilation The fan does not operate. With power off, verify the internal fan connections. If properly
LinStep+ has short circuit protection, but you must correct the problem to clear the fault.
caused by a regen condition that overwhelms the internal power dump circuit.
It can also be caused by high line
voltage, or voltage spikes. interlock jumper, or motor has been
disconnected.
Wrong encoder resolution set. Verify the encoder settings are correct. Incorrect settings can Encoder position is changing opposite
the commanded move. encoder position is unchanged. without finding the home switch. (i.e. GT, GS).
program name does not exist.
Refer to Section 5, Configure Serial Communications”. Verify PC COM port is set to 9600 baud, 8 data bits 1 stop bit,
no parity.
Enable the keypad by the switch on back of keypad.
switch is incorrectly positioned on your system. status commands (SS, SA, SD).
Remove obstruction, or clean tunnel by removing unit, use
screwdriver to prevent the fan from turning, and blow shop air through the tunnel. Return unit to installation.
must be adequately to remove heat. connected, the fan may have failed. Contact Baldor.
With power off verify all connections. Verify current setting is correct for the motor rating. Verify the motor phases are not open or shorted (phase to
phase and phase to ground). The resistance in each phase should be about the same and only a few ohms. If the phases are open or have a large resistance, the motor is probably damaged and should be replaced.
Eliminate the regen event by reducing the load or make the
move less aggressively by reducing the commanded acceleration or velocity.
Verify AC line voltage is within the limits. Connect motor connector with Interlock.
Make a less aggressive move.
cause a following error.
Verify motor and encoder wiring. Reverse phases of either
motor or encoder. Contact Baldor for assistance.
Verify encoder wiring. Verify home switch connections and configuration (NORM
OPEN or NORM CLOSED).
Verify program number, or define program called”.
Verify program name and number.
7-2 Troubleshooting MN1854
Additional Information Continued
Symptom Possible Cause Possible Remedies
Unknown CommandA command not in the command setCommand Is Too
Long” “Too Many Parame-
ters” “Invalid Parameter Parameter type is invalid. Verify parameter with command syntax.Bad Command
Syntax” “Too Many Nested
LPs” “Too Many Nested
GSs” “Too Many Nested
EBs” “Bad Variable Name A variable used as a command
No Free Variables Attempted to define more than 100
has been issued.
Command and parameter string
exceeds 80 characters.
Parameter list exceeds amount
supported by command.
Command and parameter list has
invalid syntax.
Program exceeds 16 nested loops. Reduce nested loops. Program exceeds 16 nested gosubs. Reduce nested gosubs. Program exceeds 16 nested IF
blocks. parameter is undefined (misspelled). user variables.
Check program for data entry errors. Reduce command string size. Reduce parameter list size.
Check program for data entry errors.
Reduce number of nested IF blocks. Verify variable name, or define variable with an initial value. Reduce number of user variables.
Serial Communications Problems
1. Test your terminal or terminal emulation software. Disconnect the motor and transmit a character. Receiving double characters (XX) when entering single characters (X), indicates your computer is set to the half duplex mode. Change to the full duplex mode.
2. Host transmit (TX) must be connected to receive (RX) of the drive unit, and receive (RX) of the host must be connected to transmit (TX) of the drive. If communication fails, try reversing these connections at either the host or the LinStep.
3. Many serial ports require handshaking. Jumper RTS to CTS, and DSR to DTR at host connector Jumpers 9 pin (25 pin) RTS to CTS 7 to 8 (4 to 5); DSR to DTR 4 to 6 (6 to 20).
4. Configure the host to the identical baud rate, number of data bits, number of stop bits, and parity.
5. Check all grounds. Use DC common or signal ground as your reference. Do not use earth ground or shield.
6. Check your cable length. If any cable is over 50 ft. long, you should be using a line driver, optical coupler, or shield. Shields must be connected to earth ground at one end only.
Troubleshooting 7-3MN1854
7-4 Troubleshooting MN1854
Section 8 Specifications & Product Data
Identification
LinStep+
LX
P
2 A– 06
1
Linear Stepper Driver Number Axes
1=1 Axis 2=2 Axis
Driver Type
D = LinStep P = LinStep Plus
Input Voltage
1=115VAC 2=230VAC
Rated Output Current
06 = 6.9 Amperes
Specifications & Product Data 8-1MN1854
General Specifications
Description Unit LX2P1A06–2
Input Voltage Range Nominal
Minimum
Maximum Input Frequency Hz 50/60 ±5% Nominal Output Bus Nominal
(@ 115 / 230 input) Minimum
Maximum
Max. Output Current each axis
Resolution in (mm) 4 x 10–5 (1.016 x 10–3) Efficiency % 85 Motor Inductance mH 2 – 60 Switching Frequency kHz 20 Encoder Optically Isolated, differential line driver, 5VDC, 500 KHz Max (2
Inputs 8 – Programmable + 2 Limit and 1 Home inputs. (24VDC
Output Power 12VDC @ 12mA (Pull–ups)
Programmable Outputs 8 – Open collector (100mA maximum sink current,
Programming Keypad or Serial communications Operating Temperature Operating Altitude ft (m) 8300 (2540) Maximum Storage Temperature Humidity (non–condensing) % 10–90 Shock 10G (according to DIN IEC 68–2–6/29) Vibration 1G @ 10 – 150 Hz (according to DIN IEC 68–2–6/29)
VAC 115
VDC 170
A
RMS
MHz post quadrature)
maximum – optically isolated 3mA sink current at 0.7Volts)
5VDC @ 200mA (encoder)
350mA maximum total sink amps).
°F 〈°C)
°F 〈°C)
32 to 100 (0 to 40); 122 (50) Maximum
–13 to 158 (–25 to 70)
92
132
88
220
6
Protection & Indicators Description
LED Indications Green – Normal operation; Red – Fault condition; Amber – FLASH
fault Protection Short Circuit Disable on phase–to–phase, or phase–to–ground detected Undervoltage Disable if supply drops below 90 VAC Over Temperature Disable if heatsink > 70 °C Interlock Disable if interlock connection broken Regen/Overvoltage Disable if bus voltage exceeds 220 VAC on 115 VAC units, 440 VAC
on 230 VAC unit
8-2 Specifications & Product Data MN1854
Dimensions
0.21 (5.3)
(Optional Keypad)
0.20 (5.1)
0.34 (8.7)
1.19 (30.2)
3.73 (94.7)
10.08 (256.0)
9.06 (230.1)
10.50 (266.7)
2 Axis Driver
5.84
(148.3)
2.93 (74.4)
Use 8–32 or 10–32 Cap Screws (2 places)
For safe operation, allow a clearance distance between each control and on all sides of each control. At least 3 inches (75mm) top and bottom clearance must be provided for air flow. Between drivers (each side), allow at least 0.1 inch (2.5mm).
Specifications & Product Data 8-3MN1854
8-4 Specifications & Product Data MN1854
Section 9 CE Guidelines
CE Declaration of Conformity
Baldor indicates that the products are only components and not ready for immediate or instant use within the meaning of Safety law of appliance, EMC Law or Machine directive”.
The final mode of operation is defined only after installation into the user’s equipment. It is the responsibility of the user to verify compliance.
The product conforms with the following standards: DIN VDE 0160 / 05.88 Electronic equipment for use in electrical power
DIN VDE 0100 Erection of power installations with nominal DIN IEC 326 Teil 1 / 10.90 Design and use of printed boards
DIN VDE 0110Teil 1-2 / 01.89 Dimensioning of clearance and creepage DIN VDE 0110Teil 20 / 08.90 distances EN 60529 / 10.91 Degrees of protection provided by enclosures
EMC – Conformity and CE – Marking
The information contained herein is for your guidance only and does not guarantee that the installation will meet the requirements of the council directive 89/336/EEC.
The purpose of the EEC directives is to state a minimum technical requirement common to all the member states within the European Union. In turn, these minimum technical requirements are intended to enhance the levels of safety both directly and indirectly.
Council directive 89/336/EEC relating to Electro Magnetic Compliance (EMC) indicates that it is the responsibility of the system integrator to ensure that the entire system complies with all relative directives at the time of installing into service.
Motors and controls are used as components of a system, per the EMC directive. Hence all components, installation of the components, interconnection between components, and shielding and grounding of the system as a whole determines EMC compliance.
The CE mark does not inform the purchaser which directive the product complies with. It rests upon the manufacturer or his authorized representative to ensure the item in question complies fully with all the relative directives in force at the time of installing into service, in the same way as the system integrator previously mentioned. Remember, it is the instructions of installation and use, coupled with the product, that comply with the directive.
installations voltages up to 1000V
Wiring of Shielded (Screened) Cables
Remove the outer insulation to expose the overall screen.
Conductive Clamp
CE Guidelines 9-1MN1854
Using CE approved components will not guarantee a CE compliant system!
1. The components used in the drive, installation methods used, materials selected for interconnection of components are important.
2. The installation methods, interconnection materials, shielding, filtering and grounding of the system as a whole will determine CE compliance.
3. The responsibility of CE mark compliance rests entirely with the party who offers the end system for sale (such as an OEM or system integrator).
Baldor products which meet the EMC directive requirements are indicated with a CE mark. A duly signed CE declaration of conformity is available from Baldor.
EMC Wiring Technique
1 CABINET
The drawing shows an electroplated zinc coated enclosure, which is connected to ground. This enclosure has the following advantages:
– All parts mounted on the back plane are connected to
Y Ca pa cit or
ground. – All shield (screen) connections are connected to ground. Within the cabinet there should be a spatial separation
between power wiring (motor and AC power cables) and control wiring.
2 SCREEN CONNECTIONS
All connections between components must use shielded cables. The cable shields must be connected to the enclosure. Use conductive clamps to ensure good ground connection. With this technique, a good ground shield can be achieved.
3 EMC FILTER
The EMI or main filter should be mounted next to the power supply (here BPS). For the connection to and from the main filter screened cables should be used. The cable screens should be connected to screen clamps on both sides. (Exception: Analog Command Signal).
4 Grounding (Earth)
For safety reasons (VDE0160), all BALDOR components must be connected to ground with a separate wire. The diameter of the wire must be at minimum A WG#6 (10mm@). Ground connections (dashed lines) must be made fr om t he central ground to the regen resistor enclosure and from the central ground to the Shared Power Supply.
5 Y–CAPACITOR
The connection of the regeneration resistor can cause RFI (radio frequency interference) to be very high. To minimize RFI, a Y–capacitor is used. The capacitor should only be connected between the dynamic brake resistor housing and terminal pin R1 (lead from Flex).
Recommend: 0,1µF / 250VAC Type: PME265
BALDOR–Ordering–No.: ASR27104
9-2 CE Guidelines MN1854
EMC Installation Instructions
To ensure electromagnetic compatibility (EMC), the following installation instructions should be completed. These steps help to reduce interference. Consider the following:
Grounding of all system elements to a central ground point
Shielding of all cables and signal wires
Filtering of power lines
A proper enclosure should have the following characteristics:
A) All metal conducting parts of the enclosure must be electrically
connected to the back plane. These connections should be made with a grounding strap from each element to a central grounding point .
B) Keep the power wiring (motor and power cable) and control wiring
separated. If these wires must cross, be sure they cross at 90 degrees to minimize noise due to induction.
C) The shield connections of the signal and power cables should be
connected to the screen rails or clamps. The screen rails or clamps should be conductive clamps fastened to the cabinet.
D) The cable to the regeneration resistor must be shielded. The shield must
be connected to ground at both ends.
E) The location of the AC mains filter has to be situated close to the drive
so the AC power wires are as short as possible.
F) Wires inside the enclosure should be placed as close as possible to
conducting metal, cabinet walls and plates. It is advised to terminate unused wires to chassis ground.
G) To reduce ground current, use at least a 10mm
ground connections.
Grounding in general describes all metal parts which can be connected to a protective
conductor, e.g. housing of cabinet, motor housing, etc. to a central ground point. This central ground point is then connected to the main plant (or building) ground.
Or run as twisted pair at minimum.
Cable Screens Grounding
Cable (Twisted Pair Conductors)
2
(6 AWG) solid wire for
Conductive Clamp – Must contact bare cable shield
and be secured to metal backplane.
CE Guidelines 9-3MN1854
Control
10 11
Input Signal Cable Grounding
Cable
1 2 3 7 9
Control
1 6 2
7 3
8 11 13
Cable
To Controller
Encoder Cable Grounding
Simulated Encoder Output Cable Grounding
Control Encoder Connector
1
6
2
7
3
8 11 13
Connection of shields to digital ground is optional.
Cable
Housing
9-4 CE Guidelines MN1854
Appendix A
Programming Template
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
FK1 FK2 FK3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
FK1 FK2 FK3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
FK1 FK2 FK3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
FK1 FK2 FK3
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Appendix A-1MN1854
Loading...