Serva a měniče Rexroth Indramat

Blasius
Příspěvky: 4
Registrován: 6. 6. 2019, 9:30

23. 2. 2022, 9:45

No hele, byla by to ale fakt totální bejkárna :-) Pokud bys netrval na řízení step/dir, a mohl bys do drajvu posílat signály ála TTL enkodér, teda jako pulsy stopa A a B, dal by se tím ten drajv taky řídit. Musel bys k tomu mít firmware, tuším SGP, operační režim fázová synchronizace na reálný mástr, kterým by bylo právě to, co by posílalo ty enkoderové signály. To už je tak trochu vyšší dívčí. No, z mé hlavy to není, tak doufám, že moc nekecám, ale tak nějak by to taky mohlo fungovat jako osa. Ale jak říkám, bejkárna.
:twisted:
Uživatelský avatar
zz912
Příspěvky: 1348
Registrován: 25. 5. 2008, 7:16

1. 3. 2022, 1:50

To by zas až takový problém s Mesou neměl být:
http://linuxcnc.org/docs/2.8/html/man/m ... ml#stepgen
(u32 r/w) step_type

Output format, like the step_type modparam to the software stegen(9) component. 0 = Step/Dir, 1 = Up/Down, 2 = Quadrature, 3+ = table-lookup mode. In this mode the step_type parameter determines how long the step sequence is. Additionally the stepgen_width parameter in the loadrt config string must be set to suit the number of pins per stepgen required. Any stepgen pins above this number will be available for GPIO. This mask defaults to 2. The maximum length is 16. Note that Table mode is not enabled in all firmwares but if you see GPIO pins between the stepgen instances in the dmesg/log hardware pin list then the option may be available.

In Quadrature mode (step_type=2), the stepgen outputs one complete Gray cycle (00 â 01 â 11 â 10 â 00) for each "step" it takes. In table mode up to 6 IO pins are individually controlled in an arbitrary sequence up to 16 phases long.
LinuxCNC - MESA 7i96
zz912.webnode.cz
Odpovědět

Zpět na „Servomotory“