Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. cristian_garcia
  2. PLCnext Engineer
  3. Thursday, 14 October 2021
Hello everyone,
I want to connect my PLCNext 2152 to Azure IoT Hub. I am working with IIoT and IT libraries. I tested the IT library, uploading a example code into the PLC and it worked fine. Now I wanted to integrate with IIoT library and I got two different issues. First one relies on using the variable ip_sock, because there is not a variable type called IPC_UDT_IP_SOCKET in the project. I think that is cause with the management of libraries. (Picture test1).
Second, I am using an example program from IT library adding the IIoT library, but now I am having an error code CILG0001. I checked all variables and there are not any IN or OUT variable declared in the code.
How can I solve all these issues?
Thanks a lot in advance for your help.
Best regards,
Cristian
Attachments (1)
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Hi Cristian,

As advised by email, the solution to the first problem is to include the IP_Com_10 library in your project a second time, separately to the IT_Library.

If you are still experiencing the second problem, please let us know.

(ref: #221892)
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.