analogdevicesinc / PyTrinamic

TRINAMIC's Python Technology Access Package.
Other
61 stars 36 forks source link

Missing boards TMCM 0930 and TMCM 1230 #72

Closed PWiljes closed 9 months ago

PWiljes commented 2 years ago

Hello,

can you please add the boards TMCM 0930 and TMCM 1230?

Thanks

trinamic-bp commented 1 year ago

We finally have the TMCM-1230 in PyTrinamic. Because TMCM-1230 and TMCM-1231 firmware is almost identical, we named the class TMCM123x_0_1, which can be used for both modules. Under examples/modules/TMCM123x_0_1 there are examples.

trinamic-bp commented 1 year ago

Concerning the TMCM-0930, what would be the use cases to have it in PyTrinamic? This is a control/communication module only. It is able to control TMCM-1230/TMCM-1231 modules standalone for example. With PyTrinamic there would be no need to have this module in the system.

PWiljes commented 1 year ago

Sometimes during experiments, one needs to drive motors synchronized as good as possible. But not in stand-alone mode, the motion needs to be triggered by some software scan routine on a linux machine. I thought that might be a job for the 0930 but maybe I got the idea of that module wrong.

For now, we are fine to trigger those motions with some time delay. And for the future, we will see.

Von: trinamic-bp @.> Gesendet: Donnerstag, 15. Juni 2023 10:20 An: trinamic/PyTrinamic @.> Cc: PWiljes @.>; Author @.> Betreff: Re: [trinamic/PyTrinamic] Missing boards TMCM 0930 and TMCM 1230 (Issue #72)

Concerning the TMCM-0930, what would be the use cases to have it in PyTrinamic? This is a control/communication module only. It is able to control TMCM-1230/TMCM-1231 modules standalone for example. With PyTrinamic there would be no need to have this module in the system.

- Reply to this email directly, view it on GitHub https://github.com/trinamic/PyTrinamic/issues/72#issuecomment-1592586930 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A3XGR3CBIK2MAVIC6FXCEM3 XLLAURANCNFSM6AAAAAARKGO2IY . You are receiving this because you authored the thread.Message ID: @.***>

trinamic-bp commented 1 year ago

Thank you for your reply. The TMCM-0930 would just send successive RS485 messages to each module. Synchronized move is not implemented at the moment. Using CAN directly would be a good alternative, as you could achieved very low delays (not sure if you do that already or using RS485). Using a multi axis board would be another, maybe even better solution.

trinamic-bp commented 9 months ago

Closed for now, please reopen if you have anything related to this topic.