DMC-13X8
Using This Manual
Contents
Connecting Hardware
Programming Motion
Hardware & Software Protection 149
ZOH
DAC
Index 207
Introduction
Overview of Motor Types
Overview
Stepper Motor with Step and Direction Signals
Standard Servo Motor with +/- 10 Volt Command Signal
DMC-13X8 Functional Elements
Brushless Servo Motor with Sinusoidal Commutation
Motor Interface
Microcomputer Section
Communication
General I/O
System Elements
Motor
Amplifier Driver
Encoder
Watch Dog Timer
This page Left Blank Intentionally
Getting Started
DMC-13X8 Motion Controller
JP9
Elements You Need
Determine Overall Motor Configuration
Installing the DMC-13X8
Standard Servo Motor Operation
Sinusoidal Commutation
Install Jumpers on the DMC-13X8
Establish Communication with the Galil controller
Install the DMC-13X8 in the VME Host
Determine the Axes to be Used for Sinusoidal Commutation
Optional Motor Off Jumpers
Baxz
Make Connections to Amplifier and Encoder
Getting Started
Check the Polarity of the Feedback Loop
Connect Standard Servo Motors
Inverting the Loop Polarity
BGX CR
TTX CR
DC Power Supply
DC Brush
Connect Sinusoidal Commutation Motors
If Hall Sensors are Not Available
If Hall Sensors are Available
BGX
SHX
AMX
BCX
Tune the Servo System
Connect Step Motors
Example 1 System Set-up
Design Examples
TE X CR
InstructionInterpretation
Example 3 Multiple Axes
Example 2 Profiled Move
Example 4 Independent Moves
Example 5 Position Interrogation
Example 7 Velocity Control
Example 6 Absolute Position
Example 11 Using the On-Board Editor
Example 10 Operation in the Buffer Mode
Example 8 Operation Under Torque Limit
Example 9 Interrogation
Example 13 Motion Programs with Trippoints
Example 12 Motion Programs with Loops
Example 14 Control Variables
Example 15 Linear Interpolation
Example 16 Circular Interpolation
Motion Path for Example
VM XY
Limit Switch Input
Using Optoisolated Inputs
Connecting Hardware
Overview
Abort Input
Home Switch Input
Wiring the Optoisolated Inputs
Group Controllers with 1- 4 Axes Common Signal
Uncommitted Digital Inputs
Optoisolated Inputs
Using an Isolated Power Supply
Analog Inputs
Amplifier Interface
Bypassing the Opto-Isolation
ICM-1900/2900
TTL Inputs
TTL Outputs
This page Left Blank Intentionally
Communication Registers
Communication with Controller
AM5 AM4 AM3 AM2 AM1 AM0
Register Description Address Read/Write
Advanced Communication Techniques
Simplified Communication Procedure
Polling Mode Read Procedure
Communication with Controller Secondary Fifo channel
Polling Fifo
DMA / Secondary Fifo Memory Map
Overview of Secondary Fifo Procedure
Operation Register address Value
Addr Type
Error code
General Status Information 1 Byte
Axis Switch Information 1 Byte
Axis Status Information 2 Byte
BIT
Setting up Interrupts
Configuring Interrupts
Interrupts
Bit number n Input
Bit Number m Condition
Example Interrupts
Servicing Interrupts
BGY
Hex Data Condition
UI1
Controller Response to Data
Command Basics
Command Syntax Ascii
BG Xyzw
Coordinated Motion with more than 1 axis
BG S
BG TW
Binary Command Format
Command Syntax Binary
Header Format
Datafields Format
Command
Binary command table
Example
LE, VE
Interrogating the Controller
Interrogation Commands
Interrogating Current Commanded Values
Summary of Interrogation Commands
Operands
=TPX
Command Summary
This page Left Blank Intentionally
Programming Motion
Example Application Mode of Motion Commands
Independent Axis Positioning
Operand Summary Independent Axis
Command Summary Independent Axis
Example Absolute Position Movement
Example Multiple Move Sequence
Axis velocity profile
Velocity COUNTS/SEC
Command Summary Jogging
Independent Jogging
Example Jog in X only
Linear Interpolation Mode
Specifying Linear Segments
Example Joystick Jogging
An Example of Linear Interpolation Motion
Additional Commands
Specifying Vector Speed for Each Segment
#LMOVE
Changing Feedrate
Command Summary Linear Interpolation
#ALT
LM?
Operand Summary Linear Interpolation
Example Linear Move
LM ZW
Example Multiple Moves
#LOAD
COUNT=0
Vector Mode Linear and Circular Interpolation Motion
Specifying the Coordinate Plane
Specifying Vector Segments
Additional commands
Compensating for Differences in Encoder Resolution
Trippoints
Tangent Motion
Operand Summary Coordinated Motion Sequence
Command Summary Coordinated Motion Sequence
Required Path
Electronic Gearing
Command Description
Command Summary Electronic Gearing
Example Simple Master Slave
Example Electronic Gearing
Electronic Cam
Example Gantry Mode
EAp where p = X,Y,Z,W Is the selected master axis
Programming Motion
3000 2250 1500 2000 4000 6000 Master
Instruction Interpretation
Command Summary Electronic CAM
Operand Summary Electronic CAM
Example Electronic CAM
Operand Description
Specifying Contour Segments
Contour Mode
DT0CD0
CMX
Operand Summary Contour Mode
Command Summary Contour Mode
General Velocity Profiles
Generating an Array An Example
Instruction Interpretation
Contour Mode Example
#POINTS
POSC=V4
Record and Playback Example
Teach Record and Play-Back
Virtual Axis
AC, DC, JG, SP, PR, PA, BG, IT, GA, VM, VP, CR, ST, DP, RP
BGN
Stepper Motor Operation
Monitoring Generated Pulses vs Commanded Pulses
Specifying Stepper Motor Operation
Stepper Motor Smoothing
Motion Complete Trippoint
Using an Encoder with Stepper Motors
Stepper Position Maintenance Mode SPM
Command Summary Stepper Motor Operation
Operand Summary Stepper Motor Operation
Error Limit
Example SPM Mode Setup
Correction
Half-Stepping Drive, X axis
Example Error Correction
#MOTION
#LOOP
Example Friction Correction
Additional Commands for the Auxiliary Encoder
Using the CE Command
Dual Loop Auxiliary Encoder
= Main Encoder Second Encoder
Continuous Dual Loop Example
Backlash Compensation
Sampled Dual Loop Example
#DUALOOP
Using the IT and VT Commands
Motion Smoothing
Example Smoothing
Trapezoidal velocity and smooth velocity profiles
Using the KS Command Step Motor Smoothing
Homing
Motion intervals in the Home sequence
High Speed Position Capture The Latch Function
Command Summary Homing Operation
Operand Summary Homing Operation
FE Xyzw FI Xyzw HM Xyzw SC Xyzw TS Xyzw
AL Y
Fast Update Rate Mode
This page Left Blank Intentionally
Using the DMC-13X8 Editor to Enter Programs
ED #BEGIN
Application Programming
Edit Mode Commands
Program Format
Return
Special Labels
Using Labels in Programs
#BEGIN #SQUARE
#BEGIN1
Executing Programs Multitasking
Using the command, no
Commenting Programs
No Bottom Line
Debugging Programs
Trace Commands
Stop Code Command
Error Code Command
RAM Memory Interrogation Commands
Operands
Event Triggers & Trippoints
Program Flow Commands
Function
DMC-13X8 and DMC-13X8 Event Triggers
Event Trigger Multiple Move Sequence
Event Trigger Examples
Event Trigger Set Output after Distance
Event Trigger Repetitive Position Trigger
Event Trigger Set output when At speed
Event Trigger Start Motion on Input
Event Trigger Change Speed along Vector Path
Define Output Waveform Using AT
Conditional Jumps
Event Trigger Multiple Move with Wait
Logical operators
Command Format JP and JS
Conditional Statements
Multiple Conditional Statements
Using the JP Command
Using If, Else, and Endif Commands
Example Using JP command
Using the if and Endif Commands
Command Format IF, Else and Endif
Using the Else Command
Example using IF, Else and Endif
Nesting if Conditional Statements
Subroutines
Stack Manipulation
Auto-Start Routine
Example Position Error
Example Limit Switch
Automatic Subroutines for Monitoring Conditions
Subroutine Description
Example Input Interrupt
Example Motion Complete Timeout
Example Command Error
Example Command Error w/Multitasking
Operand Function
Mathematical Operators
Mathematical and Functional Expressions
Bit-Wise Operators
Operator Function
ENTER,LENS6
Functions
FLEN=@FRACLEN
LEN1=FLEN&$00FF
Programmable Variables
Variables
Posx POS1 Speedz
Reallongname
Assigning Values to Variables
Example Using Variables for Joystick
Assigning Variable Values to Controller Parameters
Displaying the value of variables at the terminal
Special Operands Keywords
Operands
Examples of Internal Variables
Examples of Keywords
Arrays
Using a Variable to Address Array Elements
Defining Arrays
Assignment of Array Entries
Command Summary Automatic Data Capture
Automatic Data Capture into Arrays
Uploading and Downloading Arrays to On Board Memory
Operand Summary Automatic Data Capture
Data Types for Recording
Example Recording into An Array
Data Type Description
Deallocating Array Space
Input of Data Numeric and String
Input of Data
An Example for Inputting Numeric Data
Sending Messages
Output of Data Numeric and String
Inputting String Variables
Formatting Messages
Using the MG Command to Configure Terminals
Displaying Variables and Arrays
Summary of Message Functions
BL ? LE ? DE ? PA ? DP ? PR ? EM ?
Formatting Variables and Array Elements
Local Formatting of Response of Interrogation Commands
Local Formatting of Variables
LZ0
Hardware I/O
Converting to User Units
Digital Outputs
Instruction Function
Digital Inputs
Example Start Motion on Switch
Input Interrupt Function
Examples Input Interrupt
Analog Inputs
Example Position Follower Point-to-Point
Example Position Follower Continuous Move
Wire Cutter
Example Applications
JP #A
Table Controller
Motor Velocity and the Associated Input/Output signals
AMZ
BGZ
BGZ AMZ
BGS AMS
Speed Control by Joystick
Backlash Compensation by Sampled Dual-Loop
Position Control by Joystick
JG VEL JP #B
DP0
LIN POS = DEX
LINPOS=0
ER=1000-LINPOS-TEX
PR ER
This page Left Blank Intentionally
Hardware Protection
Output Protection Lines
Hardware & Software Protection
Software Protection
Signal or Function State if Error Occurs
Input Protection Lines
Programmable Position Limits
Automatic Error Routine
Off-On-Error
Limit Switch Routine
#AJP #AEN
JP#END
V2=LRX
#LF
Stxamx
Symptom Diagnosis Cause
Installation
Troubleshooting
Remedy
Communication
Operation
Stability
This page Left Blank Intentionally
Theory of Operation
Theory of Operation
Level
Velocity and Position Profiles
Operation of Closed-Loop Systems
System Modeling
Voltage Drive
Motor-Amplifier
Velocity Loop
Current Drive
Voltage Source
Digital Filter
DAC
ZOH
System Analysis
Ms = P/I = Kt/Js2 = 500/s2 rad/A Amp Ka = 4 Amp/V
Analytical Method
System Design and Compensation
Kd = 10/32768 = Encoder Kf = 4N/2π =
Theory of Operation
Equivalent Filter Form
KP, KD, KI, PL
PID, T
Servo Control
Electrical Specifications
Stepper Control
Input/Output
Power
Performance Specifications
Connectors for DMC-13X8 Main Board
J1 DMC-13X8 A-D Axes Main J5-DMC-13X8 A-D Axes
PIN High Density Auxiliary Encoders 26-PIN IDC
PWM/STEP OUT
Pin-Out Description for DMC-13X8
Accessories and Options
Terminal # Label Description
ICM-1900 Interconnect Module
Reset
Error
+ABY
ABY
Flsx
Rlsx
Xlatch
Ylatch
+MAZ
INY
MAZ
+MBZ
ICM-1900 Drawing
AMP-19X0 Mating Power Amplifiers
ICM-2900 Interconnect Module
OUT PWR
OUT GND
ANALOG5
ANA GND
ANALOG6
ANALOG7
ANALOG2
ANALOG1
ANALOG3
ANALOG4
Opto-Isolated Outputs ICM-1900 / ICM-2900 -Opto option
Extended I/O of the DMC-13X8 Controller
Standard Opto-isolation and High Current Opto-isolation
Accessing extended I/O
Configuring the I/O of the DMC-13X8
Saving the State of the Outputs in Non-Volatile Memory
BIT I/O Block Binary Representation Decimal Value for Block
PIN Signal Block
Connector Description
BIT @INn
BIT #
GND
@OUTn
Description
IOM-1964 Opto-Isolation Module for Extended I/O Controllers
Overview
Configuring Hardware Banks
For example, here is the layout of bank
Sinking Sourcing
Input Circuit
High Power Digital Outputs
Internal Pullup
Standard Digital Outputs
High Power Digital Outputs
Electrical Specifications
Digital Inputs
Standard Digital Outputs
Relevant DMC Commands
Screw Terminal Listing
Terminal Label Description
Appendices
Coordinated Motion Mathematical Analysis
Vs = Vx 2 + Vy
Velocity
Tt = VSD + Ta = 0.407s
List of Other Publications
DMC-13X8/DMC-1300 Comparison
Benefit
DMC-13X8
WHO should Attend
Training Seminars
Galil Motion Control
Contacting Us
Warranty
206
Limswi
Poserr
Index
Address ... Error! Not a valid bookmark in entry on
Interrupt...Error! Not a valid bookmark in entry on
Stop