Setup of RYM DPRNT Transmitter Service for CNC Commands

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

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

* Most machines have set DPRNT locations, please see the machine manual for this location.

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

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

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