Apax scripts - Manual - Monitor - The SIMATIC Monitor. Enables you to monitor global variables on your PLC. - Monitor (mon),tool

Monitor CLI Tool (mon)

Portfolio
SIMATIC AX
Product
Monitor
Software version
1.1.2
Edition
03/2024
Language
English (original)
Package Name
@ax/mon

Another way to run the monitor is an apax script. The results are shown in the terminal in which the script was started.

Just open the apax.yml file in the project folder and add a new script. An example apax script might be:

scripts:
  monitor: "mon --targetIP 192.168.0.1 --certificate ./ax-monitor-example.cer --password superSecurePassword1337 --file ./variables.mon --continuously"

Now the monitor command can be started by typing:

apax monitor

It is possible to add more than one script to the scripts section.