SmartPLC SafeLine AC4S with fieldbus interfaces
155
>
Set_SlaveAddress
42563
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
42421
The FB changes the address of the selected AS-i slaves.
>
Input parameters
42628
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
enASi_Slave
ASI_SLAVE
Address of the AS-i slave
Slave_n
AS-i slave to address n
(n = 1 ... 31)
enASi_SlaveTyp
ASI_SLAVE_
TYP
Type of the AS-i slave
SA_Slave
Single or A slave
B_Slave
B-Slave
enASi_Slave_new
ASI_SLAVE
New address of the AS-i slave
Slave_n
AS-i slave at address n
(n = 1 ... 31)
enASi_SlaveTyp_new
ASI_SLAVE_
TYP
New type of the AS-i slave
SA_Slave
single slave or A slave
B_Slave
B slave