C11G - R8 - 7 - User Manual
C11G - R8 - 7 - User Manual
MANUAL
DECEMBER 2014
USER'S MANUAL
TABLE OF CONTENTS
Page #
Contents
1.0 OVERVIEW ..................................................................................................................... 1
2.0 FEATURES ..................................................................................................................... 1
3.0 SPECIFICATIONS .......................................................................................................... 3
4.0 BOARD DESCRIPTION .................................................................................................. 4
5.0 SPECIAL FUNCTIONS ................................................................................................... 5
5.1 Safety charge pump “SCHP” (PIN 17) .......................................................................... 5
5.2 Variable speed control (pin 14) ................................................................................... 6
5.3 Electromechanical relays (pins 1 and 16) ................................................................... 9
5.4 Using the COM configuration jumper ....................................................................... 10
5.5 External enable pin .................................................................................................... 10
6.0 FUNTIONAL BLOCK DIAGRAMS ................................................................................ 11
6.1 Outputs 2-9 simplified functional block diagram ..................................................... 11
6.2 Outputs 1, 14, 16 and 17 simplified functional block diagram ................................ 11
6.3 Input simplified functional block diagram ................................................................ 12
7.0 WIRING DIAGRAMS..................................................................................................... 13
7.1 Connecting switches or push button ........................................................................ 13
7.2 Connecting NPN sensors .......................................................................................... 13
7.3 Connecting PNP sensors ........................................................................................... 16
7.4 Other connection......................................................................................................... 17
8.0 TROUBLESHOOTING .................................................................................................. 18
9.0 DIMENSION .................................................................................................................. 22
2.0 FEATURES
Buffered inputs and outputs. Outputs are buffered through the use of high speed
and high current buffers allowing the card to output the signals without using the
power from the parallel port. It can take the +3.3 or +5vdc signal from the parallel
port and deliver solid +5vdc at 24 milliamps.
Common terminal for pins 2-9 can be ground or +5vdc. Forget about grounding
problems. Easily connect your pin by using your close by ground connection. No
need to be an electronics expert to ground all your stuff. The board has a jumper
that allows you to select if the common terminal to pins 2-9 will carry a ground or
+5vdc. So if you are connecting encoders or proximity switches, you can select it to
ground. If you are connecting Gecko drives or limit switches, you can set It to be
+5VDC.
External Enable Pin (EN). The board has a pin that allows you to enable/disable all
the outputs at once. The board requires +5vdc in the EN pin. If it is not present, it
will send all the outputs to ground. You can use this to enable or disable the system
manually, or you can install an external Safety Charge Pump or other external
safety monitoring device.
Works directly with popular CNC hardware and software. Such as Gecko drive
or Leadshine, and parallel port control software, such as mach2, Linux EMC, Turbo
CNC, and others. (Not all tested).
All TTL 5VDC signals. Interface directly with parallel port interface products and
other CNC4PC cards. 5VDC (TTL) cards are very common among automation
devices.
Screw-On connections for all terminals. You only have to screw-on the wires to
make all your connections.
*Time passed since a low in the ENABLE input is detected and the outputs are disabled
Requirements:
WARNING
Check the polarity and voltage of the external power source and connect the 5V and
GND. Overvoltage or reverse-polarity power applied to these terminals can cause
damage to the board, and/or the power source.
This board takes advantage of Mach ability to send a specific frequency through one of
the pins of the parallel port when the program is in control of the system. CNC
machinery can be very dangerous, and you could have a risk of the machine doing
something different that what you intend the machine to do if the program loses control
of your system. Mach be can be programmed in a way, so when it is “in control”, it
delivers a 12.5 KHz signal through one of the pins. This card lets you use this signal to
work as an On/Off switch for your system, enabling a powerful safety system for your
equipment. If you ever had windows crash on you, then this card is for you. The port
can also do weird things while the system is coming up, or down.
For Configuring the Charge Pump in Mach X: Use the dialog Config / Ports and
pins / Output Signals. Enable the Charge Pump output and configures it as is shown in
the Fig. 8 Next, press the apply button.
Note: When the Safety Charge Pump is activated, the EN terminal is active and a valid
SCHP signal is present, pin 17 will go high. This high signal can be used to enable
other external devices, such as enabling other Breakout Boards, or relays that would
enable servos, VFDs, contactors etc….
This function lets you control your spindle with step and direction signals, as if it was an
axis motor. It converts the step signal into an analog (0-10VDC).
A Variable Frequency Drive or Inverter works by modifying the frequency for AC motors.
Most of these devices with an external analog signal (0-10VDC). That is, if there is 5VDC
coming into through the control signal, the motor will run at 50% of full speed, if there was
10VDC, the motor will run at 100% of full speed. If there is no signal coming out, then the
motor will stop.
This function can also be used on many DC motor controllers by replacing the
potentiometer that controls the speed.
Requirements:
It requires a +12VDC@ 20mA power supply to operate.
WARNING: To keep the output signals optoisolated, these must not have
common ground or connections to current with other circuits you are using.
You will require a voltmeter to fine tune your system
Before connecting anything, please be sure to read your VFD’s manual and make sure you
understand all the safety issues.
It is strongly recommend you read your control software’s manual. You need to
configure your control software to control the spindle as if it was an angular axis. This
card requires a 25 KHz input signal in the pin 14 to deliver 10VDC. So you have to set
the speed of the motor (spindle) at maximum. For acceleration values adjust them to
where you feel comfortable. Keep in mind the acceleration of the motor must also be
set in your VFD.
2. Go to Config / Ports&Pins / Spindle Setup. In the motor control box, check Use Spindle
Motor Output and Step /Dir Motor. Under Pulley Ratios set the pulley ratios of the
machine.
3. Go to Config / Motor Tuning / Spindle. On Steps per unit put 1,000, set velocity to
Maximum. For Acceleration, choose the acceleration that you feel comfortable with.
Start slow, increase acceleration as you test your system. Under Step Pulse length, use
a number from 3 to 5, but start with 3. This number is directly proportional to the final
voltage you will get in the analog output. Use this number and the fine tuning pot to
adjust the voltage you want to get at max speed.
Step 1 Ensure that all external power sources are set to OFF.
Step 2 Connect the power supply to the Power Inputs Connectors (X1).
Step 4 Connect a voltmeter in the analog outputs connectors (X2) and make and fine
tune this output:
Mechanical relays are very flexible because they can be used for AC or DC and come
with NO and NC (Normally Open and Normally Closed) positions. Relays are
independents, one reacts to Pin 1 and the other one to Pin16 and that both can be used
at the same time. The relay specification are showed in the below table.
1-2: COM= 5V
2-3: COM= GND
The card must be provided with a 5VDC signal to enable operation. This feature has
been added to externally control the status of the outputs. An external switch or a Safety
Charge Pump can be added to provide the enabling signal. When the enable signal is
not present, output signals sent high impedance state. If this function is not required, an
jumper can be placed between +5vdc and the EN terminal. It has an internal 4.7kOhm
pull-down resistor.
WARNING: This card must have the power supplied while it is connected to the
PC. If power is removed to the card while it is connected to the PC, noise can be
Parallel Port coupling is done following IEEE 1284 standard recommendation. The
indicator led is driven by a different buffer.
Fig. 2 Simplified functional block diagram for the outputs 1, 14, 16 and 17.
The “Internal Enable” is the result of an AND Operation between the “External Enable Pin”and
the SCHP operation mode selected by the user.
Note: The output will be deactivated if the board is not connected to the PC parallel
port.
Pins 10, 11, 12, 13 and 15 can be set to pull-down or pull-up by selecting the
jumper in the appropriate position.
The input pins can be set to be pulled up or down with a 4.7Kohm resistor
1-2: PULL-UP
2-3: PULL- DOWN
Note: The below wiring diagrams are an example, any input can be used for the
connections.
Note. The bellow wiring diagrams require setting the inputs to use pull-down resistor.
Fig. 9 Wiring diagram to connect in parallel NPN open collector proximity sensors
Some NPN proximity sensor has a pull-up resistor (R1) internally. It is necessary to
know its value in order to connect safely the sensor with the BOB. Follow this
recommendation:
Where:
VEX is the external power supply voltage
V is the voltage across the R resistor
An external resistor and a voltmeter are required to calculate the internal resistor (Rx)
value.
Note. The user should know the R value to do this operation. A 4.7KOhm @ 1/2W
is recommended.
SAMPLE: if you are using a 12V power supply (VEX), and using a 4.7KOhm as
external resistor (R), then the voltage across R should be 6V, using the equation
1, the Rx value is 4.7KOhm.
http://cnc4pc.com/Tech_Docs/E_STOP_N_SCHP.pdf
8.0 TROUBLESHOOTING
SYMPTOM 1: THE BOARD DOES NOT RELAY THE SIGNAL.
- The board does not like the - Play with the active low status of the pin
waveform it is getting. Some used for the frequency.
breakout boards could invert the
signals or modify the pulse width.
- The EN terminal (Enable Outputs) is - Make sure you are providing +5vdc to
not enabled. The board requires to be the EN terminal. This +5vdc can be
externally enabled. taken from the terminal next to it.
- The Safety Charge Pump is not - Start by disabling the SCHP. Enable it
configured. The Safety Charge Pump and configure it once your system is
can either be configured in the control setup.
software or disabled by moving the
jumper to the disable position.
- The parallel cable is not well - Check if the parallel port is well
connected to the PC parallel port. connected to the PC.
- The board could be underpowered. - Make sure you are using a +5vdc
400mA power supply.
- There could be a short that could be - Check that there are no hot spots in the
draining the power to the board. board or it’s connections.
- A chip may have gone bad. These - These chips are inexpensive and readily
buffers could act as fuses for the available. You can order them here:
signals, and they can go bad because http://www.cnc4pc.com/Store/osc/index.ph
of noise spikes or even strong static. p?cPath=38_43.
- There could be a problem with the - Test this with a different PC or parallel
parallel cable or parallel port. port.
DISCLAIMER
Use caution. CNC machines can be dangerous machines. Neither DUNCAN USA, LLC
nor Arturo Duncan are liable for any accidents resulting from the improper use of these
devices. This board is not a fail-safe device and it should not be used in life support
systems or in other devices where its failure or possible erratic operation could cause
property damage, bodily injury or loss of life.