Hello All,
I am fairly new to the controls engineering roll and need help with stepping through an array. I need to compare a 16 bit array one bit at a time in an XOR to make sure our saftey system is communicating with the plc correctly. I want to use the move command to put the bits I need into the XOR with each clock cycle. Then if one of the bits is wrong it can flag for the error on the bit that has changed. How do I go about getting the move command to increment by just one bit in the array each cycle?
Thank you,
Trent
I am fairly new to the controls engineering roll and need help with stepping through an array. I need to compare a 16 bit array one bit at a time in an XOR to make sure our saftey system is communicating with the plc correctly. I want to use the move command to put the bits I need into the XOR with each clock cycle. Then if one of the bits is wrong it can flag for the error on the bit that has changed. How do I go about getting the move command to increment by just one bit in the array each cycle?
Thank you,
Trent