PROBLEM TO BE SOLVED: To facilitate update of a sensor reference value.SOLUTION: In an agricultural machine comprising: a plurality of sensors that detect a state of a detection object a reference value storage unit 23a that stores a reference value of each of the sensors and a control unit 23 that performs control based on comparison of a sensor value of each sensor with the reference value, the control unit 23 includes mode switching means that switches a mode according to a predetermined operation, and reference value sequentially updating means that sequentially updates the reference value of each sensor stored in the reference value storage unit 23a by using a current sensor value of each sensor, when switching is made to a predetermined mode. The reference value sequentially updating means compares the reference value stored in the reference value storage unit 23a with the current sensor value, and only when a difference thereof is a predetermined value or more, updates the reference value of the reference value storage unit 23a by using the current sensor value.COPYRIGHT: (C)2015,JPO&INPIT【課題】センサ基準値の更新を容易にする。【解決手段】検出対象の状態を検出する複数のセンサと、各センサの基準値を記憶する基準値記憶部23aと、各センサのセンサ値と基準値の比較にもとづいて制御を行なう制御部23とを備える農業機械において、制御部23は、所定の操作に応じてモードを切換えるモード切換手段と、所定のモードに切換えられたとき、各センサの現在のセンサ値を用いて、基準値記憶部23aに記憶されている各センサの基準値を順次更新する基準値順次更新手段とを備え、該基準値順次更新手段は、基準値記憶部23aに記憶されている基準値と現在のセンサ値を比較し、その差分が所定値以上の場合にのみ現在のセンサ値を用いて基準値記憶部23aの基準値を更新する。【選択図】図5