In this article,designing method of the software and hardware is discussed about PROFIBUS-DP interface card in terms of the development,and it is introduced simply how PROFIBUS-DP state machine runs.Experiments indicate that design of the software and hardware is reasonable and gets an expected result.