机器人请求写入,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