TestIT:Configuration Log
Jump to navigation
Jump to search
6.3.5 Log
Log is a logging device, that will log a specified array of symbols to in an interval to a file. It will run, when started from programming, and keep running, until stopped from programming. It is possible to trigger it instant, by delay, or by a symbol.
Setup fields:
- Configuration
- How to start/stop parameters?
- Setup log
Configuration:
- Write the device name and device description (required)
- Select if the device is active or not
- Select the following:
- File extension – What type of file to use
- Folder for the files – Path to the folder on the disk
- Delimiter – Delimiter sign
- If exists – Whether to overwrite or create a new file with a timestamp
- Rate – Rate of logging, 1 or 5 per second
- Sample rate – 1, 5, 10 or 20
- Press Save
How to start/stop parameters?
- Select start method
- Select between “when started”, “with delay” or “trigger by symbol”
- Select waiting time (in MS) – Delay time
- Only applying if “with delay” is selected
- Select trigger symbol – Symbol to get trigger value from
- Only applying if “trigger by symbol” is selected.
- Select trigger validation – Type of validation.
- Select between “equal”, “not equal”, “less than or equal to”, “greater than or equal”.
- Only applying if “trigger by symbol” is selected.
- Select trigger value – Value to validate against.
- Only applying if “trigger by symbol” is selected.
Setup log:
- Press Add symbol
- Select the symbol to log
- Select highest or lowest
- If highest, the highest value is set to this symbol
- If lowest, the lowest value is set to this symbol
- Select whether to use sample functionality or not
- If marked, select the sample symbol
- Press Save
6.3.5.1 Commands
Commands in log are:
Find a code example and the parameters in the functions window, in section internaldevice.