SmartPLC SafeLine AC4S with fieldbus interfaces
60
>
7.4.5
Manage AS-i network
42636
To manage the AS-i networks controlled by AC4S, use the following function blocks:
>
Use complex variables
42558
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)
(
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)
(
→ S.
→
Get_ASi_Data
(
>
Change network settings
42482
Name
Description
Reference
Set_ProjectAll
Execute projection adaptation on one AS-i master
→
Set_ProjectAll
(
→ S.
Set_LPS
Change list of the projected slaves (LDS)
→
Set_LPS
(
→ S.
Set_PCD
Change permanent projecting data (IO, ID, ID1, ID2) of
all slaves on the AS-i master
→
Set_PCD
(
→ S.
>
Read network settings
42513
To read the network settings cyclically and offer them in the application:
Name
Description
Reference
Get_ASi_Data
Read the following datasets for network management in
batches and cycles:
List of activated slaves (LAS)
List of detected slaves (LDS)
List of projected slaves (LPS)
List of peripheral faults (LPF)
List of configuration errors (LCE)
List of configuration errors, missing slaves (LCEMS)
List of configuration errors - additional slaves
(LCEAS)
List of double address errors (LDAE)
Configuration data image (CDI)
Permanent configuration data (PCD)
Input parameters (PI)
Output parameters (PP)
→
Get_ASi_Data
(
→ S.