Example usage - 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
# Monitor the global or static symbols "globalInt", "globalBool" and "P1.myFBWithStatic.myVarStaticInt" once on the username, the password and a certificate on a UMAC PLC with IP 192.168.0.1
mon --targetIP 192.168.0.1 --symbols "globalInt globalBool P1.myFBWithStatic.myVarStaticInt" --username yourUserName  --password aSecurePassword --certificate ./cert.cer
# Monitor all variables within the file "monFile.mon" continuously on the password and certificate protected PLC with IP 192.168.0.1
mon --targetIP 192.168.0.1 --file ./ax-mon-example/monFile.mon --continuously --username yourUserName --password aSecurePassword --certificate ./cert.cer