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

Distributed I/O simulation control testing method, system and simulation computer

A technology for simulating computers and control systems, applied in the field of communication, can solve the problems of long programming time of EtherCAT master function algorithm, long realization cycle of EtherCAT master function, etc., and achieve the effect of shortening the generation time and shortening the realization cycle

Active Publication Date: 2017-01-04
BEIJING JINGWEI HIRAIN TECH CO INC
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, it takes a long time to manually write the relevant EtherCAT master function algorithm through C language, which leads to a long realization cycle of the simulated EtherCAT master function.

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
  • Distributed I/O simulation control testing method, system and simulation computer
  • Distributed I/O simulation control testing method, system and simulation computer
  • Distributed I/O simulation control testing method, system and simulation computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] In this embodiment, a distributed I / O simulation control test method is provided, which is applied to a simulation computer in a distributed I / O simulation control system, and the simulation computer is used as a distributed I / O simulation control system. EtherCAT master.

[0046] See figure 1 , which shows a flow chart of the distributed I / O simulation control testing method provided by the present application, which may include the following steps:

[0047] Step S11: receive the model program sent by the upper computer, the model program is after the Simulink driver module and the data interaction program are integrated in the Simulink model framework, the executable code that is automatically generated, and the Simulink driver module is the upper computer in the Simulink model framework The module corresponding to the current distributed I / O simulation control test task built in the Simulink model framework.

[0048] In this embodiment, the host computer generates ...

Embodiment 2

[0078] In this example, in figure 1 On the basis of the shown distributed I / O simulation control test method, another distributed I / O simulation control test method is extended, please refer to image 3 , can include the following steps:

[0079]Step S31: receive the model program that upper computer sends, described model program is after Simulink driver module and data interaction program are integrated in Simulink model frame, the executable code that generates automatically, and described Simulink driver module is described upper computer in The module corresponding to the current distributed I / O simulation control test task built in the Simulink model framework.

[0080] Step S32: Run the model program to execute the communication process between the EtherCAT master station and the EtherCAT slave station in the distributed I / O simulation control system.

[0081] Step S33: Send the process and results of running the model program to the host computer.

[0082] In this e...

Embodiment 3

[0084] In this embodiment, a simulation computer is provided, which is used to receive the model program sent by the host computer, and the model program is an executable code automatically generated after the Simulink driver module and the data interaction program are integrated in the Simulink model framework , the Simulink driver module is a module corresponding to the current distributed I / O simulation control test task built by the host computer in the Simulink model framework, and runs the model program to perform distributed I / O simulation The process of communicating between the EtherCAT master station and the EtherCAT slave station in the control system.

[0085] Specifically, the simulation computer provided by this embodiment is specifically used to run the model program to perform the following process of communication between the EtherCAT master station and the EtherCAT slave station in the distributed I / O simulation control system:

[0086] Analyzing the configur...

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 application provides a distributed I / O simulation control testing method, system and a simulation computer. The distributed I / O simulation control testing method comprises the following steps: an upper computer generatesmodel program codes and downloadthe codesto the simulation computer, wherein the model program is automatically generated executable codes after a Simulink driver module is integrated with a data interaction program in a Simulink model frame, and the Simulink driver module is the module constructed in the Simulink model frame by the upper computer to correspond to the current distributed I / O simulation control testing task; and the upper computer runsthe model program so as to execute the processof communication ofthe EtherCAT master station with an EtherCAT slave station in the distributed I / O simulation control system. According to the method provided bythe application, the generation time of the executable codes is shortened through abovementioned method, thereby shortening the implementation period of the EhterCAT master station function.

Description

technical field [0001] The present application relates to the communication field, in particular to a distributed I / O simulation control testing method, system and simulation computer. Background technique [0002] EtherCAT (Ethernet Control Automation Technology), as a field bus system commonly used in the current distributed I / O (input / output, input / output port) control system, often requires EtherCAT in the distributed I / O control system The function of data transmission between the master station and the EtherCAT slave station is tested. [0003] At present, the industrial control computer is often used to simulate the function of the EtherCAT master station, and send and receive data on the Ethernet to realize the test of the function of data transmission between the EtherCAT master station and the EtherCAT slave station. Among them, the EtherCAT master station function of the industrial control computer simulation is realized by manually writing the relevant EtherCAT ...

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): G06F11/36G06F9/455G06F13/42
CPCG06F9/45508G06F11/3688G06F13/4247
Inventor 陈安昊
Owner BEIJING JINGWEI HIRAIN TECH CO INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products