Implementing Mazak RYM DPRNT Transmitter Service

Mazak RYM DPRNT Transmitter Service

.Net Framework 2.0 is required.

Mazak RYM DPRNT Transmitter Service

This is a windows service that sends received DPRNT commands from the Mazak CNC to FactoryWiz.
This service is installed on the Mazak's Windows based controller.

Installing the DPRNT Service

 

1.     Create a folder in the C drive called FactoryWiz

2.     Copy the contents of the RYM Transmitter Folder (available upon request) to the C:\FactoryWiz

3.     Open FWConfig.txt, edit lines:

1.     Machine Name in FactoryWiz (must be indentical)

2.     Path of the DPRNT file on the CNC control (normally C:\MC_sdg\print\print.txt) *

3.     URL of the FactoryWiz server SOAP API (example http://10.1.0.50/interface/v3/dataaccess.asmx)

4.     Save file

5.     Run Install.bat to install the service

6.     Start service

Set Mazak parameter DPR14 to 4. See Mazak manual for further details on this parameter.


* Most machines have set DPRNT locations, please see the machine manual for this location. 
   For instance, SMOOTH series controllers may have a path of C:\ymw\M8Y\data\MC_sdg\print

To debug this software, create a text file called debug.txt in the installation folder above and restart the service. The debugger will only be active for 8 hours from restarting the service.

 

Standard 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

JOB-
Set Job Number / Work Order
JOB-WO1984 OP10

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

TLOFS-

Set Tool Offset

TLOFS-3 GEORADIUS 0.04

WKOFS-

Set Work Offset

WKOFS-X G54P7 -0.0003

VAR-

Set Macro Variable

VAR-501 1.111




 

DPRNT format

 

POPEN

DPRNT[PART-ABC OP10]

DPRNT[CYCLETIME-#500[40]]

PCLOS

 

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

 

Part ID-                         ABC123 OP10

Cycle time (secs)-          600

Parts per cycle-             4

 

%

O4000(ABC123 OP10)

(HEADER OF PROGRAM)

POPEN

DPRNT[PART-ABC123 OP10]

DPRNT[CYCLETIME-600]

PCLOS

 

Cutting metal here

 

(END OF PROGRAM)

POPEN

DPRNT[PARTQTY-4]

DPRNT[PARTINCR]

PCLOS

M30

%

Example 2 - Output Tool Offset for offsets 1 – 10 (check the machine manual for the correct variable numbers)

 

#100=1

POPEN

WHILE[#100LT10]DO 1

DPRNT[TLOFS-#100[20] GEOLENGTH #[2000+#100][34]]

DPRNT[TLOFS-#100[20] WEARLENGTH #[2200+#100][34]]

DPRNT[TLOFS-#100[20] GEORAD #[2400+#100][34]]

DPRNT[TLOFS-#100[20] WEARRAD #[2600+#100][34]]

G4

#100=#100+1.

END1

PCLOS

 

Example 3 – Output Macro Variable

 

POPEN

DPRNT[VAR-500 #500[44]]

PCLOS

 

In the example above, the statement is broken into 3 section, split by a space. VAR-500 tells FactoryWiz the to store the information against variable 500 in FactoryWiz (must be added in the machine config page beforehand). It prints out the content of variable 500 in the Mazak. The 1 at the end tells FactoryWiz it is path 1. The path can be omitted If single path or its path 1.

 

Please see the the machine programming manual for further information on how to write macro variable programs.


    • Related Articles

    • 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 ...
    • Troubleshooting Mazak Native Connections

      This is not for ADAM or MTConnect machines How to check Mazak Native Connections Can you ping the machine IP address? If not, check the IP address in the machine is correct. Check the physical network connection Check the switch is not blocking the ...
    • 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 ...
    • 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 ...
    • Configuring Mazak for Monitoring

      Configuring Mazak Configuring Mazak for Monitoring In FactoryWiz Login as an Admin Navigate to CONFIGURATION > MACHINE ADD Input the name of the machine Set the machine type to Mazak Set IP address Save. Navigate to CONFIGURATION > LICENSING Increase ...