Direct Get and Set mode
The following command line options can be used to read and write data point element values:
This command line option displays the value of a data point element on the screen:
WCCOAascii -proj [project name] –get dpname. -log +stderr
This command line option sets the value of a data point element:
WCCOAascii -proj [project name] –set dpname. value
Example
The original value is displayed on the screen:
WCCOAascii -proj WinCCOAProj –get ExampleDP_Arg1. -log +stderr
If you do not specify the options "-log +stderr" with the Get mode, the queried value will be written into the log file WCCOAascii1.log in the directory <proj_path>/log.
The original value is set to 10:
WCCOAascii -proj WinCCOAProj –set ExampleDP_Arg1. 10
Errors (when setting or getting values) are written into the PVSS_II.log file in the directory <proj_path>/log.