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

  1. jlaracastro
  2. PLCnext Technology & PLCnext Controls
  3. Monday, 20 July 2020

Hi I am Jorge

 

I have an AXC 1050 PLC , working with a Profinet UPS, and I want to get that info from de AXC 1050 since an AXC 2152 with Profinet Communication.

I used the information that i found in this forum to establish the Profinet communication between 2 PLC, and i think i have no problem with that ( I attached photo ), because my PLCnext AXC 21152 can read the diagnostics about the condition of my AXC 1050, but  can´t read the info about the UPS. I don´t know if I have to make an structure or an array to read with my PLC next,  or I can use the RDREC to get that info.

 

So...basically i want to transfer the UPS info since PCworx to PLCnext Engineer

 

Can you give me some guide to reach my goal?

Attachments (5)
Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Jorge,

the simplest and most efficient way is data exchange via PN-IO data. Please see the similar question under following link:

https://www.plcnext-community.net/en/discussions-2-offcanvas/i-need-some-help-to-communicate-plc-in-profinet.html

If you have additional questions, please don't hesitate to ask!

Best Regards

Eduard


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

jlaracastro Accepted Answer Pending Moderation
0
Votes
Undo

Hi Eduard

Thank for your help.

I have already read that post before, and I don´t know if maybe I am making any mistake to do the process from video.

The name of variables for me is DI2048, DO2048, and the video is with 4096 ending, I think that it´s something just for my version firmware (2020.3 LTS)

I have already created the variables in main program (attached photo), but when i tried to make the port link in PLC next section, I can not find the correct way to do it. In the video, Martin makes that , linking the DI4096 with the variable PN_Inputs and DO4096 with PN_Outputs, thats it´s logical of course, but when I tried to do it, only have the acces to link inputs and outputs, and thats not seems correct.

Maybe i failes with another step, can you give more information about it?

 

Attachments (4)
Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Jorge,

please create at first the Datatype PNIO_256 (Array of 256 Bytes) and then create the Port-Variables of datatype "PNIO_256" as showed in the Video. It is neccessary, because the AXC1050 controller has 256 In/Output Bytes.

Under Component->Datatype define new Type:
TYPE
PNIO_256: Array[0..255] Of BYTE;
END_TYPE

Best Regards

Eduard


Phoenix Contact Electronics Headquarter - 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.