Promotic

Preconfiguration "PmCharServer - Minimal set of the PmaComm object"

Communication driver configuration PmCharServer - Driver for communication by user defined ASCII/BIN protocol.

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: "/ Communication / Protocols and other communications / PmChar configurable protocol".
This preconfiguration can be created in the object: PmaFolder or PmaRoot.

Usage of this driver requires purchase of the PmChar licence. When developing the application (with development environment for testing purposes), this component is always functional. This component is not functional in the freeware mode PmFree.

These configurators can be set before the preconfiguration is created:
The name of created objectName of the object created in the Pma objects tree. The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
Default: "Comm"
TCP/UDP port numberEthernet port number for communication.
Ethernet transfer typeDeatiled Ethernet protocol type specification.
TCP (default) - Allows unlimited, security checked data transfers. The data are transferred by separate portions so-called packets.
UDP - Only limited data transfers are allowed (often limited to 500 bytes). The data transfer is very fast.
Received data will always be in only one packetIf checked, then it is assumed that the entire content of the received message will always fit into a single IP packet.
This setting affects the optimization of the reception rate:
Once the packet is received the reception is terminated and the system does not wait for timeout (defined in the "Timeout of one packet transfer [ms]" configurator).
The packet size is predefined by current network. It can be e.g. 521 bytes, 1024 bytes etc.
Maximum number of characters in the value
There is HexaString in 'Data-sent'On the "Data-sent" tab there is always the Data variable of the String type.
If checked, then it is presumed that the content of this variable is so-called HexaString that can be used in order to transfer binary values in the String type as folows:
Example: if you are to send 4 bytes with binary values of 01 A0 00 B3 (in hexadecimal), then it is necessary to put into the variable of the String type the value of "01A000B3" - i.e. the text of 2*4=8 characters.
This way you can easily transfer data containing binary zeroes, that are forbidden in the value of the String type.
The Pm.TransformValue(240) method can be used for preparation of the transferred data.
If not checked, then it is not possible to send binary data, only text data sending is allowed - the exact content of the of the String type variable is sent.
There is HexaString in 'Data-received'The sane as the previous configurator, only for the "Data-received" tab.
If checked, then the Pm.TransformValue(241) method can be used for processing the received data.

History:
Pm9.00.03: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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