Method for identifying and communicating with a plurality of slaves in a master-slave system
    1.
    发明授权
    Method for identifying and communicating with a plurality of slaves in a master-slave system 有权
    用于识别和与主从系统中的多个从站通信的方法

    公开(公告)号:US06854053B2

    公开(公告)日:2005-02-08

    申请号:US09848011

    申请日:2001-05-02

    CPC分类号: G06F15/17

    摘要: A method of identifying a plurality of slave processors using a master processor is provided which includes assigning a unique identification code to each of the plurality of slave processors, and transmitting an attention command from the master processor to the plurality of slave processors. The master processor then transmits a request for the slaves' unique identification code to the plurality of slave processors. The master processor then determines whether one of the plurality of slave processors unique identification code matches the classification characters. If there are no matches, a last added classification character is incremented by 1. If only one matches, the master processor identifies the one of the plurality of slave processors, and removes a last added classification character. Otherwise, if more than one matches, the master processor adds a new classification character, and sets a last added classification character to a minimum identification code character value.

    摘要翻译: 提供了一种使用主处理器识别多个从属处理器的方法,其包括向多个从属处理器中的每一个分配独特的识别码,以及从主处理器向多个从属处理器发送注意命令。 然后,主处理器向多个从属处理器发送对从属单元的唯一标识码的请求。 然后,主处理器确定多个从属处理器中的唯一识别码之一是否与分类字符匹配。 如果没有匹配,则最后添加的分类字符增加1.如果仅一个匹配,则主处理器识别多个从属处理器中的一个,并且去除最后添加的分类字符。 否则,如果多个匹配,则主处理器添加新的分类字符,并将最后添加的分类字符设置为最小识别码字符值。