09-28-2023 03:55 AM
The peripheral state is 'OP'. And the 'WCState' is right. But the 'FbpState' is always 'OFFLINE'. How to change the 'FbpState' from OFFLINE to ONLINE? Thanks for help.
09-28-2023 02:01 PM
Hello, unfortunately the screenshot is not yet meaningful enough. The following additional information would be interesting here. Is this a V1 or V2 project? How is the participant connected to the bus, as a slave?
The variable FbbState cannot be set by the application engineer.
If the periphery is called, the variable changes by itself from the state OFFLINE out, provided that the flag BusComm = TRUE and HasError = FALSE is. Both are true according to the screenshot.
Therefore there is only the possibility that the periphery has shown an unexpected/erroneous behavior during the start-up procedures (e.g. participants are reset here if necessary) and thus has been excluded from the call loop of the slaves by the EtherCAT master.
In case of doubt please send us the project via the helpdesk.
09-29-2023 02:40 PM
what method you used in your peripheral.
You used UpdateInputs/UpdateOutputs or you used OnEcUpdateInputs/OnEcUpdateOutputs?
For ECSlaves you must only using OnEcUpdateInputs/OnEcUpdateOutputs