Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 after pressing the Insert key after selecting the object) and is included in the group: " / Communication / Allen Bradley - PLC device".

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

 
- The preconfiguration creates the PmaComm object with PmaCommGroup and PmaCommMsg subobjects.
 

Finishing the settings and configuration of 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. (After the "ABradleyVarCfg.txt" file is created the PmaCommMsg object is no longer needed and can be deleted or Disabled object.)
 
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 by the Name configurator.
 
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: "Comm"

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.

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 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.


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

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