Communication between ASCII USB device and CompactLogix

Dan123

Member
Join Date
Sep 2014
Location
California
Posts
17
I have an existing machine running a 1768-L45 CompactLogix and the client wants to add linear actuators (http://www.ealingcatalog.com/motion-control/actuators-adjusters/encoderdriver-actuators.html), but the motion controller that they are using is USB. It has an ASCII command set, and I am able to control and monitor the actuators using a virtual COM port and RealTerm.

My question is -- what is the best way to set up communication between my PLC and this device? If I use a USB to Ethernet gateway, will message instructions work to send/receive commands? Is there a better option out there to communicate between USB and PLC?
 
I am able to control and monitor the actuators using a virtual COM port and RealTerm.

So you're plugging in your computer to the actuator, and the actuator is appearing as a Windows COM port. Is that correct ?

Post as much information as you can about the chipset or identity of what's inside that actuator. Windows Device Manager should tell you the basics.

In general, a device that works as a USB adapter doesn't also work as a USB Host. Plugging a USB/Serial converter or USB/Ethernet converter into it might work, or might not. Those devices typically need a USB Host, with drivers written for PC operating systems like Windows and Linux and OSX.
 
The actuator connects to a controller through a 10 pin port, and the controller is connected to the PC through USB. I believe the drivers included with the controller setup the virtual COM port.

I've attached a screenshot of the basic information from the Device Manager. There are also a bunch of properties with long alphanumeric values under "Details" -- let me know if any of these would be useful to look at.

usb serial port.png
 
The good news is that they have an FTDI chipset, so the serial port support by PC operating systems should be broad (I'm thinking embedded Linux).

The bad news is that it's not an HID (keyboard/mouse) or Printer type device, which could be interfaced with by the RTA Automation USB/A-B gateway.

http://www.rtaautomation.com/product/435usb/

It's worth a call to RTA to see if they are working on something that would do this job.

If you had a PC connected to the servo, you could use com0com or another null modem emulator to connect the CompactLogix serial port to the servo driver USB COM port. There are probably similar approaches using socom or tty0tty for Linux.
 
I did look into the RTA gateway, they said there's "a chance" it will work.

I do have a PC connected to this machine, so I think I will explore this route further. I will definitely look into com0com, or probably there are some other ways I can make it work that way, maybe through an OPC server.

Thanks for your help Ken!
 

Similar Topics

I have Woodward Controller EASYGEN-3500XT and Phoenixcontact make IO CAN-CUPLER part no: 2702230, Analog Input card: 2861412, Analog Output Card ...
Replies
0
Views
20
Hello Everyone, I have a issue with communication between two different PLCs. So here is the facts, The Master PLC is Guard Logix 5069 with IP...
Replies
4
Views
75
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
97
I'm trying to write a data in Arduino using MODWR function block .I used the code I got from online for both PLC and Arduino. I made the wiring...
Replies
4
Views
114
Or there is an alternative to this? I suppose there are many but I've only seen put/get Can you for example set up a new plc and connect it to an...
Replies
5
Views
305
Back
Top Bottom