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 July 17th, 2019, 10:31 AM   #1
Nortech
Member
Ireland

Nortech is offline
 
Join Date: Mar 2018
Location: Ireland
Posts: 25
Writing out to Universal Robot dashboard socket 29999 through TCP/IP from AB Complogi

Hi All,
Has anyone written commands to a Universal robot dashboard through TCP/IP socket from an Allen Bradley Compact logix PLC?

I'm using the Modbus TCP Master Sample Application example from the rockwell website and seem to be getting connected momentarily before the connection is dropped.

Has anybody got any experience with this?

Thanks
  Reply With Quote
Old July 17th, 2019, 10:42 AM   #2
Contr_Conn
Member
United States

Contr_Conn is offline
 
Contr_Conn's Avatar
 
Join Date: Sep 2003
Location: Ohio
Posts: 2,038
Did you try to get a wireshark capture to see who is closing connection?
  Reply With Quote
Old July 17th, 2019, 11:49 AM   #3
Nortech
Member
Ireland

Nortech is offline
 
Join Date: Mar 2018
Location: Ireland
Posts: 25
Hi Contr_Conn,
No. I didn't but following through the Rockwell sample code, I can see that the PLC closes the connection due to no response from the robot despite the Initial MSG blocks seemingly creating and connecting to the socket successfully. Have you done this before?
Thanks
  Reply With Quote
Old July 17th, 2019, 11:58 AM   #4
Nortech
Member
Ireland

Nortech is offline
 
Join Date: Mar 2018
Location: Ireland
Posts: 25
https://www.rockwellautomation.com/s...pLinking=false

This is the link to the sample code download (Its the second one (for compactlogix))
  Reply With Quote
Old July 17th, 2019, 12:15 PM   #5
Contr_Conn
Member
United States

Contr_Conn is offline
 
Contr_Conn's Avatar
 
Join Date: Sep 2003
Location: Ohio
Posts: 2,038
Before you dig into the working code you should see what is on the wire.
Then it will give you a direction.
You may need to replace your slave device with some Modbus simulator and get it working this way.
There is also Quick Start technote that has exact example.
  Reply With Quote
Old July 17th, 2019, 12:50 PM   #6
Nortech
Member
Ireland

Nortech is offline
 
Join Date: Mar 2018
Location: Ireland
Posts: 25
I am not sure how to do this.

I can communicate with the robot socket from my PC using SocketTest v 3.0.0

How do I check whats on the wire?

Thanks
  Reply With Quote
Old July 17th, 2019, 01:31 PM   #7
Contr_Conn
Member
United States

Contr_Conn is offline
 
Contr_Conn's Avatar
 
Join Date: Sep 2003
Location: Ohio
Posts: 2,038
https://lmgtfy.com/?q=wireshark&s=g

https://rockwellautomation.custhelp....il/a_id/576972

Last edited by Contr_Conn; July 17th, 2019 at 01:34 PM.
  Reply With Quote
Old July 17th, 2019, 11:34 PM   #8
Geoff White
Member
Australia

Geoff White is offline
 
Join Date: Oct 2005
Location: Brisbane
Posts: 385
Try using a socket comms test program like hercules test utiiity. That way you can eliminate problems at the other end too.
  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
Mitsubishi PLC R04CPU Socket TCP/IP comm via build in Ethernet port example programs ALMAR LIVE PLC Questions And Answers 1 December 5th, 2017 04:00 PM
Universal Robot with AB PLC rootcon LIVE PLC Questions And Answers 2 March 24th, 2015 07:48 AM
┐FANUC Robot R-30iB communication with AB Micro 850? alonsok LIVE PLC Questions And Answers 0 December 26th, 2014 07:18 PM


All times are GMT -5. The time now is 02:44 AM.


.