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