WindowsHome | Products | Haas-Links | View Customer List

RS232 Pin Connection Reference

Report Problems with Page

DNC Software Support

This document is for reference only

Introduction

DNCv5 is a 100% Windows-based software package developed to simplify the often-difficult task of transferring data between personal computers and CNC controls via RS232.

With DNCv5 you can

Testing Communications

Please follow this guide in order, and complete all steps.

Testing Communications from CNC to PC

  1. Set CNC control exactly as shown in Table A at end of page
  2. In DNCv5 software menu [Machine], [RS-232 Setting], set to: E, 7, 2
  3. In DNCv5 software menu [Machine], [RS-232 Setting], set Baud rate to match CNC
  4. 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)
  5. On DNCv5 button bar, click Receive
  6. Set CNC to send (punch) a G-code program
  7. Wait for CNC to send entire data file, then click Done (End) button in DNCv5
  8. Received file should appear in editor

Testing Communications from PC to CNC

  1. On DNCv5 menu bar, click File, then click Open and open a G-code file.
  2. Confirm that the file structure is similar (when applicable) to the following example:
    %
    O1234(PROGRAM DESCRIPTION)   
    (BODY OF PROGRAM)   
    %
  3. 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.
  4. 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:
  5. For safely reasons, always follow first sequence when drip-feeding to prevent CNC from starting while unattended.)
  6. Testing Xmodem Drip-Feed (DNC) from PC to CNC (Haas Machines Only)
  7. Maximize buffer size by deleting unneeded programs from CNC memory. (Poor performance may result if free memory is too small.)
  8. 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.
  9. Disable PC screen saver.
  10. On DNCv5 menu bar, click Machine, then click Settings
  11. Set DNCv5 exactly to: 38400, N, 8, 1, Xmodem.
  12. Determine what COM number is assigned to the PC port your CNC is connected to and set DNCv5 to that number.
  13. On DNCv5 menu bar, click File, then click Open and open a G-code file.
  14. Click Send on DNCv5 tool bar.
  15. Set CNC to DNC mode.
  16. 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.

Trouble Shooting: Data is not received or is received garbled

General Tips


Table A
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

Copyright © 2011 Sihler Engineering
All Rights Reserved

No part of this manual may be reproduced
without the prior written permission of Sihler Engineering.

Sihler Engineering declaims and accepts no liability
for damages related to the use of this manual and
the included software program.
 
All trademarks, products, and company names are
the property of their respective holders.