Table Output Format - 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.6.5
Edition
01/2025
Language
English (original)
Package Name
@ax/mon

The mon utility will output the data in a table like format by default. The command shown above continuously lists the current values of the variables specified in the file 'variables.mon' as well as detected errors as shown in the following example.

myBOOL -> True
myINT -> 23388
myDINT -> -56
mySINT -> -5
myUINT -> 37696
myUDINT -> 512
myULINT -> 512
myREAL -> 5
myLREAL -> 3.14159
%MW3:UInt -> 37696
%Q2.1:BOOL -> False
%M0.1:Bool -> False
mySimpleArray:
   mySimpleArray[0] -> True
   mySimpleArray[1] -> False
   mySimpleArray[2] -> True
   mySimpleArray[3] -> False
   mySimpleArray[4] -> False
   mySimpleArray[5] -> False
   mySimpleArray[6] -> False
   mySimpleArray[7] -> False
myArray[1,2] -> 5
myArray[0,*]:
   myArray[0,1] -> 1
   myArray[0,2] -> 2
myArray[*,*]:
   myArray[0,1] -> 1
   myArray[0,2] -> 2
   myArray[1,1] -> 0
   myArray[1,2] -> 5
myMotor:
   myMotor.is_running -> True
   myMotor.power_consumption -> 10
   myMotor.hours_operating -> 7796
myMotor.is_running -> True
myMotor.power_consumption -> 10
myMotor.hours_operating -> 7796
myConveyor:
   myConveyor.Motor1.is_running -> True
   myConveyor.Motor1.power_consumption -> 0
   myConveyor.Motor1.hours_operating -> 0
   myConveyor.Motor2.is_running -> True
   myConveyor.Motor2.power_consumption -> 0
   myConveyor.Motor2.hours_operating -> 0
   myConveyor.is_running -> True
myConveyor.Motor1.is_running -> True
====================================================
=                  Warnings/Errors                 =
====================================================
myImaginarySymbol -> UnknownSymbol
%IW0:sint -> UnsupportedType
%QW0 -> AbsoluteAddressInvalid
%I0.1:boll -> UnsupportedType
%J3.4:Bool -> AbsoluteAddressInvalid
myArray[1,2,3] -> DimensionCountOfArrayDoesNotMatch
myArray[1,100] -> ElementOfArrayIsOutOfBoundary

All possible error codes are explained in the CLI reference.