Check patentability & draft patents in minutes with Patsnap Eureka AI!

Serial port online simulation debugging system applied to controller and method thereof

A debugging method and a technology for debugging a system, which are applied in the field of serial port online simulation debugging system, can solve problems such as large amount of serial port transmission data, simulation distortion, slow running data, etc., to overcome inaccurate simulation data, solve simulation data distortion, and reduce data volume effect

Inactive Publication Date: 2009-09-09
BEIJING EASYSOLUTION ELECTRONICS
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the application field of engineering vehicle controllers, online debugging and simulation operations are usually performed. During the online debugging and simulation process, it is necessary to transmit the operating data of all networks of the ladder diagram through the serial port. If the program volume is large, the amount of data transmitted through the serial port is particularly large. The online debugging simulation is seriously distorted, and the response to the actual running data is slow

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
  • Serial port online simulation debugging system applied to controller and method thereof
  • Serial port online simulation debugging system applied to controller and method thereof
  • Serial port online simulation debugging system applied to controller and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Exemplary embodiments of the present invention will be specifically described below with reference to the accompanying drawings.

[0019] figure 1 A screenshot of a ladder diagram in related art is shown. The ladder diagram is drawn on the Canvas canvas, and its attribute Width is the width of the canvas; Height is the height of the canvas. There are components HScrollBox (horizontal browsing bar) and VScrollBox (vertical browsing bar) on the canvas. Through the attributes of the Canvas and the components HScrollBox (horizontal browsing bar), VScrollBox (vertical browsing bar), the area ClientWith and ClientHight of the Canvas displayed on the PC window can be calculated. In the present invention, when drawing the ladder diagram network, the coordinate positions of each network have been recorded, and all the networks are connected through linked lists, and the first network displayed can be determined by querying and comparing the coordinate positions of each network ...

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 provides a serial port online simulation debugging method applied to a controller, comprising: step 102 for recording the coordinate position of every network in a plurality of networks; step 104 for searching and comparing the coordinate position of every network in a plurality of networks to determine the displayed network; step 106 for determining parameters to be displayed for the simulation debugging in the displayed network; step 108 for notifying the parameters to the controller by a serial port simulation protocol. When an engineering vehicle general controller is treated by the serial port online simulation debugging, a computer PC captures a snapshot of all element data to be displayed between an initial network number and an end network number displayed on a current screen for one time snapshot within 0.5s by the window screen technology. Thus, the data amount sent by the serial port is reduced greatly. Simultaneously, the simulation display realizes the function of being synchronous with the operational result of the engineering vehicle general controller, solves the fuzzy simulation data problem during the online debugging and overcomes the inaccurate simulation data problem caused by the slow data transmission of the serial port.

Description

technical field [0001] The invention relates to a simulation debugging technology, and more particularly relates to a serial port online simulation debugging system and method for a controller. Background technique [0002] In the application field of engineering vehicle controllers, online debugging and simulation operations are usually performed. During the online debugging and simulation process, it is necessary to transmit the operating data of all networks of the ladder diagram through the serial port. If the program volume is large, the amount of data transmitted through the serial port is particularly large. The online debugging simulation is severely distorted, and the actual running data is slow to respond. Therefore, there is a demand for a novel serial port online emulation debugging system and method for a controller. Contents of the invention [0003] In order to solve at least one of the above-mentioned technical problems, the present invention provides a se...

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
IPC IPC(8): G05B23/02
Inventor 朱关德王治国李亮郑玉彬蔡华
Owner BEIJING EASYSOLUTION ELECTRONICS
Features
  • R&D
  • 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