Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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

Communication driver configuration PmABradleyCIP - Driver for communication with Allen Bradley PLC devices with EtherNetIP/CIP protocol
 
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: " / Communications / Allen Bradley PLC".

This preconfiguration can be used with the objects: PmFolder or PmRoot.

 
- Preconfiguration creates an object of type PmFolder containing PmComm object with PmCommData subobject and following objects: PmPanel.
- The preconfiguration is created including the panel (PmPanel object) functionality as a WEB panel.
- The panel is used for communication testing and it is not essential for the functionality.
 
After this preconfiguration is used it is necessary to run the application and from the panel list (CTRL+G) choose the "AllenBradley - VarCfg" panel. A button in this panel runs the PmCommMsg.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. The structure is also displayed in the panel.
 
After the application is stopped the variables of the PmData object in ExtComm can be connected in the configuration item ItemID to the corresponding variables in the PLC. Once the application is launched again after that, these variables can be monitored in the Allen Bradley - Data panel. (The PmCommMsg 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 application object tree. This is a system name and must not contain empty string, diacritics, 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 IP address (e.g. 192.168.0.15) or by name (e.g. server11).

Macro expression can be used for input (it is evaluated while the application is launching).

After this preconfiguration is created, the configurator is se to: PmComm > Settings of the Ethernet parameters > Network address
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 data by the PROMOTIC application. After this preconfiguration is created, the configurator is se to: PmCommData > Parameters > Communication refresh rate [ms]
Create panel "Received data"Creates a panel that monitors the statistics of communication values
Panel titleDisplayed in the panel header
Create PmCommMsg for reading the variables from the PLCCreates the PmCommMsg object that allows to read the names of all variables from the PLC and saves this list into "ABradleyVarCfg.txt" file.
Creates the panel that is used for reading the variable names from PLC.The panel is used for running the Run method and also for displaying the variable names list after the communication is completed successfully.
Navigation:
 
 
- PmABradleyCIP - Communication set with data and panel by protocol EtherNetIP/CIP (for ControlLogix, CompactLogix, ...)
 
 
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice