Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Additional description of how a successful install looks like
  • Loading branch information
r2k-in-the-vortex authored Nov 10, 2023
1 parent 9f72e0a commit ed34bef
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,27 @@ Slave0_Channel_3 AT %IX2.0 : BOOL; (* EK1814 EtherCAT-EA-Koppler (1A E-Bus, 4 K.
These variables must be copied into PLC program and used to access the IO
This is how the runtime log should look like if EtherCAT is installed and configured properly
![image](https://github.com/r2k-in-the-vortex/ethercat_src/assets/30666740/b70c32f4-fa37-4bee-890b-bbf8ec4fc084)
If everything goes well then EtherCAT status will progress like so
```bash
4 slave(s).
AL states: PREOP.
Link is up.
Domain1: WC 3.
Domain1: State 1.
Domain1: WC 4.
Domain1: WC 5.
Domain1: WC 7.
Domain1: State 2.
AL states: OP.
```
WC or Working Counter is incremented each time a device successfully reads or writes from the datagram and as such is diagnostic indicator to show all the configured slaves recieved and sent their data.
Correct WC value depends on how many and which devices are configured.
Domain1: State 2. is good state
AL states: OP. means all slave devices are operational

0 comments on commit ed34bef

Please sign in to comment.