If you need to retrieve some global values from your PLC, connect to the PLC, start Monitor and insert the values you want to know. You can either provide a .mon file that includes a list of all variables to monitor or send the variables as command arguments. You can run Monitor via an Apax command or script or by starting the mon.exe file in a terminal.
You can also define the output and obtain all data as JSON, save it in a file or parse it to a script to evaluate the results. Customize your output to your specific requirements.