95
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
>
Set_PCD
16022
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
16151
The FB changes the configuration file (Permanent Configuration Data = PCD) of the slaves at the
selected AS-i master.
>
Input parameters
16160
Parameter
Data type
Description
Possible values
xExecute
BOOL
Control execution of the FB
FALSE
Stop FB execution
TRUE
Start one-time FB execution
enASi_Master
ASI_MASTER
Select AS-i master
Master_1
AS-i master 1
Master_2
AS-i master 2
awPCD
ARRAY [0...63]
OF WORD
Permanent configuration files of the
slaves on the selected AS-i master
per word:
Bits 0...3: I/O-Code
Bits 4...7: ID-Code
Bits 8-11: ID1-Code
Bits 12-15: ID2-Code
Data in Word 0 is invalid!