HyTechWorks 2010 – V3.1 HyCNC-4P(4 Axis) USB Motion Control Parallel Port Interface Instruction Manual
6 HyTechWorks©2013 – V3.1 capable to drive an optical coupler like stepping pulse outputs do. Relay Control Outputs (Original and B Type) OUt1 and
HyTechWorks©2013 – V3.1 7 USB Connector The USB connector is used to communicate with a PC. Please use a high quality USB2.0 cable for better resi
8 HyTechWorks©2013 – V3.1 USB Driver Install Attention: USB driver install requires “administrator” privilege. Double click install.bat under “US
HyTechWorks©2013 – V3.1 9 Windows Vista/7 will show the following warning. Click “Install this driver software anyway”. Then the driver ins
10 HyTechWorks©2013 – V3.1 “Finish”. When plug in HyCNC-4P for the first time, the “Found New Hardware Wizard” window pops up. Select “Yes, this
HyTechWorks©2013 – V3.1 11 Select “Install from a list or specific location” then click “Next”. Select “Don’t search. I will choose the driver
12 HyTechWorks©2013 – V3.1 PC will show suitable drivers. Select “HyCNC-4P USB Interface” then click “Next”. PC starts installing the driver.
HyTechWorks©2013 – V3.1 13 When finish, the following window poops up. Click “Finish”.
14 HyTechWorks©2013 – V3.1 For C type hardware, RS485 virtual COM driver is installed for the new hardware. “Found New Hardware Wizard” window pop
HyTechWorks©2013 – V3.1 15 Select “Don’t search. I will choose the driver to install” then click “Next”. PC will show suitable drivers. Select “H
HyTechWorks 2010 – V3.1 Cautions HyTechWorks provides its products and services “as it is”. HyTechworks accepts no responsibility for performance of a
16 HyTechWorks©2013 – V3.1 When finish, the following window poops up. Click “Finish”.
HyTechWorks©2013 – V3.1 17 RS485 COM port number can be view from the device manager. Open the device manager. Expand “Ports(COM & LPT)”. The
18 HyTechWorks©2013 – V3.1 Plug a HyCNC-4P in to PC. The open Windows’ “Devcie Manager” shown below. Expend “HyTechworks Hardware” to show all pl
HyTechWorks©2013 – V3.1 19
20 HyTechWorks©2013 – V3.1 Mach3 Configurations Please refer to proper materials regarding to Mach3 install. Mach3 software download: http://www.m
HyTechWorks©2013 – V3.1 21 Note: the latest Mach3 plugin can be downloaded from http://www.hytechworks.com/Downloads/HyCnc/HyCNC_4P/index_e.html
22 HyTechWorks©2013 – V3.1 If there are more than on HyCNC-4P connected to the PC, another selection window appears. All available HyCNC-4P are li
HyTechWorks©2013 – V3.1 23 FW is the firmware version and SN is the hardware serial number. Relay Output Config (Original/B Type) Operate Mach3 m
24 HyTechWorks©2013 – V3.1 Coolant control can be used to test “Output #1” and “Output #2”. Click on page “Spindle Setup”. Set as the following f
HyTechWorks©2013 – V3.1 25 “M8↙” to switch on coolant, “M9↙” to switch both off. Check output change accordingly. X/Y/Z/A Axis Config Operate M
HyTechWorks 2010 – V3.1 Contents Introduction ...
26 HyTechWorks©2013 – V3.1 Then click on page “Motor Outputs”. Put green ticks in column “Enabled” on “X Axis”, “Y Axis”, “Z Axis” and “A Axis”
HyTechWorks©2013 – V3.1 27 Click on “X Axis” button on the upper right corner. Then fill in “Ster per” (mm/inch) according to the following eq
28 HyTechWorks©2013 – V3.1 red-green box. If Mach3 is in reset state, click on “RESET” button to release the reset state (a steady green box encap
HyTechWorks©2013 – V3.1 29 Outputs”. Put a green tick on the “Spindle” row’s “Enabled” column. All other columns are not used by HyCNC-4 P.
30 HyTechWorks©2013 – V3.1 The ratio between PWM1’s duty cycle and spindle speed is set by operating the main menu “Config”->”Pulley Selection
HyTechWorks©2013 – V3.1 31 When PWM2 is not used for Mach3 watchdog status output, PWM2 ‘s duty cycle can be set by using a M code, i.e.” M101”.
32 HyTechWorks©2013 – V3.1 Homing/Soft Limits The homing process is divided into 2 stages. The first stage is to seek the home switch with speed
HyTechWorks©2013 – V3.1 33 menu “Operator”-> “Edit Button Script”. The click on flashing “REF ALL HOME” to bring up the homingscript edit windo
34 HyTechWorks©2013 – V3.1 code("G0 Z5") While IsMoving() Sleep(100) Wend code("G0 X10 Y15 A90") This script execute homing li
HyTechWorks©2013 – V3.1 35 Then operating the main menu “Config”->”Motor Home/SoftLimits”. For the axis equipped with a home switch that requi
HyTechWorks 2010 – V3.1 Device Identification and Opening ... 59 Device Basic Information
36 HyTechWorks©2013 – V3.1 properly according to work range to avoid mechanical collision. For small CNC machine tools using step motors, home sw
HyTechWorks©2013 – V3.1 37 Set and test “Home Speed%”. It is percentage of the speed limits. Slave Axis A-axis can be used as a slave axis of X/
38 HyTechWorks©2013 – V3.1 When homing is carried out with a slave axis, machine seeks both home switches on the main and slave axis in the first
HyTechWorks©2013 – V3.1 39 Auto Tool Setting Two commonly used auto tool setting processes are implemented. One for professional tool setter (one
40 HyTechWorks©2013 – V3.1 There is an improved low cost tool setter shown in the figure below. It requires the same connection and optical coup
HyTechWorks©2013 – V3.1 41 Click “CONFIG” behind HyCNC_4P and a new window shows up. Putting “X” before “ATS Stop on Touch” selects auto tool
42 HyTechWorks©2013 – V3.1 Process of using professional tool setter is similar to auto zero. The first stage is to seek tool setter with acceler
HyTechWorks©2013 – V3.1 43 “Control Inputs”). If the input is low level effective, put a green tick in “Active Low” column. Then click “Apply” and
44 HyTechWorks©2013 – V3.1 The tool setter surface Z-axis coordinate is defined using “Gauge Block Height” box in main interface’s “Offset” page
HyTechWorks©2013 – V3.1 45 Finally, script for auto tool setting needs to be updated. Operate the main menu “Operator”->”Edit Button Script”. T
HyTechWorks©2013 – V3.1 1 Introduction HyCNC-4P is a 4-axis machine tool motion control USB interface, replacing traditional PC parallel port.
46 HyTechWorks©2013 – V3.1 The tool setting script can further adapted to the machine. For example, if the tool setter is fixed at a location, i.
HyTechWorks©2013 – V3.1 47 Wend AutoToolSetting(GetOEMDRO(824)) While IsMoving() Sleep(100) Wend code("G43 ") DoSpinCW(); Call M900 in G
48 HyTechWorks©2013 – V3.1 The EStop is enabled by operating the main menu “Config”->”Ports and Pins”, clicking on page ”Input Signals” and p
HyTechWorks©2013 – V3.1 49 Then click on “CONFIG” box behind the “HyCNC-4P” .
50 HyTechWorks©2013 – V3.1 When external EStop is triggered, the Mach3 will be locked to stop state even external EStop is released. The red “RESE
HyTechWorks©2013 – V3.1 51 Tick “Watchdog on PWM2” to enable the watchdog function. When Mach3 works properly, PWM2 output a 50% duty cycle signa
52 HyTechWorks©2013 – V3.1 RS485 (C Type Only) HyCNC-4P-xxxC has a RS-485 port to communicate with external modules, ie. VFC controller. It is emu
HyTechWorks©2013 – V3.1 53 Firmware Update The HyCNC-4P’s firmware can be updated online by the final users for function extension and bug fix. Th
54 HyTechWorks©2013 – V3.1 When firmware update process finishes, the following window pops up. Click “OK”. When the firmware update process run
HyTechWorks©2013 – V3.1 55 Then click on “Install from a list or specific location” and “Next”. Then click “Don’t search. I will choose the driv
2 HyTechWorks©2013 – V3.1 with 5V signal level. Working status LED. Motion control using a 32bit single chip microcontroller, greatly redu
56 HyTechWorks©2013 – V3.1 “New Hardware Wizard” will find the suitable driver and list it. Click on “HyCnc USB Bootloader” and “Next”.
HyTechWorks©2013 – V3.1 57 The USB driver is then installed to PC. When the installation is finished, the following window pops up. Click “Finish
58 HyTechWorks©2013 – V3.1 update. Firmware Recovery For any reason that HyCncFlash.exe fails to run properly in normal mode, firmware recovery
HyTechWorks©2013 – V3.1 59 Low Level API Windows programs can use HyCNC-4P to generate motion and other control signals via API functions. API con
60 HyTechWorks©2013 – V3.1 Device Basic Information Reading BOOL HyCNC_GetStatus(HANDLE hUsb, LPOVERLAPPED olp, HyCNC_StatusStruct *status) HyCNC_
HyTechWorks©2013 – V3.1 61 fwv – firmware version sn1 – serial number 1 sn2 – serial number 1 sn3 – serial number 1 Motion Control BOOL HyCNC_Set
62 HyTechWorks©2013 – V3.1 hUsb – the handle of the HyCNC interface. coordinate – pointer to 4 element coordinate array that used to modify th
HyTechWorks©2013 – V3.1 63 HyCNC_SetSpindle2 sets PWM2’s duty cycle. hUsb – the handle of the HyCNC interface. Duty Cycle =dutyperiod BOOL HyCNC_
64 HyTechWorks©2013 – V3.1 bit 2 – Z capture trigger. “1” sets and “0” has no effect. bit 3 – A capture trigger. “1” sets and “0” has no effect. b
HyTechWorks©2013 – V3.1 3 Shape and Connections HyCNC-4P is assembled in a plastic cover with a DB25 and two fasten screws on one end, and an USB
4 HyTechWorks©2013 – V3.1 X/Y/Z/A Stepping Pulses X/Y/Z/A Stepping Pulses are 0-5V position pulse with raising edge effective. The minimum pulse
HyTechWorks©2013 – V3.1 5 connection should be used: When connecting to a motor driver with high to low transaction, the following connection sho
Comentarios a estos manuales