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.

New Here? Please read this important info!!!


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

Reply
 
Thread Tools Display Modes
Old January 30th, 2015, 08:13 PM   #1
chenhg
Member
China

chenhg is offline
 
Join Date: Sep 2008
Location: Shanghai
Posts: 26
Error with Ethernet/ip communication

I can't communicate to Rockwell compact L33ERM with Ethernet/ip.I got error msgs using service CIP_MULTI_REQUEST and CIP_DATA_READ.The error codes are listed following :

0x001e:embedded service error
0x000friviledge violation

Anyone can give me some hint to handle this problem.Thanks in advance.
  Reply With Quote
Old January 30th, 2015, 08:17 PM   #2
chenhg
Member
China

chenhg is offline
 
Join Date: Sep 2008
Location: Shanghai
Posts: 26
0x000f: priviledge violation
  Reply With Quote
Old January 30th, 2015, 10:56 PM   #3
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 17,254
What is your client software ?

You need to provide a lot more information for anyone to help you with specific CIP driver or application software development and troubleshooting.
  Reply With Quote
Old February 2nd, 2015, 07:24 AM   #4
chenhg
Member
China

chenhg is offline
 
Join Date: Sep 2008
Location: Shanghai
Posts: 26
thanks Ken Roach for reply. I have caught communication packet with wireshark.Pls see the attachment.Thank you in advance.
Attached Files
File Type: zip cip.zip (3.0 KB, 26 views)
  Reply With Quote
Old February 2nd, 2015, 12:02 PM   #5
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 17,254
Please try to provide some useful context for the question instead of just the low-level command codes and error codes in Wireshark. You posted a similar question six years ago and got no answers.

A Privilege Violation suggests that the tags you are trying to read are restricted from being read by an operating system feature.

Service code 0x4C is object-specific... it has a different meaning in every CIP object. I'm not familiar with Object 0x72 because it's related to the complicated multiple-service commands, and I'm not a CIP firmware developer.

What is the client software ?

What are the tags you are trying to read ?

Last edited by Ken Roach; February 2nd, 2015 at 12:11 PM.
  Reply With Quote
Old February 2nd, 2015, 09:01 PM   #6
chenhg
Member
China

chenhg is offline
 
Join Date: Sep 2008
Location: Shanghai
Posts: 26
Thanks Ken Roach a lot.It's very kind of you to remind me of the question.
1.All tags are gerenic variables with R/W access.The command of multiservice and 0x4C(It's used for reading tag described in AB manual ) is valid because RSLinx also uses both commands to read tag value.
2.The client software was developed by me several yeas ago according to some manuals and tests because I didn't find one special manual available to write the driver.I'm not clear about the initiation procedure all the time although the diver works well with AB ethernet or some compact plcs.I'm also sure the priviledge violation error is caused by my improper initiation steps because initiation steps are only difference between my driver and RSLinx.I hope to figure out the necessary initiateion steps to communicate instead of following RSLinx with too many steps.The following is my initiation steps:
a.Register session
b.forward open
c.enum all tag online
d.forward close
e.forward open
f.kick time
g.Get Attribute of all tags
h.multiservice and 0x4C read tags

I'm confused by the red commands.I think it's point to resolve my problems.

Any help will be appriciated.
Attached Files
File Type: zip cip.zip (3.0 KB, 12 views)
File Type: zip RSLinx.zip (176.9 KB, 18 views)
  Reply With Quote
Old February 2nd, 2015, 09:13 PM   #7
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 17,254
Quote:
I hope to figure out the necessary initiation steps to communicate instead of following RSLinx with too many steps.
If you're going to try to reverse-engineer functions of RSLinx, you'd better imitate RSLinx. If you want a different client to imitate, grab a Kepware or Red Lion software client and see what it does.

I'm not a CIP protocol developer and am not qualified to help.
  Reply With Quote
Old February 3rd, 2015, 02:15 AM   #8
chenhg
Member
China

chenhg is offline
 
Join Date: Sep 2008
Location: Shanghai
Posts: 26
Ken Roach,thanks you anyway.
  Reply With Quote
Old September 18th, 2023, 05:24 PM   #9
Leem
Member
United States

Leem is offline
 
Join Date: Sep 2023
Location: Schwenksville, PA
Posts: 1
"Symbolic" mode fixed it for me

I realize this is an old thread, but I just ran into an identical problem and this article came up when I was searching for solutions. So I'm posting the solution I found for the future greater good.



I was having exactly the same symptoms. My application was using Kepware to poll data from an AB CompactLogix L35E.


The solution was to edit the properties of the PLC node in the Kepware tree, change the Protocol Mode (in the Logix Options tab) to "Symbolic", and then make sure it STAYS Symbolic after you click the Apply button. Be careful: the mode may revert to the previous mode and you might not notice it. Someone once told me they change the Data Collection mode (in the General tab) to "Disable" before trying to change the Protocol Mode. Even that did not work for me. I had to delete the old PLC node in the Kepware tree and create a whole new one with the Symbolic mode from the start.
  Reply With Quote
Old September 19th, 2023, 01:39 PM   #10
harryting
Lifetime Supporting Member
United States

harryting is offline
 
harryting's Avatar
 
Join Date: May 2002
Location: Puget Sound
Posts: 2,572
The whole "Symbloic" work around is unique to some version of Logix and Kepware. Not sure if OP's problem are the same since s/he wasn't talking about OPC.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


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
Kinetix 6500 Ethernet/IP communication issues maexio LIVE PLC Questions And Answers 7 April 10th, 2014 03:00 AM
Communication between Schneider 140 NOC 771 01 and PowerFlex 755 over Ethernet/IP lalitvedak LIVE PLC Questions And Answers 1 December 22nd, 2012 08:23 PM
Atlas Copco ComBox-E communication with Ethernet/IP master device Jason_H225 LIVE PLC Questions And Answers 0 April 22nd, 2010 12:08 AM
Is communication with PLC-5/30A and 30C over Ethernet/IP supported? m.nazish LIVE PLC Questions And Answers 3 November 4th, 2008 07:15 AM
CIP - Ethernet/IP - Communication manojvivek LIVE PLC Questions And Answers 2 July 15th, 2002 10:36 AM


All times are GMT -4. The time now is 09:30 PM.


.