Subroutine: Shift Register to Track the Status of Products
In many applications it is necessary to store the status of an event that has previously happened.
We use a register or group of registers to form a train of bits (cars) to store the previous on/off status. Each new change in status gets stored in the first bit and the remaining bits get shifted down the train.
With this subroutine here, you can manage an offset register in a tag table up to hundreds of states.
Here you will find the ACE PLC vBuilder programme and the HMI project. Ready to start with an ACE-11 connected to a 4.3″ HMI via USB.
Subroutine parameters :