System for being in communication with PLC extended module and implementation method thereof

A technology of an extension module and an implementation method, which is applied in the system field of communication with a PLC extension module, can solve the problems of multiple PLC resources and software execution time, occupation, etc., and achieves the effect of reducing the scanning cycle and saving the execution time.

Inactive Publication Date: 2014-10-08
SHENZHEN HUICHUAN CONTROL TECH
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is that in the above-mentioned PLC system of the prior art, codes are written by the CPU to realize the PLC expansion module communication protocol, and the I / O port output control signal of the CPU leads to occupying more PLC resources and software execution The defect of time provides a system and implementation method for communicating with PLC expansion modules

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
  • System for being in communication with PLC extended module and implementation method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific implementation manners of the present invention will now be described in detail with reference to the accompanying drawings.

[0028] Such as figure 1 As shown, it is a schematic structural diagram of a system embodiment for communication with a PLC expansion module of the present invention, which is used to realize communication between the PLC main module and at least one PLC expansion module. The PLC expansion module can be a digital input and output expansion module, an analog Quantity input and output expansion modules and special function expansion modules such as temperature control. Include PLC main module 1 and at least one PLC expansion module in PLC system, the system that the present invention communicates with PLC expansion module is realized in PLC main module 1, specifically comprises main CPU11 and the FPGA12 that is connected w...

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 system for being in communication with a PLC extended module. The system comprises a main CPU and an FPGA connected with the main CPU. The FPGA comprises a two-port RAM, a CPU soft-core processor and a protocol signal logical processing module. The CPU soft-core processor is connected with the two-port RAM and the protocol signal logical processing module respectively. The main CPU stores data which need to be output to the corresponding PLC extended module in the two-port RAM, the CPU soft-core processor reads the data from the two-port RAM and enables a corresponding PLC extended module communication protocol to operate so as to generate a first instruction, and the protocol signal logical processing module generates a first control signal according to the first instruction and sends the first control signal and the data to the PLC extended module. The system has the advantages that the structure that the main CPU is combined with the FPGA is adopted, resources of the main CPU can be released, software execution time can be saved, and the scanning cycle of a PLC can be shortened.

Description

technical field [0001] The present invention relates to a programmable logic controller, and more specifically relates to a system and an implementation method for communicating with a PLC expansion module. Background technique [0002] PLC (Programmable Logic Controller, programmable logic controller) is widely used in various automation control fields. In the PLC system, the PLC expansion module and the PLC main module are usually used together. The PLC expansion module is used to expand digital input and output, analog Input and output, temperature control and other functions that some PLC main modules cannot meet. [0003] The processing method of the communication protocol between the PLC main module and the PLC expansion module determines the processing performance of the PLC. In the existing PLC system, the reading and writing protocol of the PLC expansion module is mainly defined: write the code in the CPU to realize the communication protocol with the expansion mod...

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): G05B19/05H04L29/06
Inventor郭福坤
OwnerSHENZHEN HUICHUAN CONTROL TECH