EasyManua.ls Logo

IFM AC1421 - Get_Asi_Data

IFM AC1421
131 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
104
ifm Programming Manual AS-i Gateway AC14 (4.2.x) 12/2017
Appendix Library ACnnnn_Utils.library
>
Get_ASi_Data
16000
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
16033
The FB reads the following data from the selected AS-i master and stores the values in a structure
variable of data type ASI_DATA ( ASI_DATA (STRUCT) ( p. 115)):
List of activated slaves LAS
List of detected slaves LDS
List of projected slaves LPS
List of configuration errors LCE
List of configuration errors - additional slave LCEAS
List of configuration errors - missing slave LCEMS
List of peripheral faults LPF
List of double address errors LDAE
Configuration data image CDI
Projected configuration data PCD
Input parameters of the AS-i slaves
Outputs parameters of the AS-i slaves
>
Input parameters
16034
Parameter
Data type
Description
Possible values
xEnable
BOOL
Control activiy of the FB
TRUE
FB is enabled
FALSE
FB is disabled
enASi_Master
ASI_MASTER
Select AS-i master
Master_1
AS-i master 1
Master_2
AS-i master 2
pASi_Data
POINTER TO
ASI_DATA
Structure variable in which the read
data is to be stored.
Variable must be declared!

Table of Contents

Related product manuals