OMRON-PLC [0590:005b] Code 10

Hi Michael,

Server is OpenWrt 23.05.3 on ramips/mt7621, licensed. Clients are Win10 and Win7. USB devices are Omron PLCs CP1H-Y and CJ2M-CPU64EIP. Both use the same id [0590:005b] and behave the same way on both Windows clients. When plugged in directly they work. I have tried the two options below. 

AutoAttachToKernel=0
ClaimPorts=1
 

Sometimes, the device is listed error free in device manager and I get this in the log but the device cannot be reached. Please let me know how I can help. This is the only device that is causing me issues. Your software is awesome. Money well spent.

Sat Jul 27 04:22:05 2024 kern.info kernel: [  142.758711] usb 1-1: new full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:22:05 2024 user.info vhusbd[2460]: Found Full speed device [0590:005b] "OMRON, OMRON-PLC" at address 11
Sat Jul 27 04:22:12 2024 kern.info kernel: [  150.208707] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:22:12 2024 user.info vhusbd[2460]: Device 11 [0590:005b] BOUND to connection 1
Sat Jul 27 04:22:13 2024 kern.info kernel: [  150.808785] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:22:56 2024 kern.info kernel: [  194.047721] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:22:56 2024 kern.info kernel: [  194.477829] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:23:07 2024 kern.info kernel: [  204.787360] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:23:07 2024 kern.info kernel: [  205.217325] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:23:31 2024 kern.info kernel: [  229.266492] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:23:32 2024 kern.info kernel: [  229.706436] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:24:11 2024 user.info vhusbd[2460]: Device 11 [0590:005b] UNBOUND from connection 1
Sat Jul 27 04:24:18 2024 kern.info kernel: [  275.643307] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:24:18 2024 user.info vhusbd[2460]: Device 11 [0590:005b] BOUND to connection 1
Sat Jul 27 04:24:18 2024 kern.info kernel: [  276.233289] usb 1-1: reset full-speed USB device number 2 using xhci-mtk
Sat Jul 27 04:24:54 2024 user.info vhusbd[2460]: Device 11 [0590:005b] UNBOUND from connection 1

#2

Can you try this: In the virtualhere client, right click on the PLC and select Custom Event handler then type in this exactly:

onReset=

Then unplug the PLCs and plug them in again then try to use via virtualhere. Does that help?

#3

That did not make any difference.

I will email you a wireshark USB capture of a direct successful connection.