Promotic

Preconfiguration "PmABradleyCIP - Communication set with data and panel by the EtherNetIP/CIP protocol (for ControlLogix, CompactLogix, ...)"

Communication driver configuration PmABradleyCIP.

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 / PLC devices and meters / Allen Bradley - PLC device".
This preconfiguration can be created in the object: PmaFolder or PmaRoot.

- The preconfiguration creates an object of the PmaFolder type containing PmaComm object with PmaCommGroup subobject and following objects: PmaPanel.
- 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 communication functionality.


After this preconfiguration is used it is necessary to run the application and from the panel list choose the "AllenBradley - VarCfg" panel.
A button in this panel runs the PmaCommMsg.Run method, that in the onEndOfTransfer event creates the "#cfg:ABradleyVarCfg.txt" file. The file contains the structure of variables created by the designer in the PLC device. The structure is also displayed in the panel.

After the application is stopped the variables of the PmaData object in ExtComm can be connected in the "ItemID" configurator to the corresponding variables in the PLC device. Once the application is launched again after that, these variables can be monitored in the Allen Bradley - Data panel. (The PmaCommMsg object and the PanelVarCfg panel are no longer needed for the communication.)

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 (i.e. national dependent chars), empty string, spaces and the first character must not be a number.
Default: "AllenBradleyCIP"
Network addressNetwork address to which the communication will be connected.
The address can be entered by both IPv4 address (e.g. 192.168.0.15) or by computer name (e.g. server11).
The IPv4 address 127.0.0.1 is the local address of this computer.
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.
Communication refresh rate [ms]The 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.
Create examples of testing dataA set of exemplary data is created
Create panel for test dataCreates panel that monitors the statistics of communication values
Panel titleDisplayed in the panel header
Create PmaCommMsg for reading the variables from the PLC deviceCreates the PmaCommMsg object that allows to read the names of all variables from the PLC device and saves this list into "ABradleyVarCfg.txt" file.
Create the panel that is used for reading the variable names from the PLC device.The panel is used for running the Run method and also for displaying the variable names list after the communication is completed successfully.

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

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