Search found 264 matches

by RGV250
Wed Mar 13, 2024 12:28 pm
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 6070

Re: Protocol j1587

Hi,
When you say it works on the bench are you using live data from the tractor or some simulator? If it is live data then are you using a bench PSU and when on the tractor using the tractor supply. Does it work OK with the engine not running and then give problems when it is running?

Regards,
Bob
by RGV250
Thu Feb 22, 2024 4:34 pm
Forum: General
Topic: UART, I2C, SPI that don't retain pins in software mode
Replies: 4
Views: 225

Re: UART, I2C, SPI that don't retain pins in software mode

Oops how embarrasing, I have not done the full update. I will try it later.

Bob
by RGV250
Wed Feb 21, 2024 10:52 pm
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 794

Re: Ethernet RS232 / 485

Hi,
It definitely seems I was reading the manual wrong, I put a link between Tx/Rx on the serial connector and using a terminal program (CoolTerm) it seems to work as you said. Also only need 4 channels (for 2 UDS devices) so I miss interpreted that as well.

Got to find the Modbus modules now.

Bob
by RGV250
Wed Feb 21, 2024 4:49 pm
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 794

Re: Ethernet RS232 / 485

Hi,
It is probably me overthinking the manual, it is 92 pages. I will just wait for the serial cable now, I think it will soon become obvious if/how it works or not then.

Bob
by RGV250
Wed Feb 21, 2024 3:24 pm
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 794

Re: Ethernet RS232 / 485

Hi, You are right that you send a read command and the RTU device replies but I think this is where the issue is going to be. (BTW, there is virtually no information on the modules but I did get one to work with the ESP32, the issue I had then was to change the address). From what I read you send to...
by RGV250
Wed Feb 21, 2024 11:43 am
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 794

Re: Ethernet RS232 / 485

Hi, I think I will possibly need both options as from what I can gather it will need another connection for the response so 2 devices with 2 ports would need 8 channels. My idea (if it is possible) is to read both ports from one device and then switch to the other so i would enable 4 channels, read ...
by RGV250
Wed Feb 21, 2024 8:10 am
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 794

Re: Ethernet RS232 / 485

Hi, A long way off but potentially I will have 2 devices with 2 ports so would need 4 connections. I see above where you close the connection and then reconect which would probably be fine but I have a question for another solution. On a lot of PLC equipment I used at work you could have a number of...
by RGV250
Tue Feb 20, 2024 11:01 pm
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 794

Re: Ethernet RS232 / 485

Hi, I may be reading it wrong and the port 80 is only if you want to look at the web manager and the serial ports use 10001 and 10002 so that would make sense and work like you have shown above. I will have to wait until I get the USB RS232 cable as all I have is TTL ones. Then I will be able to see...
by RGV250
Tue Feb 20, 2024 10:30 pm
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 794

Re: Ethernet RS232 / 485

Hi, I think I have hit a snag, I have opened the web manager and set the IP address of the device. The HTTP side uses port 80 (or whatever you set) so the NetworkComms connect component is OK but it also uses another local port (endpoint configuration) for the direction to the serial ports ***. The ...