WriteRefresh

<< Click to Display Table of Contents >>

Manual > Reference > Methods >

WriteRefresh


 

Writes values to the cache on a per-folder basis.

 

 


syntax

bResult = AxEng1.WriteRefresh(

                                         UnitName ,

                                         FolderName

                                         )


Parameters

UnitName

 

type:

string

 

Unit name. Example: U01

FolderName

 

type:

string

 

Folder name. Example: F01

 

Return Value

bResult

 

type:

bool

 

FALSE - Failure. TRUE - Success.

 


Commentary

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.

 

 

 

 

 


reference

 

StartUpdate

StopUpdate

SetVal

WriteVals