SeriaConnection to MicroLogix controller- help!

Total_newbie

Member
Join Date
Aug 2020
Location
Detroit
Posts
24
Hello,
As my user name implies - I am totally new to the wonderful world of PLCs. I have though been tasked with integrating into our larger software package a connection to MicroLogix 1400 controller so that we can simply read/write specific registers. Connection will be via RS232 serial connection. For connection software, I have used https://github.com/robertlarue/DF1Comm/blob/master/DF1Comm/DF1Comm.vb - which is straightforward, with routines which could be easily combined with our software. For serial connection I am going from COM1 port of PC to (9-pin) serial port of MicroLogix controller via null modem cable (wiring as per http://www.home-machine-shop.com/bits/NULL_MODEM_CABLE.jpg). Controller is set to default communication config (19200 baud, no parity - Node is "1").

When I try "autodetect" (which sends DLE -ENQ, varying baud/parity/etc pms to get reply) to make initial connect - I get no response at all. I do not see COMM 1 indicator on controller flash. I know that I am sending out bytes thru port, because if I connect pins 2/3 (send/receive) -I can see echo using terminal emulator on COM1.

Is there something obvious (or not so obvious...) that I may be missing, or something else that I might try? I see that I might try RSLinx software - but I think that if cannot make connection right now - that package will not help me.

One additional point which I just noticed. On my (Windows 10 PC) - if I connect COM1 to COM2 and write thru COM1 - I see echo of out bytes in COM2. On the Windows 7 PC which is connected to controller - with same config, I do not see echo (even though if I cross over pins 2 and 3 - I get echo...). (Is there difference between serial writes?). Unfortunately - I can only connect to controller via Windows 7 machine right now.

Thanks to all for any help or ideas..
 
Try RSLinx... if your cable is correct and your settings are correct you should be able to see the processor in RSLinx, once you get that working you can go onto your other software.

You should be able to do something like this http://www.youtube.com/watch?v=QIu1AGUR4N8

That video is using my USB adapter so you can just leave it set as COM1 and click auto configure
 
Thanks to all for the ideas. It turns out that problem was with serial port on the Windows 7 PC which I was using. Either port is not (completely) working (it was working enough though that I was getting echo when I jumpered pins 2 and 3), or somehow pins are mixed up. (I don't know how that might occur...). Just trying to connect and read registers though with my Win10 machine (getting it to controller was no easy task... why can't they make laptops with serial ports?) - worked beautifully on 1st try. A 3 day learning experience...
 
Thanks to all for the ideas. It turns out that problem was with serial port on the Windows 7 PC which I was using. Either port is not (completely) working (it was working enough though that I was getting echo when I jumpered pins 2 and 3), or somehow pins are mixed up. (I don't know how that might occur...). Just trying to connect and read registers though with my Win10 machine (getting it to controller was no easy task... why can't they make laptops with serial ports?) - worked beautifully on 1st try. A 3 day learning experience...

ML1400 is Ethernet capable...
 

Similar Topics

I am currently backing a Micro Logix 1100 and no-one seems to have the file for me to upload from. Is there a way for me to upload the project off...
Replies
15
Views
376
Hi, I am working with a Micrologix 1400 model 1766-L32BXB. With no input wires connected to the “in12” thru “in19”, I am getting 24 volts while...
Replies
4
Views
175
I am trying to set up a read message in a MicroLogix1100 to read the value of a DINT in a ControlLogix5561. I have successfully set up a message...
Replies
2
Views
166
Hi everyone, I hope I don't butcher this up, please feel free to critique me wherever if I do, I have an issue I would equate to "chasing...
Replies
4
Views
242
Hi everyone, I'm working on a project where I need to exchange data between a Siemens S7-1200 PLC and an Allen-Bradley MicroLogix 1400 PLC. The...
Replies
8
Views
486
Back
Top Bottom