Home › Knowledgebase › KB-1597

Windows Security Update Blocked CNC Data Transfer

Summary

This guide helps you troubleshoot and resolve: Windows Security Update Blocked CNC Data Transfer. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Windows Security Update Blocked CNC Data Transfer

Following a Windows security update, shop floor PCs running legacy CNC control software may lose the ability to transfer files to a FANUC CNC controller over the fxCX Ethernet socket connection. DNC transfers fail without displaying a specific error code, and production on the workshop floor stalls. This guide explains how to restore local socket listening ports and adjust Windows Defender Firewall rules so industrial protocol traffic can flow on your isolated control PC.

Quick Fix Steps

  1. Restart the control PC to ensure the Windows update has completed and all pending changes are applied.
  2. Confirm the CNC controller is powered on and the Ethernet cable is securely connected to the shop floor PC.
  3. Open Windows Defender Firewall with Advanced Security and check for inbound rules blocking the legacy socket port used by your CNC software.
  4. Create or re-enable an inbound rule allowing TCP traffic on the required port for the local subnet.
  5. Test a DNC file transfer from the CNC software to the FANUC controller.

Detailed Instructions

Step 1: Open Windows Defender Firewall with Advanced Security

  1. Select the Start button, type wf.msc, and press Enter.
  2. In the console tree, select Inbound Rules.
  3. Look for any rule related to your CNC or DNC software, or any rule referencing the socket port used for FANUC communication.

Step 2: Create an Inbound Rule for CNC Socket Traffic

  1. In the Actions pane, select New Rule.
  2. Choose Port and select Next.
  3. Select TCP and enter the specific local port used by your CNC software for fxCX Ethernet communication.
  4. Select Next, then choose Allow the connection.
  5. Select Next and ensure Domain, Private, and Public are all checked if the PC is on an isolated workshop network.
  6. Select Next, give the rule a descriptive name such as CNC FANUC fxCX Socket, and select Finish.

Note: If your CNC software uses a specific executable rather than a fixed port, you can create a Program rule instead. Select Program in the New Rule wizard and browse to the CNC application executable.

Step 3: Verify the Local Socket is Listening

  1. Select the Start button, type cmd, right-click Command Prompt, and choose Run as administrator.
  2. Run the command netstat -ano | findstr [port-number], replacing [port-number] with the socket port used by your CNC software.
  3. Confirm the port shows a state of LISTENING. If no result appears, the CNC service may not be running or the port is still blocked.

Step 4: Test DNC File Transfer

  1. Launch your CNC communication software on the shop floor PC.
  2. Initiate a DNC file transfer to the FANUC CNC controller.
  3. Confirm the transfer completes without error and the CNC machine receives the program.

Troubleshooting

Firewall rule reverts after reboot

Group Policy on your organisation's network may be overwriting local firewall settings. If the rule disappears after a restart, contact your IT administrator to apply the exception through central policy management.

No listening socket detected

Ensure the CNC DNC service is set to start automatically. Open Services, locate the CNC communication service, and confirm its Startup type is set to Automatic.

Transfer still fails with no error code

Temporarily disable Windows Defender Firewall for testing only. If the transfer succeeds, the firewall rule is the cause. Re-enable the firewall immediately after testing and refine the inbound rule scope to your local workshop subnet.

Warning: Do not disable Windows Defender Firewall permanently on a production PC. Leaving the firewall disabled exposes your workshop network to security risks.

If you host with us, you don't need to do this yourself — just Open a Ticket and our Brisbane team will get it sorted.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket