ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Programming
Read in AS-i slave lists via PLC
170
12.9
Read in AS-i slave lists via PLC
Using the function calls from the library ifm_Asi_Utils_xxxxxx.lib the slave lists can be readas shown
below.
Examples
:
a) Access via function blocks
Query whether a slave with the address "sl" is active on
the bus of master "mstr". If so:
>
las = TRUE
Query whether a slave with the address "sl" is detected
on the bus of master "mstr". If so:
>
lds = TRUE
Query whether a slave with the address "sl" is projected
on the bus of master "mstr". If so:
>
lps = TRUE
Query whether there is a periphery fault on the slave
with the address "sl". If so:
>
lpf = TRUE
b) Access with pointers
For detailed information
→ supplementary
manual "PLC programming with CoDeSys
®
2.3"