Issue
I want to make my own report (if so go directly to file-logger, skip the reader setup)
Or
I want to read a code from a preprinted product with a camera, print sequentially from a data file, and produce a file containing the code linked to the record in the data file. That is, I want to know what code went with what customer.
Setup
Make a job with a camera and an inkjet type “File Logger” for which you must have a license. This inkjet must be referenced to a sync-point or a product detect as a reference in order to get the number, below to PD 2, AFTER the camera result has been received. That is, all information for the file-logger must be available at the reference. It is clear that you do not reference to something that happens before what you want to log.
Declare the reader mode as logg. Set the number of digits you expect (here 9).
In the File Logger, declare like with another regular inkjet, the fields you want to get printed. In below case, they are going to be logged in C:\temp\FileName GBR.txt. Notice that you have to enter the path, here c:\temp. For a computer in the network \\ComputerName\c\temp (of course the network cannot be overloaded otherwise you better log locally !!!)
Notice that you can enter the splitting size which must be 0 (no split), 1’000, 10’000, 50’000, or 100’000. Also, if you wanted only the bad products, enter just B. If you wanted only the good products, enter G alone.
If you wanted a file for good products and another file for bad products, you would have to declare 2 file-loggers.
To control on-line what is being logged, simply check the trace function and you will see in the RTX console every record that is being logged as it happens.
If you had the split set to 1’000, the directory to c:/logger, GBR to GR (only good and reorders, no bad ones) and the file name was big bundle size, you will find the following files (first is the gile name then GBR, then split) as you produce:
What if I need to reference the File Logger later?
Assume that a reader 3 is referenced to synchpoint SP 3, a photocell. How do you get the result of reader 3 logged?
Workaround:
you will have to declare a SP4 and a trackout, say on OUT09 that is referenced to SP3 after Reader 3 (at least a product away). Connect OU09 electrically with a jumper to say IN09. Now you have SP4 further down the line from Reader 3, reference the File Logger to SP4