Home
HyCNC-6L(6 Axis)USB Motion Control Interface
Contents
1. dai th di If changing Enable by software is not required put no X on OffLine gt Step Enable and the Enable output s polarity is set by Step Enable Negated Put X on it to set the output high impedance Remove X to set output driven low If changing Enable by software is not required put X on OffLine gt Step Enable The OffLine button on the main interface page is used to control the output When OffLine is not engaged put X on Step Enable Negated to set the output high impedance and remove X from Step Enable Negated to set output driven low When OffLine is engaged put X on Step Enable Negated to set the output driven low and remove X from Step Enable Negated to set output high impedance The jogging can be used to test axis settings Press TAB key on the keyboard to show jogging window as the following figure First make sure Mach3 is not in RESET state by checking RESET button on the lower left corner not flashing red green box If Mach3 is in reset state click on RESET button to release the 26 HyTechWorks 2013 V3 d reset state a steady green box encapsulate RESET Press X and X in the jogging window to check X movement Press Y and Y to check Y movement Press Z and Z to check Z movement and press A and A to check A movement if fitted ee ee rd Wizards j Last Wizard Wizarde ach3Mill The jo
2. BOOL HyCNC SetMovement HANDLE hUsb LPOVERLAPPED olp double points unsigned char axis unsigned short num HyCNC 6L generates interpolated stepping pulses with 1ms time base HyCNC SetMovement sends the motor 1ms based movement vector data to HyCNC 6L through USB hUsb the handle of the HyCNC interface olp pointer to OVERLAPPED structure see FileWrite Visual C function for overlapped I O access points pointer to the vector data The vector data is organized in xO yO z0 a0 bol co x1 I y1 z1 a1 b1 c1 x2 lly2 22 a2 bal c2 order axis number of axis in vector num number of vectors in data no more than num return by HyCNC_GetStatus If the function succeeds the return value is true Otherwise it returns false BOOL HyCNC_PurgeMovement HANDLE hUsb HyCNC_PurgeMovement clears all pending movement data in HyCNC 6L so that stepping pulse can be stopped immediately hUsb the handle of the HyCNC interface If the function succeeds the return value is true Otherwise it returns false HyTechWorks 2013 V3 63 BOOL HyCNC_SetCoordinate HANDLE hUsb int coordinate int mode HyCNC_SetCoordinate manipulates coordinate counters in HyCNC 6L hUsb the handle of the HyCNC interface coordinate pointer to 4 element coordinate array that used to modify the coordinate counters mode pointer to 4 element mode array that defi
3. The first stage speed is defined by Home Speed in plugin s config Operate Mach main menu Config gt Config Plugins HyTechWorks 2013 V3 35 PlugIn Control and Activation Enabled Plugin Name Flash FlashScreen SWF PlugIn A Fenerty B B WeCH 4L V2 0 HyCNC 4P V1 0 HyCNC BL V2 0 J oyS tick J oySti ck PlugIn r t Fener ty Ver 1 Oa PrinterScope Port Scope 1 00 046 TurnDi ags Turn Di ags 1 D 1 Video B Barker Ver 1 0 Click CONFIG behind HyCNC 6L and a new window shows up 36 HyTechWorks 2013 V3 J als Er 03 02 00 00 pinen Conizol end Agtiy zw oseBFF52515485497025029 Plugin Name PWM1 0 on EStop Flash FlashSered pwm2 0 on EStop HyCNC 4L V3 3 2 7 pwm3 0 on Estop HyCNC 4P V3 3 2 7 ars Stop on Touch HyCNC 6L V3 3 2 7 ars Direction Negated HyCNC BM V1 1 1 ats speed TAGA Toth San PrinterScope Por OffLine controls Step Enable ShuttlePro Contd Step Enable Negated TurnDiags Turn watchdog on Relay Video ke Homing Speed fto ADC set DRO number jo Slave Axis Offset x e o o0000 o o00000 0 000000 Jog Buffer 30 250ms en Elapsed o Cancel 1 dad th Au Set and test Home Speed It is percentage of the speed limits d v x d x x x d x d Slave Axis A B C axis can be used as slave axis for X Y Z axis by clicking on menu Config s Slave Axis item When A B C axis is used as a slave axis t
4. E period BOOL HyCNC KickWatchdog HANDLE hUsb This function send a normal working signal to USB interface The first signals enable the watchdog if it is not enabled This function needs to be called every 0 1 second If it is not called in 0 5 second the watchdog times out hUsb the handle of the HyCNC interface BOOL HyCNC CaptureCoordinate HANDLE hUsb int data int size unsigned int trigger This function captures the coordinate readings when home switches inputs or tool setting input is toggled hUsb the handle of the HyCNC interface data pointer that hold the current coordinate readings The order of the data is as the follow data 0 X coordinate reading when X homing switch input toggled if X capture trigger is set data 1 Y coordinate reading when Y homing switch input toggled if Y capture trigger is set HyTechWorks 2013 V3 65 data 2 Z coordinate reading when Z homing switch input toggled if Z capture trigger is set data 3 A coordinate reading when A homing switch input toggled if A capture trigger is set data 4 B coordinate reading when B homing switch input toggled if B capture trigger is set data 5 C coordinate reading when C homing switch input toggled if C capture trigger is set data 6 11 X Y Z A B C coordinate readings when tool setting switch input toggled if tool setting capture trigger is set size number of data to read
5. trigger capture trigger setting The trigger is reset when the input toggles bit O X capture trigger 1 sets and O has no effect bit 1 Y capture trigger 1 sets and O has no effect bit 2 Z capture trigger 1 sets and O has no effect bit 3 A capture trigger 1 sets and O has no effect Bit 4 B capture trigger 1 sets and 0 has no effect bit 5 C capture trigger 1 sets and 0 has no effect bit 31 tool setting capture trigger 1 sets and O has no effect The switch input is evaluated every millisecond The movement should be no more than 1 pulse per millisecond to achieve the best result when the trigger for that moving axis is set This function is useful for homing or tool setting The trigger is set during the homing or tool setting stage when the switch input changed the coordinate is captured Then the coordinates are read back without any trigger setting The captured coordinate can be subtracted from the current coordinate to achieve zero effect 66 HyTechWorks 2013 V3
6. Y Axis Z Axis A Axis B Axis and C Axis Most servo step motor drivers don t need to connect Enable signal to work However some require Enable to be driven to work Many CNC machines require to have the enable under control of the software so that the motor can be released to allow manual turning of the axis These conditions can be set by operating Mach main menu Config Config Plugins PlugIn Control and Activation PlugIn Name Flash FlashScreen SWF PlugIn A Fenerty B B HyCNC AL V2 0 MyCNC 4P V1 0 HyCNC BL V2 0 JoyStick J oySti ck PlugIn Ar t Fener ty Ver 1 Oa PrinterScope Port Scope 1 00 046 TurnDi ags Turn Di ags 1 00 1 Video B Barker Ver 1 0 Click CONFIG behind HyCNC 6L and a new windows shows up HyTechWorks 2013 V3 25 PlugIn Control and Activ PlugIn Name Flash FlashScree HyCNC 4L V3 3 2 HyCNC 4P V3 3 2 HyCNC BL V3 3 2 HyCNC 86M V1 1 1 JoyStick JoyStid PrinterScope Po ShuttlePro Contd TurnDiags Turn Video B Barke SA x x d x x x d x d peg Elapsed On Off FW 03 02 00 00 SN n66BFF525154854987025029 PWM1 0 on EStop PWM2 0 on EStop PWM3 0 on EStop ATS Stop on Touch ATS Direction Negated ATS Speed o offLine controls Step Enable Step Enable Negated Watchdog on Relay1 Homing Speed fio ADC set DRO number o Slave Axis Offset x Y e 0 00000C 0 000000 0 000000 Jog Buffer 30 250ms en OK
7. 2 phase step motor the rotation direction can be changed by swapping one coil s connection 3 3V HyTechWorks 2013 V3 Spindle Control Pin No Function 1 Switching output 2 mapped to Mach Port 1 pin 4 2 3 3V 3 PWM2 duty cycle can be controlled by M101 4 3 3V 5 Switching output 1 mapped to Mach3 Port 1 pin 3 6 PWMS3 duty cycle can be controlled by M102 7 PWM1 duty cycle is proportional to spindle speed 8 Switching output 3 mapped to Mach3 Port 1 pin 5 9 Ground 10 EStop input mapped to Mach3 Port 1 pin 12 PWM1 PWM2 and PWM3 have same base frequency 0 017 100000Hz adjustable by software Each output can be used to drive 15mA push and pull capable to drive an optical coupler Relays There are 3 relays on board Their controls are mapped to Mach3 port 1 pin 0 2 When the port pin is off relay contacts 2 and 3 are connected When the port pin is on relay contacts 1 and 3 are connected Analog Input There is 1 analog input connector Pin 1 is 5V Pin2 is analog input and pin 3 is ground OV input result O reading and 3 3V input result 4095 full scale reading HyTechWorks 2013 V3 5 AUX Function Aus Function connector provides the following signals Pin No Function 1 13 GND 2 14 5V 3 5 7 8 9 11 3 3V 4 C axis direction 6 C axis pulse 10 B axis pulse 12 C axis direction B C axis signals have
8. 70 on C axis at the same time After edit the script save it to the system by operating menu File gt Save Clicking REF ALL HOME can run the saved script If the homing needs to be run from a GCode file save above script to a mXXX mis file ie m299 m1s under Mach3 Macros Mach3Miill directory Detail settings are described below Operating the main menu Config Ports and Pins and click on page Input Signals Put green ticks in X Home Y Home Z Home A Home B Home and C Home row s Enabled column if homing is required on X Y Z A B C axis Their Port is 1 Pin Number is 2 5 10 11 respectively Put green ticks on Active Low column The click Apply and OK to close the window HyTechWorks 2013 V3 33 Engine Configuration Ports amp Pins Encoder MPG s Spindle Setup Mill Options Port Setup and Axis Selection Motor Outputs Input Signals utput Signals Signal Enabled Port Pin Number Active Low Emulated HotKey Z Home d 1 4 Zd xr An x 1 0 x x 0 x 1 x x 0 A Home d 1 5 Ti x 0 BH x 1 0 x x 0 B x 1 0 x x 0 B Home d 1 10 d x 0 CH x 1 0 x x 0 ET 0 x 0 C Home d 1 1 d x 0 3 E Dei Dei ma Pins 10 13 and 15 are inputs Only these 5 pin numbers may be Automated Setup of Inputs Then operating the main menu Config gt Motor Home SoftLimits For the axis equipped with a zero switch that requires auto zero process put a green ti
9. Direction Negated PO ET 1 1 ATS Speed es JoySti ck JoySti c PrinterScope Por OffLine controls Step Enable ShuttlePro Contd Step Enable Negated TurnDiags Turn watchdog on Relay Video ke Homing Speed fto ADC set DRO number jo Slave Axis Offset x e o o0000 o o00000 0 000000 Jog Buffer 30 250ms en ERE Cancel On off ADC set DRO number is use to set the OEMDRO number that can be used in MACH3 to read the ADC input The number needs to be in range 1000 2255 A RA NCRCRCA NA Elapsed 1 haita th din Mach3 Watchdog Configuration A software watchdog can be enabled to monitor the proper running of the Mach3 Operate the main menu Config gt Config Plugins 52 HyTechWorks 2013 V3 Plugin Control and Activation Enabled Plugin Name HyCNC_AL V2 0 Flash FlashScreen SWF PlugIn A Fenerty B B MyCNC 4P V1 0 HyCNC BL V2 0 JoyStick JoyStick PlugIn Art Fenerty Ver 1 0a PrinterScope Port Scope 1 00 046 TarnDi ags Tarn Di ags 1 00 1 Video B Barker Ver 1 0 Then click on CONFIG box behind the HyCNC 6L HyTechWorks 2013 V3 53 J ales Er 03 02 00 00 pinen Conizol end Agtiy zw oseBFF52515485497025029 Plugin Name PWM1 0 on EStop Flash FlashSered pwm2 0 on EStop HyCNC 4L V3 3 2 7 pwm3 0 on Estop CH 4P V3 3 2 7 amp 5 Stop on Touch HyC
10. If your hardware came with an installation CD EP or floppy disk insert it now What do you want the wizard to do O Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue HyTechWorks 2013 V3 11 Select Don t search will choose the driver to install then click Next Found New Hardware Wizard Please choose your search and installation options O Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed Search removable media floppy CD ROM Include this location in the search E 9 Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware PC will show suitable drivers Select HyCNC 6L USB Interface then click Next Found New Hardware Wizard Select the device driver you want to install for this hardware Select the manufacturer and model of your hardware device and then click Next If you have a disk that contains the driver you want to install click Have Disk Show compatible hardware Model HyCNC USB Interface HyCNC 4P USB Interface N This driver is not digitally signed Tell me why driver signing is impor
11. Incorrect firmware may cause malfunction and damage Look in Se Removable Disk E My Documents My Computer Files of type FBL Files fb EN Cancel File name eene a fbi Y Open as read onl cm p x Firmware update process starts a window pops up to show the progress HyTechWorks 2013 V3 55 i HyCncFlash V1 0 When firmware update process finishes the following window pops up Click OK Flash update sucesses When the firmware update process runs the first time on a PC HyCncFlash exe can t run properly because the firmware update USB driver has not been installed The following failure windows will appear It is normal Click OK to end HyCncFlash exe Fail to connect to HyCNC FBL device Exit Flash process New Hardware Wizard window pops up Click Yes this time only and Next 56 HyTechWorks 2013 V3 Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software Yes this time only Yes now and every time connect a device O No not this time Click Next to continue Then click on Install from a list or specific location and Next Found New Hardware Wizard This wizard helps you
12. Volts Conti Torch Auto Of The ratio between PWM1 s duty cycle and spindle speed is set by operating the main menu Config Pulley Selection Min Speed is for 0 duty cycle and Max Speed is for 100 duty cycle If Min Speed is for 10096 duty cycle and Max Speed is for 096 duty cycle put X on Reversed Pulley Selection Max Speed Ratio 24000 1 Current Pulley Min Speed Pulley Number 1 Reversed The spindle operation can be tested by select the main menu Function Cfg s Spindle Calibration Put a test value in RPM box and click Spindle On Off button to start spindle When spindle is rotating the PWM1 duty cycle is shown in Control Ratio box Click click Spindle On Off button to stop spindle and the Control Ratio box shows 0 HyTechWorksO 2013 V3 29 Spindle Calibration and testing Se 3 Spindle Speed AutoCal 0 25 Defaults 1 0 3 Update PID Pulses Per Revolution Zero if 1 per rev Control 10000 RPM 0 00 1 Pulley Number Control Ratio 0 4167 OK PWM 2 s duty cycle can be set by using a M code i e M101 Create a new text file called m101 m1s under Mach3 Macros Mach3Mill directory Fill the following content by a text editor and save Declare Sub PWM2 SetDutyCycle Lib HyCNC_6L ByVal duty As Double PWM2 SetDutyCycle Param1 PWMA2 SetDutyCycle is a function declared in HyCNC 6L DLL It takes
13. a double input value between 0 0 1 0 that controls the PWM 2 s duty cycle Such value is provided by P parameter of M101 code via Param1 To test this M code click on page MDI of the Mach3 s main interface Type M101 P0 3 on the MDI input box and check 30 duty cycle output on PWM2 This M code can be used in GCode file TAP as well Same can be set for PWM3 with following script saved to m102 m1s Declare Sub PWM3 SetDutyCycle Lib HyCNC 6L ByVal duty As Double PWMS SetDutyCycle Param1 30 HyTechWorks 2013 V3 Nach3 CHC Licensed To Ivan Iodosijevic File Config Function Cfg s View Wizards Operator PlugIn Control Help Program Run Alt 1 J MDI Alt 2 Tool Path Alt 4 Offset o Scale zx of m Scale NENNEN 0 0000 ou pamm Jog ON OFF Ctrl Alt J Reset M Homing Soft Limits The homing process is divided into 2 stages The first stage is to seek the home switch with the speed of GO speed s predefined percentage Home Speed in plugin s config according to pre defined direction When the home switch is triggered the moving speed is decelerated to O and the second stage starts The second stage is to leave the home switch with the speed predefined of the first stage speed towards the opposite direction The home position is the spot where the home switch changes its state again HyCNC 6L will set its internal coordinate counter according to the defined
14. control signals via API functions API consists of HyCNC_6L LIB and its header file HyCNC_6L H The latest API can be downloaded from http www hytechworks com Downloads HyCnc HyCNC 6L index e html The API has following functions Device Identification and Opening BOOL HyCNC GetDevicePathByGUID LPGUID DeviceGuid char DevicePath DWORD Devicelndex HyCncLib_GetDevicePathByGUID identifys the path of a HyCNC 6L interface by its driver GUID DeviceGuid pointer to the device GUID HyCNC 6L s GUID is d85b44d8 9469 4a4e 8d24 6ed903 bdbafa DevicePath pointer to store the device path string found according to the GUID and device index Devicelndex index to the number of the device in system list starting with O If the function succeeds the return value is true Otherwise it returns false HANDLE HyCNC_OpenDeviceByPath char DevicePath HyCncLib OpenDeviceByPath opens HyCNC 6L interface by its path obtained from calling HyCncLib GetDevicePathByGUID DevicePath pointer to the device path string If the function returns the device handle If it fails the handle is INVALID HANDLE VALUE HyTechWorks 2013 V3 61 Device Basic Information Reading BOOL HyCNC_GetStatus HANDLE hUsb LPOVERLAPPED olp HyCNC_StatusStruct status HyCNC_GetStatus reads essential status from HyCNC 6L interface hUsb the handle of the HyCNC interface olp pointer to OVERLAPPED structure
15. e3c3a7e0 e3c6a6e0 e3c7abee The firmware version and the hardware serial number of the HyCNC P cab be read by operating Mach main menu Config Config Plugins PlugIn Control and Activation PlugIn Name Flash FlashScreen SWF PlugIn A Fenerty B B HyCNC 4L V2 0 HyCNC 4P V1 0 HyCNC_6L V2 0 I oyS t ick oySti ck PlugIn r t F enerty Ver 1 Da PrinterScope Port Scope 1 00 046 TurnDiags Turn Di ags 1 00 1 Video B Barker Ver 1 0 Click CONFIG behind HyCNC 6L and a new windows shows up HyTechWorks 2013 V3 19 MEM N TEM FW 03 02 00 00 Engin Control end Actiy E oseBFF525154854987025029 Plugin Name PWM1 0 on EStop Flash FlashSered pwm2 0 on EStop HyCNC 4L V3 3 2 7 pwm3 0 on Estop CH 4P V3 3 2 7 amp 5 Stop on Touch HyCNC 6L V3 3 2 7 ars Direction Negated IGCKC S Vi 1 1 ATS Speed p JoySti ck JoySti c PrinterScope Po offline controls Step Enable ShuttlePro Contd Step Enable Negated TurnDiags Turn watchdog on Relay Yi deo B Ee P berke Homing Speed 1o ADC set DRO number jo Slave Axis Offset x Y zZz o 00000c o o00000 0 000000 Jog Buffer 30 250ms en mm Cancel Onoff FW is the firmware version and SN is the hardware serial number A RA NCRCRCA NA Elapsed l 1 haita th is Relay Output Config Note Relay1 can be used as the indication
16. install software for HyCnc USB Bootloader D If your hardware came with an installation CD EP or floppy disk insert it now What do you want the wizard to do O Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue Then click Don t search will choose the driver to install and Next HyTechWorks 2013 V3 57 Found New Hardware Wizard Please choose your search and installation options Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed Search removable media floppy CD ROM Include this location in the search Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware New Hardware Wizard will find the suitable driver and list it Click on HyCnc USB Bootloader and Next Found New Hardware Wizard Select the device driver you want to install for this hardware Select the manufacturer and model of your hardware device and then click Nest If you ee have a disk that contains the driver you want to install click Have Disk Show compatible hardware Model HyCnc USB Bootloader J A This driver
17. 21 090 GM O44 48 TE A Curent Position Machine Coord WokOfser Toci Offset dn ds Zee MI 0 0000 pn GE Pos 00000 0 0000 90000 1 30000 0 0000 0 0000 Ra i Pos 400000 40000 0000 40 0000 40 0000 Retz Zoos 00000 40000 00000 3400000 30 0000 Mn Reia APos 400000 0000 300000 40 0000 0 0000 Mind per 300000 0000 40000 0 0000 40 0000 wt CPOs 00000 40000 00000 40 0000 7 0 0000 Ed Bre Tie ra Spindle Toss n Port 1 Pins currert State 9 Flood Togga BR Jang omana 8 eee eee eee Pulse Frequency Mist Toggle Time in i 0 0 mm mmmmm Banded Sod 0 00 Ot Signals curent State external Bl oo m Bufar Load 0 NE E mss m A Elogas D Egt Eet Elogl Blogs MI Tei egent Queue Dem 0 Wed E Mi esmi z wu en EE Mitome j wen Coe 0 000000 Input 2 M2 Limit Mo umt M2Home j Pam Base no Ws Ru Beien BUS kott MA eli Mi Umt Men de T Z 1 0000 Datz Mer Uni Eleng a M5Home jucer indes Mrimg WEL MoHome Sege JE Lookshead 20 Bow B uoo Buc Moer D cuswe 96000000 0000 MM So Regen Jos Follow RW Serve Freq Generator Output Signals current State Tool ath on off Lei DELI mo e meo Rz EIS v N oi Mach3Miill X Y Z A Axis Setting Operate Mach3 main menu s Config gt Ports and Pins Click on page Port Setup an d Axis Selection Disable using Port 1 and Port 2 and keep Kernal Speed at 25000Hz This is only associated with PWM frequency set
18. DBE C OFIBIQ egene 20 KIU ZIS SIES dE 22 Spindle and PWM Conte 27 Homing SoftEimits REDIERE PE HP EH E 31 AE MS np IBI RR OE DB 37 Auto Tool Setting enden 39 EStopSettingi et eegene 47 ADC TT Ia 50 Mach3 Watchdog Configuration eese 52 Firmware Update eae EO EDU ee 55 Weigel ME 55 Firmware Recovery EE 60 HyTechWorks 2013 V3 LOW Level Abt oet eei PRIMI UIN III ii 61 Device Identification and Opening essen 61 Device Basic Information Reading RA RA RA ee 62 Motion Control RE Ee EE ote vere een oet eet nee aee a enn aue aea 63 Other Coritrols 3 n ERR eR neret I ae egeo e re gent 64 HyTechWorks 2013 V3 Introduction HyCNC 6L is a 4 axis machine tool motion control USB interface Its operation features are as the follows lt gt lt gt 9 o ood Connect to PC via USB port suitable for any netbook notebook desktop and tablet PC with USB ports USB kernel mode driver compatible with 32 64 bit Microsoft Windows XP Vista 7 OS Compatible with Mach3 PC based CNC software including version 3 043 066 Simultaneous connection for control axis expansion using API 127 USB device with 508 axis in theory or control of multiple machines with single PC running Virtual PC or VMWARE 6 axis linkage operation with 250KHz 250 125KHz 125 60KHz 60 30KHz 30 maximum stepping pulse frequency for each axis The polarity of the direction sign
19. HyCNC 6L 6 Axis USB Motion Control Interface Instruction Manual R ELECTI TI Vd adt LS tis yaa pumas HEISE HyTechWorks 2013 V3 Cautions HyTechWorks provides its products and services as it is HyTechworks accepts no responsibility for performance of any machine or any damage or injury caused by using its products and services All computer controlled machine tools are potentially dangerous if they are incorrectly designedor operated It is your responsibility to insure that you understand the implications of your design and build and the compliance requirements with any legislation and codesof practice applicable to your country If you have any doubt please consult qualified experts rather than take risks HyTechWorks reserves the right to change its designs without further notice HyTechWorks 2013 V3 Contents INTRODUCTION ETT 1 Mimimum System Requirements se Ge Re Be ge Ge Ge Ge Re Be ge Ge Ge Re Be ge se ee 2 Shape and Connections ss ee ipee a gere De rc e ER eg 3 USB eite meii EE etate edente 3 Step Molor CORLFOL s sesse EE Eege 4 Spindle Control EE EE tele tt 5 Relays dete ete edet resedit ede be 5 Analog Input erre ert e a erdt 5 HEH OI 6 Nr 6 die ER EE ER 6 Normal Firmware Recovery Jumper 7 USB Driver Install ee ee ee ee ee ee ee ee ee ee 8 M ltiple gel e le TEE 14 Mehr 16 HyCNC 6L PlugIns RE ren est d eR dan e reet dens 16 Relay OUI
20. NC 6L V3 3 2 7 ars Direction Negated PO ET 1 1 ATS Speed es JoySti ck JoySti c PrinterScope Por OffLine controls Step Enable ShuttlePro Contd Step Enable Negated TurnDiags Turn watchdog on Relay Video ke Homing Speed fto ADC set DRO number jo Slave Axis Offset x e o o0000 o o00000 0 000000 Jog Buffer 30 250ms en IRE Cancel Onoff Tick Watchdog on Relay1 to enable the watchdog function When Mach3 works A RA NCRCRCA NA Elapsed Pda th is properly Relay1 is engaged When Mach3 works abnormally Relay1 is released When watchdog is enabled pot setting can t change Relay1 s status As soon as watchdog is enabled it can t be disabled until USB interface s power is recycled To disable the watchdog untick Watchdog on Relay1 exit Mach3 recycle the USB interface s power and restart Mach3 54 HyTechWorks 2013 V3 Firmware Update The HyCNC 6L s firmware can be updated online by the final users for function extension and bug fix The latest firmware can be downloaded from http www hytechworks com Downloads HyCnc HyCNC_6L index_e html Normal Operation Run HyCncFlash exe to start firmware updating process First select the firmware image file that need to be programmed into the HyCNC 6L interface All firmware image files have extension of fbl Please use firmware matching to the hardware
21. THE On 0 x x x THC Up THC Down OEM Trig 1 OEM Trig 2 DEM Trig 33 DEM Trig 4 94 OE OE 2E OE OE OE OE OE OE FRE OE KA X OE EA OE E Pins 10 13 and 15 are inputs Only these 5 pin numbers may be Automated Setup of Inputs When EStop is trigged the GCode execution is stopped If 3 PWM outputs also required to stop put X on PWM1 0 on EStop PWM2 0 on EStop and PWM3 0 on EStop in HyCNC 6L Config window The HyCNC 6L Config window can be shown by operating the main menu Config Config Plugins 48 HyTechWorks 2013 V3 Plugin Control and Activation Enabled Plugin Name HyCNC_AL V2 0 Flash FlashScreen SWF PlugIn A Fenerty B B MyCNC 4P V1 0 HyCNC BL V2 0 JoyStick JoyStick PlugIn Art Fenerty Ver 1 0a PrinterScope Port Scope 1 00 046 TarnDi ags Tarn Di ags 1 00 1 Video B Barker Ver 1 0 Then click on CONFIG box behind the HyCNC 6L HyTechWorks 2013 V3 49 dd FW 03 02 00 00 Engin Control end Actiy E oseBFF52515485497025029 Plugin Name PWM1 0 on EStop Flash FlashSered pwm2 0 on EStop HyCNC 4L V3 3 2 7 pwm3 0 on Estop CH 4P V3 3 2 7 amp 5 Stop on Touch HyCNC 6L V3 3 2 7 ars Direction Negated PO ET 1 1 ATS Speed es JoySti ck JoySti c PrinterScope Por OffLine controls Step Enable ShuttlePro Contd Step Enable Negated TurnDiags Turn watchdog on Relay Video k
22. als can be defined according to requirements A B C axis can be used as slave axis 2 stage fast homing on all axis and automatic alignment between the master and slave axis during homing stage Support professional and low cost automatic tool setters Emergency stop can optionally stop PWM1 PWM2 PWM3 3 PWM outputs PWM1 for spindle speed control and PWM2 3 s duty cycle can be adjusted by M codes 3 relay control outputs 3 switching outputs Credit card size easy to install and use Online firmware updating Firmware recovery mode to eliminate the danger of firmware updating Motion control using a 32bit single chip microcontroller greatly reducing real time requirement for PC OS HyTechWorks 2013 V3 1 lt All control pulses are generated using on chip hardware eliminating motor vibration caused by control signal jitters lt Reliable design that can work under severe conditions Software watchdog monitors Mach3 s proper running lt Providing Windows API to support special control system i e motion control using LabView Windows E Mimimum System Requirements Pentium 1GHz or similar CPU i e Atom N270 512MB memory 32 64 bit Microsoft Windows XP Windows Vista or Windows OS Mach3 software o gt gt gt 2 HyTechWorks 2013 V3 Shape and Connections HyCNC 6L has essential control signals for 4 axis CNC machines The connectors PCB size and install hole locations are shown in th
23. ay1 Video B Ee P berke Homing Speed fio ADC set DRO number jo Slave Axis Offset E Y Z o o0000 0 000000 0 000000 Jog Buffer 30 250ms en Cancel d v x d x x x d x d 1 haita th is Auto Tool Setting Two commonly used auto tool setting processes are implemented One for professional tool setter one with retreatable spring loading surface and one for low cost tool setter one with hard non retreatable surface Low cost tool setter can simply be constructed by a piece of PCB board or a block of metal with isolation layer on one of its surface This kind of tool setter requires conductive tool bits forming a close circuit when tool bits touch the tool setter surface Such tool setter can be connected to HyCNC 6L s probe connector with an external resistor as shown in the following figure GND2 is the ground of 24V It is connected to the machine and tool using the black crocodile clip 1800 ohm HyTechWorks 2013 V3 39 resistor limit the current through the LED to 10 20mA when the tool touches the PCB surface The closing circuit status optically coupled to the transistor side on HyCNC 6L The GND2 and GND are isolated to each other 10K GND A professional tool setter normally has 2 wires working like a precision micro switch It uses magnets to stick on the bench top stably When the tool presses the surface down to a fix point the switch changes its status It is c
24. ck in their Auto Zero column attention A axis zero switch input shares the same input as the auto tool setting input If auto zero is enabled on A axis the auto tool setting can be enabled Home Neg column defines the location of the auto zero switch If the switch is on the negative direction seeking towards negative direction for the zero switch in the first stage put a green tick in this column Speed defined the maximum speed of the second stage as the percentage of the first stage When this setting generates stepping pulses more than 1000Hz the accuracy is also affected In this case the homing accuracy in theory is distance per step pulse frequency EE a Home Off is the machine coordinate of the zero switches its value is set to HyCNC 6L coordinate when a zero switch is trigger again in the second stage Soft Max and Soft Min define the working range of an axis Slow Zone define deceleration distance before each ends These values should be set properly according to work range to avoid mechanical collision For small CNC 34 HyTechWorks 2013 V3 machine tools using step motors zero switches with soft limits provide an effective and low cost solution for safe machine operation Motor Home SoftLimits Entries are in setup units Reversed Soft Max Soft Min 100 00 100 00 100 00 100 00 100 00 100 00 G28 home location coordinates gt ED Y z
25. e Homing Speed fto ADC set DRO number jo Slave Axis Offset al x e o o0000 0 000000 0 000000 Jog Buffer 30 250ms en Cancel A RA NCRCRCA NA Elapsed Onoff 1 haita th din When external EStop is triggered the Mach3 will be locked to stop state even external EStop is released The red RESET button continues having a green red box flashing Click on the RESET button to release Mach3 s internal stop state If the external EStop is still engaged when the RESET button is clicked the internal stop can t be released ADC Reading ADC reading can be used to read the voltage on the analog input pin Operate the main menu Config Config Plugins 50 HyTechWorks 2013 V3 Plugin Control and Activation Enabled Plugin Name Flash FlashScreen SWF PlugIn A F enerty B Bees HyCNC 4L V2 0 MyCNC 4P V1 0 CH 6L V2 0 T oySti ck J oySti ck PlugIn r t Fener ty Ver l Oa PrinterScope Port Scope 1 00 046 TurnDi ags Turn Di ags 1 00 1 Video B Barker Ver 1 0 Then click on CONFIG box behind the HyCNC 6L HyTechWorks 2013 V3 51 J ales Er 03 02 00 00 pinen Conizol end Agtiy zw oseBFF52515485497025029 Plugin Name PWM1 0 on EStop Flash FlashSered pwm2 0 on EStop HyCNC 4L V3 3 2 7 pwm3 0 on Estop CH 4P V3 3 2 7 amp 5 Stop on Touch HyCNC 6L V3 3 2 7 ars
26. e following figure g E RR e oo Limits Zeros EStop oo ao ao oo g co E S oo S ss oo z S Ve E Normal Firmware Recovery Probe Operation Mode Jumper Aux Function N Analog Input p Y 0600200 1 Ce dg gu ESE x x x x xix x x OO Y ET RLI RL2 RL3 3 2mm 74 9mm 81 3mm USB The USB connector is used to link with a PC Please use a high quality USB2 0 cable for better resistance of disturbance HyTechWorks 2013 V3 3 Step Motor Control This connect have control signals for X Y Z A axis Pin Function Pin Function No odd No even 1 A axis pulse 2 3 3v 3 A axis direction 4 3 3V 5 A axis enable 6 3 3V 7 Z axis pulse 8 3 3V 9 Z axis direction 10 3 3V 11 Z axis enable 12 3 3V 13 Y axis pulse 14 3 3v 15 Y axis direction 16 3 3V 17 Y axis enable 18 3 3V 19 X axis pulse 20 3 3V 21 X axis direction 22 3 3V 23 X axis enable 24 3 3V 25 B axis enable 26 C axis enable Step Pulses are raising edge effective Step direction is high when moving towards positive direction coordinate increasing Step enable is an open collector output with break down voltage over 30V and total driving capability of 100mA Step enable can be controlled by software It is mapped to Mach3 port 1 pin 15 B C axis signals see AUX Function Step and direction can be connected to the motor drivers with the following diagram If the motor is
27. eclare Sub AutoToolSetting Lib HyCNC 6L ByVal ctool As Integer AutoToolSetting GetOEMDRO 824 AutoToolSetting is a function define in HyCNC 6L DLL The input parameter is the tool number the green circle in above figure provided by GetOEMDRO 824 standard function Then click menu file Save When auto tool setting is required click on the tool number box the green circle in above figure Type in tool number other 0 followed by return tool O always has O offset Then put tool setter on the machine bench and jog the tool above center of the tool setter Press Auto Tool Zero to start tool setting process After tool setting is finished the box indicated by the blue arrow see above figure is updated with the measured tool length Please pay attention the new tool length won t be used immediately To use the new value either type G43 in MDI or click on page Offset of the main interface There is a button called Turn Offset on Off and a green indicator beside it If the indicator is on click Turn Offset on Off twice to use the new tool length offset If the indicator is off click Turn Offset on Off once to use the new tool length offset HyTechWorks 2013 V3 45 The tool setting script can further adapted to the machine For example if the tool setter is fixed at a location i e machine coordinate 100 50 and new tool length is always used after tool setting the script can be update as the following D
28. eclare Sub AutoToolSetting Lib HyCNC_6L ByVal ctool As Integer code G53 GO X100 Y50 While IsMoving Sleep 100 Wend AutoToolSetting GetOEMDRO 824 While IsMoving Sleep 100 Wend code G43 G53 GO X100 Y50 moves quickly to the center of the tool setter When movement is done auto tool setting is executed When setting process is finished G43 force the new tool length to be used If a manual tool change followed by auto tool setting is required from the GCode file save the following script to a mxxx mis file i e m900 m1s in Mach3 Macros Mach3Mill directory Declare Sub AutoToolSetting Lib HyCNC 6L ByVal ctool As Integer code G53 GO Z200 While IsMoving Sleep 100 Wend DoSpinStop code G53 GO X500 Y500 MsgBox Press OK after tool change 0 code G53 GO X100 Y50 While IsMoving Sleep 100 46 HyTechWorks O 2013 V3 Wend AutoToolSetting GetOEMDRO 824 While IsMoving Sleep 100 Wend code G43 DoSpinCW Call M900 in GCode execute following operations G53 GO Z200 moves the current to a safe height suitable for manual tool change Then spindle is stopped Then move to tool change located at machine coordinate 500 500 by G53 GO X500 Y500 The a window with confirm button pops up on the screen waiting manual tool change to be carried out After tool changing click on the confirmation button to continue the program The machine move
29. for Mach3 watchdog timeout status If watchdog function is used for Relay1 the port setting can s change it status Operate Mach3 main menu s Config gt Ports and Pins Then click on Output Signals page Click to put green tick on Enabled column of the Output 1 Output 2 and Output 3 row The Port is 1 Pin Number is 0 2 respectively Active Low shouldn t be set Same can be set for Output 4 Output 5 and Output 6 to Spindle Control 20 HyTechWorks 2013 V3 Connector s switching output 1 3 with Port 1 Pin Number 3 5 Active Low is set according to external circuit needs Ports amp Pins Engine Configuration Encoder MPG s Port Setup and Axis Selection Mill Options Output Signals Spindle Setup Motor Outputs Input Signals Je Enabled gt Signal ive Low Enabled Enable5 Enablef Output 1 Output 2 utput 3 Output 4 Output 45 Output 6 Charge Pump Port Pin Number 1 D c oO OO e oO br OO GO SSAAAAAA Ss OE OE OE OE OE OE OE OE OE OE NC Charge Pump2 Pins 2 9 1 14 16 and 17 are output pins No other pin x jm zm Coolant control can be used to test Output 1 and Output 2 Click on page Spindle Setup Set as the following figure for Relay Control and Coolant Mist Control blocks in which Output 1 is used to control mist and Outpu
30. g response speed can be adjusted by Jog Buffer length in HyCNC 6L plugin s CONFIG setting The smaller the buffer is set the faster response speed becomes However the larger chance of inconstant motion caused by PC OS s scheduling timing error If OffLine gt Step Enable is selected click Offline button to release motor driven OffLine button flashes with a yellow frame so that manual turning of axis can be done Click Offline button again to engage motor driven and manual turning of axis is hard Spindle and PWM Config Operate the main menu Config Ports and Pins Click on page Motor HyTechWorks 2013 V3 27 Outputs Put a green tick on the Spindle row s Enabled column All other columns are not used by HyCNC 6L Engine Configuration Ports amp Pins Encoder MPG s Spindle Setup Mill Options Port Setup and Axis Selection Motor Outputs Input Signals Output Signals Signal Enabled Step Pins Dir Pin Dir Low Step Lo Step Port Dir Port X Axis Ki 2 6 x x 1 1 Y Axis Ki 3 T x x 1 1 Z Axis Ki 4 8 x wx 1 1 A Axis d 5 9 x x 1 1 B Axis d o 0 x C 0 8 C Axis lt x wx D 0 Spindle d D D x x D D Then click on page Spindle Setup page If there is no circuit to control spindle rotating direction Put a X on Disable Spindle Relay If spindle s rotating direction can be controlled by a H bridge consisted by 2 relay
31. he main axis s pulse per mm or inch speed limitation maximum acceleration and direction signal s polarity are applied to the slave axis The slave axis end stop switches have no effect but the end stop switches of the main axis stop motion on both axis HyTechWorks 2013 V3 37 Slave Axis Selection X Axis Y Axis Z Anis Slaved Axis r Slaved Axis Slaved Axis e A Axis C A Axis C A Axis C B Axis B Axis C BA xis C CAxis C C Axis of None C None Restart Mach3 after resetting these selections When homing is carried out with a slave axis machine seeks both home switches on the main and slave axis in the first stage When both switches are triggered machine decelerates to O and the second stage start The machine also checks both homing switches in the second stage The alignment error between the main and the slave axis is compensated during the deceleration stage The alignment offset can be adjusted Slave Axis Offset in HyCNC 6L plugin s CONFIG setting 38 HyTechWorks 2013 V3 EE FW 03 02 00 00 Engin Control end Actiy E oseBFF525154854987025029 Plugin Name PWM1 0 on EStop Flash FlashSered pwm2 0 on EStop CH 4L V3 3 2 pwm3 0 on EStop HyCNC 4P V3 3 2 7 ars Stop on Touch CR 6L V3 3 2 7 ars Direction Negated HyCNC ER 1 1 ATS Speed o JoyStick JoyStid PrinterScope Por OffLine controls Step Enable ShuttlePro Contd Step Enable Negated TurnDiags Turn 1 watchdog on Rel
32. home switch offset at this moment Then moving speed is decelerated to O to end homing process on that axis The order HyTechWorks 2013 V3 31 of the homing is also pre defined Operate the main menu Operator Edit Button Script The click on flashing REF ALL HOME to bring up the homing script edit window ES b Ma e DoButton 24 DoButton 23 DoButton 22 DoButton 25 DoButton 26 DoButton 27 DoButton 22 DoButton 23 DoButton 24 DoButton 25 DoButton 26 DoButton 27 are used to execute homing on X Y Z A B C axis The above script execute homing on Z axis then Y axis then X axis and finally A axis DoOEMButton 133 DoOEMButton 134 DoOEMButton 134 are used to reset X Y Z encoder For the machine without encoder these 3 line of script can be removed More code can be added to the script to suit a specific machine For example a fast move to a predefined coordinate i e 10 15 5 90 80 70 is required after homing The script looks like this DoButton 24 DoButton 23 DoButton 22 DoButton 25 DoButton 26 32 HyTechWorks 2013 V3 DoButton 27 While IsMoving Sleep 100 Wend code GO Z5 While IsMoving Sleep 100 Wend code GO X10 Y15 A90 This script execute homing like before After homing is finished it first fast moves 5 on Z axis After Z axis movement is finished it fast moves to 10 on X axis 15 on Y axis 90 on A axis 80 on B axis and
33. ignals Output Signals Signal Pin Number Active Low Emulated Index 0 Limit Ovwrd 0 x x EStop 12 d x x x THC On D THC Up THC Down OEM Trig 1 OEM Trig 2 DEM Trig 33 OEM Trig 4 0 13 94 OE OE 2E OE OE OE OE OE OE eojojojojojoiloilojio FOE OE KA OE OE OE A OE 0 0 0 IN v Pins 10 13 and 15 are inputs Only these 5 pin numbers may be Automated Setup of Inputs x Isi sm The tool setter surface Z axis coordinate is defined using Gauge Block Height box in main interface s Offset page Click on the box and type in the height and return as shown below Die Cofig Punts Operator Tingin Ctrl Help Program Run ANT Monan Tool Path Alt C omen S Diagnostics jAh Tags 01 017 040 021 080 094 054 043 099 O64 4T Gage stock Heist Current work offset 0 zomer 105 Lon EG J E Aen ONOFF orang 8 Ugen onsets ese toot onsets wey ea Statusf Pretten 44 HyTechWorks 2013 V3 Finally script for auto tool setting needs to be updated Operate the main menu Operator Edit Button Script Then click on flashing Auto Tool Zero button as shown below i ee LAE SI ST File Edit Run Debug BreakPoints Ee D gt Mb ox Declare Sub AutoToolSetting Lib F A utoToolSetting GetOEMDRO 824 1 Chan Tool C Dis Tool Dia Elapsed DOOD i Jog ON OFF Ctrl Alt J Type the following script in the new window D
34. is not digitally signed Tell me why driver signing is important 58 HyTechWorks 2013 V3 The USB driver is then installed to PC Found New Hardware Wizard Please wait while the wizard installs the software La e HyCnc USB Bootloader Ei Setting a system restore point and backing up old files in case your system needs to be restored in the future Back Next Lance Completing the Found New Hardware Wizard The wizard has finished installing the software for e HyCnc USB Bootloader Click Finish to close the wizard Finish After install the USB driver run HyCncFlash exe again to perform firmware HyTechWorks 2013 V3 59 update Firmware Recovery For any reason that HyCncFlash exe fails to run properly in normal mode firmware recovery need to be performed to re program a correct firmware that can recovery the proper operation in normal mode First the HyCNC interface needs to be disconnected from the PC Then change the Normal Firmware Recovery Operation Jumper to the Firmware Recovery side Connect HyCNC interface to PC via USB again an run HyCncFlash exe to program a correct firmware Disconnect USB and change the Normal Firmware Recovery Operation Jumper to the Normal side and reconnect the USB to see if the HyCNC interface functions normally 60 HyTechWorks 2013 V3 Low Level API Windows programs can use HyCNC 6L to generate motion and other
35. lick Next HyCnc USB Device Driver Installer Welcome to use HyCnc USB Interface This wizard will walk you through installing updating the USB device drivers for your HyCnc interface To continue click Next Then the Important Notice window appears Please read the Important Notice carefully If agree select I accept the click Next 8 HyTechWorks 2013 V3 HyCnc USB Device Driver Installer Important Notice To continue accept the following license agreement To read the entire agreement use the scroll bar or press the Page Down key IHyTechwWorks provides its products and services asit is HyTechworks accepts no responsibility for performance of any machine or any damage or injury caused by using its products and services All computer controlled machine tools are potentially dangerous if they are incorrectly designed or operated It is your responsibility to insure that you understand the implications of your design and build and the compliance requirements with any legislation and codes of practice applicable to your country If vou have any doubt please v I accept O1 do not accept Windows Vista 7 will show the following warning Click Install this driver software anyway Don t install this driver software You should check your manufacturer s website for updated driver software for your device gt Install this driver software anyway Only install drive
36. ll xmlbackups amp O MsoCache Program Files i 2 ProgramData OR BEE ER aeu Note the latest Mach3 plugin can be downloaded from http www hytechworks com Downloads HyCnc HyCNC 6L index e html Click Mach3Mill icon on the desktop to start Mach3 The following window appear to allow user select proper motion control hardware Select HyCNC 6L then click OK HyTechWorks 2013 V3 17 Notion Control Hardware PlugIn sensed Your system is showing more than one control device Please pick the one you would like this profile to use C Normal Printer port Operation HyCNC 4L V2 0 HyCNC 4Pp v1 0 SE No Device Dont ask me this again OK If there is no suitable hardware to run HyCNC 6L the following error windows N appears Notion Control Hardware Plugin sensed Your system is showing more than one control device Please pick the one you would like this profile to use C Normal Printer port Operation C HyCNC 4L V2 0 HyCNC_6L C HyCNC 4P V1 0 D HyCNC_6L V2 0 AN Can t find HyCNC BL C No Device Dont ask me this again If there are more than on HyCNC 6L connected to the PC another selection window appears All available HyCNC 6L are listed in the window by their USB 18 HyTechWorks 2013 V3 serial number Select the one intend to use and click OK If there is only one HyCNC 6L no more windows will be shown and the only one HyCNC 6L will be used HYCHC Select E asel
37. me controllers See Storage volumes Update Driver Disable Uninstall Opens property sheet for the curr 14 HyTechWorks 2013 V3 Then click Details page and select Device Instance Id The last 8 characters following the VID and PID number is the USB serial number i e E2DB98D7 in the picture HyCNC 6L USB Interface Properties PIE USB vID 4D2E amp PID DS DD HyTechWorks 2013 V3 15 Mach3 Configurations Please refer to proper materials regarding to Mach3 install Mach3 software download http www machsupport com downloads ph Mach3 document download http www machsupport com documentation ph There is no need to install Mach3 parallel port driver which is not functional under 64 bit Windows Normal USB parallel port adapter cables don t work as well The motion pulses have jitters because Windows scheduling The following descriptions only address configuring HyCNC 6L for Mach3 HyCNC 6L Plugins Open ZIP file contains HyCNC 6L DLL and drag it to Mach3 Plugins 16 HyTechWorks 2013 V3 Plugins File Edi OLD El Qe Y Folders amp C3 Mach3 amp C3 Addons C3 Bitmaps O Brains Flash Tools Help ES Search lie Folders Mame 3 Flash dll S HyCNC 4L dll S HyCNC 4P dll E HyCNC 6L di 3 JoyStick dl D GCode eri w l nd Fie Edt O Plugins E Subroutines E C3 TurnAddons uninsta
38. nes the mode for coordinate counter modifications O relative mode the coordinate value is added to current coordinate counter 1 absolute mode the coordinate value is set to current coordinate counter If the function succeeds the return value is true Otherwise it returns false Other Controls BOOL HyCNC SetSwitch HANDLE hUsb unsigned int val HyCNC SetSwitch sets relay output on off hUsb the handle of the HyCNC interface val output level Bit O OUT1 Bit 1 OUT2 If the function succeeds the return value is true Otherwise it returns false BOOL HyCNC SetSpindleO HANDLE hUsb unsigned short period unsigned short prescale HyCNC SetSpindle0 sets base frequency for PWM1 3 hUsb the handle of the HyCNC interface 72000000 Freq q period prescale BOOL HyCNC_SetSpindlel HANDLE hUsb unsigned short duty HyCNC SetSpindle1 sets PWM1 s duty cycle hUsb the handle of the HyCNC interface 64 HyTechWorks 2013 V3 duty Duty Cycle vere period BOOL HyCNC_SetSpindle2 HANDLE hUsb unsigned short duty HyCNC SetSpindle2 sets PWM2 s duty cycle hUsb the handle of the HyCNC interface duty Duty Cycle HAN EUR period BOOL HyCNC SetSpindle3 HANDLE hUsb unsigned short duty HyCNC SetSpindle3 sets PWM3 s duty cycle hUsb the handle of the HyCNC interface duty Duty Cycle
39. onnected to HyCNC 6L the same way above There is an improved low cost tool setter shown in the figure below It works the same way as the professional tool setter 40 HyTechWorks 2013 V3 Two tool setting methods are selected by operating Mach3 main menu Config gt Config Plugins Plugin Control and Activation Enabled Plugin Name Flash FlashScreen SWF PlugIn A Fenerty B B HyCNC_4L V2 0 HyCNC 4P V1 0 HyCNC BL V2 0 JoyStick JoyStick PlugiIn Art Fenerty Ver 1 0a PrinterScope Port Scope 1 00 046 Turnliags Turn Di ags l 00 1 Video B Barker Ver 1 0 Click CONFIG behind HyCNC 6L and a new window shows up HyTechWorks 2013 V3 41 ENE N FW 03 02 00 00 Engin Control end Actiy iy oseBFF525154854987025029 Plugin Name PWM1 0 on EStop Flash FlashSered pwm2 0 on EStop HyCNC 4L V3 3 2 7 pwm3 0 on Estop HyCNC 4P V3 3 2 7 ars Stop on Touch CR 6L V3 3 2 7 ars Direction Negated HyCNC ER 1 1 ATS Speed o JoyStick JoyStid PrinterScope Por OffLine controls Step Enable ShuttlePro Contd Step Enable Negated TurnDiags Turn 1 watchdog on Relay1 Vi deo B ideo P Berkey y ong Speedhe fio ADC set DRO number jo r Slave Axis Offset x e o o0000 0 000000 0 000000 Jog Buffer 30 250ms en Elapsed j genea l haiba dh dimn Putting X before ATS Stop on Touch selects auto tool setting using low cost d
40. r Setup Dialog e MM s C Inches Finally the motor operation characteristics need to be set Operate the main menu Config gt Motor Tuning and Setup Motor Tuning and Setup Axis Selection C AXIS MOTOR MOVEMENT PROFILE dem 159 375 X Axis e A Os ES p e 127 5 Y Axis 111 563 95 625 2 Axis 79 6875 83 75 A Axis 47 8125 31 875 15 9375 B Axis Velocity mm s per Minut 08 4 12 314 16 18 C Axis Time in Seconds Spindle Accel if Velocity Acceleration Step Pulse Dir Pulse seems Steps per In sor mm s per min in s or mm s sec sec Gs 1 5us 0 5 1000 120 4 p o004079 jo jo Cancel Click on X Axis button on the upper right corner Then fill in Ster per mm inch according to the following equation step motor steps per revolution driver microstep setting serewpiteh For example the step has 200 steps per revolution The driver microstep is 20 The screw pitch us 4mm Then 1000 should be filled in Set per box Velocity is the maximum distance X axis is allowed to move per minute It is the 24 HyTechWorks 2013 V3 maximum speed of GO code It also limits the maximum value for F code The machine mechanical and control system performance limit the Velocity as well as the Acceleration value after it The pulse width settings are not used by HyCNC 6L Press SAVE AXIS SETTINGS to save X axis settings Then do same for
41. r software obtained from your manufacturer s website or disc Unsigned software from other sources may harm your computer or steal information vw See details Then the driver install begins The following window pops up when the driver HyTechWorks 2013 V3 9 install is finished Click Finish to close the window HyCnc USB Device Driver Installer You are finished installing the USB device drivers for your HyCnc interface The drivers were successfully installed on this computer You can now connect your device to this computer If your device came with instructions please read them first i Driver Name Status V HyTechworks HyCnc amp L U Ready to use MV HyTechworks WinUSB US Ready to use is When plug in HyCNC 6L for the first time the Found New Hardware Wizard window pops up Select Yes this time only the click Next 10 HyTechWorks 2013 V3 Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software Yes this time only Yes now and every time connect a device O No not this time Click Next to continue This wizard helps you install software for HyCNC 6L USB Interface
42. re tool setter with retreatable surface is required to avoid tool and or machine damage A low cost tool setter has hard non retreatable surface isolated from the machine electrically It doesn t allowed overshot or allows every small overshot It requires movement to stop immediately when the tool touch tool setter surface Setting process is to seek tool setter with acceleration to of GO speed according to pre defined direction When tool touch the tool setter movement stops within 1 1000s The difference between Z axis coordinate and predefined tool setter surface coordinate is used as the tool length offset and save in tool library database Then machine accelerates to GO speed to move the coordinate to where tool setting started Please pay attention even with control system stops within 1 1000s the mechanical system may not stop fast enough to avoid tool and or machine damage The of GO speed should be set small enough to avoid such damage Operate the main menu Config gt Ports and Pins Click on page Input Signals shown below The tool setting is enabled by putting a green tick in the OEM Trig 1 row s Enable column Port is 1 Pin Number is 13 and Active Low is ticked Then click Apply and OK to save the settings HyTechWorks 2013 V3 43 Engine Configuration Ports amp Pins Encoder MPG s Spindle Setup Mill Options Port Setup and Axis Selection Motor Outputs Input S
43. s 2 relay outputs are needed If spindle s rotating direction can be controlled by a H bridge consisted by 1 relays 1 relay outputs are needed and the other is set to the undefined output The PWM1 and PWM 2 base frequency is calculated by equation 25000 x 10 PWM base Freq value PWM outputs duty cycle ares controlled by the hardware Its accuracy is has nothing to do with Kernel Speed unlike Mach3 s parallel port driver 28 HyTechWorks 2013 V3 Engine Configuration Port Setup and Axis Selection Encoder MPG s Relay Control IV Disable Spindle Rel Clockwise Output CCW M4 Output Output Signal s E 1 Flood Mist Control Disable Flood Mist repelay Mist Output E Flood utput T o Output Signal s Ports amp Pins Motor Outputs Spindle Setup Motor Control Iw Use Spindle Motor Duty IV PHM Control Step Dir Moto Input Signals Output Signals Mill Options Special Functions Use Spindle Feedback in Sync M Closed Loop Spindle Cont P jo 25 I ji D oz PWMBase Freq 10 Minimum PHM ms r General Parameters CW Delay Spin UP 1 Seconds CCH Delay Spin UP Seconds ModBus Spindle Use Step Dir as wellJelay Spind DOWN i Seconds Enabled Reg 64 B4 Max ADC Count 16380 CCH Delay Spin DOWN 1 Seconds Immediate Relay off before d Spindle Speed Averagi Special Options Usually Off HotWire Heat for J Laser Mode fr Torch
44. s to the tool setter center to start tool setting process After the setting is finished the new tool length offset is used and spindle rotates again Attention the safety of the manual tool changing operator is depend on the proper running of the above script by the PC control system If a safer condition is required even the malfunction of the PC control system doesn t start spindle to hurt the operator install safety switches or consult experts or HyTechWorks for a proper solution EStop Setting Attention it is suggested to use the EStop provided by the PC control system as the secondary or backup solution and use direct hardware solution as the primary solution to guarantee stopping of the machine under critical conditions The following configuration of the EStop is all based on using PC and HyCNC 6L interface It is provided as it is for a reference only HyTechWorks 2013 V3 47 The EStop is enabled by operating the main menu Config Ports and Pins clicking on page Input Signals and putting a green tick on EStop s Enabled column Port is 1 Pin Number is 12 and Active Low is ticked Then click Apply and OK to save the settings Engine Configuration Ports amp Pins Encoder MPG s Spindle Setup Mill Options Port Setup and Axis Selection Motor Outputs Input Signals Output Signals Signal Enabled Port Pin Number Active Low Emulated HotKey Index D x Limit Gerd 0 x EStop 12 s
45. see FileRead Visual C function for overlapped I O access status status data read from HyCNC interface If the function succeeds the return value is true Otherwise it returns false The status data have the following fields num number of way point to fill the FIFO buffer in the HyCNC inteface cx 32 bit x axis coordinate count value in motor step cy 32 bit y axis coordinate count value in motor step cz 32 bit z axis coordinate count value in motor step ca 32 bit a axis coordinate count value in motor step cb 32 bit b axis coordinate count value in motor step cc 32 bit c axis coordinate count value in motor step din port 1 inputs adc ADC reading tick 16bit 1ms up counting overflow to 0 It synchronized with coordinate readings It can be used to calculate speeds BOOL HyCNC GetHardwarelnfo HANDLE hUsb HyCNC HardwarelnfoStruct info HyCNC GetHardwarelnfo reads HyCNC 6L hardware information hUsb the handle of the HyCNC interface info hardware infomation data If the function succeeds the return value is true Otherwise it returns false hardware infomation data have the following fields type hardware type 62 HyTechWorks 2013 V3 axis number of axis option hardware option features functional features fwv firmware version sn1 serial number 1 sn2 serial number 1 sn3 serial number 1 Motion Control
46. t 2 is used to control coolant Ports amp Pins Engine Configuration Output Signals Mill Options Motor Outputs l Spindle Setup Port Setup and Axis Selection Encoder MPG s Input Signals Relay Control v Disable Spindle Rel Clockwise CCW M4 Output Output Signal s 1 Flood Mist Control Disable Flood Mist repelay Mist Output fir f Flood Output B 0 CH Delay Spin UP 1 Seconds Output Signal s CCH Delay Spin UP 1 Seconds Motor Control Special Functions Iw Vse Spindle Motor Dutt Use Spindle Feedback in Sync M Iv PHM Control Closed Loop Spindle Cont Step Dir Moto 2 P jo 25 I ji D j0 3 Faas CS fio Spindle Speed Averagi Minimum PS D a General Parameters Output Special Options Usually Off HotWire Heat for J Laser Mode fr WodBus Spindle Use Step Dir as wellJelay Spind DOWN y Seconds Enabled Reg 64 B4 Max ADC Count 16380 CCW Delay Spin DOWN Seconds Immediate Relay off before d HyTechWorksO 2013 V3 Torch Volts Conti Torch Auto Of 21 Then click Apply and OK to close the config window Then switch to page Diagnostics of the Mach3 s main interface and type M7 to switch on mist M8 to switch on coolant M9 to switch both off Check output change accordingly Ben ui MDI jana Tool Path AMA Offset A Setings AN 015 01 017 040 0
47. tant 12 HyTechWorks 2013 V3 PC starts installing the driver Found New Hardware Wizard Please wait while the wizard installs the software ER on HyCNC 6L USB Interface S E Setting a system restore point and backing up old files in case your system needs to be restored in the future Completing the Found New Hardware Wizard The wizard has finished installing the software for Ba HyCNC 6L USB Interface Click Finish to close the wizard HyTechWorks 2013 V3 13 Note the latest USB driver can be downloaded from http www hytechworks com Downloads HyCnc HyCNC 6L index e html Multiple Connection Total 127 USB device can be connected to a PC They can be all HyCNC 6L if possible The difference between 2 HyCNC 6L is the USB serial number The USB serial number can be revealed by the following method Plug a HyCNC 6L into a PC The open Windows Devcie Manager shown below Expend HyTechworks Hardware to show all plugged in interface Right click the interface select Properties E Device Manager TER File Action View Help e FS mpm RA 2 SESEAM uil Batteries 1 Computer ep Disk drives d Display adapters BB HyTech Works Hardware I IHyCNC 6L USB Interface IDE ATA ATAPI controllers 1 Keyboards Mach X Pulsing Engines 1 2 Mice and other pointing devic scan for hardware changes Monitors z ME Network adapters MR Processors Sound video and ga
48. the same characteristics as X Y Z A axis signals Probe Probe is an opto coupler isolated input used to connect automatic tool setters It is mapped to Mach3 port 1 pin 13 Pin 1 is current flow in and pin 2 is current flow out A external resistor is need to limit current between 10 50mA Zeros 7 low effective inputs are mapped to Mach3 Port 1 HyTechWorks 2013 V3 Pin Func Pin Function 1 GND Switching input 1 mapped to Mach3 port 1 pin 14 3 GND A axis zero switch mapped to Mach3 port 1 pin 5 5 GND 6 Z axis zero switch mapped to Mach3 port 1 pin 4 7 GND 8 Y axis zero switch mapped to Mach3 port 1 pin 3 9 GND 10 X axis zero switch mapped to Mach3 port 1 pin 2 11 GND 12 B axis zero switch mapped to Mach3 port 1 pin 10 13 GND 14 C axis zero switch mapped to Mach3 port 1 pin 11 15 5V 16 5V internal 10K resistor pull up to 3 3V Normal Firmware Recovery Jumper This is the jumper to select normal operation or firmware recovery mode The link in the figure is for normal operation When the link is on the other side it is for firmware recovery operation see Firmware Update chapter HyTechWorks 2013 V3 7 USB Driver Install Attention USB driver install requires administrator privilege Double click install bat under USB Driver directory The install program will choose proper driver depends on the OS The following window pops up C
49. ting and has nothing to do with motion control using HyCNC 6L 22 HyTechWorks 2013 V3 Engine Configuration Ports amp Pins Encoder MPG s Spindle Setup Mill Options Port Setup and Axis Selection Motor Outputs Input Signals utput Signals Port 1 Port 2 MaxNC Mode Port Enable Fort Enable Max CL Mode enabled 0x378 Port 0x278 Port Max NC 10 Wave Drive Entry in Hex 0 9 Entry in Hex 0 9 Pins 2 9 as inp Program restart Restart if changed Sherline 1 2 Pulse mo ModBus Input utput Suppo 35000Hz 45000Hz 60000hz ModBus PlugIn seed e5000hz 75000hz 100khz TCP Modbus support Event Driven Serial Co Servo Serial Link Feedb r Kernel Speed Note Software must be restarted and motors kernel speed is Then click on page Motor Outputs Put green ticks in column Enabled on X Axis Y Axis Z Axis A Axis B Axis and C Axis row and Dir LowActive according to the requirements The other columns have no effect on HyCNC 6L s operation Engine Configuration Ports amp Pins Encoder MPG s Spindle Setup Mill Options Port Setup and Axis Selection Motor Outputs Input Signals utput Signals Step Pin Dir Pint 2 3 The length unit used by Mach3 can be set by operation the main menu Config Select Native Units The choose MMs or Inches as needed HyTechWorks 2013 V3 23 Set Default Units Units for Moto
50. v x d x x x d x d tool setter Removing X before ATS Stop on Touch selects auto tool setting using professional tool setter ATS Direction Negated defines tool setter s location If Z axis moves to the positive direction towards the tool setter remove X on this item If Z axis moves to the negative direction towards the tool setter put X on this item ATS Speed defines the slow moving speed percentage during tool setting see description below When this setting generates stepping pulses more than 1000Hz the accuracy is also affected In this case the homing accuracy in theory is distance per step pulse frequency 1000 Process of using professional tool setter is similar to auto zero The first stage is to seek tool setter with acceleration to GO speed according to pre defined direction 42 HyTechWorks 2013 V3 When tool setter is triggered the moving speed is decelerated to O and the second stage starts The second stage is to leaving the tool setter with acceleration to predefined of the GO speed towards the opposite direction When tool setter changes its status the difference between Z axis coordinate and predefined tool setter surface coordinate is used as the tool length offset and save in tool library database The movement decelerates to 0 then accelerates to GO speed to the coordinate where tool setting started This process have overshot when tool touches tool setter surface at first stage Therefo
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - M 株主通信 - シスメックス manutenzione straordinaria Ergotron Neo Flex Neo-Flex Dual Monitor Lift Stand GUIDE DE SÉCURITÉ ET CONFORMITÉ ASW600 ASW650 Owner's Manual and Warranty corso di programmazione microcontrollori - ACTinBOX CLASSIC HYBRID AD Filtre pour robinet AQ31F1S à usage unique - HUG Copyright © All rights reserved.
Failed to retrieve file