Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfiguration "PmModbusMr - Emerson Smart Whireless Gateway modules (Modbus TCP/IP) - Communication set with data and panel"

Communication by the Modbus TCP/IP protocol with Emerson device.
 
The preconfiguration creates data statically connected to the time values in fixed address space of the Wireless Gateway. And the data of a single device that is connected to the device on defined Modbus address.
 
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 / Modbus communication protocol".

This preconfiguration can be used with the objects: PmaFolder or PmaRoot.

 
- The preconfiguration creates an object of the PmaFolder type containing PmaComm object with PmaCommGroup subobject and following objects: PmaPanel, PmaData.
- The preconfiguration is created including the panel (object of the PmaPanel type) is functional also a Web panel.
- The panel is used for communication testing and it is not essential for the functionality.
 
In the PmaComm object named "Comm" the communication parameters are set (Network address, ...).

The PmaCommGroup object named "data" includes a "Parameters" tab where Special Parameters are defined (see PmModbusMr - Driver for communication by the Modbus Master protokol). On the "Data" tab, the items are imported by data extension of items defined in the PmaData object (see ExtComm).

 
The PmaPanel object serves for displaying the settings of the communication between the application and the connected device. The caption section is included. The status and quality of the inputs and outputs of the connected device are indicated by different colors. There are three columns with PmgPane objects. These objects share the same dinx parameter. The parameter specifies the index (order) of the data for the specific group (AI, DI, DO). The embedded objects in each panel use the parameter in order to connect to the correct data source. These objects display the values, names and quality according to the current status. In the digital output column, there are two ON/OFF buttons for controling the digital outputs.
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: "CommEmerson"

Network addressNetwork 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).

Macro expression can be used for input (it is evaluated after starting the application).

After the preconfiguration is created, the "PmaComm > Setting the parameters of the Ethernet-client > Network address" configurator will be set to this value.

Close the connection after each transmissionThis option sets the following configurators simultaneously:

Not connect until first transfer. See: PmaComm > Setting the parameters of the Ethernet-client > Not connect until first transfer

Close connection after every transfer. See: PmaComm > Setting the parameters of the Ethernet-client > Close connection after every transfer

Communication refresh rate [ms]The time period in milliseconds to be used for reading the current data by the PROMOTIC application.

After the preconfiguration is created, the "PmaCommGroup > Parameters > Communication refresh rate [ms]" configurator will be set to this value.

Connected device name
The Modbus address is entered in abbreviated form (address - 40000), for example: the real address is 40010, but enter only 10.Single device can provide multiple values. Enter the Modbus address where the desired values are present.
Modbus address of the registry - PVSingle device can provide multiple values. Enter the Modbus address where the desired values are present.
Modbus address of the registry - SVSingle device can provide multiple values. Enter the Modbus address where the desired values are present.
Modbus address of the registry - TVSingle device can provide multiple values. Enter the Modbus address where the desired values are present.
Modbus address of the registry - QVSingle device can provide multiple values. Enter the Modbus address where the desired values are present.
Create panel "Received data"Creates a panel that monitors the statistics of communication values
Panel titleDisplayed in the panel header
 
If the connected device contains more than 8 inputs/outputs, then it is necessary to modify the preconfiguration for the increased count:
- add the corresponding data item into the PmaData object
- modify the added data item in ExtComm and set the corresponding ItemID
- in the panel copy the new PmgPane and modify the value of the dinx parameter

History:
Pm8.00.05: Created
PROMOTIC 9.0.12 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
 
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice