Usually different member of the ZigBee Alliance develops different application layer framework which runs on the specified Micro Control Units(MCU). This may give rise to compatibility problems frequently happening in the design,application and routine maintenance in ZigBee network,because the technical details of each member are different. A new idea is proposed,which separates the measurement and control module from communication module in a ZigBee node,and makes it easy and convenient to develop and maintain ZigBee node. Based on the open source ZigBee stack of microchip and the experimental platform of PIC18F4620 microcontroller,control-protocol between the two modules is developed and tested. Testing results indicate that the design of separated function modules can make full use of hardware resources of measurement and control module,reduce the resource consumption of ZigBee-Stack MCU,and can improve the compatibility and routine maintenance of the network node.