03-10-2015 10:19 AM
I need to configure an EtherNet/IP Xport device and in order to do this I need to be able to lock and unlock the configuration. To toggle the lock, an explicit message must be sent with a service code of 0x45. Once the configuration is unlocked I can use the "Ethernet CIP Set Attribute Single.vi" in the Industrial Communications toolkit to configure the device as needed. However, I have not been able to find a way using the toolkit or LabVIEW to send a message with a modified service code to unlock the configuration.
Can someone either explain how this can be done with the toolkit or point me in the direction of accomplishing this using another method.
Thanks in advance,
Shane Lynch
03-11-2015 01:14 PM
Hi shanomack54,
I am not very sure if I understand properly your question. I am not sure if what you need can be accomplished with the Tag Write VI. I would like to send you some information that might guide you a little further, just in case I didn’t understood your question properly.
https://decibel.ni.com/content/docs/DOC-4065
http://www.ni.com/pdf/manuals/374775a.html
https://decibel.ni.com/content/thread/7483
http://www.ni.com/white-paper/10473/en/
You can always look into Help >> NI Industrial Communications for EtherNet/IP to obtain more information.
Again, I am sorry if these links don’t address your issue properly. If this is so, please reply with further information.
Thank you very much for your question.
Regards,
Luis C.
03-11-2015 02:09 PM
Thanks lucaso3. I will look through the links and see if I can come up with a solution.
To better clarify, the "Ethernet CIP Set Attribute Single.vi" sends a message that allows you to set the Class ID, Instance ID, Attribute ID, and Data. It uses a Service Code of 0x10 which corresponds to setting and getting the attribute single. In order for me to toggle the configuration lock state, I need to send specific Class ID, Instance ID, Attribute ID, and Data with a service code of 0x45. I don't believe this is achievable through the toolkit.
Shane
03-11-2015 08:47 PM
HI Shane,
Service code in not customizable. Only CIP Get/Set Single's are supported, (and for Logix series, also Tag read/write).
The action that a customized service code does could possibly be achieved by a combination of CIP Get/Set Single. The manual should explain what each customized service codes does.
10-11-2017 09:36 PM
Hi i would like to set service code as 0X0E can you please advice on the combination of CIP Get/Set Single's
04-15-2024 07:45 PM
I realize this is a very old topic but it's what I found when I was looking for the same answer for the same device.
The answer to this question on how to lock and unlock the configuration is to use EIP_Tools from OVDA and send the Explicit message with a custom service of 69 (Decimal) with the Class 67 (Hex), Instance of 137 (Decimal) and attribute of 171 (Decimal). Then just enter CD in the data field (row 0, Col 1) and send the request.