CN101697070A - Online network programming method of PLC - Google Patents

Online network programming method of PLC Download PDF

Info

Publication number
CN101697070A
CN101697070A CN200910167966A CN200910167966A CN101697070A CN 101697070 A CN101697070 A CN 101697070A CN 200910167966 A CN200910167966 A CN 200910167966A CN 200910167966 A CN200910167966 A CN 200910167966A CN 101697070 A CN101697070 A CN 101697070A
Authority
CN
China
Prior art keywords
plc
data
program
programming method
ram
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910167966A
Other languages
Chinese (zh)
Inventor
谢弗伊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Huaxia Tonglian Micro-control Technology Co Ltd
Original Assignee
Chengdu Huaxia Tonglian Micro-control Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Huaxia Tonglian Micro-control Technology Co Ltd filed Critical Chengdu Huaxia Tonglian Micro-control Technology Co Ltd
Priority to CN200910167966A priority Critical patent/CN101697070A/en
Publication of CN101697070A publication Critical patent/CN101697070A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to an online network programming method of a PLC, comprising the following steps of downloading application program data by an upper computer, analyzing communication port data, carrying out RAM and PLC system operation programs and running new program codes in E2ROM. During working, the upper computer downloads the application program data which are connected to a communication port of the PLC through a network, the communication port data are analyzed on the communication port of the PLC so as to confirm that the data are the application program data downloaded by the upper computer, the data are immediately stored in a RAM, and then the PLC system operation program changes the data in the RAM into running codes to be stored in the E2ROM one by one, thus the PLC runs the new program codes in the E2ROM one by one under the support of the PLC system operation program.

Description

The online network programming method of PLC
Technical field
The present invention relates to a kind of programmed method, particularly the online network programming method of a kind of PLC.
Background technology
At present, the programming of PLC is before the opertaing device operation even before equipment is installed PLC to be programmed.So, equipment debugging will be changed PLC internal data or program therebetween inevitably, and the work of change PLC internal data or program must field conduct.Therefore make equipment debugging become very complicated, and need be many with instrument and meter, also make a mistake easily.
Summary of the invention
The purpose of the online network programming method of PLC of the present invention provides a kind of method that can carry out the download or the replacement of application program to the PLC that is connected on the network by industrial control network or Industrial Ethernet.Reaching only just can be to being connected the purpose that many PLC programme respectively or program substitutes on the network at the host computer place.
Utilize the online network programming method of this PLC, people can install and Control Network is programmed to each PLC at scene after forming one by one again at equipment, and needn't use other complicated program equipment.And in debugging, also can change the program of PLC rapidly.Even can be in the equipment operate as normal, system is changed or upgrades.
For achieving the above object, the technical scheme that the online network programming method of PLC of the present invention adopts is: the host computer download application data connects the PORT COM that arrives PLC by network, the PORT COM of PLC is carried out the PORT COM data parsing again and is confirmed that these data are host computer download application data, immediately data are deposited in the RAM, PLC system operation program is replaced by operation code one by one with the data among the RAM and is deposited E in then 2Among the ROM, so PLC just moves E one by one under the support of PLC system operation program 2New program code among the ROM.
The online network programming method of PLC of the present invention reach need not programming tool or equipment PLC is programmed, reduced the equipment input and cancelled peripherals for the PLC service, reduced the risk of control system program composition, the purpose that versatility is good.
The invention has the beneficial effects as follows: cost is low, environment for use does not limit, do not want equipment, improved work efficiency, is convenient to popularize.
Description of drawings
Fig. 1 is the program flow diagram of the online network programming method of PLC of the present invention.
Fig. 2 is the schematic diagram of the online network programming method of PLC of the present invention.
Fig. 3 is the program structure diagram of the online network programming method of PLC of the present invention.
Fig. 4 is the PLC and the host computer graph of a relation of the online network programming method of PLC of the present invention.
Embodiment
In Fig. 1, the host computer download application data connects the PORT COM that arrives PLC by network, the PORT COM of PLC is carried out the PORT COM data parsing again and is confirmed that these data are host computer download application data, immediately data are deposited in the RAM, PLC system operation program is replaced by operation code one by one with the data among the RAM and is deposited E in then 2Among the ROM, so PLC just moves E one by one under the support of PLC system operation program 2New program code among the ROM.
In Fig. 2, illustrate that the principle of the invention is to distinguish normal network operation communication data and host computer download application data, with the change of control PLC program by PORT COM data parsing data layout.
In Fig. 3, the application program that PLC is described is at PLC system operation program and E 2ROM supports operation down.
In Fig. 4, illustrate that host computer and the PLC among the present invention can mutual information transmit.

Claims (3)

