ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Programming
Configure AS-i slaves via PLC
171
12.10
Configure AS-i slaves via PLC
The library ifm_Asi_Utils_xxxxxx.lib also contains function calls to reconfigure the AS-i system
…
to revise the configuration table
to re-address slaves
to check the configuration
etc.
Examples
:
Function block: All slaves detected on master
"mstr" are entered as projected in the LPS of the
controllere.
Program: reads the projected configuration of all A
or single slaves on AS-i master "mstr"
Program: reads the current configuration 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"
Requirement: first call the function block
Get_ASi_Config
Program: copies the current ID code of the slave
"sl" on master "mstr" to the variable "id"
Requirement: first activate the function block
Get_ASi_Config
Note on the network 0007 / 0008:
If the parameter "B_Slaves" is " True ", the corresponding statement applies to the "configuration of all
B slaves".