Recalculation of impulses

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
User avatar
buvaylov
Posts: 8
Joined: Wed Sep 30, 2020 5:27 am
Contact:

Recalculation of impulses

Post by buvaylov »

Help me please! I don’t know in which direction to move to solve the problem (the project for clarification in the appendix) of recalculating the number of incoming pulses and issuing to the controller output. Thanks in advance, Alexander
Attachments
convert_8_to_6_ATTiNY13.fcfx
(4.97 KiB) Downloaded 16 times

User avatar
Benj
Matrix Staff
Posts: 15211
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4763 times
Been thanked: 4297 times
Contact:

Re: Recalculation of impulses

Post by Benj »

Hi Alexander,

Please can you provide more information which document are you referring to?

User avatar
buvaylov
Posts: 8
Joined: Wed Sep 30, 2020 5:27 am
Contact:

Re: Recalculation of impulses

Post by buvaylov »

It is necessary to recalculate the pulse repetition rate, for example, for every incoming eight pulses, six are generated in a continuous cycle

User avatar
buvaylov
Posts: 8
Joined: Wed Sep 30, 2020 5:27 am
Contact:

Re: Recalculation of impulses

Post by buvaylov »

a stepper motor in step-dir mode must receive a certain number of pulses from the pulse counter on the shaft, taking into account the recalculation of their number depending on the wire diameter

User avatar
Benj
Matrix Staff
Posts: 15211
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4763 times
Been thanked: 4297 times
Contact:

Re: Recalculation of impulses

Post by Benj »

Hello,

How's this?
convert_8_to_6_ATTiNY13.fcfx
(9.49 KiB) Downloaded 5 times

User avatar
buvaylov
Posts: 8
Joined: Wed Sep 30, 2020 5:27 am
Contact:

Re: Recalculation of impulses

Post by buvaylov »

Thank you! I will try to work in this direction

Post Reply