The LonWorks technology and the central air-conditioning system are introduced briefly, and a central air-conditioning system based on the LonWorks technology is designed.By analyzing the various hardware architecture modules of LonWorks intelligence node ,various modules composition and its function are introduced. In the softwaredesign process,? the widely used? valve PID control adjustment is analyzed emphasisly, and realized its control with the program flow diagram