Promotic

Object PmaNumber (Number)

Description:
The object represents one numeric value of the Boolean, Byte, Integer, Long, Single or Double type. Thus defined value is a variable of the PROMOTIC system that can be used anywhere in the script and it can be also shared with other applications by the DDE.
This object is obsolete (but functional) and it is better to use the PmaData object.

The PmaNumberLim object can be created In the PmaNumber object that allows defining the lower limit/upper limit oof the variable. There can be more PmaNumberLim objects in the PmaNumber object.
This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. Multiple objects of this type can be created in such objects.
This object adds one variable into the calculation of the application size, which influences the basic runtime licence type/size (see: Licences for PROMOTIC runtime environment).
This object inherits properties, methods and events of the PmaObject object.
Properties and methods of this object:
DdeClientEnabledEnable/disable data sharing by the DDE
DtData type
GetDtSText identifier of the data type
IsReadOnlyDetects whether the object value is for read only or for read and write
TitleObject title
UnitThe unit of the object value
ValueNumeric value of this object
Properties and methods inherited from the PmaObject object:
AddEventRegisters a function into selected event
GetInfoReturns the Info object with the specified name
GetOwnedByIndexReturns the subobject defined by its index
GetOwnedByNameReturns reference to the subobject defined by its name
GetOwnedByTypeArray of references to the subobjects
GetOwnedNumReturns number of subobjects in the object
GetParReading the value of the Pma object parameter (or its parents)
GetPathNameObject name with the path to this object
GetPermissionReturns permission of corresponding operation from object
MethodsAccess to designer's methods of this object
NameObject name (without the path)
ParentReturns reference to the parent Pma object
PmReturns reference to the Pma object or to its implementation subobject
RemoveEventUn-registers the function in the specified event
RootReturns reference to the root application object PmaRoot
Events of this object:
onValueWriteIs triggered after writing the value into this object
Events inherited from the PmaObject object:
onStartIs triggered for each object in the runtime only once at the beginning
onStopIs triggered for each Pma object in the runtime mode only once at the stop of the application
Configuration tabs:
ObjectGeneral information about the object
EventsDefinition of object events algorithms
NumberSetting the parameters of the value
DDEDefinition of conditions for DDE sharing the variables
Related objects:
PmaNumberLim(Limit) Watching the value limit in the parent PmaNumber object (obsolete)
See also:
- PmaString (object)
- PmaData (object)
- PmaDataTable (object)

History:
Pm9.00.00: Object name changed: PmNumber -> PmaNumber
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.