SmartPLC SafeLine AC4S with fieldbus interfaces
152
>
Set_PCD
42561
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
42428
The FB changes the configuration file (Permanent Configuration Data = PCD) of the slaves at the
selected AS-i master.
>
Input parameters
42631
Parameter
Data type
Description
Possible values
xExecute
BOOL
Control execution of the FB
FALSE
Don't execute FB
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!