Printed Circuit Board Assembly & PCB Design SMT Electronics Assembly Manufacturing Forum

Printed Circuit Board Assembly & PCB Design Forum

SMT electronics assembly manufacturing forum.


DEK Printer File Format

Views: 12341

#80443

DEK Printer File Format | 21 May, 2018

Hi Experts, We have some DEK printers and I would need to extract information from multiple programs like pressure, speed, etc. I would like to make an script to get it, but I first need to know the file format.

After performing a backup the file format are with extensions: ISD (binary) PR1 (binary) PXF (XML)

Also, if I check at the running processes in that machine I see that there is a MSSQL server running. Do you know if it is possible to access it?

reply »

#80512

DEK Printer File Format | 7 June, 2018

Hello Diego, i will try to help you. Can you tell me which software of the DEK you use, also machine (Horizon, ela, etc)? In our machines (NEOHorizon 03ix) we can get this type of information in a few ways, but it requested by us to dek. We are using the dek closed loop software and we get barcodes, printer information etc. There is an older version in which also with screen printer feedback you can get a folder with every panel information in XML. I dont know how can you get this any other way. Hope this was helpful.

reply »

#80547

DEK Printer File Format | 14 June, 2018

We have horizon 03i and neo horizon 03ix

reply »

#80549

DEK Printer File Format | 15 June, 2018

Hello, so i am not sure about the MSSQL. But i think that you have to order the printer feedback function or the closed loop software. Here is what we get in those files, which i think is okay for you:

2018-06-13T10:37:42.11 DEK 1_8241812441,2_8241812442,3_8241812443,4_8241812444 Printed 2018-06-13T10:37:42.10 Reverse 10 mm seconds 0 0 0 4 28.3 222 205 234 0 234 223 1.5 6.6 0.2 50 1 25.8818054199219 51.9745864868164

All data is in xml, so here didnt come up well. If you need more information contact me.

reply »

#80669

DEK Printer File Format | 14 July, 2018

Hi One day I was bored so I looked at the files just for fun, and at first was lost for a bit.But actually the file is very easy to read, the program is in the .PR1 file.

It is a chunk based format, something like; Byte Specifier Byte datasize Byte[] data

basically you just read the Specifier, then the size, and skip over the data until you get what you want.

What are you looking for, just a Binary to text dumper?

reply »

#80670

DEK Printer File Format | 14 July, 2018

Hi. Actually i found that dek has an option to print to file the program data that will be found in an PRN file inside the Products folder. This file contains what i wanted.

The problem now is that this file is not generated automatically. One must be cliking in the software interface in order to get the PRN.

Maybe is there some commandline tool to generate it.

reply »

#80671

DEK Printer File Format | 14 July, 2018

Where about Is the option to output your programs to prn ? I have a horizon i3 on the floor. If I can get both files pr1 and prn then I can write a command line tool to output the entire product folder to prn or a single spread sheet.

reply »

#80673

DEK Printer File Format | 16 July, 2018

Hi. The "Print o File" option is found in : Maintenance/Maintenance/Print Data/Individual Products -> Then there is a button below to print to printer or print to file.

I know how to set a virtual printer, to catch the printed data and store it in a DB, but I miss how to setup automatic printing in DEK after any change. Could you help with it?

reply »

#80675

DEK Printer File Format | 16 July, 2018

Thanks I found it, the prn is a text file with data from all three files. To make it simple I can export everything from just the pr1, which includes board dimension, pressure etc ..

How did you want the data converted? CSV?

reply »

#80678

DEK Printer File Format | 16 July, 2018

That is great. Yes Csv is desired.

Eventually, i will import all CSVs into a database table, filter changes, asociate it with our shopfloor and compare models in excel.

How did you find out the data format again? Do you also know if it is possible to run an script by the printers events? Like every print, every adjustment change, etc.

reply »

#80679

DEK Printer File Format | 17 July, 2018

I interpreted the binary values using a hex editor. It took a while to figure it out, but it’s actually pretty simple. Originally I had planned to manage the data across our printer programs like barcodes, board id’s as locations etc. But they never networked the the printers so the projects been in limbo..

Anyway I’m not sure how you would go about monitoring the printer software. But I did a similar thing for our juki machines. I ran a watch event through Microsoft power shell to monitor when line program files are accessed, deleted, created or modified. This allows me to document actions Such as when staff open files or make copies if they delete or overwrite a line program.

For production monitoring it’s not idle, but for file managing it’s fairly useful.

Anyway I should be able to complete pr1 collector by the end of the week. I want to migrate my old VBA code to C++ then work in the csv output.

reply »

#80713

DEK Printer File Format | 20 July, 2018

https://youtu.be/o0o3tlGD7XA

reply »

#84052

DEK Printer File Format | 28 December, 2019

Hi, I am using Dek horizon03i printer. I am also wondering similiar solution. It will be great help you can share the application. Thanks

reply »

Sell Your Used SMT & Test Equipment

Void Free Reflow Soldering