Modify - Manual - Modify - The SIMATIC Modifier. - Modify (mod),tool

Modify CLI Tool (mod)

Portfolio
SIMATIC AX
Product
Modify
Software version
1.2.2
Edition
05/2024
Language
English (original)
Package Name
@ax/mod

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.