This document is for reference only
Please follow this guide in order, and complete all steps.
Testing Communications from CNC to PC
- Set CNC control exactly as shown in Table A at end of page
- In DNCv5 software menu [Machine], [RS-232 Setting], set to: E, 7, 2
- In DNCv5 software menu [Machine], [RS-232 Setting], set Baud rate to match CNC
- In DNCv5 software menu [Machine], [RS-232 Setting], set PC port to COM on which cable is connected (use Windows Device Manager to see list of available COM ports)
- On DNCv5 button bar, click Receive
- Set CNC to send (punch) a G-code program
- Wait for CNC to send entire data file, then click Done (End) button in DNCv5
- Received file should appear in editor
Testing Communications from PC to CNC
- On DNCv5 menu bar, click File, then click Open and open a G-code file.
- Confirm that the file structure is similar (when applicable) to the following example:
%
O1234(PROGRAM DESCRIPTION)
(BODY OF PROGRAM)
%
- Check G-code program to confirm letter O and digit 0 (zero) are not mixed up. Some machines accept : in the place of an O for program number.
- On DNCv5 button bar, right-click on Send, then set CNC to receive (read), or set CNC to receive and then left-click Send. (Note:
- For safely reasons, always follow first sequence when drip-feeding to prevent CNC from starting while unattended.)
- Testing Xmodem Drip-Feed (DNC) from PC to CNC (Haas Machines Only)
- Maximize buffer size by deleting unneeded programs from CNC memory. (Poor performance may result if free memory is too small.)
- If control is made by Haas, set it exactly as shown in Table A at end of this page. Otherwise, use Haas settings as a guide if your CNC supports Xmodem.
- Disable PC screen saver.
- On DNCv5 menu bar, click Machine, then click Settings
- Set DNCv5 exactly to: 38400, N, 8, 1, Xmodem.
- Determine what COM number is assigned to the PC port your CNC is connected to and set DNCv5 to that number.
- On DNCv5 menu bar, click File, then click Open and open a G-code file.
- Click Send on DNCv5 tool bar.
- Set CNC to DNC mode.
- When DNCv5 starts sending data, press cycle start on CNC then immediately press feed hold. Change Haas screen to display large axis position digits (buffer will fill faster when this screen is displayed). Wait a few minutes for CNC buffer to fill, then press cycle start again.
Haas Control CNC RS232 Settings
- SETTING 11 BAUD RATE SELECT 4800 (After testing is complete, you may adjust as desired)
- SETTING 12 PARITY SELECT EVEN (E)
- SETTING 37 DATA BITS 7
- SETTING 13 STOP BIT 2
- SETTING 14 SYNCHRONIZATION DC CODES
- SETTING 24 LEADER TO PUNCH NONE
- SETTING 25 EOB PATTERN CR LF
Non-Haas Control CNC RS232 Settings
- BAUD RATE 4800 (After testing is complete, you may adjust as desired)
- PARITY BIT (If settable) EVEN (E)
- DATA BITS (If settable) 7
- WORD LENGTH (If settable) 8
- STOP BIT (If settable) 2
- HANDSHAKING (If settable) XON/XOFF
- END OF BLOCK (EOB) (If settable) CR LF or LF CR CR