ENTERASYS A2H254-16 P0973BK網(wǎng)絡(luò)交換機(jī)
如果命令操作需要數(shù)據(jù),則必須使用有效數(shù)據(jù)寫入命令數(shù)據(jù)寄存器。所選命令將在收到有效傳輸后立即執(zhí)行。消息格式和示例:對(duì)PQM執(zhí)行重置(操作代碼1)。功能代碼16-廣播命令在多個(gè)設(shè)備菊花鏈的應(yīng)用程序中,可能需要通過發(fā)送一個(gè)命令來(lái)同步所有設(shè)備中的時(shí)鐘(日期和/或時(shí)間)。廣播命令允許如下示例所示的同步。如果從屬地址以0消息格式發(fā)送,則PQM將識(shí)別為廣播命令。示例:向PQM發(fā)送廣播命令,以存儲(chǔ)1:27:10.015 pm從屬地址1 00廣播命令(地址=0)功能代碼1 10存儲(chǔ)多個(gè)設(shè)置點(diǎn)數(shù)據(jù)起始地址2 00 F0從地址00F0設(shè)置點(diǎn)數(shù)量2 00 04 4個(gè)設(shè)置點(diǎn)=8字節(jié)字節(jié)字節(jié)字節(jié)總計(jì)BYTE計(jì)數(shù)1 08 8字節(jié)數(shù)據(jù)數(shù)據(jù)1 2 0D 1B小時(shí)(24小時(shí)格式),分鐘
The Command Data registers must be written with valid data if the command operation requires data. The selected command will be executed immediately upon receipt of a valid transmission. MESSAGE FORMAT AND EXAMPLE: Perform a reset on PQM (operation code 1).Function Code 16 - Broadcast Command In applications where multiple devices are daisy chained, it may be necessary to synchronize the clocks (date and/or time) in all the devices by sending one command. The broadcast command allows such synchronization as shown in an example below. The PQM will recognize a packet as being a broadcast command if the SLAVE ADDRESS is transmitted as 0.MESSAGE FORMAT AND EXAMPLE: Send broadcast command to the PQM to store 1:27:10.015 pm SLAVE ADDRESS 1 00 broadcast command (address = 0) FUNCTION CODE 1 10 store multiple setpoints DATA STARTING ADDRESS 2 00 F0 start at address 00F0 NUMBER OF SETPOINTS 2 00 04 4 setpoints = 8 bytes total BYTE COUNT 1 08 8 bytes of data DATA 1 2 0D 1B hours (24 hour format), minutes