Use this command to modify the global variable globalInt to the value 0:
apax mod --targetIP 192.168.0.1 --certificate ./cert.cer --password aSecurePassword --symbol globalInt --value 0
Use the following command to modify a static variable myVarStaticInt of an FB type FBWithStaticVariable accessible via variable myVarStaticInt and running within Program P1 to the value 0:
apax mod --targetIP 192.168.0.1 --certificate ./cert.cer --password aSecurePassword --symbol P1.myFBWithStatic.myVarStaticInt --value 0
The success of the operation can be verified by looking at the mon tool.
Note
This command is executed only once and as quickly as possible without reference to a defined position (trigger point) in the user program.