Hi,
I have a really nasty coding problem .
So we have a machines with 3000 alarms. Because some engineers want to improve the OEE of the installation, they want to know the right alarm sequence. It speaks for itself that I cannot reprogram the complete alarmlogic for 3000 alarms . I tried an alternative with searching in a DB when a bit triggers and so one, but this doesn't work well...
A Scada or HMI is too slow because of it's aquisition time, therefor I need to make the right alarm sequence in the PLC...
I'm thinking to try the following in the PLC:
- Blockcopy the DB with alarmbits to a DB with array of bits.
- Make a DB with corresponding array of TOD's (Read Clock).
- When one or more bits are triggered, the TOD is recorded in the TOD's.
- Bubble Sort all arrays with the TOD value's.
What you guys think ?
I have a really nasty coding problem .
So we have a machines with 3000 alarms. Because some engineers want to improve the OEE of the installation, they want to know the right alarm sequence. It speaks for itself that I cannot reprogram the complete alarmlogic for 3000 alarms . I tried an alternative with searching in a DB when a bit triggers and so one, but this doesn't work well...
A Scada or HMI is too slow because of it's aquisition time, therefor I need to make the right alarm sequence in the PLC...
I'm thinking to try the following in the PLC:
- Blockcopy the DB with alarmbits to a DB with array of bits.
- Make a DB with corresponding array of TOD's (Read Clock).
- When one or more bits are triggered, the TOD is recorded in the TOD's.
- Bubble Sort all arrays with the TOD value's.
What you guys think ?