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
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 |
POPEN
DPRNT[PART-ABC OP10]
DPRNT[CYCLETIME-#500[40]]
PCLOS
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
%
#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.