Category: General LinuxCNC Questions
Hey there Roslyak,
I'm having problems getting CSP mode working on the same drive too. Did you end up having any success with your configuration?
From what I can see, the control word PDO is not being passed properly and it never enables the voltage (control word = 1, I believe) and the motor does not spin, even though I hear its capacitors buzzing. In the HAL config I see the control mode pin becoming 0x0000000F, which doesn't seem correct, yet it does become 0x00000002 when I stop the (unsuccessful) movement, so quick stop works. Otherwise the drive enters OP mode properly.
The encoder feedback is also 0 at all times, but I'm wondering if that matters at all, considering not even the control word is in working order.
Would you mind sharing your XML so I can see if I've even got mine set up properly? From what I can gather, the PDOs of the DELTA drive change depending on what mode the EC master puts it in, so that is a bit confusing for me.
I considered ordering the EMC-MC01 card too, but my encoder is a sin/cos incremental one. Looking at its PG pin documentation, I am having doubts if I will be able to even connect my encoder to it, as the card only has 4 active pins (my encoder has 9+).
The PG card I have right now is the EMC-PG01H, which should work for sin/cos encoders, yet I'm not sure if it supports CiA402 communication.
I seem to have no good option - either a PG card that supports my encoder, but doesn't support CiA402, or a PG card that supports CiA402, but doesn't support my encoder...
EDIT: Do you mind also sharing the exact Tamagawa encoder you have? I have little experience with them so it would be great to know if I can figure out if an adapter of sorts that could solve my issue exists.