WriteVal

<< Click to Display Table of Contents >>

Manual > Reference > Methods >

WriteVal


 

Write the value.

 

 


syntax

bResult = AxEng1.WriteVal(

                                 TagPath,

                                 Value

                                 )


Parameters

TagPath

 

type:

string

 

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

Value

 

type:

object

 

The value to write.

 

Return Value

bResult

 

type:

bool

 

FALSE - Failure. TRUE - Success.

 


Commentary

Writes a value to PLC. Communication occurs every time the method is called. If you want to write the values of multiple tags, WriteVals can process faster.

 

 

 

 


reference

 

WriteVals