DMC-2x00
By Galil Motion Control, Inc
Using This Manual
Contents
Connecting Hardware
Communication
Iv Contents DMC-2X00
Application Programming
Troubleshooting 130
Contents y
Index 210
Overview
Specifications
Electrical Specifications
Mechanical Specifications
DMC- 2000 Family Part Number Definition
Environmental Specifications
Equipment Maintenance
Standard Servo Motor with +/- 10 Volt Command Signal
Overview of Motor Types
Stepper Motor with Step and Direction Signals
Amplifiers in Current Mode
Amplifiers in Velocity Mode
Overview of Amplifiers
DMC-2x00 Functional Elements
Microcomputer Section
Motor Interface
Communication
General I/O
System Elements
Motor
Amplifier Driver
Watch Dog Timer
Encoder
This page Left Blank Intentionally
Getting Started
DMC-2000 Daughter Board
Outline of the DMC-2000 Daughter Board
DMC-2200 Daughter Board
3B Outline of the DMC-2200 Daughter Board
Elements You Need
CABLE-USB-2M CABLE-USB-3M
Recommended System Elements of DMC-2100/DMC-2200
Standard Servo Motor Operation
Installing the DMC-2x00
Determine Overall Motor Configuration
Install Jumpers on the DMC-2x00
Master Reset and Upgrade Jumpers
Sinusoidal Commutation
Stepper Motor Operation
Configure DIP switches on the DMC-2000
Switch 4, 5 and 6 Main Serial Port Baud Rate
Switch 10 USB
Configure DIP switches on the DMC-2100
Configure DIP switches on the DMC-2200
Install the Communications Software
Connect AC Power to the Controller
Establish Communications with Galil Software
Communicating through the Main Serial Communications Port
Communicating through the Universal Serial Bus USB
Communicating through the Ethernet
Sending Test Commands to the Terminal
Determine the Axes to be Used for Sinusoidal Commutation
Make Connections to Amplifier and Encoder
DMC-2X00
Connect Standard Servo Motors
Inverting the Loop Polarity
BGA CR
ICM-2900
Example Sinusoidal Commutation Configuration using a DMC
Connect Sinusoidal Commutation Motors
Getting Started DMC-2X00
SHA
Connect Step Motors
Tune the Servo System
Design Examples
System Set-up
InstructionInterpretation
Instruction Interpretation
Profiled Move
Multiple Axes
Independent Moves
Position Interrogation
Absolute Position
Velocity Control
Operation in the Buffer Mode
Using the On-Board Editor
Operation Under Torque Limit
Interrogation
Line # Instruction Interpretation
Motion Programs with Loops
Motion Programs with Trippoints
Control Variables
Linear Interpolation
XQ #B
AMA
Circular Interpolation
LM ABC
BGS
VM AB
This page Left Blank Intentionally
Overview
Using Optoisolated Inputs
Limit Switch Input
Home Switch Input
Abort Input
Wiring the Opto-Isolated Inputs
Reset Input
Uncommitted Digital Inputs
Opto-Isolation Common Point
Using an Isolated Power Supply
Optoisolated Inputs
Bypassing the Opto-Isolation
Analog Inputs
Amplifier Interface
TTL Inputs
Auxiliary Encoder Inputs
Output Compare
TTL Outputs
General Use Outputs
Interfacing to Grayhill or OPTO-22 G4PB24
Error Output
Extended I/O of the DMC-2x00 Controller
Introduction
RS232 Ports
RS232 Main Port P1 Dataterm
RS232 Auxiliary Port P2 Dataset
RS-232 Configuration
RS422 Main Port P1
RS422 Auxiliary Port P2
Baud Rate Selection
Daisy-Chaining DMC-2000 only
Address
Communication Protocols
Ethernet Configuration DMC-2100/2200 only
Command Interpretation
Addressing
LED
DMC-2X00
Communicating with Multiple Devices
Using Third Party Software
Multicasting
Data Record
Data Record Map
DMC-2X00
Header Information Byte 0, 1 of Header
BIT
Axis Switch Information 1 Byte
Bytes 2, 3 of Header
General Status Information 1 Byte
Axis Status Information 2 Byte
Controller Response to Commands
QZ Command
Unsolicited Messages Generated by Controller
Galil Software Tools and Libraries
Command Syntax Ascii
Important All DMC-2x00 commands are sent in upper case
BG Abcd
BG Abcdefgh
BG D
BG S
Command Syntax Binary
Header Format
Binary Command Table
Datafields Format
Example
LE, VE
Controller Response to Data
Interrogation Commands
Summary of Interrogation Commands
Interrogating Current Commanded Values
Interrogating the Controller
Command Summary
=TPA
This page Left Blank Intentionally
Example Application Mode of Motion Commands
Independent Axis Positioning
VS,VA,VD
GA, GD
GP, GR
Command Summary Independent Axis
Operand Summary Independent Axis
Multiple Move Sequence
Examples
Absolute Position Movement
Position Tracking
20000
15000 10000
5000 Time ms 100
Command Description PT1
Example Motion
Example
Motion
Position vs. Time msec Motion
Velocity vs.Time Motion
Trip Points
Velocity cts/sec vs. Time msec with IT Motion
Independent Jogging
Command Summary Position Tracking Mode
Command Summary Jogging
Jog in X only
Joystick Jogging
AS a
#JOY
Specifying Linear Segments
Linear Interpolation Mode
Specifying the Coordinate Plane
Additional Commands
Specifying Vector Speed for Each Segment
Changing Feed Rate
#ALT
Linear Interpolation Motion
Command Summary Linear Interpolation
Operand Summary Linear Interpolation
Linear Move
LM CD
Position D
Vector Mode Linear and Circular Interpolation Motion
Multiple Moves
Specifying Vector Segments
Compensating for Differences in Encoder Resolution
Command Summary Coordinated Motion Sequence
Trippoints
Tangent Motion
Operand
Operand Summary Coordinated Motion Sequence
Tangent Axis
Coordinated Motion
BG ABC
AM ABC
SB0
Electronic Gearing
Ramped Gearing
Velocity cts/sec vs. Time msec Ramped Gearing
Command Summary Electronic Gearing
Electronic Gearing Over a Specified Interval
MO Z
GA Z, Z
Electronic Gearing
Gantry Mode
Simple Master/Slave
Electronic Cam
GA,A
DMC-2X00
3000 2250 1500 2000 4000 6000 Master a
Command Summary Electronic CAM
Command Description
Operand Summary Electronic CAM
Electronic CAM
Contour Mode
Specifying Contour Segments
DT0CD0
336 288 240 192 Time ms
CMA
Command Summary Contour Mode
Command Description CM Abcdefgh
General Velocity Profiles
Generating an Array
Contour Mode
#POINTS
Teach Record and Play-Back
Record and Playback Example
Sinusoidal Motion Example
Virtual Axis
Ecam master example
Monitoring Generated Pulses vs. Commanded Pulses
Stepper Motor Operation
Specifying Stepper Motor Operation
Stepper Motor Smoothing
Motion Complete Trip point
Using an Encoder with Stepper Motors
Command Summary Stepper Motor Operation
Stepper Position Maintenance Mode SPM
Operand Summary Stepper Motor Operation
Error Limit
Example SPM Mode Setup
Correction
SHX
Example Error Correction
#MOTION
Example Friction Correction
Dual Loop Auxiliary Encoder
Additional Commands for the Auxiliary Encoder
Backlash Compensation
Continuous Dual Loop
= Main Encoder Second Encoder
Motion Smoothing
Sampled Dual Loop
#DUALOOP
DE0
Using the IT and VT Commands
Using the KS Command Step Motor Smoothing
Trapezoidal velocity and smooth velocity profiles
Homing
Home Sensor Home Switch
Command Summary Homing Operation
High Speed Position Capture The Latch Function
Operand Summary Homing Operation
Input Function
#LATCH
AL B
#WAIT
JP #WAIT,ALB=1
Using the DOS Editor to Enter Programs DMC-2000 only
Application Programming
Edit Mode Commands
ED #BEGIN
Using Labels in Programs
Program Format
Special Labels
#START
No Command
Commenting Programs
REM Half Circle Motion VP 0,3000 REM TOP Line
REM Command
Executing Programs Multitasking
Trace Commands DMC-2100/2200 only
Debugging Programs
RAM Memory Interrogation Commands
Error Code Command
Stop Code Command
Program Flow Commands
Event Triggers & Trippoints
AS a B C D E F G H
Command Function
DMC-2x00 Event Triggers
Example- Multiple Move Sequence
Example- Set Output after Distance
Example- Repetitive Position Trigger
Example Start Motion on Input
Example Set Output when At Speed
Example Change Speed along Vector Path
Conditional Jumps
Example- Define Output Waveform Using AT
Example Multiple Move with Wait
Command Format JP and JS
Logical operators
Conditional Statements
Multiple Conditional Statements
Examples
If, Else, and Endif
JP#A
#BEGIN
Using the if and Endif Commands
Using the Else Command
Command Format IF, Else and Endif
Nesting if Conditional Statements
Auto-Start Routine
Subroutines
Stack Manipulation
Example Limit Switch
Automatic Subroutines for Monitoring Conditions
Example Input Interrupt
Example Position Error
Example Motion Complete Timeout
Example Command Error
PAA=0
Example Command Error w/Multitasking
Example Communication Interrupt
Example Ethernet Communication Error
Mathematical and Functional Expressions
Mathematical Operators
Bit-Wise Operators
Operator Function
Response from command MG len6 S4
Variables
Functions
Assigning Variable Values to Controller Parameters
Programmable Variables
Assigning Values to Variables
Example Using Variables for Joystick
Operands
Displaying the value of variables at the terminal
Special Operands Keywords
Arrays
Defining Arrays
Assignment of Array Entries
Time
Automatic Data Capture into Arrays
Using a Variable to Address Array Elements
Uploading and Downloading Arrays to On Board Memory
Command Summary Automatic Data Capture
Data Types for Recording
Operand Summary Automatic Data Capture
Example Recording into an Array
Input of Data Numeric and String
Deallocating Array Space
Input of Data
Example- Inputting Numeric Data
Operator Data Entry Mode
Keyword Function
Using Communication Interrupt
Output of Data Numeric and String
Inputting String Variables
Formatting Messages
Sending Messages
Specifying the Port for Messages
Using the MG Command to Configure Terminals
Summary of Message Functions
Displaying Variables and Arrays
Example Printing a Variable and an Array element
0000000009
LZ0
Local Formatting of Response of Interrogation Commands
Formatting Variables and Array Elements
Local Formatting of Variables
LZ1
Hardware I/O
Converting to User Units
Digital Outputs
Alph
Example- Set Bit and Clear Bit
Example- Output Bit
Example- Output Port
Example Turn on output after move
Example Using Inputs to control program flow
Example Start Motion on Switch
Input Interrupt Function
AI 1BGA
Analog Inputs
Example Position Follower Point-to-Point
TP AB
ST AB
Configuring the I/O of the DMC-2x00
Example Position Follower Continuous Move
PA VP
#CONT
Accessing Extended I/O
Saving the State of the Outputs in Non-Volatile Memory
Bit I/O Block Binary Decimal Value for Representation
Argument Blocks Bits Description
Interfacing to Grayhill or OPTO-22 G4PB24
Wire Cutter
Example Applications
Table Controller
JP #A
BGS AMS
AMC
BGC AMC
Speed Control by Joystick
Position Control by Joystick
Backlash Compensation by Sampled Dual-Loop
BGA JP #B
This page Left Blank Intentionally
Hardware Protection
Output Protection Lines
Software Protection
Input Protection Lines
Off-On-Error
Automatic Error Routine
Programmable Position Limits
#AJP #AEN
Limit Switch Routine
Troubleshooting
Installation
Operation
Communication
Stability
Theory of Operation
Level
Operation of Closed-Loop Systems
Velocity and Position Profiles
System Modeling
Functional Elements of a Motion Control System
Current Drive
Motor-Amplifier
Voltage Drive
Velocity Loop
Elements of velocity loops
Voltage Source
DAC
Digital Filter
ZOH
System Analysis
Magnitude 200 2000 Rad/s
System Design and Compensation
Analytical Method
Theory of Operation DMC-2X00
Equivalent Filter Form
Electrical Specifications
Servo Control
Stepper Control
Input / Output
Performance Specifications
Power
Minimum Servo Loop Update Time
Normal
Fast Update Rate Mode
Connectors for DMC-2x00 Main Board
DMC-2x00 Axes A-D High Density Connector
DMC-2x00 Axes E-H High Density Connector
DMC-2x00 Auxiliary Encoder 36 Pin High Density Connector
DMC-2x00 Extended I/O 80 Pin High Density Connector
+5V
Pin Signal
RS-232-Main Port
RS-232-Auxiliary Port
USB USB Out
Standard RS-232 Specifications
Pin Serial Connector Male, D-type
Cable Connections for DMC-2x00
Ethernet
DMC-2x00 Serial Cable Specifications
Pin Male computer Pin female controller
Pin Female terminal Pin Male Controller
Pin Female Computer Pin Female Controller
Pin Male terminal Pin male controller
Inputs
Pin-Out Description for DMC-2x00
Outputs
Appendices DMC-2X00
Function If jumpered
Jumper Description for DMC-2x00
Jumper Label
Dimensions for DMC-2x00
Accessories and Options
DMCWIN16 DMCWIN32 SETUP16 SETUP32 KIT
Block 4 PIN Label Description
ICM-2900 Interconnect Module
Description
Error
Pwmx
Mocmdy
Signy
Reset
IN8
Xlatch
Ylatch
+MAZ
MAZ
+MBZ
MBZ
ICM-2900 Drawing
ICM
ICM-2908 Interconnect Module
ICM-2908 Drawing
ICM-2908
PCB Layout of the ICM-2900
Features
ISO OUT Power Error Reset CMP Mocmdw
ICM-1900 Interconnect Module
Terminal Label
DMC-2X00
100 101 102 103 104 105 106 107
MBW +INW
AMP-19x0 Mating Power Amplifiers
ICM-1900 Drawing
Standard Opto-Isolation and High Current Opto-isolation
Specifications
Opto-Isolated Outputs for ICM-2900 / ICM-1900 / AMP
Configuring the Amplifier Enable for ICM-2900 / ICM
Changing the Amplifier Enable Voltage Level
Laen Option
DMC-2000 ICM-1900 / ICM-2900
IOM-1964 Opto-Isolation Module for Extended I/O
Overview
Configuring Hardware Banks
Figure A-7
Input Circuit
High Power Digital Outputs
Figure A-10
Standard Digital Outputs
Figure A-12
Digital Inputs
Figure A-14
High Power Digital Outputs
Relevant DMC Commands
Standard Digital Outputs
Screw Terminal Listing
DMC-2X00
PWROUT32
PWROUT31
PWROUT30
PWROUT29
Connectors
CB-50-100 Adapter Board
Appendices DMC-2X00
JC6 50 PIN IDC J9 100 PIN High Density Connector
CB-50-100 Drawing
JC8 JC6
CB-50-80 Adapter Board
Figure A-16
JC8
JC6
CB-50-80 Drawing
CB-50-80 Outline
CB-50-80 Layout
TERM-1500 Operator Terminal
Figure A-19
Specifications Hand-Held
Figure A-20
Specifications Panel Mount
Keypad Maps Hand-Held
Single Key Output
Shift Key Output
Keypad Map Panel Mount 6 columns x 5 rows
Escape Commands
Cursor Movement Commands
Configuration
Default Configuration
Default Function Keys
Input/Output of Data DMC-2x00 Commands
Function Keys
Ordering Information
Pin Modular Connector
Pin D Adaptor Male For P2
Coordinated Motion Mathematical Analysis
Vs = Vx 2 + Vy
Lk = Xk 2 + Yk
Velocity
Example- Communicating with OPTO-22 SNAP-B3000
#CFGDOUT
MODULE=2
CFGVALUE=$180
NUMOFIO=4
Appendices DMC-2X00
DMC-2x00/DMC-1500 Comparison
DMC-2x00 DMC-1500
List of Other Publications
Training Seminars
Warranty
Contacting Us
Index
Limswi
PID
Poserr