The invention discloses a numbering system for the master equipment to the slave equipment, which includes: the master equipment and several slave equipment, each slave equipment is equipped with a positioning resistor, the slave equipment is communicated with the master equipment through a data bus, the positioning resistors on the slave equipment are connected in series with each other to form a resistance string, the tail end of the resistance string is connected to the ground, the head end of the resistance string is connected with the reference voltage, and the slave equipment It is used to collect the voltage difference between the node where the corresponding positioning resistor is located and the end of the resistance string. The voltage difference is recorded as the positioning voltage difference, and the positioning voltage difference is transferred to the main equipment through the data bus; the main equipment is used to number each slave equipment in order according to the size of the positioning voltage difference. This system is mainly used in the field of communication.
【技术实现步骤摘要】
一种主设备给从设备编号系统
本专利技术涉及通信
,特别涉及一种主设备给从设备编号的方法和系统。
技术介绍
对于针织机械或者其他系统,当该系统具有主设备和从设备时,当主设备要知道从设备的具体位置,或者对从设备进行排序时,需要人为的将从设备的物理地址记录和位置关系对应编号,并将编号信息烧录在主设备中。这样的方式十分麻烦,耗费人力,主设备无法自动的对从设备的空间位置进行识别编号。
技术实现思路
本专利技术的目的:提供一种主设备给从设备进行编号系统,解决现有编号繁琐麻烦的问题。本专利技术解决其技术问题的解决方案是:一种主设备给从设备编号系统,包括:主设备和若干个从设备,每一个从设备上均安装有定位电阻,所述从设备均通过数据总线与主设备通讯连接,从设备上的定位电阻相互串联并形成电阻串,所述电阻串的尾端对地连接,所述电阻串的首端与参考电压连接,所述从设备用于采集其对应的定位电阻所在节点与电阻串尾端之间的电压差,所述电压差记为定位电压差,并将所述定位电压差通过数据总线传递给主设备;所述主设备用于根据定位电压差的大小依顺序对各个从设备进行编号。进一步,所述从设备设有AD采集接口,所述AD采集接口与从设备对应的定位电阻的一端连接。进一步,所述定位电阻的一端靠近电阻串的首端。进一步,所述各个从设备上的定位电阻的阻值均相等。进一步,所述数据总线包括:CAN总线、485总线、IIC总线、串口总线任意一种。本专利技术的有益效果是:本系统创造性的利用定位电阻对从设备的空间位 ...
【技术保护点】
1.一种主设备给从设备编号系统,其特征在于,包括:主设备和若干个从设备,每一个从设备上均安装有定位电阻,所述从设备均通过数据总线与主设备通讯连接,从设备上的定位电阻相互串联并形成电阻串,所述电阻串的尾端对地连接,所述电阻串的首端与参考电压连接,所述从设备用于采集其对应的定位电阻所在节点与电阻串尾端之间的电压差,所述电压差记为定位电压差,并将所述定位电压差通过数据总线传递给主设备;所述主设备用于根据定位电压差的大小依顺序对各个从设备进行编号。/n
【技术特征摘要】
1.一种主设备给从设备编号系统,其特征在于,包括:主设备和若干个从设备,每一个从设备上均安装有定位电阻,所述从设备均通过数据总线与主设备通讯连接,从设备上的定位电阻相互串联并形成电阻串,所述电阻串的尾端对地连接,所述电阻串的首端与参考电压连接,所述从设备用于采集其对应的定位电阻所在节点与电阻串尾端之间的电压差,所述电压差记为定位电压差,并将所述定位电压差通过数据总线传递给主设备;所述主设备用于根据定位电压差的大小依顺序对各个从设备进行编号。
2.根据权利要求1所述的一种主设备给从设备编号...
【专利技术属性】
技术研发人员:罗晓明,
申请(专利权)人:广东创达自动化装备有限公司,
类型:发明
国别省市:广东;44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。