alexbeatle
Member
OP
As mentioned earlier, I use UDT (1 string + 1 bool) for the FIFO.
The are set\reset from the HMI. Any suggestion on how to setup in plc such that only one bool out of the array can be set at the time? I.e. if one bool already set - disallow setting another, or reset the previous one and set the next.
The trouble I'm facing is that with the FFL and FFU instructions those bools are shifting as well (as I want them to), but I want to ensure only one is set at the time.
The are set\reset from the HMI. Any suggestion on how to setup in plc such that only one bool out of the array can be set at the time? I.e. if one bool already set - disallow setting another, or reset the previous one and set the next.
The trouble I'm facing is that with the FFL and FFU instructions those bools are shifting as well (as I want them to), but I want to ensure only one is set at the time.