SmartPLC SafeLine AC4S with fieldbus interfaces
148
>
Set_LPS
42567
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
42426
The FB changes the list of projected slaves (LPS) in the selected AS-i master.
>
Input parameters
42629
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
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