Promotic

Preconfiguration "PmABradleyCIP - Minimal set of the PmaComm object"

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 PmaComm type with PmaCommGroup and PmaCommMsg subobjects.



Finishing the settings and configuration of the communication: After this preconfiguration is used it is necessary to run the application. This way the Run method in the onStart event of the PmaCommMsg object is called. In the onEndOfTransfer event, it creates the ABradleyVarCfg.txt file on the path $.path("cfg"). The file contains the structure of variables created by the designer in the PLC device. (After the "ABradleyVarCfg.txt" file is created the PmaCommMsg object is no longer needed and can be deleted or Disable object at application launch.)

After the application is stopped it is possible to create the variables in the PmaCommGroup object, that can be connected to corresponding variables in the PLC device in the "Name" configurator.

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"
Network addressNetwork address of the remote device (e.g. of the PLC device), to which the communication will be connected.
The address can be entered as:
- IPv4 full address (e.g. "192.168.0.15")
- IPv4 address of this computer (i.e. "127.0.0.1")
- IPv4 computer name (e.g. "server11")
- IPv4 name of this computer (i.e. "localhost")
- IPv6 full address (e.g. "2a02:c38:8136:800a:37a:ab66:6fc9:accd")
- IPv6 address of this computer (i.e. "::1")

Macro expression can be used for input (it is evaluated after the application is launched).
After the preconfiguration is created, the "PmaComm > Setting the parameters of the Ethernet-client > Network address" configurator will be set to this value.
PLC type
0 = Control/Compact/..Logix - There will be communication with PLCs of the ControlLogix, CompactLogix or other ..Logix types.
1 = Micro850/870 - There will be communication with PLC devices of the Micro850 or Micro870 types.
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 examples of testing dataA set of exemplary data is created
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.

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

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