The present invention provides a farm work machine with improved convenience of control by an operation device. A farm work machine includes a work body, a plurality of extended leveling bodies attached to the work body so as to be openable and closable, and first information and one extension for selecting one of the plurality of extended leveling bodies. An operation device that outputs instruction information including second information for instructing an open / close state of the leveling body in one operation, and a control device that controls one extended leveling body based on the instruction information input from the operation device. Prepare. In the agricultural machine, the third information generated based on the second information for operating the control mechanism that controls one extended leveling body is stored in the control device, and the instruction information is N (N ≧ N ≧) from the operation device. 2) The control device controls the one extended leveling body so that the open / closed state of the one extended leveling body becomes the open / closed state opposite to the (N-1) th open / closed state when being input once. Good. [Selection] Figure 5【課題】操作装置による制御の利便性を向上させた農作業機を提供すること。【解決手段】農作業機は、作業体と、作業体に開閉可能に取り付けられた複数の延長整地体と、複数の延長整地体のうち一の延長整地体を選択する第1情報および一の延長整地体の開閉状態を指示する第2情報を含む指示情報を一つの操作で出力する操作装置と、操作装置から入力された指示情報に基づいて一の延長整地体を制御する制御装置と、を備える。上記農作業機において、一の延長整地体を制御する制御機構を動作させるために第2情報に基づいて生成された第3情報が、制御装置に記憶され、操作装置から指示情報がN(N≧2)回入力されたときに、制御装置は、一の延長整地体の開閉状態が(N-1)回目の開閉状態と逆の開閉状態となるように一の延長整地体を制御してもよい。【選択図】図5