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

  1. hafiz_sallim
  2. PLCnext Engineer
  3. Wednesday, 18 March 2020

Hi there!

I've been studying and using the PLCnext engineer with my setup, but somehow I have not been successful in accessing my IO data from an AXC F BK PN. Here are some details on my current setup.

Hardware:
AXC F 2152 (Latest firmware)
DI8/1 DO8/1
AI2 AO2

AXC F BK PN
DI8/1 DO8/2

Connection:
Development PC >> 2152 X1
2152 X2 >> BK PN X1

Other details:
I am able to ping the bus coupler from my development PC
The 2152 has BF-C and BF-D LEDs flashing red
The BK PN has BF LED flashing red
The BK PN & connected DI8/1 DO8/1 have D LEDs flashing green

Link to project: https://drive.google.com/file/d/1mnjwcdgBq2jClxdNROGVANTVaehw65fB/view?usp=sharing

Is there a step/configuration that I have missed to get my remote IOs online?

 

Thank you!!

 

Accepted Answer
hafiz_sallim Accepted Answer Pending Moderation
0
Votes
Undo

Hi Oliver,

 

Thank you for the reply. I entered a name under Profinet >> AXL F BK BN >> settings >> Name of Station, and that seemed to have resoloved the issue. I suspect that the default blank value, may have caused some issues when the controller is looking for the resource.

Then I went over to Profinet >> Online Devices, to make sure that the Name of Station field is updated. It seems to work right now.

 

Thanks for your help!

-Hafiz

Attachments (1)
Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Hafiz_sallim,

the PN Name is very important please make sure that the Name of the PN BK is the same in the project as on the online device.

kind regards,
Oliver

Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

  1. one week ago
  2. PLCnext Engineer
  3. # 1
hafiz_sallim Accepted Answer Pending Moderation
0
Votes
Undo

Thank you for the reply Oliver! I have tried that and I am still not able to read the remote IO in my program. Here are some things to further elaborate on what I have tried.

I am currently using the EDU AXC F 2152 set.

  1. In the project, I have ensured that the physical topology matches the setup.

  2. In my MainProgram, I have created external variables PDI0, PDI1 and PDO0.

  3. I have added the BK PN and the connected DI8/DO8 devices in the plant.

  4. In the BK PN Data List, I have linked the IO Process Data Items to the Variables created in the MainProgram.

  5. I have also added MainProgram under IO Controller system & Global Variables in the Profinet settings >> Update tasks

  6. I run the program on the 2152, and when flipping the switches for the DI8/DO8 connected to the BK PN, I am not able to see the corresponding changes in the program.

Are there any specific steps that I have missed?

Thank you!!
- Hafiz

Attachments (1)
  1. one week ago
  2. PLCnext Engineer
  3. # 2
Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Hafiz,

i dont see anything missing...
but the LED Status that you reported initially indicates, that there is a connection Issue between PLC and PN BK.

Please have a look at the Diagnostic Variables for PN, the /opt/plcnext/Output.log file or at the https://ip.ip.ip.ip/WBM -> PN Diagnostic of your PLC.

Then we should find out what is going on.

Maybe also scan the network with Netnames or PLCnext engineer and attach a screenshot of the response...


kind regards,
Oliver

Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

  1. one week ago
  2. PLCnext Engineer
  3. # 3
peterdallmann Accepted Answer Pending Moderation
0
Votes
Undo

It looks like that there are no global variables connected to the physical I/O's of the BK.

In the screen dump, there is no PLC variable connected to any of the I/O's. That could be the issue.

 

Peter Paul

  1. one week ago
  2. PLCnext Engineer
  3. # 4
  • Page :
  • 1


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