How do you do a remote request from Predator DNC?

How do you do a remote request from Predator DNC?

Remote request through Predator DNC: In many cases, a CNC machine may be located a good distance away from the computer, or perhaps a number of machines are connected to a central computer. In either case, the last thing you want is machine operators running or shouting across the shop, or crowding around the computer.

If your CNC machines are based on a modern operating system, then they might be connected to your company’s Ethernet network and thus able to browse through a remote server’s files. In most cases though, the NC control just doesn’t have any networking capability and are unable to do anything like that.

One thing most CNC’s can do, however, is to send and receive files via RS232. They can’t request files from computers, but they can send files to computers. So, what we can do is create a small program on the CNC, write our request into that file, and sent that file to the computer. As long as the computer, in this example running the software Predator DNC, is expecting such a file, it would see the incoming data, read the request, and complete whatever action was contained within. In this example, Predator DNC has been programmed to expect such simple file requests from pretty much any CNC as long as the CNC is capable of punching out a CNC program through the serial port.

Before you can use the server mode within Predator DNC, you need to set it up and enable it. We’ll explain that in a moment. First, we’ll give an example of what you can do with it. In our examples, we’ll describe usage with a machine like a FANUC because there are lots of other makes and models of CNC which adhere to the same ISO data standards. We can also show you a couple of alternatives, so you can adjust this method to suit other machines.

In the CNC control, we first create a small program using a program number that isn’t used by the machine. We call this program the Remote Request, because we use it to request a program from the PC remotely. Let’s use program number 7 as our Remote program (O7777). You can, of course, use any program number you want. In our example we want the PC to send program number 1234 into the machine. On a FANUC we’d create a small Remote program like this:-

%

O7777

(LOAD 1234)

M30

%

That’s it: just those five lines. When you’re ready, send (“Punch”) the Remote Request to the computer and quickly switch the CNC into “Input” / ”Read” mode. When Predator DNC receives the request it opens the file, sees the command (LOAD) and the following text (1234) and knows that the CNC is waiting for program 1234. Predator DNC pulls the file from the machine’s default folder, loads it up, and sends it to the CNC.

Keep the Remote program stored on your CNC, so you can use it again. Next time you use it, just edit the text between the parentheses to request any other program. For more remote request info, check out this video from our YouTube channel

    • Related Articles

    • Why does Predator DNC splits the file into DNC0, DNC1, etc?

      Problem Predator DNC is saving the uploaded (CNC to PC) program in multiple files. The first one is saved with the correct name, but does not have the entire program. The rest of the program is saved in the DNCX naming, e.g. 123.nc DNC0.nc DNC1.nc, ...
    • Why am I getting “Too Many Active Commands” message in Predator DNC logs?

      Overview Predator DNC is trying to open more ports than you are licensed for. You either have too many machines configured or you have more then one PXP configuration file open. If you do have too many machines/commands configured, request an upgrade ...
    • Predator DNC Remote Installation Preparation

      Overview To help prepare for your remote Predator DNC installation, it is recommended you read the following Knowledge Base. Feel free to ask a SFA technician any questions. Licensing Preparation The Predator DNC application will use a temporary ...
    • Predator DNC Onsite Preparation

      Overview To help prepare for your onsite Predator DNC installation, it is recommended you read the following article. The technician will implement features detailed in the scope. Features such as drip-feed must be defined in the scope to be ...
    • How to Back Up the Predator DNC PXP Configuration

      Overview Backing up the Predator DNC configuration is key to preventing shop downtime. The Predator DNC configuration is known as the PXP. To back up the the PXP, use the following as a general guideline to find it and save to a secure location. Shop ...