Overview
This topic describes how to add one I/O profile of a device to an I/O scanner of a PAC by using the Communication Mapping View that corresponds to the communication protocol of the device.
Adding the I/O profile of a device to a scanner creates an instance of this profile, which is the active I/O profile. It enables the communication between the two devices.
For each active I/O profile, a device DDT structure is created in the control project, which lets you use the device data in the program. The structure of the device DDT is based on the item mapping.
The description also applies to adding the I/O profile of local slaves to the I/O scanner of a PAC.
Prerequisites
The following are prerequisites for establishing communication:
I/O profile data of the device must be available in the tab of the pane.
For scanning of local slaves, at least one local slave must be configured.
Scanner Capacity Limit Notification
In the Communication Mapping View for Modbus TCP, you can add I/O profiles to a scanner even if the maximum number of requests supported by the scanner is exceeded. However, in such case:
You cannot edit the control project that is associated to the PAC or build it and a message is shown.
An incorrect configuration is detected when you analyze the system project.
Adding I/O Profiles to an I/O Scanner
Step |
Action |
---|---|
1 |
Open the appropriate Communication Mapping View. |
2 |
From the pane, drag one or more I/O profiles of devices to a scanner that appears in the view.Result: An instance of each profile is assigned to the scanner and becomes the active profile. NOTE: A device can only have one
active I/O profile for a same scanner.
|
3 |
If you need to customize the properties of active I/O profile, depending on the attribute, select the active profile in the Communication Mapping View or the device to edit the value in the pane. |
Modifying the Scanner Assignment
To scan a device by using another scanner service of the PAC, drag the I/O profile of the device to the other scanner.