Two RS232 ascii devices to ML1400

almk

Member
Join Date
Mar 2013
Location
Los Angeles
Posts
12
Hi guys. I need to read data from two dryers with RS232 using ASCII string from Micrologix 1400. Have never done anything like that. I would appreciate any info and advice. Where to start? Do I need to convert RS232 to different protocol? I've read that RS 232 can be only one connected to PLC, not two.
Thanks a lot. Al
 
The protocol will determine if you can put multiple connections on the RS232. Please check the dryer protocol and see if it includes a node/unit number. This will determine if you can send the same command to both dryers, but only the dryer whose number you selected will respond.
The distances that you can go with RS232 about 15 meters, but I have gone as far as 40 meters without issue.
Regards,
Garry
http://www.accautomation.ca
 
Thanks Garry. Dryer protocol has no node. The RS-232 port is used to monitor dryer operation from a host computer. A (1 to 1) DB-9 cable is required to connect dryer and computer. For PC connections, data is transmitted on pin 2, received on pin 3, ground is pin 5, pins 7 and 8 are jumpered at dryer. Operation is at fixed baud rate of 9,600; asynchronous format is 8 bit, no parity, 1 stop bit (“8,N,1”). This is from the manual. Al
 
How frequently do you have to poll each dryer? If not too frequently, it may be possible to use a DPDT or 3PDT relay to allow you to read from either dryer, depending on whether the relay is energized or not. Your logic will have to be configured to store what you're reading in the correct data table address(es) depending on if the relay is energized or not. Cheap solution to a common problem.
 
Thanks, I was thinking about this too. I can read every 30 seconds and store correct data in assigned registers. Just wonder if anything else could be used.
 
Just a WAG but does anyone make a addressable 232 to 485 converter? Or even a serial to Ethernet converter. I know Moxa makes one that has 4 serial ports. That way you could mutli-drop the communications. Since your device does not have a address in its program you will need to address it another way.
 
Rguimond is correct. 30 seconds is relatively long time frame. The switching relays would work.
There is nothing that I know of that will automatically switch from on port to the other with an external signal.
The next thing to do is to establish communication with the dryer using a computer. You can use terminal services or something similar to send and receive out of the computer com ports. This way you know that your communication and wiring is good.
Next hook up your dryer to the PLC. You can use your computer to listen in on the communication and display the information being sent and delivered.
Once this has been established, then wire in your switch for the second dryer. You can then modify your PLC program to turn the relay on/off and handle the communication.

Regards,
Garry
http://www.accautomation.ca
 
That Prosoft device looks like it would do the trick. I like their products. I would look into that if I was the OP.
 
Why not just use both serial ports on the PLC, one for each dryer? The Micrologix 1400 has two and they can be controlled independently. The Ethernet port could be used for programming.
 
I will try to work with one serial port and relay for now. Yes, I could use both serial ports, if relay will not work. Just try to keep low budget and stay away from Prosoft module. Will posted update how it is going to work. Al
 

Similar Topics

Hi to everybody. I need to read the first 12 characters of the message that a barcode reader sends to the ascii card (1734-rs232 ascii) and I...
Replies
8
Views
735
Hello, I have a linear actuator set up (2 Ewellix linear actuators with hall effect sensor encoders) and an SCU control unit with RS232...
Replies
4
Views
2,121
Hi, I'm new into AB controllers and I'm trying to find how to handle rs232 communication on slc 05/4. I know that I need to configure channel 0...
Replies
5
Views
3,101
Hi, Guys I'm trying to upgrade a device witch comms is thru a RS232. The PLC is a Compactlogix L16ER to a remote PIO 1734-AENT then on this PIO a...
Replies
22
Views
8,253
Hello, I am an apprentice and ee student and I have been trying get a slc 5/03 to report temperature data and system status history at a fixed...
Replies
6
Views
3,674
Back
Top Bottom