ReadRefresh

<< Click to Display Table of Contents >>

Manual > Reference > Methods >

ReadRefresh


 

Reads folders and updates the cache.

 

 


syntax

bResult = AxEng1.ReadRefresh(

                                         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

Reads all tag values in a folder specified by PLC and refreshes the cache. Values in the cache can be obtained quickly with the GetVal method. Use this when you want to refresh the cache at your own timing without automatic updating with StartUpdate. Note that the ReadVals method can also be used to perform the same process.

 

 

 

 

 


reference

 

StartUpdate

StopUpdate

GetVal

ReadVals