
91
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
>
Set_LPS
16020
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
16153
The FB changes the list of projected slaves (LPS) in the selected AS-i master.
>
Input parameters
16154
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
dwLPS_SA_Slaves
DWORD
List of the projected S/A slaves. Each
bit represents an AS-i address:
Bit 0 (LSB) = address 0
...
Bit 31 (MSB) = address 31/31A
Per bit:
0
Slave not projected
1
Slave projected
dwLPS_B_Slaves
DWORD
List of the projected B slaves. Each bit
represents an AS-i address:
Bit 0 (LSB) = not used
Bit 1 = address 1B
...
Bit 31 (MSB) = address 31B
Per bit:
0
slave not projected
1
slave projected