Flymotion Mach3 Usb Motion Card Installation Manual
Flymotion Mach3 Usb Motion Card Installation Manual
Flymotion Mach3 Usb Motion Card Installation Manual
controller
Features:
a. Fully supporting all Mach3 versions, including the Mach3 R3.043.066 version.
c. No need to install any USB drivers,it can be used aftr plugging in the computer.
d. USB bus is the use of magnetic coupling isolation, isolation of real value, different from the general control card
optocoupler input and output, do high reliability, absolute guarantee the safety of the computer USB. At the same
time to ensure that the strong anti-interference ability of EMC.
e. The single chip, the system stability is more streamlined, dual core chip processing generally incomparable
f. Dual core ultra - high speed CPU (the maximum single core frequency 204MHz), operation processing ability has
great redundancy, and ensure the realization of four axis linkage under750KHz frequency of the pulse output, 6 axis
pulse output frequencies up to500kHz, connected to the servo / step
g. Motion control buffer size can be set and ensure the fast interpolation cycle can stable operation,
computer running overload can also smooth operation and interpolation cycle adjustable, can adapt
to a variety of differentneeds.
h. Has 16 input port, input interface more simple, port of wet and dry contact can be, wiring is simple,
dry contact method for as long as the external connected to a physical switch to the wire can be, all
16 input port are indication signal, for low power usually indicating lamp is bright, debugging
simple and clear.
i. With 6 output ports, a single output drive capability of 170mA max, can be directly driven by DC
relay.
j. The PWM speed output port can be set, the frequency of PWM, pulse width 0~1000 continuously
adjustable.
k. With the function of the speed, the actual speed of the spindle in the Mach3 interface, real-time
display, accurate and stable measurement.
l. With 256 bytes of NVRAM space, can save the coordinates of the 6 axes, the next power without
the need to find the mechanical origin.
m. The circuit board is made by the engineer, the design level is clear at a glance.
FlyMotion mach3 USB CNC
controller
Directories
1. Basic connection diagram (an Overview)................................................................................................ 3
2. Mechanical dimensions diagram...............................................................................................................4
3. Prepare Mach3 software.............................................................................................................................5
a. Installing the motion card plug-in........................................................................................................ 8
b. B.Setup for Mach3............................................................................................................................... 9
c. Mach3 axis config............................................................................................................................... 9
d. Axis Move direction change.............................................................................................................. 10
e. Setup the input singles....................................................................................................................... 11
f. Setup the Output signals..................................................................................................................... 11
4. Hardware installation of motion control card PIN function description....................................................13
1) 6Axis Output Port..............................................................................................................................13
2) input terminals (Port Input) pin function description........................................................................ 14
3) Output terminal (Port Out) pin function description......................................................................... 15
5. Input port wiring instructions.....................................................................................................................17
6. 6 way control output pin position diagram................................................................................................ 17
7. External power knob.................................................................................................................................. 19
7. Spindle speed PWM analog output............................................................................................................21
8. Probe connection........................................................................................................................................25
9. MPG Setting................................................................................................................................................26
a. Software configuration.......................................................................................................................26
b. MPG soft mode:(no longer use)...................................................................................................27
c. MPG hard mode................................................................................................................................. 28
10. Using NVRAM..........................................................................................................................................29
11. Advance Setting....................................................................................................................................... 29
1. use INPUT pin to call a M Code run................................................................................................. 30
2. change the STEP and DIR pin order..................................................................................................31
3. change CS pin function......................................................................................................................32
4. offline MPG work function................................................................................................................32
5. FlyMotion CNC controller support Step/Dir Motor as spindle......................................................... 33
FlyMotion mach3 USB CNC
controller
1. Basic connection diagram (an Overview)
FlyMotion mach3 USB CNC
controller
Width: 120mm
Height: 35mm
FlyMotion mach3 USB CNC
controller
This card is a Mach3 USB interface 3/6 axes external motion card。
Unzip the nMotion.zip, copy or drag nMotion.dll into your Mach3\PlugIns folder.
Note: Download the latest version of plug-in(nMotion.zip)
Start the Mach3 software, a dialogueof "Motion Control Hardware PlugIn sensed!!"is shown. Please
The Mach3 Menu => Config => Homing/Limits dialog Axes if you have a MPG ,please let “Reversed” as
“X” .
There are 16 general-purpose input channels. The channels number is from 1 to 16 ,Port Number is 2.
Suggest Active Low ="" (Set Low signal Level for Inputs)
There are 8 general-purpose (open-drain) output channels, The channels number is from 9to 16 . Port Number
is 2.
Suggest Active Low =" " (Set Low signal Level for outputs)
FlyMotionmach3 USB CNC
controller
FlyMotionmach3 USB CNC
controller
9 IN8
10 IN9
11 IN10
12 IN11
13 IN12
14 IN13
15 IN14
16 IN15
17 IN16
Voltage output or
PWM
16 O9
The card need 12~30V DC power to work, has installed a power module, the maximum output power
of up to 1A
All output, including 6 axis pulse / output / control output / spindle speed output, USB
connection after the default output impedance. In the Mach3 after the start level is controlled by Mach3,
suggested that all the output signal in Mach3 is set to low level effective.
FlyMotionmach3 USB CNC
controller
5. Input port wiring instructions
There are 16 input port ,can use NPN , or Contact switch
NPN type low level output mode, O9~15 have the maximum drive current 170mA. FWD+ and
FWD- 50mA max.
FlyMotionmach3 USB CNC 6 ptocoupler isolated output
controller
FlyMotionmach3 USB CNC
controller
There are two kinds of application modes of analog quantity input: 1 absolute value model, 2 increment
value model
As follows:
The absolute value of FRO%, SRO%, Jog% under the mode of the value of a linear relationship with the
AI, AI level is higher, the greater the value of the correspondingrate.
Incremental value mode FRO%, SRO%, Jog% value with the relative change in volume changes, mainly
referring to the last moment of external AI voltage value and present current AI voltage value
comparison, if the voltage is relatively higher, corresponding to the rate value is increased, otherwise
reduce.
General incremental value model.
FRO% (feed rate of F). SRO% (spindle speed ratio), Jog% (dynamic magnification) set external rate
"ExtA1" or "ExtA2
FlyMotionmach3 USB CNC
controller
After the completion of the configuration, click "OK"". Rotation rate knob Mach3 interface corresponding to the
SRO%, FRO% numerical immediately change.
Rotation rate knob, Mach3 interface corresponding to the Jog Rate% Slow value immediately change.
In absolute value mode will be more of a button, used to set the initial voltage of low level and high level at the
end of the voltage, such as external input voltage range is 0.5V~2.5V, to rate value by the change of 0-300, low
starting level voltage is 0.5V, the high level end voltage 2.5V. Click on the "AdvanceSet" the following dialog:
And a filtering coefficient, filter coefficient is small, rate value response faster, smoothing less, whereas response
is slower, the change was more smooth. Generally do not move, set to 10~20 can be.
FlyMotionmach3 USB CNC
controller
AI input port as shown below, not marked red terminal 4.4V about power, this power only potentiometer power
supply, please don't external use.
Click on the main menu "config" = > "port and pins into the spindle spindle setup settings, tick the" use spindle
motor output. In Freq. PWMBase, there is no need to fill in the required frequency. PWM frequency in the
nMotion configuration page processing.
Spindle PWM (pulse width modulation output frequency in the Mach3 menu Config=>Config plugins into
plugin control and selection of activation nMotion CNC Controller card , click on the "config" after USB card
configuration dialog.
FlyMotionmach3 USB CNC
controller
Mach3 menu " Config=> Spindle Pulleys ", enter " Pulley Selection "
FlyMotioncontrol card of the speed of the input interface schematic (no need to use )
VDD_5V C49
104 GND
VDD3V3 R91 220R SPEED_IN+
U20
8 1
R92 VCC LED-RED/0805
4.7K 7 2 R93
D22 4.7K
6 3
5 4 SPEED_IN-
HCPL-0600
GND
FlyMotionmach3 USB CNC
controller
FlyMotionmach3 USB CNC
controller
8. Probe connection
FeedCurrent = GetOemDRO(818) 'Get the current settings, OEM DROs (818)=Feedrate DRO
ZCurrent = GetOemDro(802) 'OEM DROs (802)=Z DRO
GageH = GetOEMDRO(1002) 'OEMDRO(1002)=Gage Block Height ZNew = ZCurrent - 20 'probe
down 20 mm
Code "G90F100" 'slow feed rate to 100 MM/MIN
Rem Code "G4 P1" 'Pause 1 second to give time to position probe plate Code "G31 Z" &ZNew
While IsMoving() Sleep(10)
Wend
Call SetDro (2,GageH) 'DRO(2)=Z DRO
FinalMove = GageH + 10
Code "G0 Z" &FinalMove
Code "F" &FeedCurrent 'restore starting feed rate
FlyMotionmach3 USB CNC
controller
9. MPG Setting
MPG use the input pin IN15 and IN16 , connect to Encode A and B signal. If you use a full function MPG
1 +5V 9 Encoder A
2 10 Encoder B
6 X1 14 Y axis SEL
8 X100
a. Software configuration
Mach3 electronic hand wheel configuration, as shown below: (Config => Ports and Pins)
FlyMotionmach3 USB CNC
controller
Press “Shuttle Mode” button, Shuttle Mode LED is off, the MPG woke on Soft mode.
Press “Shuttle Mode” button, Shuttle Mode LED is on, the MPG woke on Hard mode.
If your MPG have a white button as Enable, please hold the white button all the time when you use the
MPG to control the machine.
1. MPG Mini Step, in “X1” ,the MPG 1 step need to move a short distance, this need to set the “Config
Plugins” , and there is a setting like this , “MPG Set” ->”Min Step”.
This only work when mach3 is in stop statue,M901~M916 is write by your self.
FlyMotionmach3 USB CNC
controller
You can change the X axis step to any pin of XS,XD,YS......CS,CD. Use this
configure function.
FlyMotionmach3 USB CNC
controller
CS pin of step and dir prot can set to Step or DIR out for Motion axis ,or as spindle step out.
If you want to use MPG to control machine to move with out start the computer,you can use this function
,set all the configure as your machine work,and then,select the function, press “OK”button, some data will
write to FlyMotion card.and then the nest time , you no need to open the computer, you can also use MPG
to move axis.
This can only work when your MPG ESTOP button was press down,or your MPG have no ESTOP button.
FlyMotionmach3 USB CNC
controller
When you select to use Step/dir Motor like this above, the spindle speed control by step speed, if CS
function is not set to spindle mode, ‘O9’ will be the step pin for spindle, ‘O10’will be the direction of
spindle.
FlyMotionmach3 USB CNC
controller
And us ‘CS’ function as Spindle mode, ‘CS’ will be the step pin for
spindle. ‘CD’ will be the Dir pin for spindle.
"Step per" refers to the number of pulses required for each rotation of the
spindle. This is different form X,Y,Z or A,B,C axis. And Acceleration of
spindle also need to set.