I'm back in the test lab now and am still trying to get the Indradrive Cs to turn the servo.
Sorry this is a bit long winded. I want to explain how I got to the conclusion in case I have got something wrong.
The problem is we cannot get linuxcnc to drive the servos to motion. Everything seems OK, they just won't rotate from linuxcnc. They work fine using Twincat and Indraworks.
Since the last post I have discovered that the Fieldbus status word P-0-4078 is not showing 'Operating mode' in the first two bits. Instead it is showing 'Parameter mode'. The word contains: 0xC808 - which is 1100 1000 0000 10
00
The first two bits on the right are zero (00) for parameter mode. According to the state machine (page 120 Fig 4-37) in the manual [1] they should be
10 for operating mode.
There are two checks C0100 and C0200 between the state with the bits at 00 and the state with them at 10.
In more detail the two checks are:
"S‑0‑0127, C0100 Communication phase 3 transition check"
"S‑0‑0128, C5200 Communication phase 4 transition check"
When they fail they place a the parameters causing the failure in an IDN List. So to troubleshoot why those checks are failing I want to read the IDN Lists from S‑0‑0021 and S-0-0022.
The question is, how do I read an IDN List using the ethercat command in linux? I can read a simple value out using:
Code:
ethercat soe_read -p3 0 'S-0-0013'
But I don't know how to read an IDN list to find the parameter causing the fault.
Thanks,
Roger
[1]
ftp://ftp.boschrexroth.pl/brc/IndraDrive_CS/CS_func.pdf