FlashCut CNC Guia de Hardware Do Gerador de Sinais
FlashCut CNC Guia de Hardware Do Gerador de Sinais
FlashCut CNC Guia de Hardware Do Gerador de Sinais
Hardware Guide
ON
OFF
Revised 5-28-03
© 1998-2003 FlashCut CNC, Inc.
Table of Contents
1. GETTING STARTED ....................................................................................................................................... 1
ABOUT THIS MANUAL ................................................................................................................................................ 1
SAFETY AND USAGE GUIDELINES............................................................................................................................... 2
2. HARDWARE GUIDE ....................................................................................................................................... 3
OVERVIEW OF THE SIGNAL GENERATOR .................................................................................................................... 3
FRONT PANEL............................................................................................................................................................. 3
REAR PANEL .............................................................................................................................................................. 3
JUMPER SETTINGS ...................................................................................................................................................... 7
JP1 AND JP2 .........................................................................................................................................................7
JP3........................................................................................................................................................................8
JP4, JP5 & JP6 .....................................................................................................................................................8
TURNING OFF THE CONTROLLER ................................................................................................................................ 8
3. SAMPLE WIRING DIAGRAMS..................................................................................................................... 9
TYPICAL MOTOR SIGNAL CIRCUIT FOR HALF-STEPPING AND MICROSTEPPING DRIVES .......................................... 10
TYPICAL MOTOR SIGNAL CIRCUIT II........................................................................................................................ 11
MOTOR SIGNAL CIRCUIT FOR GECKO DRIVES ......................................................................................................... 12
TYPICAL OUTPUT LINE CIRCUIT............................................................................................................................... 13
TYPICAL INPUT LINE CIRCUIT .................................................................................................................................. 14
I/O CONNECTOR AND HEADER SCHEMATIC ............................................................................................................. 15
SIGNAL GENERATOR BOARD LAYOUT ..................................................................................................................... 16
FlashCut CNC Section 1 Getting Started 1
Front Panel
The front panel of the signal generator has the power on/off switch and 8 LED’s
with the following functions:
ON
OFF
Limit – Turns red when any limit/input switch is open when using
normally closed (NC) switches, or when any limit/input switch is closed
when using normally open (NO) switches. For proper operation of this
LED, JP3 must be shorted for NO switches and open for NC switches.
1, 2, 3, 4 (or X, Y, Z, A) – Turns green when the respective motor is
stepping. Note that the polarity of these lights will be reversed depending
on the Step Signal setting in the Motor Signals Setup dialog box. Also
note that these lights appear brighter or dimmer depending on the Step
Pulse Width setting. A small pulse width will make them very hard to see
in a well lit room.
RXD – Turns yellow when receiving data from the host PC serial port.
TXD – Turns yellow when transmitting data to the host PC serial port.
Power – Turns green when the power switch is turned on.
On/Off Switch – Turns the unit on and off. If there is ever a
communications error while running FlashCut CNC, turn the switch off
and on to reset the internal microprocessor.
Rear Panel
The rear panel has connectors for input and output signals as described below.
4 FlashCut CNC Section 2 Hardware Guide
POWER
INPUT OUTPUT
RS-232 MOTOR SIGNALS
The input lines are all optically isolated. This means that a 5V power
source must be provided to power the external end of the optical couplers.
There are two ways to do this listed below. Note that you must use only
one of the two options below. If you use more than one, you can cause
severe damage.
1. Use the internal power source on the signal generator by shorting JP1
and JP2 on the circuit board. This is the most convenient option and
works well for most applications, but negates some of the signal
isolation. OR
2. For the best noise immunity, connect an external 5V power supply
through pins 23 (OPT 5V) and pin 25 (OPT GND) of the Motor Signal
Connector (CON5).
BE VERY CAREFUL WHEN DOING ANY WIRING. IMPROPER
WIRING WILL DAMAGE THE SIGNAL GENERATOR.
Input lines 1, 2, 3 & 4 are also connected through pins 15, 16, 17 & 18
respectively of the Motor Signal connector, and input lines 5, 6, 7 & 8 are
also connected through pins 5, 6, 7 & 8 respectively of the Motor Signal
connector. This makes it convenient to send any signals from your motor
driver box, such as limit lines or servo position error signal, back to the
Signal Generator through the DB25 cable without the need of a separate
input cable. Note that if an input line is being used through the Motor
Signal connector, that line must remain open in the Input connector. Also,
if the Input connector is wired as normally closed, then the signal coming
in through the Motor Signal connector must be normally LOW.
Alternatively, if the Input connector is wired as normally open, then the
signal coming in through the Motor Signal connector must be normally
HIGH. If you are not using input signals through the Motor Signal
connector, then don’t connect them to anything.
The receptacle that plugs into this connector is a Molex-Waldom Mini-Fit
Jr. Series 16 pin receptacle (part number 39-01-2160), with female pins
(part number 39-00-0039 or 39-00-0047 for 22 gauge or thinner wires).
The input lines as seen from the back of the box are arranged as follows
(all of the ground connections denoted by “G” are optically isolated
ground.):
8 7 6 5 4 3 2 1
G G G G G G G G
OUTPUT – The connector for up to 8 output lines. These lines are all
compatible with TTL/CMOS level outputs. They are all driven by HCT
family logic. Output logic high is normally 5V and can go down to 3.9V
6 FlashCut CNC Section 2 Hardware Guide
at full load. Output logic low is normally 0V and can go up to 0.3V at full
load. Each of these signals can provide up to 20mA of current.
Two additional pins are provided for your output lines: ground and +5V.
If the signal generator has a serial number of 102300 (Rev J) or below,
these are connected to OPT GND and OPT +5V. To make these lines
operational, jumpers JP1 and JP2 must be shorted, or external power can
be provided directly to them. If these lines are shorted, you cannot
provide external power through the OPT GND and OPT 5V pins on the
DB25 Motor Signal Connector.
If the signal generator has a serial number of 102301 (Rev K) or higher,
these are connected to GND and +5V and are not optically isolated.
BE VERY CAREFUL WHEN DOING ANY WIRING. IMPROPER
WIRING WILL DAMAGE THE SIGNAL GENERATOR.
The output lines are all initialized to low (0V) when you turn on the Signal
Generator. Output lines 1, 2, 3 & 4 are also connected through pins 1, 2, 3
& 4 respectively of the Motor Signal connector. This makes it convenient
to connect up to 4 output signals to your motor driver box to drive devices
such as solid-state relays that might be in your motor driver box.
The receptacle that plugs into this connector is a Molex-Waldom Mini-Fit
Jr. Series 10 pin receptacle (part number 39-01-2100), with female pins
(part number 39-00-0039 or 39-00-0047 for 22 gauge or thinner wires).
The output lines as seen from the back of the box are arranged as follows:
GND 8 6 4 2
+5V 7 5 3 1
MOTOR SIGNALS – The DB-25 male connector for all signals going out
to the stepper or digital servo motor driver(s). If you are using one of the
FlashCut CNC motor drivers, connect this to the DB-25 female connector
on the motor driver using a DB25 M-F interface cable.
The cable used must be a DB-25 Interface Cable with all 25-pins
wired straight through.
The main use of this connector is to provide step and direction signals to
the motor drivers. Each of these signals can provide up to 20mA of
current.
FlashCut CNC Section 2 Hardware Guide 7
Two input pins are provided for optical ground (pin 25) and optical VCC
(pin 23) to power the optical couplers on the input lines (see above). You
can place a 5 VDC power source across these two pins. If you are
powering input lines internally using JP1 and JP2, do not connect
these input pins.
BE VERY CAREFUL WHEN DOING ANY WIRING. IMPROPER
WIRING WILL DAMAGE THE MOTOR SIGNAL GENERATOR.
Two pins are directly connected to ground (pin 24) and +5V (pin 22) from
the internal power supply. These are provided to power simple, external,
5V electronics associated with your motor driver. They can source up to
50mA.
The motor signal lines as seen from the back of the box are arranged as
follows:
1 13
14 25
Jumper Settings
JP1 and JP2
These two jumpers enable you to use the internal power of the Signal Generator to
provide power to the external side of the optically isolated input lines. When JP1
is shorted, OPT VCC gets its power from the Internal VCC. When JP2 is shorted,
OPT GND is directly connected to the Internal GND. If you are providing an
external 5V through pins 23 and 25 of the DB25 Motor Signal connector,
then you must leave JP1 and JP2 open.
8 FlashCut CNC Section 2 Hardware Guide
JP3
This jumper configures the Signal Generator for all normally closed (NC) or all
normally open (NO) switches. When in NC mode, JP3 should be open. When any
of the input lines are open the red Limit light will illuminate. When in NO mode,
JP3 should be shorted. Each line that is not connected should remain open. The
red limit light will illuminate when any of the switches close. If you are not using
any limit switches, you should set JP3 to NO mode (shorted). If you are using the
FlashCut CNC Limit Switch Kit, you should set JP3 to NC mode (open).
DIR A-
EN B-
B+
Shielded Cable
COM VDC+
32VDC
VDC-
U2D
DB25-22
11 ENA
74LS32N
The above schematic shows a typical connection of a single axis motor driver to the motor signals of the Signal Generator.
Each of the step and direction signals have a 22 ohm resistor in series with their outputs. This is to reduce any “ringing” at
the transient switching points. This resistor pack (RP5) is socketed so that you can change the value if needed for your
application.
FlashCut CNC Section 3 Sample Wiring Diagrams 11
CW/CCW Phase A~
Enable Phase B~
Half/Full Phase B
Shielded Cable
Logic V+
0.1µF
Ground 40VDC
0.1µF
Current Ground
Adjust
2KΩ
U2D
DB25-24
11 ENA
74LS32N
The above schematic shows a typical connection of a single axis motor driver to the motor signals of the Signal Generator.
Each of the step and direction signals have a 22 ohm resistor in series with their outputs. This is to reduce any “ringing” at
the transient switching points. This resistor pack (RP5) is socketed so that you can change the value if needed for your
application.
In this example a 0.1uF capacitor was placed between the step signal and ground and between the direction signal and
ground. This filters out any transient noise in the signals. It is better to place these capacitors on the drive unit rather than
the Signal Generator.
12 FlashCut CNC Section 3 Sample Wiring Diagrams
DIR Phase B
DISABLE Phase C
Phase D
Shielded Cable
COMMON V+
40VDC
Ground
U2D
DB25-22
11 ENA
74LS32N
The above schematic shows a typical connection of a single axis motor driver to the motor signals of the Signal Generator.
Each of the step and direction signals have a 22-ohm resistor in series with their outputs. This is to reduce any “ringing” at
the transient switching points. This resistor pack (RP5) is socketed so that you can change the value if needed for your
application.
FlashCut CNC Section 3 Sample Wiring Diagrams 13
Fuse
OPT
+3 1
Solid State Relay
3.3K
Continental Industries
S505-0SJ610-000
4 2
GND
The above schematic shows a typical connection of one solid state relay controlled by output line 1 of the Signal
Generator. A typical load would be a spindle, a vacuum, a laser, etc. In this example, the solid-state relay used is a
Continental Industries model S505-0SJ610-000. It takes a 3 to 32VDC input and has an output of 24-330VAC.
Each of the output signals has a 22-ohm resistor in series with their outputs. This is to reduce any “ringing” at the transient
switching points. This resistor pack (RP6) is socketed so that you can change the value if needed for your application.
Ground and 5V are provided on this connector for your convenience.
The FlashCut Spindle On/Off Relay Box is wired as shown in the above schematic.
14 FlashCut CNC Section 3 Sample Wiring Diagrams
DB25 Pin22
DB25 Pin23 Short
DB25 Pin24
DB25 Pin25 Short
DB25 Pin 8
DB25 Pin 7 OPT
DB25 Pin 6 GND
DB25 Pin 5
DB25 Pin 18
DB25 Pin 17
DB25 Pin 16
DB25 Pin 15