Skip to content

Profinet communication with AXC 1050

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?

Comments

  • 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

  • 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?

     

  • 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

Sign In or Register to comment.