The available CX9000 evidence identifies DLOG_STORE_FILE_CSV as the file-logging mechanism. Supporting demo programs reside in network.lib under the DEMO folder. Copy the required programs into the PLC project, adapt them to the application, and supply every module-specific parameter before testing.
Confirmed logging components
| Item | Evidence-supported detail |
|---|---|
| Logging mechanism | DLOG_STORE_FILE_CSV |
| Demo library | network.lib |
| Demo location |
DEMO folder |
| Example output | test.csv |
| Output location | PLC default directory |
The evidence does not provide the function interface, required parameter names, trigger conditions, record layout, or absolute path of the PLC default directory. Obtain those details from the copied demo and the module declarations rather than assigning guessed values.
Integrate the demo into the PLC project
- Open
network.liband locate the programs in itsDEMOfolder. - Copy the programs needed for
DLOG_STORE_FILE_CSVinto the target project. - Adjust the copied programs for the required log data and file.
- Supply the module-specific parameters required for full operation.
- Run the logging path and check the PLC default directory for the requested output file.
test.csv is an example filename, not an established requirement. Preserve or change it according to the copied program's supported interface.
Verify the file result
Use file creation as the primary verification point. When using the cited example, confirm that test.csv appears in the PLC default directory and contains the intended log data. If no file appears, first verify that the required demo programs were copied and that all module-specific parameters were supplied.
If the file exists but its contents are incorrect, compare the adapted program with the original demo. The evidence does not define field order, delimiters, buffering, overwrite behavior, or file-update timing, so determine those behaviors directly from the demo implementation.
FAQ
Which CX9000 mechanism writes log data to a file?
The evidence identifies DLOG_STORE_FILE_CSV for writing log data to a file.
Where are the DLOG_STORE_FILE_CSV demo programs?
Find the demo programs in network.lib under the DEMO folder, then copy the required programs into the PLC project.
Where does test.csv get stored on the PLC?
The example places test.csv in the PLC default directory. The evidence does not specify that directory's absolute path.