PROFINET COMMUNICATION
Hello. I am trying to communicate a PLCNext AXC F 2152 via ProfiNET (for the first time using PLCnext Engineer) to an ABB ACS 380 Drive which has a fieldbus module with Profinet IO (FENA-21), but I don't understand very well the way I should read and write the data (Status Word and Control Word that I need to read from and write into the drive). What is the way this works in PLCnext Engineer? Do I need to create a Data Transfer Area somewhere, or use AR_MGT before being able to send and receive the data? And do I need to use FB such as RDREC and WRREC or MEMORY_COPY? In what way is this kind of communication established in PLCnext engineer?
I understand that I need to use the interface variables in the Profinet Device but I don't know exactly in which way.
As a resume, I mainly don't understand how to define/access the data area I want to send or receive, and how to send/receive said data in PLCnext Engineer.
I have looked for a YouTube video from PHOENIX CONTACT Technical Support, or a thread on this forum on the topic but haven't found one, and in the View Help area in PLCNext engineer with the same outcome. If there is
(I have already added the GSDML file for the fieldbus module with Profinet IO (FENA-21)).
I understand that I need to use the interface variables in the Profinet Device but I don't know exactly in which way.
As a resume, I mainly don't understand how to define/access the data area I want to send or receive, and how to send/receive said data in PLCnext Engineer.
I have looked for a YouTube video from PHOENIX CONTACT Technical Support, or a thread on this forum on the topic but haven't found one, and in the View Help area in PLCNext engineer with the same outcome. If there is
(I have already added the GSDML file for the fieldbus module with Profinet IO (FENA-21)).
Comments
The PPO types are listed in the documentation from ABB for the FENA-21 interface:
After adding PPO Type 3 to the fena-1 node in PLCnext Engineer, I can see these ports in the Port List:
(I don't know if PPO Type 3 is the one you want, please check the ABB documentation).
For a variable speed drive, the inputs and outputs outlined in red would seem to be the ones you want. You should link each of these port variables to port variables of the same type in one of your program instances. The data should then automatically be exchanged with the device via these variables. The meaning of the Command, Status and Speed values should be described in the ABB documentation.
No.
If you have trouble establishing a connection between the PLC and the FENA-21 interface, please make sure the "Name of station" specified in the device "Settings" window in PLCnext Engineer matches the Profinet name that you have given to the FENA-21 Profinet device in the field.
I hope this helps.
.
The PPO type defines the number of values you receive from the ACS. The PPO types are descripted in the manual for the FPNO-21.
There you also will find the definition for the single bit's in the control and status word.
I have attached some screen dumps from one of my projects. It is with some ACS880 but the FPNO-21 is working the same why in your application.
Be sure to note what bit's in the control word have to be TRUE by default. Again, you can find that in the manual for the ACS and FPNO-21
In the PN_hardware you can see the basic hardware setup. FB_internal is my take on the control function. The FB_program is how it looks in the program.
If you run in to problems, drop me a line and I will assist you in more detail.
Peter Paul
P.D.: I sent a request to the one I believe is your LinkedIn, Peter, so I can keep your contact info.