Promotic

Object PmaWeb (Web server)

Description:
The object creates a Web server from the PROMOTIC application, i.e. it allows the application to provide for example HTML or XML pages.

In the PmaWeb object it is possible to create the PmaWebFolder, PmaWebLang, PmaWebDir and PmaWebInfo objects.
This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. Multiple objects of this type can be created in such objects.
This object inherits properties, methods and events of the PmaObject object.
Properties and methods of this object:
PortNumber of the TCP/IP port
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:
onNewRequest(obsolete) Is triggered on the request for each new Web page
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
WebSetting TCP/IP parameters of the PROMOTIC Web
PermissionsObject permissions
Note:
The object creates a Web server from the PROMOTIC application, i.e. it allows the application to provide for example HTML or XML pages. See Overview of the Web technology in the PROMOTIC system and HTTPS - secured HTTP protocol.

Except the objects inserted directly, also another objects (Web components) located elsewhere in the tree of Pma objects can be registered into this object (e.g. PmaPanel, PmaWorkspace, PmaTrendGroup, PmaAlarmGroup, PmaData objects, etc.). These objects are registered into this object using the "Web server" tab in the "PmaWeb object" configurator. All these objects will become Web subcomponent of this object, i.e. URL address of these subcomponents will begin with the URL address of this object.

The runtime information regarding the status of the PROMOTIC Web server communication with its clients (the statistics of HTTP transmissions, the contents of the last transmissions, etc.) can be observed in the "/COMM/WebServer" item of the INFO system.

History:
Pm9.00.00: Object name changed: PmWeb -> PmaWeb
Pm8.02.16: Fixed bug: Under high load the Web server stopped working (especially with setting of the http service type).
Pm8.02.00: "Web server type=http internal" now supports persistent connection according to HTTP/1.1. It means that after each transmission, the connection is NOT terminated and therefore the communication is faster.
Pm8.01.09: The Web server has been improved - now supports the persistent connection type (standard for HTTP/1.1), i.e. the connection with the Web browser is not closed after each transmission. This way the transfer rate is increased and the communication load is decreased.
Pm8.01.00: The new "Web server type" configurator can be used in order to implement new Web server type "HTTP(S) service". This server type allows to use more secure HTTPS protocol.
Pm8.00.13: Other minor bugfixes are related to object.
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

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