機器人請求寫入,body如下: 例如以下指令,為機器人向傳感器請求讀取sensor數據。讀取成功,對信號soOptSeamDET置1,nValid表示有效數據次數,5表示至少要讀6次。00 00 00 06 01 60 00 01 00 08 0a bbbody總字節長度6 請求讀 header 請求讀一個變量 變量號8(x) 結尾
00 00 00 05 81 60 00 00 0a 0a bbbody總字節長度5 response (+0x80) header status 值=10 結尾
00 00 00 08 02 60 00 01 00 10 00 01 0a 0bbody總字節長度8 請求讀 header 請求寫1個變量 變量號16(jointNo) 值=1 結尾
00 00 00 03 82 60 00 0a bbbody總字節長度3 response (+0x80) header status 結尾
CapSensorScan1,posFound,soOptSeamDET\nValid:=5;
[-->] Received: 00 00 00 10 02 60 00 03 00 10 00 01 00 07 00 00 00 13 00 01 0a bb機器人請求寫入 寫入3個變量 變量號16(jointNo) 值=1 0x07(switchOn/off) 0表示On 19(unit) 0.01mm [<--] Sent: 00 00 00 03 82 60 00 0a bb[-->] Received: 00 00 00 10 |01|60| 00 06 | 00 09 |00 0a|00 0b|00 13|00 11| 00 08| 0a bb機器人請求讀取 6個變量 y z gap unit age x[<--] Sent: 00 00 00 0f 81 60 00 00 f2 01 83 00 00 00 00 00 00 00 00 0a bbsensor返回 status y:242 z:387 gap:0 unit:0.1mm age x[-->] Received: 00 00 00 10 01 60 00 06 00 09 00 0a 00 0b 00 13 00 11 00 08 0a bb[<--] Sent: 00 00 00 0f 81 60 00 00 f2 01 83 00 00 00 00 00 00 00 00 0a bb[-->] Received: 00 00 00 10 01 60 00 06 00 09 00 0a 00 0b 00 13 00 11 00 08 0a bb[<--] Sent: 00 00 00 0f 81 60 00 00 f2 01 83 00 00 00 00 00 00 00 00 0a bb[-->] Received: 00 00 00 10 01 60 00 06 00 09 00 0a 00 0b 00 13 00 11 00 08 0a bb[<--] Sent: 00 00 00 0f 81 60 00 00 f2 01 83 00 00 00 00 00 00 00 00 0a bb[-->] Received: 00 00 00 10 01 60 00 06 00 09 00 0a 00 0b 00 13 00 11 00 08 0a bb[<--] Sent: 00 00 00 0f 81 60 00 00 f2 01 83 00 00 00 00 00 00 00 00 0a bb[-->] Received: 00 00 00 10 01 60 00 06 00 09 00 0a 00 0b 00 13 00 11 00 08 0a bb[<--] Sent: 00 00 00 0f 81 60 00 00 f2 01 83 00 00 00 00 00 00 00 00 0a bb[-->] Received: 00 00 00 08 02 60 00 01 00 07 00 01 0a bb機器人讀取6次后,請求寫入 1個變量 switch off[<--] Sent: 00 00 00 03 82 60 00 0a bb