1. the online network programming method of a PLC comprises host computer download application data, PORT COM data parsing, RAM, PLC system operation program, E 2New program code among the ROM, it is characterized in that: the host computer download application data connects the PORT COM that arrives PLC by network, the PORT COM of PLC is carried out the PORT COM data parsing again and is confirmed that these data are host computer download application data, immediately data are deposited in the RAM, PLC system operation program is replaced by operation code one by one with the data among the RAM and is deposited E in then 2Among the ROM.
2. based on the online network programming method of the described PLC of claim 1, it is characterized in that: be to distinguish normal network operation communication data and host computer download application data, with the change of control PLC program by PORT COM data parsing data layout.
3. based on the online network programming method of the described PLC of claim 1, it is characterized in that: the application program of PLC is at PLC system operation program and E 2ROM supports operation down.
CN200910167966A 2009-10-22 2009-10-22 Online network programming method of PLC Pending CN101697070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910167966A CN101697070A (en) 2009-10-22 2009-10-22 Online network programming method of PLC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910167966A CN101697070A (en) 2009-10-22 2009-10-22 Online network programming method of PLC

Publications (1)

Publication Number Publication Date
CN101697070A true CN101697070A (en) 2010-04-21

Family

ID=42142177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910167966A Pending CN101697070A (en) 2009-10-22 2009-10-22 Online network programming method of PLC

Country Status (1)

Country Link
CN (1) CN101697070A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566485A (en) * 2011-12-30 2012-07-11 深圳市合信自动化技术有限公司 Batch loading method and system for engineering data of programmable logic controllers (PLCs) and corresponding PLCs
CN104331017A (en) * 2014-11-12 2015-02-04 深圳市英威腾电气股份有限公司 Method and device for realizing programmable logic control function of frequency converter as well as frequency converter
CN105843157A (en) * 2016-03-30 2016-08-10 上海云统信息科技有限公司 PLC system having remote data tracking and capturing function and operating method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566485A (en) * 2011-12-30 2012-07-11 深圳市合信自动化技术有限公司 Batch loading method and system for engineering data of programmable logic controllers (PLCs) and corresponding PLCs
CN102566485B (en) * 2011-12-30 2014-05-28 深圳市合信自动化技术有限公司 Batch loading method and system for engineering data of programmable logic controllers (PLCs) and corresponding PLCs
CN104331017A (en) * 2014-11-12 2015-02-04 深圳市英威腾电气股份有限公司 Method and device for realizing programmable logic control function of frequency converter as well as frequency converter
CN104331017B (en) * 2014-11-12 2018-04-20 深圳市英威腾电气股份有限公司 A kind of frequency converter Programmable logical controller function realizing method, device and frequency converter
CN105843157A (en) * 2016-03-30 2016-08-10 上海云统信息科技有限公司 PLC system having remote data tracking and capturing function and operating method thereof
CN105843157B (en) * 2016-03-30 2018-10-12 上海云统信息科技有限公司 PLC system and its working method with teledata trace trap function

Similar Documents

Publication Publication Date Title
CN102016298B (en) Wind turbine configuration management system, and central computer system therefor
CN103248651B (en) A kind of method and system of performance monitoring and client and server
CN102790961B (en) Update method of application program, mobile terminal and server
CN105373407A (en) DSP and FPGA online upgrading method for embedded system
CN101963910A (en) General USB (Universal Serial Bus) based equipment firmware updating method
CN104199706A (en) Firmware upgrade method and device for eMMC
CN101840234A (en) Embedded automobile fault diagnosis equipment and updating method thereof
MX2009012119A (en) Well prog execution facilitation system and method.
CN104246702A (en) Workflow compilation
CN103914018A (en) Programming support system and method for programmable logic controller
CN105718251A (en) Multilanguage SDK (software development kit) automatic implementation method and system
CN106444610A (en) A PLC remote code updating system and method
US20180260596A1 (en) Method for using device based on two-dimensional code and washing machine
CN102841809B (en) Information processing method and device, mode switching method and terminal unit
CN101697070A (en) Online network programming method of PLC
CN101211166A (en) Simulation data creation supporting device
CN102054045A (en) System and method for updating resources of electronic device
CN106550022B (en) Application program distribution control processing method and system
CN110674049A (en) Intelligent formal verification method for PLC (programmable logic controller) logic programming
CN101308365A (en) Quick control prototype system and realization method
CN102378154A (en) Method and system for upgrading product firmware by wireless network
CN102662700B (en) A kind of issue of embedded software version and upgrade method
CN109194535A (en) A kind of terminal test system and method
CN105183657A (en) System and method for testing WEB interface
CN102591752A (en) On-line debugging method of peripheral equipment based on high pass platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100421