struct with message frame More...
#include <des70_10.h>
Data Fields | |
unsigned char | OpCode |
instruction command, according DES command reference | |
unsigned char | data [520] |
array with all the bytes to be sent by serial port, except OpCode. data[size,size+1]=crc | |
int | size |
size - var with the number of bytes to be sent by serial port data[n]={data[0]=len-1|data[1]...data[n]}. So size=(data[0]+1)*2+1 | |
int | crc |
msg crc get according CCITT algorithm |
struct with message frame
msg crc get according CCITT algorithm
Referenced by calc_crc_16(), read_buffer(), and send_data().
unsigned char TYPE_msg_frame::data[520] |
array with all the bytes to be sent by serial port, except OpCode. data[size,size+1]=crc
Referenced by calc_crc_16(), DES_MF_read_velocity_is_must(), DES_SF_set_current(), DES_SF_set_velocity(), DES_SF_stop_motion(), DES_SPF_read_all_temp_param(), DES_SPF_read_temp_param(), DES_SPF_set_temp_param(), DES_ST_clear_errors(), DES_ST_enable(), DES_ST_read_error(), DES_ST_read_sys_status(), DES_ST_reset(), read_buffer(), and send_data().
unsigned char TYPE_msg_frame::OpCode |
instruction command, according DES command reference
Referenced by calc_crc_16(), DES_MF_read_velocity_is_must(), DES_SF_set_current(), DES_SF_set_velocity(), DES_SF_stop_motion(), DES_SPF_read_all_temp_param(), DES_SPF_read_temp_param(), DES_SPF_set_temp_param(), DES_ST_clear_errors(), DES_ST_enable(), DES_ST_read_error(), DES_ST_read_sys_status(), DES_ST_reset(), read_buffer(), and send_msg_frame().
size - var with the number of bytes to be sent by serial port data[n]={data[0]=len-1|data[1]...data[n]}. So size=(data[0]+1)*2+1
Referenced by calc_crc_16(), DES_ST_read_error(), read_buffer(), and send_data().