Methods - property of object Pm

Returns the object, that is used for accessing the application global methods defined on the Methods page of the PmRoot object.
Methods As Object
Pm.Methods.method1 par1, par2 ...
Property access for read only. The property itself cannot be changed (is "read only"), but the called method can change anything by its algorithm.
Calling the global methods by this property can also be used in graphic item events, that are designed for Web panels. Calling the global methods via Web is protected by permission WebMethods.
Since the PROMOTIC 8 version the global methods can not be called directly only by method name. This old way of method calling can be explicitly enabled, see #pragma option OldGlobalMethodCall script directive. The direct method calling technique is less general (e.g. not working for Web panels) and therefore is not recommended.
See: example in the description of Methods page.
PROMOTIC 8.3.30 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
- Pm
- Abs
- Cos
- E
- Exp
- LN2
- Methods
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice