How to interface CompactLogixL23E and Arduino

Hello there :slight_smile: !

For my school project, I need to use an Arduino as a sensor host to communicate values to an industrial automat.
I need to send temperature, humidity and lux.
My program to collect data is already done, but I'm searching for a solution to send these values to the industrial automat.
My first idea was to pass by RS232 connector but how ::slight_smile: ?
As I know, the DB9 connector act as a Parallel In/Out but the Arduino just get Serial In/Out transmetter pins.
And what is the kind of data to transmit ? Raw numbers ? Hexa numbers ? ::slight_smile:

Sorry for my roughly english, I'm a French guy ^^
Thanks by advance for your help :slight_smile:

What physical communications interfaces does it have and what protocols does it support?

Please post a link to the datasheet or user manual for your "industrial automat"

There is a French language section of the Forum if you would find using your own language more convenient.

...R

Hello there :slight_smile:

My one is the 1769-L23E-QB1B, user manual there : https://bit.ly/30NxgQa

mikb55:
What physical communications interfaces does it have and what protocols does it support?

My installation got DB9 connector and Ethernet, but I have to use DB9 connection

FlorianChampenois:
My one is the 1769-L23E-QB1B, user manual there : https://bit.ly/30NxgQa

Thanks for the link. However there are 249 pages in the document. Can you point out the one or two pages that are relevant to your problem?

...R

Robin2:
Thanks for the link. However there are 249 pages in the document. Can you point out the one or two pages that are relevant to your problem?

...R

I think that my solution is between pages 166 and 183 but is Arduino identificated as a DF1 device or as an ASCII device?

I can't navigate past page 83 - all the rest are blank.

...R

Robin2:
I can't navigate past page 83 - all the rest are blank.

...R

Strange, because I can read these pages.
Have you another easier way to share files ? This PDF is too large to put it inside a reply...

Power_Broker:
https://literature.rockwellautomation.com/idc/groups/literature/documents/qs/iasimp-qs010_-en-p.pdf

Thanks for the link :slight_smile:

Having had a quick look at @PowerBroker's link I don't think I can help without spending hours studying the document - which I am not prepared to do.

I suspect the decision about DF1 or ASCII is up to the user (i.e. you). I have no idea what DF1 is all about - is is a proprietary system? Which makes me suspect that the ASCII mode would be easier

If this is a school project I would expect your teacher to be the expert on this.

Sorry I can't be more helpful.

...R

Robin2:
Having had a quick look at @PowerBroker's link I don't think I can help without spending hours studying the document - which I am not prepared to do.

I suspect the decision about DF1 or ASCII is up to the user (i.e. you). I have no idea what DF1 is all about - is is a proprietary system? Which makes me suspect that the ASCII mode would be easier

If this is a school project I would expect your teacher to be the expert on this.

Sorry I can't be more helpful.

...R

Thanks anyway for your help, now I know that I need to work on ASCII section.
And my teacher just discovered Arduino one month ago so he isn't so informed on this...
I'll check if I can create a library to communicate and I'll send there an answer if I found something...

FlorianChampenois:
And my teacher just discovered Arduino one month ago so he isn't so informed on this...

So where did the idea come from to connect to the CompactLogixL23E ?

...R

DF1 is a communication developed and used by Allen-Bradley to communicate to and from A PLC. DF1 uses an RS-485 protocol to communicate, which required a special user interface in the programmer laptop. To use the DB9 connector the PLC must have that port enabled and setup for RS232 communication. This setup is inside the PLC processor and must be setup by the PLC programmer.