![background image](http://html1.mh-extra.com/html/ifm/ecomat-300-ac1307/ecomat-300-ac1307_basic-device-manual_620663109.webp)
11BProgramming
72BConfigure AS-i slaves via PLC
12-13
12.10
Configure AS-i slaves via PLC
The library ifm_AsiUtils_010000.lib additionally contains function calls to reconfig-
ure the AS-i system…
•
to revise the projection table
•
to re-address slaves
•
to review the configuration
•
etc.
Examples:
FB: all slaves detected on mas-
ter "mstr" are entered as pro-
jected in the LPS of the control-
lere
Program: reads the projected
configuration of all A or single
slaves on AS-i master "mstr"
Program: reads the current con-
figuration of all A or single
slaves on AS-i master "mstr"
Program: copies the current I/O
configuration of the slave "sl" on
master "mstr" to the variable "io"
Prerequisite: retrieve the FB
Get_ASi_Config before
Program: copies the current ID
code of the slave "sl" on master
"mstr" to the variable "id"
Prerequisite: retrieve the FB
Get_ASi_Config before
Note on network 0007 / 0008:
If the parameter "B_Slaves" is "TRUE" the corresponding statement applies to the
"Configuration of all B slaves".