You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
803 B
24 lines
803 B
syntax = "proto3";
|
|
//this message is used for the reply the command
|
|
message ReCmd{
|
|
int32 CommadNum = 1;
|
|
//定义 1 上位机获取默认CV值
|
|
//定义 2 下位机返回CV值
|
|
//定义 3 上位机设定CV值
|
|
//定义 4 上位机设定Trace等级值,无返回
|
|
//定义 5 下位机上传位置点数据
|
|
//定义 6 上位机设定编码器角度值为0
|
|
//定义 7 上位机获取拟合点
|
|
//定义 8 上位机获取位置点
|
|
//定义 9 上位机向下位机下发程序 此时,Parameter0 下发的程序起始位,Parameter0 是校验位
|
|
//Buff_Data_Length 是下发的字节数,
|
|
int32 Parameter0 = 2;
|
|
int32 Parameter1 = 3;
|
|
int32 Parameter2 = 4;
|
|
int32 Parameter3 = 5;
|
|
int32 Parameter4 = 6;
|
|
int32 Buff_Data_Length = 7;
|
|
bytes Buff_Data=8;
|
|
|
|
};
|
|
|
|
|