Mapping via logical device
The fieldbus can also be accessed via a logical device (LogicalDeviceFieldbusSetAlarm). Direct mapping is not possible in this case.
The following methods can be used for communication with the fieldbus via the logical device "LogicalDeviceFieldbus SetAlarm":
Name | Implementation | Description |
---|---|---|
GetStateV3 | Method for providing the fieldbus state | |
GetPdInV2 | Method for providing the incoming fieldbus data | |
SetPdOutV2 | Method for writing the outgoing fieldbus data |
To insert a logical device for a fieldbus, proceed as follows:
- Open the context menu of "SEWLogicalDevicePool" and click [Add device].
- The "Add device" dialog is displayed.
- Select the logical device "LogicalDeviceFieldbusSetAlarm" from the "Miscellaneous" category and click [Add device].
- If a fieldbus device has already been plugged into the fieldbus before, the dialog for connecting the logical device to the fieldbus device appears.
- Select the "Process_Data" entry in the dialog and click [OK].
- The logical device for accessing the fieldbus has been added and connected to the fieldbus device.