pwrp_alias.dat
File to control setting of initial values when starting ProviewR.
There are some different ways of setting values through the pwrp_alias-file.
The same file is used for all nodes in the project. Each row in the file should start
with the following expression:
_setval
The different ways of setting things is described below:
1. Setting an attribute value
_setval =
example:
bslds1_setval bsl-ds1-par-maxtemp.actualvalue = 70.0
Using the above described syntax will set the value before the backup is loaded and before
the plc-program is started. This means that if a value is backed up then the backuped value
will always be valid.
If you instead really want the setting in this file to have effect then use this syntax:
_setvalp =
In this case the setting will take effect after the backup-file is loaded and the plc-program
is started.
2. Setting simulation mode
Setting the simulation mode means that no physical i/o will be handled. You can write simulation
programs to set correct values on the input i/o. Add this line to the file:
_setval plcsim = yes
3. Set all plc-programs to scan off at startup
To set all plc-programs to scan-off use this line:
_setval plcscan = off
Turn a plc-program on by finding the corresponding WindowPlc-object (child to PlcPgm-object) and
set the attribute ScanOff to 0. Observe that there might be subwindows in this program
that also need to be turned on.