Arduino Forum

International => India => Topic started by: dhruvit on Mar 18, 2013, 05:58 am

Title: ML-1400 PLC and arduino
Post by: dhruvit on Mar 18, 2013, 05:58 am
hello friends
i am trying to connect my plc ml-1400 with arduino serially

i want to know that do i need rs232 ttl convertor while serially connecting both device
or directly  connecting  arduino rx pin to my plc tx pin and vice versa will work??
Title: Re: ML-1400 PLC and arduino
Post by: psyoptica on Mar 20, 2013, 10:38 am
How do u start a new post on arduino forum?
Title: Re: ML-1400 PLC and arduino
Post by: Ufoguy on Jul 16, 2013, 08:58 am
Can you tell us what a "plc ml-1400" is?
Title: [SOLVED]: MicroLogix-1400 PLC and arduino RS-232 Level Shifter IC Circuit Diagrm
Post by: WB7ODYFred on Jul 16, 2013, 10:05 am
If you have one of these Micro Logix 1400 PLC, why would you need an arduino?

http://ab.rockwellautomation.com/programmable-controllers/micrologix-1400#/tab5 (http://ab.rockwellautomation.com/programmable-controllers/micrologix-1400#/tab5)
http://literature.rockwellautomation.com/idc/groups/literature/documents/um/1766-um001_-en-p.pdf (http://literature.rockwellautomation.com/idc/groups/literature/documents/um/1766-um001_-en-p.pdf)  User Manual
http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1766-rm001_-en-p.pdf (http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1766-rm001_-en-p.pdf)  Reference Manual

RS-232  is -10V to +10V  (ie +-15V swing)
Arduino  is +5V device signalling 0V-5V RS-232.  So you need a level shifter IC to switch the 0V-5V to a +10V -10V RS-232 Standard level.
The device to look at is  a Maxim Integrated circuits MAX23

http://en.wikipedia.org/wiki/MAX232 (http://en.wikipedia.org/wiki/MAX232)  Wikiepedia description
http://www.ti.com/lit/ds/symlink/max232.pdf (http://www.ti.com/lit/ds/symlink/max232.pdf)  TI MAX232 Data sheet  16 pin chip
(https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQ8V4YhvNbBvBJ3d3I6FvZLnvNid89VjLIcvPaK9wP20_ecj1vu)  MAX 232 Application Circuit Image
Google MAX232 and see what you can find for circuits and images.
(http://avrprogrammers.com/images/max232-arduino-lg.gif)

Glad to help answer your question from Oregon USA, Fred