DMC-3425
By Galil Motion Control, Inc
Page
Contents
Connecting Hardware
Programming Motion
Application Programming 107
DAC
ZOH
J5 Power 6 PIN Molex
Warranty
Overview
Introduction
Overview of Motor Types
Standard Servo Motors with +/- 10 Volt Command Signal
Stepper Motor with Step and Direction Signals
Brushless Servo Motor with Sinusoidal Commutation
DMC-3425 Overview
Motor Interface
DMC-3425 Functional Elements
Microcomputer Section
Communication
Motor
General I/O
System Elements
Amplifier Driver
Watch Dog Timer
Encoder
Getting Started
DMC-3425 Motion Controller
Installing the DMC-3425 Controller
Elements You Need
Determine Overall Motor Configuration
Configuring Jumpers on the DMC-3425
Stepper Motor Jumpers
Setting the Baud Rate on the DMC-3425
Selecting MO as default on the DMC-3425
9600 1200
Axis Configuration Jumpers
A1 A2 A4 A8
Installing the Communications Software
Using Galil Software for DOS
Using Galil Software for Windows
Getting Started DMC-3425
Communicating through the Ethernet
Using Non-Galil Communication Software
Sending Test Commands to the Terminal
TPA CR
Address
Set-up axis for sinusoidal commutation optional
Make connections to amplifier and encoder
Getting Started DMC-3425
Connect Standard Servo Motor
Check the Polarity of the Feedback Loop
MO CR
BG CR
Inverting the Loop Polarity
SH CR
TT CR
Power Supply
Connect brushless motor for sinusoidal commutation
If Hall Sensors are Available
If Hall Sensors are Not Available
Amacr
Connect Step Motors
BGA CR
BC CR
Tune the Servo System
TE CR
Configuring Operation for Distributed Control
Configure the Distributed Control System
Automatic Configuration of Distributed Control
Manual Slave IP configuration with HC command
Mgconfiguration Failed Else Mgconfig Success Endif
Manual Configuration of Distributed Control
#SETUP
Instruction Interpretation
CHC=D,E
NA6
CHE=F,G
Example 2 Profiled Move
Design Examples
Example 1 System Set-up
Example 3 Position Interrogation
Example 6 Operation Under Torque Limit
Example 8 Operation in the Buffer Mode
Example 5 Velocity Control Jogging
Example 7 Interrogation
Example 10 Motion Programs with Loops
Example 9 Motion Programs
Example 11- Motion Programs with Trippoints
Example 12 Control Variables
Example 13 Control Variables and Offset
Return to top of program
Limit Switch Input
Using Inputs
Overview
Home Switch Input
Abort Input
Amplifier Interface
Uncommitted Digital Inputs
TTL Inputs
Analog Inputs
TTL Outputs
This page Left Blank Intentionally
RS232 Port 1 Dataterm
RS-232 Configuration
RS232 Port
Baud Rate Selection
Addressing
Ethernet Configuration
Communication Protocols
Handshaking Modes
Ethernet Handles
Global vs. Local Operation
Local Operation
Accessing the I/O of the Slaves
Operation of Distributed Control
Digital Outputs
Handling Communication Errors
Multicasting
Digital Inputs
Unsolicited Message Handling
IOC-7007 Support
Modbus Support
Function Code Definition
Other Communication Options
Handle Switching
Handle Restore on Communication Failure
User Defined Ethernet Variables
Data Record Map
Data Record
Waiting on Handle Responses
DMC-3425 Communication
Communication DMC-3425
Bytes 2, 3 of Header
Axis Switch Information 1 Byte
Header Information Byte 0, 1 of Header
General Status Information 1 Byte
Axis Status Information 2 Byte
QZ Command
Coordinated Motion Status Information for plane 2 Byte
Using Third Party Software
This page Left Blank Intentionally
Command Syntax Ascii
Important All DMC-3425 commands are sent in upper case
Command Syntax Binary
Coordinated Motion with more than 1 axis
Byte
Binary Command Format
Header Format
Example
Binary command table
Datafields Format
LE, VE
Controller Response to Data
Interrogating Current Commanded Values
Interrogation Commands
Summary of Interrogation Commands
Interrogating the Controller
Command Summary
This page Left Blank Intentionally
Programming Motion
Mode of Motion Basic description Commands Global
Independent Axis Positioning
VP, CR
Examples
Command Summary Independent Axis
Operand Summary Independent Axis
Absolute Position Movement
InstructionInterpretation
BG C
Independent Jogging
Command Summary Jogging
Jog in a and C axes
Specifying Linear Segments
Linear Interpolation Mode Local Mode
Joystick Jogging
#ALT
Additional Commands
Specifying Vector Speed for Each Segment
Lmab
Changing Feedrate
Command Summary Linear Interpolation
Operand Summary Linear Interpolation
BGS
Linear Interpolation Motion
Example
Example Linear Move
#LMOVE
Example Multiple Moves
#LOAD
Vector Mode Linear and Circular Interpolation Local Mode
Specifying Vector Segments
Additional commands
Operand Summary Coordinated Motion Sequence
Command Summary Coordinated Motion Sequence
Compensating for Differences in Encoder Resolution
Trippoints
VM AB
Required Path
Example Gantry Mode
Electronic Gearing Local Mode
Command Summary Electronic Gearing
Example Electronic Gearing
BGB
Electronic Cam Local Mode
GA, CA
GA,A
Programming Motion DMC-3425
DMC-3425 Programming Motion
3000 2250 1500 2000 4000 6000 Master
#RUN
EAA
#LOOP
EB1
#LOOPJP#LOOP,V1=0
ST a
Contour Mode Local Mode
Specifying Contour Segments
CMA
Instruction Description
DT0CD0
General Velocity Profiles
Command Summary Contour Mode
Operand Summary Contour Mode
Generating an Array An Example
#POINTS
Contour Mode Example
POSC=V4
Teach Record and Play-Back
Record and Playback Example
Virtual Axis Local Mode
Mode of Motion Virtual Axis usage Commands
Sinusoidal Motion Example
Stepper Motor Operation
Ecam Master Example
Specifying Stepper Motor Operation
Monitoring Generated Pulses vs. Commanded Pulses
Stepper Motor Smoothing
Motion Complete Trippoint
Using an Encoder with Stepper Motors
Command Summary Stepper Motor Operation
Operand Summary Stepper Motor Operation
Dual Loop Auxiliary Encoder
Using the CE Command
Additional Commands for the Auxiliary Encoder
Backlash Compensation
#DUALOOP
Continuous Dual Loop
Sampled Dual Loop
DE0
JP#CORRECT
Using the IT and VT Commands
Motion Smoothing
#END
Homing
Trapezoidal velocity and smooth velocity profiles
AM a
#HOME
HM a
MG AT Home
Home Switch
Operand Summary Homing Operation
Command Summary Homing Operation
High Speed Position Capture Latch
Input Function
AL B
This page Left Blank Intentionally
Application Programming
Global vs. Local Programming
Return
Edit Mode Commands
Entering Programs
ED #BEGIN
Valid labels
Using Labels in Programs
Program Format
Invalid labels
Special Labels
No Command and the Apostrophe ‘
Commenting Programs
REM Command
Executing Programs Multitasking
Debugging Programs
Stop Code Command
Trace Command
Error Code Command
RAM Memory Interrogation Commands
Breakpoints and single stepping
Eeprom Memory Interrogation Operands
Program Flow Commands
Event Triggers & Trippoints
Example- Multiple Move Sequence
DMC-3425 Event Triggers
AS a B C D E F G H
Example- Repetitive Position Trigger
Example- Set Output after Distance
Example Start Motion on Input
Example Change Speed along Vector Path
Example Set Output when At Speed
Example Multiple Move with Wait
Conditional Jumps
Example- Define Output Waveform Using AT
Command Format JP and JS
Format
Conditional Statements
Example using variables named V1, V2, V3
Logical operators
Multiple Conditional Statements
If, Else, and Endif
Using the if and Endif Commands
Examples
Nesting if Conditional Statements
Using the Else Command
Command Format IF, Else and Endif
Format Description
Subroutines
Auto-Start and Auto Error Routine
Stack Manipulation
Example Position Error
Example Limit Switch
Automatic Subroutines for Monitoring Conditions
Example Command Error
Example Motion Complete Timeout
Example Input Interrupt
Example Command Error w/Multitasking
Mathematical Operators
Example Ethernet Communication Error
Mathematical and Functional Expressions
Operator Function
FLEN=@FRACLEN
Bit-Wise Operators
ENTER,LENS6
LEN1=FLEN&$00FF
POS
Variables
Functions
PR Posa
Assigning Variable Values to Controller Parameters
Programmable Variables
Assigning Values to Variables
Displaying the value of variables at the terminal
Special Operands
Example Using Variables for Joystick
Operands
Instruction
Defining Arrays
Arrays
Assignment of Array Entries
Uploading and Downloading Arrays to On Board Memory
Using a Variable to Address Array Elements
Automatic Data Capture into Arrays
Operand Summary Automatic Data Capture
Command Summary Automatic Data Capture
Data Types for Recording
Example Recording into An Array
Sending Messages
Outputting Numbers and Strings
Deallocating Array Space
Specifying the Port for Messages
Formatting Messages
Using the MG Command to Configure Terminals
MG STR S3
Example Printing a Variable and an Array element
Displaying Variables and Arrays
Summary of Message Functions
Function Description
LZ0
Local Formatting of Response of Interrogation Commands
LZ1
VF1
Formatting Variables and Array Elements
Local Formatting of Variables
V1=ALPHA
Digital Outputs
Hardware I/O
Converting to User Units
Example- Set Bit and Clear Bit
Digital Inputs
Example Using Inputs to control program flow
Example Start Motion on Switch
Example- Output Port
Analog Inputs
Input Interrupt Function
Example Position Follower Point-to-Point
Extended I/O of the DMC-3425 Controller
Configuring the I/O of the DMC-3425
Example Position Follower Continuous Move
Saving the State of the Outputs in Non-Volatile Memory
Accessing Extended I/O
Bit I/O Block Binary Representation Decimal Value for
Interfacing to Grayhill or OPTO-22 G4PB24
Wire Cutter
Example Applications
Argument Blocks Bits Description
X-Y Table Controller
JP #A
AMC
BGC
BGC AMC
Speed Control by Joystick
BGS AMS
Position Control by Joystick
JG VEL JP #B
This page Left Blank Intentionally
Hardware Protection
Output Protection Lines
Input Protection Lines
Signal or Function State if Error Occurs
Software Protection
Programmable Position Limits
Automatic Error Routine
Off-On-Error
#AJP #AEN
Limit Switch Routine
Limit Switch Example
Installation
Symptom Cause Remedy
Stability
Symptom Cause
Communication
Operation
Theory of Operation
Level
Operation of Closed-Loop Systems
Velocity and Position Profiles
System Modeling
Functional Elements of a Motion Control System
Voltage Drive
Motor-Amplifier
Current Drive
Velocity Loop
Elements of velocity loops
Voltage Source
DAC
Digital Filter
System Analysis
ZOH
Motor 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π =
DMC-3425 Theory of Operation
KP, KD, KI, PL
Equivalent Filter Form
PID, T
Power Requirements
Electrical Specifications
Performance Specifications
Servo Control
Acmda Pwma
Connectors for DMC-3425
J3 DMC-3425 General I/O 37- PIN D-type
Acmdy Signa
Signb Pwma
J3 DMC-3425-Stepper General I/O 37- PIN D-type
Pwmb
Signa
DCD DTR GND DSR RTS CTS
Pin-Out Description
J1 RS232 Main port DB-9 Pin Male
RTS CTS GND
Specifications
Features
ICM-1460 Interconnect Module
AMPEN/SIGNY5
Reset
ERROR/PULSEY
ACMDX/PULSEX
Opto-Isolation Option for ICM-1460
Opto-isolated inputs
Opto-isolated outputs
Figure A-1
Configuring the I/O of the DMC-3425 with DB-14064
CO n
Accessing extended I/O
Saving the State of the Outputs in Non-Volatile Memory
Connector Description
J6 50-PIN IDC Pin Signal Block Bit @INn Bit No @OUTn
Block Bit @INn Bit No @OUTn
IOM-1964 Opto-Isolation Module for Extended I/O Controllers
Description
Overview
Buffer chips
Configuring Hardware Banks
Figure A-4
Input Circuit
High Power Digital Outputs
Figure A-6
Output Command Result
Standard Digital Outputs
High Power Digital Outputs
Electrical Specifications
Standard Digital Outputs
Relevant DMC Commands
Screw Terminal Listing
DMC-3425 Appendices
PWROUT30
PWROUT32
PWROUT31
PWROUT29
Coordinated Motion Mathematical Analysis
1000 2000
Velocity
100000 = 0.05 s 2000000
Training Seminars
List of Other Publications
WHO should Attend
Contacting Us
Galil Motion Control
Warranty
Index
Eeprom
Homing, 38
Eeprom
Index DMC-3425