Hello Marcus,
I would like to thank you for your response!
To answer your questions:
- I am using the x20DS438A (Rev3) B&R interface with firmware 2.4.2.0.
- The communication is handles entirely by the PLC.
- There are no other devices connected to theIO-Link Master.
- The ChannelStatus value is “4”, this is both before and after the error.
- ModuleOk = True
- I have code which writes the data to the I/O mapping of the master.
Since posting I have tried the following:
-
Timing
We have checked and adjusted the timing settings to ensure that the timing of both the PLC and the interface matches. -
Power Supply
We have installed a different power supply that can deliver much more power in case this was an issue. This turned out to have no effect. (The LED-strip is connected directly to the power supply) -
Fixture
We have used a different Banner LED strip to rule out a defect in the current LED strip. -
Software
The code on the PLC has been thoroughly examined for errors that could cause the error. -
Interval
The code has been rewritten with intervals as we thought it might be sending too much data in a short time. Even with intervals of 60 seconds, the error still occurs. -
IO Link Master
We have replaced the B&R IO Link Master with another one to rule out a defect. -
IO Link Master firmware
The latest firmware for the IO Link Master has been installed.
Some noteworthy information:
Initially, when I started controlling this LED-strip, I noticed it required 32 bytes. B&R sent me a tutorial document about using flat stream. In this tutorial, they recommend using the “LibAsFltGen” library, which includes a “Status” variable that automatically updates with an error code in case of an error
This is how the error happens:
1 I start writing to the LED strip, everything is working for about 3 to 4 minutes.
2 The IO Link error light starts double flashing and the LED-strip stops changing its lights. In monitor mode you can see that it is still responding with data when you write to it.
3 If you write 4 or 5 times, the “Status” variable of hte library changes to “33800”
The Pop up in the screenshot only shows up when you are connected to the LED-strip with the connection functions built into Automation Studio when the error happens.
Any insights you might have would be greatly appreciated!
Best regards,
Walid el Oufi