Download MACH2 / 3 software is developed by the U

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Pulse-width modulation wikipedia , lookup

Fire-control system wikipedia , lookup

Computer program wikipedia , lookup

Variable-frequency drive wikipedia , lookup

Manchester Mark 1 wikipedia , lookup

Automation wikipedia , lookup

Resilient control systems wikipedia , lookup

Distributed control system wikipedia , lookup

Control theory wikipedia , lookup

Opto-isolator wikipedia , lookup

Control system wikipedia , lookup

Transcript
MACH2 / 3 software is developed by the U.S. ArtSoft ordinary PC-based CNC
machine control software, its extensive control capabilities are being recognized
around the world, CNC enthusiasts.
Mach3 is a flexible machine tool design software, which can be controlled milling
machines, lathes and other machine tools, machine tools and computers running
Mach3 between the majority of connections are achieved through the computer's
parallel port, a parallel port on a simple machine to meet the requirements and
complex machines requires more IO port.
Mach3 input and output signals are binary digital (ie, 0 and 1), input signal is input
through a parallel port added to the voltage, the output signal is the output voltage
on the pin-pin, voltage measurement is based on the size of the computer 0
V-line-based (0 volt line connected to the connector pins on the pin, No. 18-25).
18-25 pin parallel port pin number is next to 0 volt power supply connected to the
computer all the input and output signals are related with this, if you are connected
to the above, a number of long wires, while the computer is in the input to the motor
than high-current wire next to the work, connected to the parallel wires above,
there will be current flow and generate voltage, this voltage would interfere with the
computer signal input and output and may lead to errors, and may even cause your
computer not work.
Through a parallel port connected to the Mach3's axis and spindle drives are
generally in the 30-240 volts to work, they are capable of producing several
amperes of current, the correct connection does not cause harm to the computer,
but if the computer motherboard will short-circuit burn, and even CD-ROM drive and
hard drive will be burned. The MACH parallel port interface board for the NC
software design and development, mainly to improve the signal transmission of the
anti-interference and ensure the operation of computers and software, to provide
input and output interfaces, rich IO port function.
1, providing 12 Lu OC (open collector assembly mode) output, a total of 12
opto-isolated ground signal input.
2, all input and output signal instructions.
3, single-voltage 13 - 24VDC (other voltages required to customize).
4, the computer parallel port to all output signals by the Schmitt trigger shaping,
digital signal transmission to improve anti-jamming.
5, using the MACH2 / 3 parallel port control software, general PC for industrial
control applications possible.
6, for less than the number of the computer parallel port IO to increase the
three-axis six separate limit switch input IO port.
7, with all the step pulse and direction signals, supporting the use of servo drives,
control lathe, milling machine to CNC operation.
8, the input can be external mechanical switch, slotted optocoupler, proximity
switches, etc. on the knife.
9, interface board P1-P17 signal and the computer parallel port signals 1-17 pin-one
correspondence, parallel port pin to power ground 18-25.
10, through the parallel port P1, P16 two-way solenoid control relay outputs can
control the machine tool cooling pump, lubricating oil pump.
11, for MACH in the P17 population PUMP charge pump solid-state relay outputs can
control all the way to improve the safety of machine operation.
12, through the port P14 to provide precise 0-10V analog voltage spindle speed
control signal, you can control the frequency spindle speed and stability.
13, Dimension 170mm * 115mm, positioning holes 119mm * 101mm.
The composition of NC Machining System
The design of the workpiece general use computer-aided design (CAD) and
computer-aided manufacturing (CAM) or a computer of its
He programs (1), the workpiece program's output is usually in the form of G code
(via network or floppy disk) (2) transmitted to the machine tool control system
(3), machine tools read G code control system and control tool. Machine Tool (5)
The servo motor or stepper motor traction screws, gear, belt driven. Machine tool
control system signals are drive (4) larger, so that real-time control system can
effectively control the power.
We have already introduced the situation of CNC milling machine, digital control
machine tools can also include planer, plasma cutting machine or a laser cutting
machine and so on, we also offer other Mach3 manual to introduce how to control
lathes, vertical drilling machine and so on. Machine tool control system can control
spindle motor start, stop (or even speed), you can control the coolant close the
opening, but also to prevent the program due to error or machine parts workers (6)
improper operation due to the more limited tool. Machine tool control system also
includes buttons, keyboard, potentiometer knob, electronic hand wheel (MPG),
joystick and other control devices, the operator can manually control the part
program start and stop, the operator can also control the display see the running
processes. G code program to control the shaft to do the complex coordinates of
movement, so machine tool control system must be able to carry out a large
number of real-time operations (such as thread cutting numerical control system to
be carried out when a large number of trigonometric equations), which also makes
machine tool control system into a CNC machining expensive system components.
Software Settings
MACH3 detailed installation and set up please refer to the documentation MACH3
This note is based on MACH3 REV1.84 set an example to set a trial version. Other
versions may be slightly different, please refer to the specific release notes.
MACH_CNC plate preparation Mach3
Set the machine to run unit
Click Configuration (Config) pull-down menu to set the unit (Setup Units) definition
of units
If you have the unit is defined as the driving mechanism of the unit, computing
process becomes a little simpler, so if you screw is metric, you should be defined as
units of millimeters. The case of the British units should be defined as inches.
Defining the Interface Address
If you only need to use a parallel port and is a computer motherboard parallel port,
interface address is the default address that is 0x378
Stop control Estop settings
Each machine must have one or more emergency stop button (Estop), the general
emergency stop button has a relatively large red mushroom head, they must be
installed in the right position, so that when you operate the machine from the at any
location can easily click to. Each emergency stop button (Estop) must be able to
quickly secure the cessation of all movements in the machine, press the emergency
stop button (Estop) spindle to stop rotating cutter stopped moving, the control
process can not have the software delay, so a relay and current contactors. Press
the emergency stop button (Estop) circuit will produce a special force signals and
transmitted to the Mach3, through the emergency stop button (Estop) to cut off the
AC effect is not very good, because the energy stored in the DC filter capacitor
motor rotation will allow a longer 时间. After the emergency stop you have to press
an emergency reset (Reset) machine in order to re-run, but if the emergency stop
button is locked, you must first unlock the rotating emergency stop button. No
longer after the cessation of emergency general processing of the original piece, but
you can guarantee the safety and machine tools.
Set up and click the Reset button, the LED will be flashing green.
In the interface board of the P10 portal and GND indirectly a normally open switch,
pressing the switch, in the Diagnostics ALT-7 screen can display the red LED's
instructions.
The definition of input and output signals the completion of the basic configuration,
you will use the definition of input and output signals, as well as the signal input and
output, respectively, which interface to use needles and those legs. You can also
have well defined interfaces and foot needle into the XML format file MACH
installation directory.
Sports-axis output signal
Click to motor output (Motor Outputs) label will be displayed as shown interface.
The definition of X, Y, Z axis drive, the connection interface and feet pins and select
the activation key to activate, where the definition of a three axis of motion, X-axis
pulse signal P2, X-axis direction of the signal P3, Y-axis pulse signal P4, Y-axis
direction of signal P5, Z-axis pulse P6, Z-axis direction of the signal P7, spindle
control output P14, set up is complete you must click on Apply to save the data.
Spindle Control
Mach3 be able to control the spindle in three different ways, of course, you can also
manually control the spindle.
1. Using relay or current contactor control to start the motor (clockwise or
counter-clockwise) and stop.
2. By-step or direct impulse control motor (motor for the servo motor).
3. By pulse width modulation signal control motor
MACH_CNC control panel in the main axis control mode mainly the first two kinds in
order to control the pulse frequency of 0-10V analog voltage to control the spindle
speed.
Here defines five outputs, P8 mouth Output # 1, P9 port Output # 2, P16 I Output
# 3, P1 port Output # 4, P17 mouth Charge Pump.
Here will be banned spindle relay is prohibited cutting fluid and lubricant sales
before the hook to remove fog control, motor control option spindle motor output
and Step / Dir option to hook into, Output # 1, Output # 2 for the positive and
negative spindle Control, Output # 3 lubrication control, Output # 4 cut pins coolant
control.
Here you can enter the M command, in the MACH_CNC the corresponding port LED
board will be directed.
Spindle control - M3, M4, M5
M3 can be controlled in order to process the specified spindle speed of clockwise
rotation.
M4 can be controlled in order to process the specified spindle speed of
counter-clockwise rotation.
M5 can control the spindle to stop rotating.
Cooling and lubrication control - M7, M8, M9
M7 lubricating fluid can be controlled to open relays.
M8 can be controlled to open the cooling relay.
Close relay can be controlled M9. .
Here you can enter the S command, to change the spindle speed
Can by setting DIP switches, will limit switch signal input to the computer MACH
software, ON time digital signal to allow input into the computer.
Here the limit is set parallel input signals, P11 X-axis, P12 Y-axis, P13 Z axis, when
the switch is in ON position, an external limit switch signals will also be entered into
the computer, when the switch OFF, the limit the signal is not input into the
computer, P11, P12, P13 input port can be set to other functions.
Set the axis motor parameters:
(a) calculation tool or the table moving one unit of the number of pulses required to
drive, steps per unit
(b) set the maximum speed of the motor,
(c) set the rate or speed up the rate of acceleration.
Mach3 unit pulse
Suppose screw pitch 5mm, motor is 1.8 degree stepper motor, electrical switch is
200 steps a week, a breakdown of the number of drives is set to 8 micro-steps.
Now we can by the following formula Mach3 unit pulse:
Mach3 unit pulse = 200 * 8/5mm = 320 steps
Add Button Control
If you need to achieve control over the button the machine itself (no interface,
button, case), you need to activate and define the OEM trigger pulse (OEM Trigger),
so that the signals to control OEM button.
(Start 1000, cleared 105, the feed rate of 108, feed rate -109)
Set parallel port P15 for the OEM Trig # 1
Enter the program started OEM code 1000
Then you can pick a P15-port switch, to achieve the program starts stop function,
equivalent to a computer on the Cycle Start.
How to do their own evaluation board
0-10V analog test port