Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for controlling input and output of controller, and controller

An input and output, controller technology, applied in the field of data processing, can solve the problem that the internal processing program cannot flexibly adapt to the external terminals

Inactive Publication Date: 2016-04-13
ZOOMLION HEAVY IND CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The main purpose of the present invention is to provide a controller input and output control method, device and controller to solve the problem that the internal processing program of the controller circuit provided in the prior art cannot flexibly adapt to the external terminal

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
  • Method and device for controlling input and output of controller, and controller
  • Method and device for controlling input and output of controller, and controller
  • Method and device for controlling input and output of controller, and controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] An embodiment of the present invention provides a method for controlling input and output of a controller.

[0023] figure 2 It is a flow chart of the input and output control method of the controller according to the embodiment of the present invention. Such as figure 2 As shown, the method may include the following steps:

[0024] In step S20, an external input terminal of the controller receives an input signal.

[0025] Step S22, query from the address relationship table to obtain the second input address corresponding to the first input address of the external input terminal, the first input address is the internal address set in the controller for the external input terminal, and the second input address is the The address of the signal input port provided by the internally running handler.

[0026] In step S24, the input signal is transmitted to the processing program running inside the controller according to the second input address, and the output signal...

Embodiment 2

[0056] The embodiment of the present invention also provides an input and output control device of the controller. The device can realize its functions through various functional modules. It should be noted that the input and output control device of the controller in the embodiment of the present invention can be used to implement the input and output control method of the controller provided in the embodiment of the present invention.

[0057] Figure 4 is a schematic diagram of the input and output control device of the controller according to the embodiment of the present invention. Such as Figure 4 As shown, the device may include: a receiving module 40 , a first query module 42 , a processing module 44 , a second query module 46 and an output module 48 .

[0058] Wherein, the receiving module 40 is used for external input terminals to receive input signals; the first query module 42 is used for querying from the address relationship table to obtain the second input a...

Embodiment 3

[0066] Based on the above-mentioned method embodiment and device embodiment, the present application may also provide a controller capable of running the above-mentioned method and device, Figure 5 is a structural schematic diagram of a controller according to an embodiment of the present invention, and the controller may include: an external input terminal, a processor, and an external output terminal.

[0067] Among them, the external input terminal is used to receive the input signal; the processor is connected to the external input terminal, and is used to obtain the second input address corresponding to the first input address of the external input terminal from the address relationship table, and send the input signal According to the second input address transmitted to the processing program running inside the controller, the first output address is generated and used to output the output signal, wherein the first input address is the internal address set by the externa...

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 method and a device for controlling input and output of a controller, and the controller. The method comprises: an external input terminal of the controller receiving an input signal; querying in an address correlation chart to obtain a second input address corresponding to a first input address of the external input terminal; according to the second input address, transmitting the input signal to a processing program which runs in the controller, to generate an output signal and a first output address used to output the output signal; querying in the address correlation chart to obtain a second output address of an external output terminal, corresponding to the first output address; and the controller using the second output address to output the output signal. The method and the device solves technical problem that an internal processing program of a controller circuit cannot flexibly adapt to the external terminal.

Description

technical field [0001] The present invention relates to the field of data processing, in particular to a controller input and output control method, device and controller. Background technique [0002] As we all know, the control system and its controller circuit provided by the prior art at least include: a processor that stores and runs an internal processing program, and input and output terminals connected to the processor. In a complex circuit system, a large number of The input and output endpoints are used to meet the complex input signals that can receive external terminal inputs to the internal processing program, and output the complex output signals generated by the internal processing program to the external terminals. [0003] Specifically, it is generally possible to define the unique meaning of each input and output terminal and the terminal position of its wiring at the design stage of the circuit system, that is to say, an input and output terminal correspon...

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): G05B19/042
Inventor 蒋敦廖超
Owner ZOOMLION HEAVY IND CO LTD