Commun - PmaFolder
Main object configured as communication driver. The PmaFolder object has the StartReceive method for initialization of the communication. The method has following parameters:
The PmaSequencer object is configured in order to have each communication running outside the main working thread of the application PROMOTIC. In the onStep event, there is an ActiveX object "Microsoft.XMLHTTP" that gets the corresponding parameters for synchronous mode communication by the open method. The send method follows and receives or sends the data. The received data can be then processed as needed. The transmission is terminated by the abort method.
Test - PmaFolderThe Test subobject with panel and data can be used for communication testing. The onReceive method provides communication error detection and suggestion of received data processing. In panel method GetMsgList, there are three functional URL addresses with identifiers that can be selected in the panel in order to test the communication. In this panel it is also possible to test any other URL address entered in the PmgString object Msg Url address:
|The name of created object||Name of the object created in the tree of Pma objects. The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics, empty string, spaces and the first character must not be a number.|