12V encoder interfacing with 7i77, schematic?

More
10 years 8 months ago #70701 by djs14

Todd Zuercher wrote: What I think you need to do is build a voltage divider with a couple of resisters.
en.wikipedia.org/wiki/Voltage_divider


I'm losing counts on the DRO. Tomorrow I will hook up my scope and have a look at the A and B wave forms simultaneously. My resistors are creating a 4.8V wave. Is that potentially my problem? Should I get it right to 5V?

Any other things I should mess with.

The encoders are not differential. I had no wires hooked to the "negative" side of the encoder inputs (a/,b/) on the 7i77. Any chance I should be hooking my encoder pulses to a/ and b/ vs a and b?

It also seemed like hooking up the index pulse garbled the count more. I'll look at that also.

It's pretty cool that I'm getting data to the DRO.... even though it's wrong ;)

cheers

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago - 10 years 8 months ago #70873 by djs14
Got X and Z axes homing to index pulse on encoders and my tool changer working from M6! Huge milestones for me!

Thank you for all the help.

If anyone has any info on my spindle drive and encoder that would be greatly appreciated! Pics of model numbers on first or second post of this thread.







File Attachment:

File Name: another-2-3.clp
File Size:10.7 KB


File Attachment:

File Name: MiyanoLath...-4-5.hal
File Size:10.21 KB


File Attachment:

File Name: MiyanoLath...-4-5.ini
File Size:2.97 KB


File Attachment:

File Name: spindle_to...-3-4.hal
File Size:2.12 KB


File Attachment:

File Name: panel-2-3-4-5.xml
File Size:982 B








I wanted to backup my files here. Sometimes this computer doesn't see the hard drive ...

cheers all
Last edit: 10 years 8 months ago by djs14.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #70876 by PCW
When 7I77 encoders are in TTL mode, they have a TTL threshold (about 1.7V) so I would make sure the input swings as low as possible, less than .5V if possible. This is complicated by the fact that the inputs have 2K ohm pullups to 5V. This means you may need to lower your divider impedance to get good low level
The following user(s) said Thank You: kt600v

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #71821 by djs14
file backups

File Attachment:

File Name: mpghardware.hal
File Size:1.98 KB


File Attachment:

File Name: another-2-3-4.clp
File Size:10.7 KB


File Attachment:

File Name: MiyanoLath...-5-6.hal
File Size:10.6 KB


File Attachment:

File Name: MiyanoLath...-5-6.ini
File Size:3.01 KB


File Attachment:

File Name: postgui_call_list.hal
File Size:109 B


File Attachment:

File Name: custom_postgui.hal
File Size:111 B

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds
Powered by Kunena Forum