Using the ADS monitor
The TwinCAT ADS monitor is divided into two applications. The AMS logger records the AMS commands, while the AMS viewer displays the recorded data or can be used to control the AMS logger remotely.
The AMS logger is called up and configured with the program tcamslog
. Additional parameters can be used determine the maximum size of the log file or whether a ring buffer should be used, for example.
Parameter | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Proceed as follows:
- 1. Enter the command
tcamslog -c -r -s 20 -f testlog
in the console to record AMS commands. - 2. The parameters used in the sample determine the size
[-s]
, the file name[-f]
and the use of the ring buffer[-r]
.
- In the next step, load the recorded AMS commands into the AMS viewer to analyze the log file.