SmartPLC SafeLine AC4S with fieldbus interfaces
51
>
7.3.2
Validity of the interface data
42554
In order to facilitate the access to inputs and outputs of AS-i slaves, AC4S projects offer clearly
defined interfaces in the device tree (
→
Overview: Project structure with AC4S
(
Depending on the active instance for accessing the outputs of the AS-i slaves (Manual, Gateway,
PLC), the CODESYS data mapper only updates certain address areas of the interfaces. The following
table shows which address areas of the i/o interfaces provide valid data values while in a certain
operating mode:
Output control
I/O interfaces
Updated address areas / channels
Manual
[ASi_Master_1]
AS-i 1 Input (%IB, %IW)
[ASi_Master_2]*
AS-i 2 Input (%IB, %IW)
[Fieldbus_Interface]
AS-i 1 Output (%IB, %IW)
AS-i 2 Output (%IB, %IW)
Gateway
[ASi_Master_1]
ASi 1 Input (%IB, %IW)
[ASi_Master_2]*
AS-i 2 Input (%IB, %IW)
[Fieldbus_Interface]
AS-i 1 Output (%IB, %IW)
AS-i 2 Output (%IB, %IW)
PLC
[ASi_Master_1]
AS-i 1 Input (%IB, %IW)
AS-i 1 Output (%QB, %QW)
[ASi_Master_2]*
AS-i 2 Input (%IB, %IW)
AS-i 2 Output (%QB, %QW)
[Fieldbus_Interface]
AS-i 1 Output (%IB, %IW)
AS-i 2 Output (%IB, %IW)
* ... only available for devices with 2 AS-i masters
► When linking variables with inputs and outputs, only use interfaces in the project tree, that
are updated by the CODESYS data mapper!