11BProgramming
71BRead in AS-i slave lists via PLC
12-12
12.9
Read in AS-i slave lists via PLC
Using the function calls from the library ifm_AsiUtils_010000.lib the slave lists can
be read, as shown below.
Examples:
Query whether a slave with the address
"sl" is active on the bus of master "mstr".
If yes:
> las = TRUE
Query whether a slave with the address
"sl" is detected on the bus of master
"mstr". If yes:
> lds = TRUE
Query whether a slave with the address
"sl" is projected on the bus of master
"mstr". If yes:
> lps = TRUE
Access via
function
blocks
Query whether there is a peripheral fault
on the slave with the address "sl". If yes:
> lpf = TRUE
Access with
pointers
For detailed information see
the
→
supplementary
documentation "User Man-
ual for PLC Programming
with CoDeSys
®
2.3"