Page 58
DC Distance to Change | syntax – DC± r |
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 DC’s 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 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 MORE 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 5 MORE distance units ramp down to 5 speed and continue until the final position is reached.
MN1854 | Keypad Programming 6-3 |
Contents
LinStep+ Dual-Axis Microstepping Indexer/Driver
Table of Contents
Arithmetic Operands and Equations
Other Programming Samples Ii Table of Contents MN1854
Increment/Decrement Variables
Troubleshooting Serial Communications Problems
Iv Table of Contents MN1854
Section General Information
Limited Warranty
CE Compliance
Could result in damage to property
Product Notice Intended use
Could result in injury or death
On next 2General Information MN1854
Do not apply AC power before you ensure that grounds are
Do not touch any circuit board, power device or electrical
Connection before you first ensure that power has been
Voltages that are conducted to its power input terminals.
Power is removed from the drive
Extend more than 0.2 5 into keypad assembly
Instead, we recommend using a four wire Wye
Driver should have specifications compatible to the drive
Overview
Section Product Overview
Motors
Product Overview MN1854
Mechanical Installation
Section Receiving and Installation
Power Dissipation
Receiving & Inspection
2Receiving & Installation MN1854
GND
Input Power Conditioning
System Grounding Ungrounded Distribution System
Power Connections Power connections are shown in Figure
Wire Size and Protection Devices
4Receiving & Installation MN1854
MN1854 Receiving & Installation
Connection Locations 115VAC, 2 Axis
6Receiving & Installation MN1854
Tools Required
9 & 25 Pin RS-232 Cable Connections for UL Installations
RS-232 PC Connections
Rules for Daisy Chain Operation
8Receiving & Installation MN1854
Daisy Chain Connections
PC / Host Device
These input connections are made at terminals 6-40 Figure
Programmable I/O Connections
Optional Opto I/O Connections
Typical connection each input
Encoder Color Code
10Receiving & Installation MN1854
Encoder Signal PVS100 Danaher 9-Pin D
+5VDC
Interlock Intlk
Motor Connector
LD9068A00 Leadwire Connection 9 pin to flying leads
Ground GND
Switch and Potentiometer Settings
Start-Up Procedure
Power Off Checks
Section General Information
Motor should now be producing torque
Power On Checks
Action Display Comments
High
Receiving & Installation MN1854
Keypad layout with the LCD display is shown in Figure
Section Keypad Operation
Overview
F1, F2, F3
Copies one program to another within the LinStep+
Comma
Decimal Point
Alpha
Trace Output Move
Test
Thus eliminating the need for a PC terminal connection
Shutdn RS232 Encoder
Edit Menu
Pressing the Edit key displays a set of sub-menus
6Keypad Operation MN1854
Save the program
Edit an existing program
Save Program? YesNo
Press ESC. You will be prompted as shown in Figure
Naming a program
Example of Naming a Program
Mine AC.3 VE2 DI1 GO
Use the =O keys for additional alpha characters
Entering Characters with the Alpha Key In edit mode
8Keypad Operation MN1854
Edit, Setup Submenu
Submenu Setup Parameter Description of Setup Parameter
Display the number
Press EDIT, POS F3 Press YES F1 or no F3
Press EDIT, ↓ , List to
Programs stored Press ↓ to display the total
Pressing Help In the Program Edit function
Pressing Help in the Main Menu
Pressing Help in Menus and Sub-Menus
Sequentially Eeprom message disappears
You wish, you can scroll the list
COPY, to PAD Submenu
Enter the program number. Or, if
Program names
Section Setup
Procedure Format Definition
Axis One Drive Res
Setup MN1854
Axis One Motor Type Steper
Axis One Motor Dir
Application Notes
Axis One ENC Mode
Open Loop
Axis One Encoder RES ↑5000 cnts/in ↓
IN-RANGE Window
IN-RANGE Setup Window
Value
PM Gain
Dist
Configure Your Application Mechanics
Mech Setup
Vmax Accel Amax
Axis One MAX Vel
Axis One Vel Units In/s
Edit
500.0 in/s ↓→
Iuuuuuuu ←↑↓→
Configure the I/O
Char Keypad Display Input Character Description
To summarize, when INT98CTRL=1
Inputs will work. See the RG command for more details
Service routine program
Reset to 1. This allows for input debounce and controlling
Jog Speed
Warm Boot
Power-up program, if defined, will start
Inputs
OUT1 Programmable Pppppppp ←↑↓→
Iiiiiiii
Configure the Output States
OPTO9 Input
OFF
Enable
Configure End of Travel Switch Polarity
Configure JOG Parameters
Accel LO-VEL HI-VEL
Mode Edge Switch
Configure Home Parameters
Offset DIR
Negative
Power Up Program PROGRAM0
Configure Power-up Program
↑SETUP↓
Axis One Final Dir Positive
↑ Enabled ↓
Configure Serial Communications
RS232C Setup
Echo UNIT#
Configure Miscellaneous Setup Parameters
Data Type Description of Display Data Type
Opratr Admin Clear
General Password Rules
Password Setup
Password Type Description Gives access to these menus
Acceleration Start Home Outputs On/Off
Keypad Program Command List
Section Keypad Programming
Function Key Message to Display
Example
Keypad Programming MN1854
Value Units Range
AC2 DE.5 VE12 DA3 GO DA3 GO DA3 GO
DC Distance to Change
Examples of DC move profiles, AC = seconds, VE=ips
Example Distance to Change
DCn * DCn*1 * Vn*1 2* Vnt w
DC n + 10 +
DE Deceleration
AC.1 VE60 DI2 GO DI1 GO DI-4 GO
LP2 DI3 GO EB
Value Units Range N/A
IF2,1 EN EB DI2 GO
RUN Edit
=12 =13 =17 =18 =22 =23
=26 =27 =28
Copy DEL
Example 3-Screen Menu Program
Set in Edit Setup Mech Accel VEL
GH Start Home
Go Immediate Syntax GI or GIi
Value N/A Units N/A Range N/A
AC.05 DE.05 VE50 DI5 GO
GO Go Start a Move Syntax GO or GOi
Value N/A Units N/A Range i=1-16
VE2 AC.1 DA4,2 GP
IF10 Gtpart a EB
Gosub Syntax GSi and GSname
=1-400, name = any legal program name
If input 1 is on and input 2 is off, jump to program Part a
Units Range
IFPARTS=25 GS20 EB
Lppieces
IV12,LENGTH
Dilength
Syntax LPi LP Loop
Value Units N/A Range N/A
Syntax MC+ MC Move Continuous
Move Continuous
MS27,COUNT
27 7th character, 2nd row
Main
Powerup ONL,GTON EOT
Gthome
VE5 DA20 GO
=anything else ignore input changes
= starting output number
=0 input high. X=1 input low grounded
OT4,1 Turn on Output OT2,0D1
Syntax RGr RG Registration
ST1 AC1 DE1 VE25 DA6 GO VE50 DA0 GO EN
SQRESULT=0 SQ27.96,SQRESULT
Value N/A Units N/A
Value N/A Units seconds
WTexpression
Syntax VEr VE Velocity
= starting input number
Helpful Hints Programming your application
Summary of Expressions, Operators and Functions
Programming Overview
Program
Example of Hosted Mode
Variable Names
Built-in Variables
Examples of how to use Built-in Variables
Variable Name Description of Built-in Variable Type
Using Built-in Variable Arowrel
Parts
Non-Volatile Variables
Lpnumber
Examples of incorrect use
AO15=VOLTAGE + Error
Arithmetic Operands and Equations
Instead, you should use
Expressions
Logical Operators
Increment/Decrement Variables
Other Programming Samples
Create a Message and Read an Input Variable
Setting an Output=On on-the-fly
Create a Menu menu display on keypad display for operator
GET 4 Bcds
Read a 4 Digit BCD number, 2 Digits at a time
Reading an Analog Input Value
Digit BCD=4 Digit BCD+2TW
2Axis 1 and 2 Indicators
Section Troubleshooting
1Operation Indicators
Additional Information General
Troubleshooting MN1854
Additional Information
Serial Communications Problems
Troubleshooting MN1854
Identification
Section Specifications & Product Data
MN1854 Specifications & Product Data
LinStep+ LX 2 P 1 a
VAC
General Specifications
Protection & Indicators Description
VDC
Optional Keypad 10.08 256.0 Axis Driver 148.3
Dimensions
94.7 230.1
Specifications & Product Data MN1854
CE Declaration of Conformity
Wiring of Shielded Screened Cables
Section CE Guidelines
EMC Conformity and CE Marking
Cit
EMC Wiring Technique
CE Guidelines MN1854
Grounding Earth
EMC Installation Instructions
Cable Screens Grounding
Encoder Cable Grounding
Input Signal Cable Grounding
Simulated Encoder Output Cable Grounding
To Controller
Programming Template
Appendix a
MN1854 Appendix A-1
Appendix MN1854
MN1854 Appendix A-3
838
Remote Keypad Mounting Template
122.88
111.25
Baldor Electric Company
Baldor Electric Company MN1854 01 C&J
LinStep+ Dual-Axis Microstepping Indexer/Driver