Preconfigurations eWON HttpRequest - Communication with eWON industrial routers - Communication set with data and panel
Configuration of communication with eWON
This preconfiguration can be activated when creating a new object (e.g. by "New object"
in the local object menu or by pressing the Insert
key after selecting the object) and is included in the group: " / Communications / eWON PLC"
This preconfiguration can be used with the objects: PmFolder or PmRoot.
The preconfiguration allows data export and processing from defined variable in requested format nad time range.
" test panel is used for testing data receiving and displaying. Here it is possible to use prepared configurators in order to define requested commands. Assebmled parameter is displayed in text and can be modified further. (Additional options and parameters are published in manufacturer's documentation.)
Calling the RequestData
method (of the PmFolder
object) with corresponding parameters triggers the onStep
event of the PmSequencer
object. Here the HttpRequest
object is used for communication with the device. (Login name and password shown in this example corresponds to manufacturer's original setup: adm
) The received data is processed in the ReplyCsv
method. This method can be modified as needed.
The preconfiguration was tested with the connection managed by the eCatcher
software tool (available for download from manufacturer's web page). This software tool initializes akterý inicializuje and manages remote access via Talk2M VPN
network and allows remote connection to all devices connected to the corresponding eWON
These configurators can be set before the preconfiguration is created:
|The name of created object||Name of the object created in the application object tree. This is a system name and must not contain empty string, diacritics, spaces and the first character must not be a number.|
|Network address||Network address to which the communication will be connected. The address can be entered by both IP address (e.g. 192.168.0.15) or by name (e.g. server11).|
| Variable name||Variable name in device.|
|Create test panel||Creates graphic panel used for communication testing and displaying of received data|