The Reception Completion flag will turn on when 8 bytes are in the buffer if you have
Received Bytes selected, with a value of 8 for the end code.
I really do not like this method.
If your device sends 4 bytes, then becomes unplugged, stops transmitting, etc, you now have 4 bytes in the PLC serial buffer.
The next time your devices sends data, it sends the normal 8 bytes.
So now you have 12 bytes in the buffer. If your RXD instruction is set for 8 bytes, it will read the first 8 bytes, leaving the remaining 4.
In this case, you have an incomplete message, and the cycle will repeat.
If you cannot use a terminator (which is the method that I would recommend if possible), please use the Reception Counter (A394 for port 1) as the 3rd parameter of the RXD instruction. This will prevent the situation I have described above.
As far as your need to turn on an output, simply use a SET instruction on an internal bit (W0.00 for example) just before the RXD instruction as shown below. This will turn on in the same scan as the RXD instruction. Reset the W0.00 elsewhere in ladder.
Click to view attachment