Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Servo program online upgrading method based on txt file

A servo program and file technology, which is applied in software engineering design, instruments, electrical digital data processing, etc., can solve problems such as inconvenient operation, and achieve the effects of convenient upgrade, convenient operation, and cost-saving maintenance

Active Publication Date: 2020-08-11
CHENGDU CRP ROBOT TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide an online upgrade method for servo programs based on txt files, which is used to solve the problem of inconvenient operation in the prior art when the DSP program is upgraded and needs to be dismantled to expose the JTAG port of the servo device and then connected to the emulator for downloading the program. question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Servo program online upgrading method based on txt file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] combined with figure 1 As shown, an online upgrade method of servo program based on txt file, including:

[0032] Step S100: Use the CAN communication module or the RS485 communication module to connect the upper computer and the servo driver, and set the communication protocol for the upper computer and the servo driver to transmit the txt file. The txt file consists of a response handshake area, a data area and an end area. The data area is divided into is the address area, length and valid data. The communication protocol is:

[0033] The upper computer sends the data in the response handshake area in the txt file;

[0034] After the servo drive receives the data, it returns the low byte data summed to the received data;

[0035] After receiving the low byte data returned by the servo driver, the upper computer makes a judgment, and if it is correct, enters the next step; if it is not correct, or the upper computer does not receive the low byte data returned by th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a servo program online upgrading method based on a txt file, which comprises the following steps of: connecting an upper computer and a servo driver by adopting a communicationmodule, and setting a communication protocol for transmitting a txt file between the upper computer and the servo driver; the upper computer downloading a txt file generated by the integrated environment CCS and sending data in the txt file to the servo driver; and after receiving the data sent by the upper computer, the servo driver erasing the flash data, and erasing all the txt data to the corresponding addresses. When the servo program is upgraded, the shell of the servo device does not need to be disassembled, the simulator does not need to be adopted to be connected with the servo device, the txt file is transmitted through the communication port to upgrade the servo program, operation is convenient, maintenance cost is saved, upgrading is convenient, and dependence on a TI simulator is avoided.

Description

technical field [0001] The invention relates to the technical field of industrial robot control, in particular to an online upgrading method of a servo program based on a txt file. Background technique [0002] The conventional DSP program download is to download the .out file or the .hex binary file through the TI emulator, and the download through the emulator requires a special JTAG port, which is a parallel port with 14 pins. Although downloading through the emulator has the advantage of fast speed, the JTAG port is generally designed on the PCB board. Since the JTAG port is led out of the device, the risk of short circuit and additional costs will be increased, so the JTAG port is often not led out to the servo. Outside the device, when the program is upgraded, it is often necessary to disassemble the shell of the servo device to expose the JTAG port and connect it with an emulator to download the program, which is inconvenient to operate. Contents of the invention ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/654
CPCG06F8/654
Inventor 项勤建徐纯科李良军陈辉
Owner CHENGDU CRP ROBOT TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More