Object PmaNumber (Number)

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 low limit/high 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: Price list of the PROMOTIC system ).
This object inherits properties, methods and events of the PmaObject object.
Properties and methods of this object:
DdeClientEnabled Enable/disable data sharing by the DDE
Dt Data type
GetDtS Text identifier of the data type
IsReadOnly Detects whether the object value is for read only or for read and write
Title Object title
Unit The unit of the object value
Value Numeric value of this object
Properties and methods inherited from PmaObject:
AddEvent Registers a function into selected event
GetInfo Returns the Info object with the specified name
GetOwnedByIndex Returns the subobject defined by its index
GetOwnedByName Returns reference to the subobject defined by its name
GetOwnedByType Array of references to the subobjects
GetOwnedNum Returns number of subobjects in the object
GetPar Reading the value of the Pma object parameter (or its parents)
GetPathName Object name with the path to this object
GetPermission Returns permission of corresponding operation from object
Methods Access to designer's methods of this object
Name Object name (without the path)
Parent Returns reference to the parent object in the tree of Pma objects
Pm Returns reference to the Pma object or to its implementation subobject
RemoveEvent Un-registers the function in the specified event
Root Returns reference to the root application object PmaRoot
Events of this object:
onValueWrite Is triggered after writing the value into this object
Events inherited from PmaObject:
onStart Is triggered for each object in the runtime only once at the beginning
onStop Is triggered for each Pma object in the runtime mode only once at the stop of the application
Configuration tabs:
Object General information about the object
Events Definition of object events algorithms
Number Setting the parameters of the value
DDE Definition 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)

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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice