
36
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Programming
Use functions of the ifm package
>
7.4.5
Manage AS-i network
17126
To manage the AS-i networks controlled by AS-i Gateway AC14, use the following function blocks:
>
Use complex variables
18528
There are different complex variables (STRUCT) at the programmer's disposal. They bundle logically
associated data sets. Thereby, they facilitate the organisation of the data storage in the application
and at the same time reduce the error rate when variables are declared.
The following complex variables are available:
Name
Description
Reference
ASI_NET
The complex variable contains the complete process image
(inputs and outputs) of an AS-i network.
→
ASI_NET (STRUCT)
(
→ p.
ASI_DATA
The complex variable contains the following components:
Slave lists (LPS, LDS, LAS, LPF, LCE, LCEMS, LCEAS,
LDAE)
Parameter images (PI, PP)
Configuration data of the AS-i slaves (CDI, PCD)
→
ASI_DATA (STRUCT)
(
→ p.
→
Get_ASi_Data
(
→ p.
>
Change network settings
17568
Name
Description
Reference
Set_ProjectAll
Execute projection adaptation on one AS-i master
→
Set_ProjectAll
(
→ p.
Set_LPS
Change list of the projected slaves (LDS)
→
Set_LPS
(
→ p.
Set_PCD
Change permanent projecting data (IO, ID, ID1, ID2) of
all slaves on the AS-i master
→
Set_PCD
(
→ p.