User Manual

Web Server
iX.TagProperties
Name Type Description
isDirty Bool Flagindicatingifthelocalvaluehasbeen
changed.
tagProperties O bject Anobjectwithdataretrieved fromtheserver.
Seetagmetadatabelow. Notethattheseare
onlyavailableaftertherstrefresh. Also,only
valueisrefreshed notallofthemetadata.
value Flexible Thevalueofthetag. Thetypeofthevalue
dependsonthe data typeintheproject. Never
usethisproperty tosetthevalue.
Tag Propertie s:
Name Type Description
controllers Array Anarrayofcontrollernamesthatthetagis
connectedto.
description String Thetagdescription,nullifnotdened.
dataType String ThetagdataType,e.gint16,datetime,
default
initialValue Flexible Theinitialvalueofthetag,nullifnotdened.
readonly Bool True ifthetagisreadonly,otherwisefalse
quality String Indicatesthequalityof thetagvalue:
Unknown,Good, Bad
iX.Tag.setVa lue
Set the tag value manually. To commit the value to the server side call iX.commit.
Its vital that the value that is set corresponds to the data type of the tag.
Parameter:
Name Type Description
newValue Flexible Thenewvalue
. Mustmatchthedatatypeof
thetag.
iX.Tag.s
ubscribeToChange
Adds a callback that is called when the server-side value has changed.
Parameter:
Name Type Description
fn Function The callbacktoregister
BeijerElectronics, MAEN831P
151