Mechanical encoder with BCD Output for 7i73 source?
- Schneckerich_63
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 1
16 Jul 2020 08:35 - 16 Jul 2020 08:36 #174816
by Schneckerich_63
Mechanical encoder with BCD Output for 7i73 source? was created by Schneckerich_63
Hy folks
i did not find a supplier for a mechanical encoder with bcd output and a shaft for fixing it in the housing of my 7i73 based
operating paneel. This is needed for switching from one axis to the next and another one changes the resolution of toggling.
Would be nice if anyone coud give me an information.
Bye
Schneckerich_63
i did not find a supplier for a mechanical encoder with bcd output and a shaft for fixing it in the housing of my 7i73 based
operating paneel. This is needed for switching from one axis to the next and another one changes the resolution of toggling.
Would be nice if anyone coud give me an information.
Bye
Schneckerich_63
Last edit: 16 Jul 2020 08:36 by Schneckerich_63.
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4031
- Thank you received: 1741
16 Jul 2020 15:01 #174858
by Aciera
Replied by Aciera on topic Mechanical encoder with BCD Output for 7i73 source?
I'm not sure what you mean by
You mean something like this?
uk.rs-online.com/web/p/rotary-switches/7392915/
Another idea might be to use the 7I73 analog inputs with a rotary switch and different resistor values. That would require a bit of HAL programming but you would only need two of the analog inputs.
another one changes the resolution of toggling
You mean something like this?
uk.rs-online.com/web/p/rotary-switches/7392915/
Another idea might be to use the 7I73 analog inputs with a rotary switch and different resistor values. That would require a bit of HAL programming but you would only need two of the analog inputs.
The following user(s) said Thank You: Schneckerich_63
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17988
- Thank you received: 4837
16 Jul 2020 15:43 #174861
by PCW
Replied by PCW on topic Mechanical encoder with BCD Output for 7i73 source?
Another option (if you can spare the input pins) is just to use a standard rotary
switch and make a linear select multiplexor in hal:
loadrt tristate_float count=4
addf tristate_float.0 servo thread
addf tristate_float.1 servo thread
addf tristate_float.2 servo thread
addf tristate_float.3 servo thread
setp tristate_float.0.in 0.001
setp tristate_float.1.in 0.01
setp tristate_float.2.in 0.10
setp tristate_float.3.in 1.00
net jog-increment tristate_float.0.out tristate_float.1.out
net jog-increment tristate_float.2.out tristate_float.3.out
net t jog-increment axis.x.jog-scale axis.y.jog-scale axis.z.jog-scale
net tristate_float.0.enable hm2_[card].0.7i73.n.m.input-01.not
net tristate_float.0.enable hm2_[card].0.7i73.n.m.input-02.not
net tristate_float.0.enable hm2_[card].0.7i73.n.m.input-03.not
net tristate_float.0.enable hm2_[card].0.7i73.n.m.input-04.not
( using the -not pins assumes using 7i73 input pins with pullups and grounding
the pins with a rotary switch )
switch and make a linear select multiplexor in hal:
loadrt tristate_float count=4
addf tristate_float.0 servo thread
addf tristate_float.1 servo thread
addf tristate_float.2 servo thread
addf tristate_float.3 servo thread
setp tristate_float.0.in 0.001
setp tristate_float.1.in 0.01
setp tristate_float.2.in 0.10
setp tristate_float.3.in 1.00
net jog-increment tristate_float.0.out tristate_float.1.out
net jog-increment tristate_float.2.out tristate_float.3.out
net t jog-increment axis.x.jog-scale axis.y.jog-scale axis.z.jog-scale
net tristate_float.0.enable hm2_[card].0.7i73.n.m.input-01.not
net tristate_float.0.enable hm2_[card].0.7i73.n.m.input-02.not
net tristate_float.0.enable hm2_[card].0.7i73.n.m.input-03.not
net tristate_float.0.enable hm2_[card].0.7i73.n.m.input-04.not
( using the -not pins assumes using 7i73 input pins with pullups and grounding
the pins with a rotary switch )
The following user(s) said Thank You: Aciera, Schneckerich_63
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds