You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old January 11th, 2019, 07:06 PM   #1
Dayvieboy
Member
United States

Dayvieboy is offline
 
Join Date: Jun 2013
Location: Bay Area
Posts: 3
CompactLogix to UDP device

I am looking for someone who can get our L36ERMS CompactLogix PLC to talk to a device that uses UDP
We only need to turn on and turn off the device. Basic function.
Any suggestions on who can do this work?

Dave
  Reply With Quote
Old January 11th, 2019, 09:33 PM   #2
SD_Scott
Member
United States

SD_Scott is offline
 
SD_Scott's Avatar
 
Join Date: Feb 2006
Location: South Carolina
Posts: 119
Is the device a registered product? Can it be placed in the I/O configuration?
  Reply With Quote
Old January 12th, 2019, 08:58 AM   #3
BITS N BYTES
Lifetime Supporting Member
United States

BITS N BYTES is offline
 
Join Date: Jun 2005
Location: Miami Beach
Posts: 404
Use Socket Services!


https://literature.rockwellautomatio...t002_-en-p.pdf
  Reply With Quote
Old January 12th, 2019, 07:56 PM   #4
Dayvieboy
Member
United States

Dayvieboy is offline
 
Join Date: Jun 2013
Location: Bay Area
Posts: 3
SD_Scott It is not a registered device...

It is a sputtering ION pump, Part of a Ultra High Vacuum system
for an Electron Beam Microscope system that we are designing.
  Reply With Quote
Old January 12th, 2019, 08:40 PM   #5
Dayvieboy
Member
United States

Dayvieboy is offline
 
Join Date: Jun 2013
Location: Bay Area
Posts: 3
BITS N BYTES

Thank you for the reply,
I had been looking @ that document as well as some others before posting.

Building from scratch and doing all of the needed debugging, I can probably muddle through,
but would take me much longer than somebody else that has done it before.

The Sockets manual mentions how to create needed messages ie. Open Socket, but not much on the needed code in front of the messages, other confusing things are it tells you to create a “Source element” UDT but no mention of radix or size.

I did get the Modbus TCP I/P sockets to work using sample code.
Sockets uses some memory but is cheaper, has a smaller foot print and creates a cleaner build.

Another bonus of working through this is now we do not need to buy expensive Modbus TCP I/P cards for every tool

I have not found a UDP sample code for Compact Logix yet.

Maybe I can take apart the Modbus sample and learn a bit.

It has to be 100% reliable and there may be a learning curve I am trying to avoid.
There is money in the project to pay for help.

Dave
  Reply With Quote
Old January 12th, 2019, 10:26 PM   #6
SD_Scott
Member
United States

SD_Scott is offline
 
SD_Scott's Avatar
 
Join Date: Feb 2006
Location: South Carolina
Posts: 119
Quote:
Originally Posted by Dayvieboy View Post
SD_Scott It is not a registered device...

It is a sputtering ION pump, Part of a Ultra High Vacuum system
for an Electron Beam Microscope system that we are designing.
If you only need to turn it on and off, why don't you just use discrete I/O?
  Reply With Quote
Old January 13th, 2019, 12:39 AM   #7
godcixelsyd
Member
United States

godcixelsyd is offline
 
Join Date: Jan 2013
Location: Georgia
Posts: 99
Quote:
Originally Posted by Dayvieboy View Post
BITS N BYTES

Thank you for the reply,
I had been looking @ that document as well as some others before posting.

Building from scratch and doing all of the needed debugging, I can probably muddle through,
but would take me much longer than somebody else that has done it before.

The Sockets manual mentions how to create needed messages ie. Open Socket, but not much on the needed code in front of the messages, other confusing things are it tells you to create a “Source element” UDT but no mention of radix or size.

I did get the Modbus TCP I/P sockets to work using sample code.
Sockets uses some memory but is cheaper, has a smaller foot print and creates a cleaner build.

Another bonus of working through this is now we do not need to buy expensive Modbus TCP I/P cards for every tool

I have not found a UDP sample code for Compact Logix yet.

Maybe I can take apart the Modbus sample and learn a bit.

It has to be 100% reliable and there may be a learning curve I am trying to avoid.
There is money in the project to pay for help.

Dave
I believe the third option form this search is what I ended up successfully using:

https://www.rockwellautomation.com/s...1-5cc023c6093d

There should be an option in the way the message is structured to flag it as UDP/TCP/both iirc. It's been a little while since I went down this trek, and i no longer work at the facility where I needed to use it unfortunately.
  Reply With Quote
Old January 13th, 2019, 02:00 PM   #8
BITS N BYTES
Lifetime Supporting Member
United States

BITS N BYTES is offline
 
Join Date: Jun 2005
Location: Miami Beach
Posts: 404
Smile

Recently used this very helpful article and sample code as a basis to develop UDP communications from a CompactLogix 1769-L18ER-BB1B.
Even though this example is for a Kollmorgen drive, the principles involved can be used/modified to communicate to any device via UDP.

Just be aware that UDP is a blind communications vs. TCP.
In general there is NO automatic response or confirmation that data has been received when WRITING a UDP message.
Ideally the receiving device should have a READ parameter to confirm its state.
So with your application you would WRITE either ON or OFF followed by a READ to confirm the state has changed.


https://www.kollmorgen.com/en-us/dev...-logix-l18erm/

Last edited by BITS N BYTES; January 13th, 2019 at 02:04 PM.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
MicroLogix 1200 to CompactLogix 5380 via ENI GrownUpGerberBaby LIVE PLC Questions And Answers 37 January 4th, 2019 09:15 AM
Modbus TCP vs UDP; Modbus TCP vs RTU over RS-485 danw LIVE PLC Questions And Answers 6 March 18th, 2018 08:49 PM
AB CompactLogix L36ERM - Socket Programming small help needed bharat.desh LIVE PLC Questions And Answers 4 January 27th, 2014 12:30 PM
Help with Panelview CompactLogix Please Philadelphia Frank LIVE PLC Questions And Answers 10 September 26th, 2009 01:30 PM
Analogue Inputs - Sink, Source, Help! Yabadabadoo LIVE PLC Questions And Answers 14 January 26th, 2005 01:48 PM


All times are GMT -5. The time now is 12:30 AM.


.