Utilizing DPRNT Commands for Efficient CNC Machine Communication

10.1 DPRNT Command List

If you DPRNT information to a service for the Okuma, Hurco or Mazak (not to the FactoryWiz DNC Server), here are a list of the commands.

 

DPRNT Command

Purpose

Example

START

Set machine status as running

START

FINISH

Set machine as idle and increment part counter

FINISH

PARTINCR

Increments the part counter by x

PARTINCR

PART-

Set the Part ID

PART-MD20 G1

P-

Set the Part ID on Okuma only as they have limited string length.

-MD20 G1

JOB-

Set the Job number

JOB-WO1234

IDLE

Set machine status as idle

IDLE

IDLE-

Set machine status as idle and idle reason

IDLE-LOADING

PARTQTY-

Set parts per cycle

PARTQTY-5

PARTCOUNT-

Sets the resettable part count

PARTCOUNT-235

SEQUENCE-

Set N sequence number

SEQUENCE-5

BLOCK-

Set N sequence number

BLOCK-5

TOOL-

Set T tool number

TOOL-1

PAUSED-

Set machine status as paused and idle reason

PAUSED-PALLET CHANGE

RESUME

Set machine status as running

RESUME

OPERATOR-

Set CNC operator name

OPERATOR-TROY

CUSTOM1-

Set Custom text 1

CUSTOM1-FIRST OP

CUSTOM2-

Set Custom text 2

CUSTOM2-NEXT JOB IS 1234

CUSTOM3-

Set Custom text 3

CUSTOM3-DEBURR PART

MODE-

Set machine mode

MODE-SETUP

CYCLETIME-

Set projected runtime in seconds

CYCLETIME-600

BATCHQTY-

Set batch quantity

BATCHQTY-50

ALARM-

Set alarm text

ALARM-CLAMP ERROR

 

Sample DPRNT Statements

If using FactoryWiz DNC for handling DPRNT then you can customize the commands. If using Okuma, Mazak or Hurco services then you will need to follow these commands.

 

Fanuc and Haas DPRNT format:

POPEN

DPRNT[PART-ABC OP10]

DPRNT[CYCLETIME-#500[40]]

PCLOS

 

Okuma format:

FWRITC MD1:DPRNT.TXT;A

PUT 'PART-MD139 GI'

PUT $0A

PUT 'CYCLETIME-7200'

PUT $0A

WRITE C

CLOSE C

 

Example 1 – Standard VMC single pallet making 4 parts per cycle




    • Related Articles

    • Haas NGC DPRNT

      HAAS DPRNT Configuration How to setup Haas NGC DPRNT to work with FactoryWiz In order to DPRNT data to FactoryWiz from a Haas NGC there are a things to set in both the CNC settings and FactoryWiz settings. Before you input any settings, you must ...
    • RYM DPRNT Transmitter Service

      How to send DPRNT commands to FactoryWiz This is a windows server that sends received DPRNT commands to FactoryWiz. This service is installed on a windows service. .Net Framework 2.0 is required. Installing the DPRNT Service 1. Create a folder in the ...
    • Hurco DPRNT Set Up

      How to set up Hurco DPRNT 1. From menu button on left select "run program" 2. Will be prompted for a password. Try these: a. 46268 b. 86264 c. 8626486264 3. Run command prompt 4. Create C:\RYM folder 5. Copy net dprnt files to C:\RYM folder 6. Open ...
    • Mazak RYM DPRNT Transmitter Service

      .Net Framework 2.0 is required. Mazak RYM DPRNT Transmitter Service This is a windows server that sends received DPRNT commands from the Mazak CNC to FactoryWiz. This service is installed on a windows service. Installing the DPRNT Service 1. Create a ...
    • Troubleshooting Haas NGC Connection and DPRNT Test

      This guide assumes you have setup the CNC settings and FactoryWiz in this KB Article. Ping Test We use a ping test to see if the server can see the Haas machine with its given IP address. In this example, our Haas has an IP of 192.168.0.19. See how ...