dncsoftware.com

Home > DNCv5 Support

Need RS232 cables? Click here.

Help: 1.805.383.2492, support@dncsoftware.com

If you need help, please call us. Our tech support staff is patient, knowledgeable and will stay on the line as long as you need. Absolutely no sales pressure.

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, 1) create and edit CNC programs at your PC, 2) transfer programs and data between your PC and CNC, 3) DNC (drip-feed) programs larger than your controls memory capacity. dnc software free download

Testing Communications from CNC to PC

  1. Set CNC control exactly as shown in Table A below.

  2. Set DNCv5 exactly to: 4800, E, 7, 2.

  3. Determine what COM number is assigned to the PC port the CNC is connected to and set DNCv5 to that number. The COM number has nothing to do with CNC, it is the port cable is connected to on PC.

  4. On DNCv5 button bar, click Receive.

  5. Set CNC to send (punch) a G-code program.

  6. Wait for CNC to send entire data file, then click Done (End) button in DNCv5.

  7. Received file should appear in editor.

Table A CNC RS232 Settings
 Haas Control  
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  
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

To obtain exact settings for your control, email us. support@dncsoftware.com

Testing Communications from PC to CNC

  1. Follow Steps 1 to 4 above, then go to Step 2 below.

  2. On DNCv5 menu bar, click File, then click Open and open a G-code file.

  3. Confirm that the file structure is similar (when applicable) to the following example:
    %
    O1234(PROGRAM DESCRIPTION)  
    (BODY OF PROGRAM)  
    %

  4. 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.

  5. 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 haascnc.com)

  1. Maximize buffer size by deleting unneeded programs from CNC memory. (Poor performance may result if free memory is too small.)
  2. If control is made by Haas, set it exactly as shown in Table B below. Otherwise, use Haas settings as a guide if your CNC supports Xmodem.
  3. Disable PC screen saver.
  4. On DNCv5 menu bar, click Machine, then click Settings
  5. Set DNCv5 exactly to: 38400, N, 8, 1, Xmodem.
  6. Determine what COM number is assigned to the PC port your CNC is connected to and set DNCv5 to that number.
  7. On DNCv5 menu bar, click File, then click Open and open a G-code file.
  8. Click Send on DNCv5 tool bar.
  9. Set CNC to DNC mode.
  10. 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.
Table B Haas Control Settings
 
SETTING 11 BAUD RATE SELECT  38400
SETTING 12 PARITY SELECT  NONE (N)
SETTING 37 DATA BITS  8
SETTING 13 STOP BIT  1
SETTING 14 SYNCHRONIZATION XMODEM
SETTING 24 LEADER TO PUNCH NONE
SETTING 25 EOB PATTERN  CR LF
SETTING 55 ENABLE DNC FROM MDI ON

 

Appendix

 

9-Pin Male Serial Port Computer Connector

Pin Signal Function Label Signal Direction
1 Carrier Detect CD In
2 Receive Data RD In
3 Transmit Data TD Out
4 Data Terminal Ready DTR Out
5 Signal Ground SG --
6 Data Set Ready DSR In
7 Request to Send RTS Out
8 Clear to Send CTS In

 

25-Pin Male Serial Port Computer Connector

Pin Signal Function Label Signal Direction
1 Protective Ground PG --
2 Transmit Data TD Out
3 Receive Data RD In
4 Request to Send RTS Out
5 Clear to Send CTS In
6 Data Set Ready DSR In
7 Signal Ground SG --
8 Carrier Detect CD In
20 Data Terminal Ready DTR Out

 


Troubleshooting

If data is not received or is received garbled:

 

Table C Specifications

File types supported

Send
Receive

 

ASCII, ISO, BINARY
ASCII, ISO

Supported controls Any control that supports ASCII or ISO RS232 communications
Baud Rate settings 110, 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200
Parity bit settings Even, None
Stop bit settings 1, 2
PC port settings COM1 to COM16
USB to serial adapter support Yes
Multiple serial port support Yes
Rocketport multi-port hardware support Yes, COM1 to COM16
DNC Drip-feeding programs larger than control memory capacity supported
Simultaneous multiple communications Supported (open program again)
Handshaking Xon/Xoff, DC Codes, Xmodem


Software L
imitations 

Tips

Copyright (c) 1995-2010 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.

Last Updated:01/20/2010