06-03-2016 09:06 AM
I'm wondering for those who have used the Ethernet IP toolkit, if there are any common causes for the error:
Error -251723760 occurred at EthernetIP Tag Read BOOL.vi;
Details: CIP Error - Extended status may be available
CIP Status: 0x4 (Invalid segment type/IOI)
Right now I'm simply trying to establish and confirm a connection to the PLC so code wise, I'm just trying the various instances of the Ehternt IP read tag VIs with a network path and tag.
From what I've seen, this could be caused by the formatting of the tag and/or the number of elements read, type of element (bool, SINT, etc) but I haven't seen any consistent answer, probably because this is likely an error specific to a given situation so I doubt there's a one-size-fits-all fix, but if anyone has had this error before, I'd like to hear how you fixed it, thanks.
06-03-2016 09:32 AM
Nevermind, it was a tag formatting problem,
PREFIX.TAG, I had the wrong PREFIX
03-31-2017 09:15 PM
Can you share how you fix the problem? "Tag program",can you give a demo of right tag?
03-31-2017 09:42 PM - edited 03-31-2017 09:43 PM
The scheme we were using for that system had tags such as Tester1.TagName, Tester2.TagName, etc, so that all the tags names were consistent and we could simply append a prefix onto it to update EthernetIP tags for a specific tester. I was trying to read a tag which did not exist on the PLC, for instance I may have been trying to set Tester3.TagName when there was only a Tester1 and a Tester2.
The error that occurs when you try to access a non existent tag is (or at least at the time was):
Error -251723760 occurred at EthernetIP Tag Read BOOL.vi;
Details: CIP Error - Extended status may be available
CIP Status: 0x4 (Invalid segment type/IOI)
Since that error was based on a more generalize CIP error code, LabVIEW had no way of knowing that the cause of the error was because the tag didn't exist, it only knew that a 0x04 CIP error occurred, which is why it didn't throw a more obvious error such as "the tag is invalid".
04-01-2017 12:03 AM - edited 04-01-2017 12:09 AM
Thank you for your reply,I know why the error ocurs.
From "NI-Industrial Communications for EtherNet/IP Help",it says Tag Name's format "MyObjectTag.InputDataItem.Control[3]",so I write "PROGRAM.OP10.EOL_B[0]" to tag name,the error occures.
But when i use OPC communication in the OPC Client,tag address'fomat is "PROGRAM:OP10.EOL_B[0]",it works.
then I try to write" PROGRAM:OP10.EOL_B[0] "to tag name by EthenetIP communication, it works.
From the above test, I doubt whether NI'help is wrong, I just change"."to ":",it works.
Anyway ,I hope the test can help other people.