aci.Obj_SetSts

SUMMARY

Set the status of a data object as an application.

SYNTAX

aci.Obj_SetSts((<object number>|<point id>), <status>)

ARGUMENTS

object number (type:number)
A data object number
point id (type:string)
The name of a data object
value (type:number)
The new status.

ERROR HANDLING

The function will fail and terminate script execution if strict error checking is enabled (see aci.SetStrictMode()) and one of the following conditions is met:

DESCRIPTION

The new status will not be directly written to the process image in aci.dll but it will be sent to the data object's station (e.g. a PLC) via the driver handling this station. The station then sends the status to all operator stations.

EXAMPLES

aci.Obj_SetSts("TANKVOLUME", 1)
		


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times