Promotic

Preconfiguration "PmChar Communication protocol HART"

Control of the HART bus by means of the PmChar communication driver with test panel.

This preconfiguration can be activated when creating a new object (e.g. by "New object ..." in the local object menu or after pressing the Insert key after selecting the object) and is included in the group: "/ Communication / HART".
This preconfiguration can be created in the object: PmaFolder or PmaRoot.

- The preconfiguration creates an object of the PmaFolder type containing PmaComm object with PmaCommMsg subobjects and following objects: PmaPanel, PmaData and PmaSequencer.


The preconfiguration uses the PmChar communication driver for communication with the HART bus. The communication interface is based on the method of the created PmaFolder object named "DataRequest". Three parameters are passed to this method. The first sId parameter represents the value of the device identifier on the network. The second nCmd parameter represents the command to be executed. The third onReturn parameter represents a "callback" function that processes the received data.

On the test panel, you can use the Init Devices button to find out the identifiers of the connected HART devices. The tagged device can then be tested with one of the commands 1, 2, 3 or 14. The progress of the test communication is displayed in the logging part of the panel.

See fieldcommgroup.org
These configurators can be set before the preconfiguration is created:
The name of created objectName 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.
Default: "CommHART"
Serial portSelection of the communication serial port.
The value can be change by the OpenPort method.
The value can be detected by method GetProtParam("SerPort").
After the preconfiguration is created, the "PmaComm > Setting the parameters of the serial link > Serial port" configurator will be set to this value.
Not set - The object is not connected to any port after starting the application and the serial port can be selected dynamically by the algorithm (by the PmaComm.OpenPort method).
COM1, COM2,..,COM66 - The specified serial port is opened after starting the application. This port must be correctly configured and accessible in Windows OS (no one can use it).
For serial link each PmaComm object must have defined another communication port. For example, if one PmaComm object communicates through COM1, then next PmaComm object can communicate for example through COM2 (COM3, ...) but it mustn't communicate through COM1.

History:
Pm9.00.23: Created
PROMOTIC 9.0.23 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
 
- PmChar Communication protocol HART
 
 
© MICROSYS, spol. s r. o.