98
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
>
Set_SlaveAddress
16024
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
16162
The FB changes the address of the selected AS-i slaves.
>
Input parameters
16165
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
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