|AutomationDirect Live Chat|
This video gives basic information on Using the FileLog "Log to File" instruction in the Do-more Designer software. It presents information that is commonly missed by users. This WILL NOT be a complete tutorial for the instruction but rather a supplement to the help file and customer experience.
This instruction is used to log the data found in this table based upon these conditions. Only BRX PLCs have the SD Card File System, but all Do-mores have a useable RAM File System if they have above version 2.0 firmware. This is the full path of the file to use for logging. Notice that the File name by default shows quotation marks, this indicates that you are using text and not a string. Now if you want to use a string tag here, just insert the tag here. For the Input leg you can select edge triggered so that this instruction logs when there is an off to on transition or you can select Power flow enabled and then have one of these 5 options for time base of the logging. I strongly advise using this option. It appends the File name with a Timestamp. At the same time I advise using the "Generated File Name" this will store the name into a string tag. This string then can be used by other FILE instructions to target the current and complete file name generated from the File Log. There can be up to 50 entries in this table and there can be a max count of 10 elements per entry. This instruction can be used in Task or Program but cannot be used in Subroutines or Interrupt service routines. There is a utility program called Browse PLC File Systems to manage the contents of any file system. This can be found, while the designer software is connected to the PLC, and selecting PLC-> Browse PLC. File system.