The right technology scanning in either the sawmill or planer sorter area delivers maximum accuracy, reliably tracks the thickness and/or width of each piece, sends control data to the sorter PLC and provides last chance size monitoring and detection of events of miss-manufacturing.