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