ReadVal

<< Click to Display Table of Contents >>

Manual > Reference > Methods >

ReadVal


 

Read the value.

 

 


syntax

bResult = AxEng1.ReadVal(

                                 TagPath,

                                 Value

                                 )


Parameters

TagPath

 

type:

string

 

Tag path, e.g. U01.F01.T01

Value

 

type:

object

 

The read value. Only valid when bResult is True.

 

Return Value

bResult

 

type:

bool

 

FALSE - Failure. TRUE - Success.

 


Commentary

Reads values from PLC. Communication occurs every time the method is called. If you want to read the values of multiple tags, ReadVals can process faster.

 

 

 

 

 


reference

 

ReadVals