To set up a PROFINET I/O connection between your Communication Card and a Siemens controller, the PC must first be added to the controller's hardware configuration, using the Siemen's HW Config tool:
- Open the SIMATIC manager and load the PLC's project.
- Select the SIMATIC 300 or SIMATIC 400 node, then double-click on the Hardware node in the object list.
The HW Config tool will now appear. In order to add PROFINET IO nodes to the controller, a PROFINET IO system must be present in the hardware configuration diagram; if there isn't a PROFINET IO system in the diagram, complete the following steps:
- Ensure that the PROFINET IO interface on the CPU has been assigned a subnet address; to verify this, double-click on the PROFINET IO module on the CPU. If the PROFINET IO module's Networked status indicates "No," then click the Properties button and add a new subnet
- Once the PROFINET IO interface on the CPU has been assigned a subnet, add a PROFINET IO system to the hardware configuration diagram by right-clicking the PROFINET IO module in the PLC configuration and selecting Insert PROFINET IO System.
If this is the first Communication card to be added to the PROFINET network, the Cognex-supplied GSD file will need to be installed. To install the GSD file, follow these steps:
- Note: VisionPro includes two GSD files, one for the Cognex Vision Controller and one for the Cognex Communication Card.
- From the HW Config tool, select Options > Install GSD Files from the menu.
- Press the Browse button and select the folder C:\Program Files\Cognex\VisionPro\ffp\gsd.
- Press the Select All button, then click Install to install the hardware description both system types.
- To add a your system to a PROFINET network, browse to the appropriate node of the Hardware Catalog (PROFINET IO > Additional Field Devices > Network Components> Cognex Communications Devices ), and then drag an instance of the desired vision system into the PROFINET IO System in the hardware configuration.
- Set the device name and IP address to the exact name and IP address of the device that you configured.
- The Communication Card should now be displayed as a device on the PROFINET IO system.
Note: If an underscore was used in the device name, the underscore will have to be replaced by a hyphen when the vision system's name is input in PROFINET. For example, if the system was named "System_Top" using the Comm Card Configurator, it will need to be renamed to "System-Top" in PROFINET.
| Field | PROFINET -- Cognex Communication Card | PROFINET -- Vision Controller |
| Vendor ID | 0x0137 | 0x0137 |
| Device ID | 0x0008 | 0x0008 |
| Product Code | 0x10D | 0x802 |
| Family Name | "Cognex Communication Card" | "Cognex Vision Controllers" |
| Product Name | "Communication Card CC24" | "Vision Controller VC5" |
| Product Description | "Communication Card CC24" | "Vision Controller" |
- Support for cyclic connections with 1-1024ms cycle times
- Support for cyclic connections with 256 bytes of data in both directions