To write one or more values through the monitoring you need to get the online application, set/prepare the values and write them through the online application.
The following example prepares one value and writes it to the device:
If you want all the prepared values to be forced you have to use the method force_prepared_values().
For more details you should have a look at the ScriptEngine online help which you can find in the directory "CODESYS\Online Help" of the CODESYS installation directory.
Regards,
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I have a question,
Many Thanks.
Hi.
To write one or more values through the monitoring you need to get the online application, set/prepare the values and write them through the online application.
The following example prepares one value and writes it to the device:
If you want all the prepared values to be forced you have to use the method force_prepared_values().
For more details you should have a look at the ScriptEngine online help which you can find in the directory "CODESYS\Online Help" of the CODESYS installation directory.
Regards,
Martin