Parport to 7i92

More
06 Jul 2022 16:02 #246729 by andypugh
Replied by andypugh on topic Parport to 7i92
Thinking about this, I suspect that the reason that you see this and most others, (ncluding myself) do not is that you are using a real serail port, and most installations are using a USB to Modbus converter dongle.
And there is no flow control on those.
The following user(s) said Thank You: tommylight

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

More
09 Jul 2022 18:20 #246968 by looping
Replied by looping on topic Parport to 7i92
I ordered a usb rs485 adaptor so I won't have to mess with rs232 control signals.

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

More
02 Aug 2022 06:52 #248824 by looping
Replied by looping on topic Parport to 7i92
Hello
I received this USB rs485 and it's not working, with or without the 120 ohms resistor on the VFD side. hy_vfd says 8 char received but values are obviously corrupted 0x0E 0x0F 0xE6... and CRC is KO.

For the Rs232 converter, I made a little DB9-M_DB9_F dongle and replicated inside what I had on my Rs232 breakout box (Dtr Rts tied to GND).
It's working fine on my dual boot test PC but not on my dedicated Cnc PC (Motherboard GA-D525TUD)

This confirms what I wrote before : "The more I work on this, the less I understand"
Attachments:

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

More
02 Aug 2022 22:29 #248873 by andypugh
Replied by andypugh on topic Parport to 7i92
Have you connected the gnd from the USB adaptor to the drive?

I have been using one of these, and it's been working well:
www.amazon.co.uk/DSD-TECH-SH-U13-Alligat...black/dp/B082KKG55T/

It came with free alligator clips too :-) (I cut them off and kept them)

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

More
03 Aug 2022 06:34 #248903 by looping
Replied by looping on topic Parport to 7i92
I tried with and without Gnd connected. Same result :(

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

More
03 Aug 2022 11:50 #248921 by andypugh
Replied by andypugh on topic Parport to 7i92
So the USB device also works on the test PC (in Linux with hy_vfd?) and not with the controller PC?

I wonder if the controller PC has a chassis ground connection problem?

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

More
04 Aug 2022 08:44 #249013 by looping
Replied by looping on topic Parport to 7i92
No : the USB doesn't work on both PC.
The Rs232 works only on the test PC.
All tests are with hy_vfd.

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

More
04 Aug 2022 22:48 #249075 by andypugh
Replied by andypugh on topic Parport to 7i92
If the USB doesn't work with either PC, then perhaps it is something simple, like it not having the address in /dev that you think it has?

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

More
04 Aug 2022 23:10 #249079 by tommylight
Replied by tommylight on topic Parport to 7i92
Did you add yourself to the "dialout" group?
If you start LinuxCNC from the terminal, do you get access denied or permission denied on the serial port?

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

More
07 Aug 2022 09:25 #249260 by looping
Replied by looping on topic Parport to 7i92
You mean /dev/ttyUSB0 or /dev/ttyUSB1 ?
If the selected device doesn't exist, hy_vfd will exit right after launched.

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

Moderators: cmorley
Time to create page: 0.144 seconds
Powered by Kunena Forum