Writes the value in the cache to PLC. Use the SetVal method to set the value in the cache. If you use automatic updates with StartUpdate in combination, the cache value will always be updated, so the settings made with the SetVal method may become invalid. Note that the WriteVals method can also be used to perform the same process.