An embedded plc system based on stc microcontroller

A single-chip microcomputer and embedded technology, applied in the field of industrial control programmable logic devices, can solve the problems of PLC system cost and other problems, and achieve the effect of low hardware cost, flexible expansion and strong customization

Active Publication Date: 2015-12-02
CHINA TOBACCO ZHEJIANG IND
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the cost problem of existing PLC system, the object of the present invention is to provide a kind of embedded PLC system based on STC single-chip microcomputer

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
  • An embedded plc system based on stc microcontroller
  • An embedded plc system based on stc microcontroller
  • An embedded plc system based on stc microcontroller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The specific implementation manner of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0022] Such as figure 1 , the present invention is constructed with STC12C5201AD single-chip microcomputer 1 as the core, including DC power supply 2, photoelectric coupling input module 3, relay output module 4, thyristor output module 5, programming download module 6, analog input module 7 and bus communication module 13.

[0023] The STC12C5201AD single-chip microcomputer 1 includes a chip and an external circuit, the external circuit is composed of a reset circuit 14 and a crystal oscillator circuit 15 , and the system program 8 embedded in the chip includes a programming module 9 and a control module 10 . The programming module 9 includes a main function and a sub-function library for realizing predetermined instruction functions. After the main function is compiled, it is linked to the function sub-function library called,...

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 relates to an embedded type PLC system based on an STC single-chip microcomputer. The embedded type PLC system comprises the STC12C5201AD single-chip microcomputer, a direct-current power module, a photocoupling input module, an analog input module, a relay output module, a thyristor output module, a programming downloading module and a Can bus communication module. The STC12C5201AD single-chip microcomputer comprises a chip and an external circuit, a system program embedded in the chip comprises a programming module and a control module, the programming module comprises a main function and a subfunction library achieving preset instruction functions, the main function is linked with the called functional subfunction library after being compiled, and interpretation and reconstitution are carried out on the main function and the functional subfunction library through programming software, so that corresponding control instructions are generated according to the programming data of a user. Due to the fact that the single-chip microcomputer of an STC12 series is selected and used as a core to carry out construction, the embedded type PLC system is low in hardware cost and strong in reliability.

Description

technical field [0001] The invention relates to an industrial control programmable logic device, in particular to an embedded PLC system with STC12 series single-chip microcomputer as the control core. Background technique [0002] Programmable Logic Controller (ProgrammableLogicController, abbreviated as PLC) is widely used in the field of industrial automatic control, and its convenient and flexible control method has been generally recognized. PLC has been developed and widely used for decades, and its technology has developed rapidly and is relatively mature. The mainstream PLC products currently on the market have high reliability and stability, but are expensive. In some occasions where the control requirements are relatively low, the control system constructed by using the existing PLC products only utilizes few resources and functions of the PLC, which unintentionally increases the production cost. At the same time, many manufacturers have unique development tools ...

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 Patents(China)
IPC IPC(8): G05B19/05
Inventor 郭奔李汉莹朱辉平
Owner CHINA TOBACCO ZHEJIANG IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products