摘要
MCS—51通用机是以8031单片机为系统核心,具有显示、微打印、音频盒带信息转贮装入功能.为扩大 MCS—51通用机的多机联用,需在各台用户机内增设共享存贮器.共享存贮器应在结构上与本机相连,同时也可以供其它用户机存取,以实现总体任务分机完成,便于用户在短时间低成本情况下,完成产品调试或系统控制.本文介绍以8031单片机为核心的软/硬件多机共享通讯系统.该系统资源共享是在三台用户机间距离100m 情况下调试的,只要用户机在系统状态下,任何一台机都可争做调用机,完成资源共享,通讯结束后,各机进入串行通讯提示符,接系统键又进入本机系统控制状态.本系统通过按键可灵活完成控制本机工作或共享通讯.
The presented paper describes a resource sharing communication system based on the multiple MCS-51 single-chip microcomputers.Any node in the system may compete for the position of the master. Invoking the programs and data resided in the slove nodes or using the printers and dis- plays in thcsc nodes,after the communication,all the microcomputers display the serial point- cr sign.Then pressing the systematic key of the MCS-51 single-chip microcomputer,it enters the system controll state.The MCS-51 single-chip microcomputer enters the systematic state or the resouce sharing communication by pressing the controll key.
关键词
单片机
资源共享
多机通讯
软件
single-chip microcomputers
resource sharing system
multiple communication
software design