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