Get a list of the devices, even not configured, which are connected to the Sercos bus on a PacDrive 3 controller.
The Sercos bus is scanned by this function automatically.
If the Sercos bus is in a phase below 2, then the function switches to phase 2.
In phase 2, the Sercos bus is scanned. When the Sercos bus is scanned, it is put back to the initial phase.
If the Sercos bus is in phase 2 or greater the scanned devices are returned.
The phase of the Sercos bus is not changed by the function.
The scanned devices are returned in a Structure.
Input/Output |
Data type |
Description |
---|---|---|
iq_stSercosConfiguration |
ST_SercosConfiguration |
Structure which gets configuration on Sercos bus. |
If the function is not executed successfully, the content of the return structure is not modified.