Hi community!
I’m working with a CS1030 card to read serial devices connected to our system. I’m trying to use the extended status bits to monitor and trigger alarms for bad serial communication. However, I’ve run into a problem:
Every time the PLC or CS1030 card power cycles, one or more error bits are set immediately—even before any communication occurs. I’ve attached an example screenshot showing this behavior.
To address this, I implemented an initialization loop that:
-
Clears any existing error bits.
-
Sets the
Initialized
flag in the function block and begins reading from the serial card.
This works initially—the error bits are cleared—but almost immediately after, I consistently get a RxOverrun bit error (also shown in the attached image). Interestingly, if I manually clear this error, the system runs fine for days without any further error bits being set.
My questions:
-
Has anyone experienced similar behavior with the CS1030 card?
-
Is there a recommended way to handle or suppress these initial error bits after a power cycle?
-
Is there more explanation on why and when these error bits are set?
Any insights or suggestions would be greatly appreciated!
Thanks in advance!