Array, Connection Problem, BF-C and BF-D Indicators
Hi everyone.
I have a PLCnext Technology AXC F 2152 STARTERKIT, and the software version is PLCnext Engineer 2019.3.
Here are my 3 questions:
1 - Why the BF-C, BF-D lights are blinking all the time? (I have read the forum (the link below) but when I disabled them, PLC stopped working, so I had to change them back)
2 - When I connect the PLC, after a few seconds (sometimes after 2 minutes), the connection would be lost.
3 - How should we define arrays? I did as the HELP said, but it didn't work. Please attached find the screenshot.
Thanks in advance!
Comments
Hello,
1.
when disabling the PN LEDS you are disabling PN altogether.
You then have to make sure that there are no PN related GDS Variables in the GDS Config File anymore.
The LEDs simply indicate that no communication is established. This can mean its an error -> when the PLC is supposed to have connection to a Controller(BF-C) or a Device (BF-D).
I hope we can offer the setting to disable this from PLCnext Enginer Project in a future feature release.
2.
Sorry I can not reproduce this.
Are you connecting with the PLCnext Engineer or some SSH Client.
Maybe you can attach an Output.log File.
3.
New Datatypes have to be implemented in a datatype sheet not a Programing sheet
Please try creating a sheet in the "Data Types" area above the "Programs" area you are curently working on.
kind regards,
Oliver
Hello,
1. The red LEDs indicate that there is no Profinet network detected. The LEDs can be disabled by disabling Profinet. There are instructions on how to do this in the Sample Runtime series of articles. Note that disabling Profinet will cause errors in the PLCnext Engineer project, because (by default) all PLCnext Engineer projects assume that the Profinet service is enabled. In future PLCnext Engineer will be able to handle this, but for the moment it is recommended to not disable the Profinet service when using PLCnext Engineer - in which case you will need to live with the flashing red LEDs.
3. I did a short video some time ago, showing how to create arrays in an earlier version of PLCnext Engineer - but it is similar in the latest version, so I hope this helps.
Martin.
Loss of connection could be based on Windows Defender or Firewall setting.
I have seen this issue on my own system. here it was the driver for the network card. Did not like that there wasn't a switch between the controller and laptop. Short solution has been the use of an USB network adapter. This also means, that I don't have to change the IP settings on the laptop network card. There are some free programs that lets you manage different network settings and apply them when needed.
Coming to think of: did you add a gateway to your network settings? This is also a common Windows issue. If there is no gateway set, Windows will run the discovery mode periodically.