AccessPath

<< Click to Display Table of Contents >>

Manual > Reference > Properties >

AccessPath


 

The common path name of the tag.

 

 

 


Setting and retrieval examples

AxEng1.AccessPath= "U01.F01."

 

 


Commentary

The AccessPath property allows you to specify the common character portion of the tag name, thereby omitting the first half of the tag path string in the following methods.

 
 

•Methods and properties where AccessPath is valid
ReadVal/ReadVals Method
WriteVal/WriteVals Method
Value Property

 

For example, if you set the AccessPath property to “U01.F01.”, the previous way of calling it would be ReadVal(“U01.F01.T01”,xxx), but now it can be abbreviated to ReadVal (“T01”, xxx).

 

example)

AxEng1.AccessPath = “U01.F01.”

AxEng1.ReadVal “T01”, a

AxEng1.WriteTag “T01”, a

* Internally, it is processed as AccessPath + “T01”, i.e. “U01.F01.T01”.

 

 

 


reference

 

ReadVal

ReadVals

WriteVal

WriteVals

GetVal