![background image](http://html1.mh-extra.com/html/ifm/ac1401/ac1401_programming-manual_3896314028.webp)
28
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Programming
Access input and output data
>
7.3.2
Validity of the interface data
18413
In order to facilitate the access to inputs and outputs of AS-i slaves, AS-i Gateway AC14 projects offer
clearly defined interfaces in the device tree (
→
Overview: Project structure with AS-i Gateway AC14
(
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!