A resident powder diffractometer control program is described, which allows independent use of the PC for other programs during data collection. The control program and a simple interface card were developed for the case when a PC is used to automate the DRON type diffractometers.