It is possible to perform data communication simply after improving the security of data communication between the control device and the mobile terminal. The working machine of the present invention includes a control device capable of wireless communication with the portable terminal 3 in which the portable ID code is stored and in which the ID code for the working machine is stored. An ID code verifying means 41 for verifying the portable ID code and the ID code for the worker, and a control means for permitting the data communication between the portable terminal 3 and the control device when the verification of the ID code is established by the verifying means, Data communication means (42) for not allowing data communication when a verification is not established, and ID code registration means for registering the work machine ID code as portable ID code in the portable terminal (3).제어 장치와 휴대 단말기의 데이터 통신의 시큐리티를 향상시킨 후에 간단하게 데이터 통신을 행할 수 있도록 한다. 본 발명의 작업기는, 휴대용 ID 코드가 보존된 휴대 단말기(3)와의 무선 통신이 가능하고 또한 작업기용 ID 코드가 보존된 제어 장치를 구비하고, 제어 장치는, ID 코드 취득 수단(40)에서 취득한 휴대용 ID 코드와 작업기용 ID 코드의 대조를 행하는 ID 코드 대조 수단(41)과, 대조 수단에 의해 ID 코드의 대조가 성립되었을 때에 휴대 단말기(3)와 제어 장치의 데이터 통신을 허가함과 함께, 대조가 성립되지 않았을 때에 데이터 통신을 허가하지 않는 데이터 통신 수단(42)과, 작업기용 ID 코드를 휴대용 ID 코드로서 휴대 단말기(3)에 등록하는 ID 코드 등록 수단을 구비하고 있다.