No data received on CNC

Problem: When trying to send data from the DNC server to the CNC, no data is received.

1. Check the port log

If no data is sent because the file is empty, or no valid start trigger is found, then the port log might give you some indication of what is wrong.

2. Check the terminal window

Check the terminal window to verify that the server is actually sending any data.

If no data is send, check the port status. In some cases the server will wait for a start of transmission signal from the CNC. If this is the case, the port status will indicate this.

For further information, please refer to the Terminal window.

3. Check that you are using the correct serial port

Open the configuration dialog, and check that you have selected the correct serial port.

4. Handshake problem

Check that you are using the correct handshake method. If hardware handshake is not enabled, try selecting Set RTS high and/or Set DTR high in the serial port configuration dialog.

Some machines use non-standard software handshake characters. If this is the case change the XOn character / XOff character in the serial port configuration dialog.

For further information, please refer to Serial Port.

5. The CNC needs a transmission start character

Some machines need a specific character before it starts to store a file. Check the machine manual. Many machines need a % at the top of the program, some need NULLs (blank tape), others need an end of block code (CR/LF).

If this is the case, you should specify this in the Start of feed configuration dialog.

For further information, please refer to Start of feed.

6. Cycle start problem

Many machines require the program to be sent to them as soon as the cycle start button is pressed. Select transmit program at the DNC before pressing cycle start. This requires the PC to start sending when it either sees the handshake line going high (for hardware handshaking) or when it receives an XOn (for software handshaking).

If software handshaking is used then try enabling Wait for XOn in the port transmit settings.

For further information, please refer to Transmit.

7. End of feed problem

Some machines need a specific character to indicate the end of the file. Check the machine manual. Many machines need a % at the end of the file, some need a special control code character like ASCII 0 (NULL), ASCII 3 (ETX) or ASCII 26 (SUB).

If this is the case, you should specify this in the End of feed configuration dialog.

For further information, please refer to End of feed.

8. Check your cable

Check that your cable is wired correctly.

For information on how to wire a standard serial cable, please refer to Serial Communication Overview.

Some machines requires a special non-standard serial cable. For further information, please refer to the reference manual for your CNC.

9. Try another serial port

Try using another serial port, in case you have a defective serial port.

10. Perform a loopback test

To check that the cable is wired correctly, and that the port is working, you can perform a loopback test.

For further information, please refer to How to perform a loopback test.