CN201421670Y - Soft programmable controller - Google Patents

Soft programmable controller Download PDF

Info

Publication number
CN201421670Y
CN201421670Y CN2009201486806U CN200920148680U CN201421670Y CN 201421670 Y CN201421670 Y CN 201421670Y CN 2009201486806 U CN2009201486806 U CN 2009201486806U CN 200920148680 U CN200920148680 U CN 200920148680U CN 201421670 Y CN201421670 Y CN 201421670Y
Authority
CN
China
Prior art keywords
module
virtual
programmable logic
logic controller
soft
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.)
Expired - Fee Related
Application number
CN2009201486806U
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.)
Suzhou Vocational University
Original Assignee
Suzhou Vocational University
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 Suzhou Vocational University filed Critical Suzhou Vocational University
Priority to CN2009201486806U priority Critical patent/CN201421670Y/en
Application granted granted Critical
Publication of CN201421670Y publication Critical patent/CN201421670Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

The utility model discloses a soft programmable controller, which comprises an output module, a program input module, a compiling module, a virtual object module and an execution module, wherein the output module is used for displaying experimental results; the program input module is used for receiving to-be-tested source programs; the compiling module is used for compiling the to-be-tested source programs into to-be-tested target programs; the virtual object module is used for inputting virtual controlled signals and providing virtual controlled devices; the execution module is used for determining the state of the virtual controlled devices according to the inputted virtual controlled signals and calling target programs. Besides, the output module is further used for displaying the state of the virtual controlled devices, the program input module is connected with the compiling module, and the execution module is connected with the virtual object module, the compiling module and theoutput module. By employing a soft PLC to control virtual controlled objects so as to conduct simulation experiments, the soft programmable controller is capable of helping students deeply understandthe working principle and the application method of the PLC and also realizing multimedia assistant teaching and remote experiments.

Description

A kind of soft programmable controller
Technical field
The utility model relates to a kind of soft programmable controller, and (PROGRAMMABLE LOGICCONTROLLER PLC), belongs to instrument field.
Background technology
PLC has become one of major control device of contemporary industry robotization because it is powerful, easy to use, has almost all obtained using widely at industrial all spectra, has also obtained development rapidly at other fields such as civilian and home automations.
In this case, many science and engineerings institution of higher learning, vocational school and social training school, especially the specialty that robotization is relevant can be understood and grasped this system for making the student, make it have stronger manipulative ability and technical capability, in the laboratory, set up mostly or prepared and introduced and set up the PLC experimental system, even built special-purpose PLC system experimentation chamber.Yet, at present in field research, because the PLC that is sold on the market is compatible to each other relatively poor, and also be subjected to the restriction of many conditions such as volume, model, price, under funds are not very abundant situation, be difficult in and be equipped with the PLC that quantity is many, model is complete in the laboratory, simultaneously also because the outside input and output connection device of PLC can be the Industry Control object of various ways, so also being difficult to provides comparatively comprehensively controlling object for existing P LC system, this certainly will influence the experiment content of PLC experiment, the experiment effect of restriction PLC experiment.Further, the PLC product along with electronic technology to develop update rapidly also very fast, also need high expense in order to safeguard and to upgrade experiment PLC system.
In order to address the above problem, introduced emulation technology in the prior art, utilize various virtual instruments and equipment to replace the teaching that experimentizes of valuable PLC hardware device, for example the applying date is on July 4th, 2007, application number is 200720039039.X, denomination of invention discloses a kind of PLC simulated teaching device for the Chinese patent of " PLC simulated teaching device ", be used for the PLC of institution of higher education emulation experiment, wherein: the service data of PLC is imported computing machine by data interface card, and be reflected on the man-machine interface of virtual emulation software, the instruction that the learner imports on human-computer interaction interface also can pass to programmable logic controller (PLC) by data interface card, to control its method of operation.But, in above-mentioned public technology, owing to be the virtual controlled device of hardware PLC control,, must need to possess comparatively complicated hardware environment, and can not solve the problem of tele-experimentation so need more external unit connect control during experiment.
The utility model content
The technical problems to be solved in the utility model is to propose a kind of soft programmable controller, can simplify hardware device configuration and external interface configuration in the PLC experimentation.
In order to achieve the above object, the utility model proposes a kind of soft programmable controller, comprising:
Be used to show the output module of experimental result, described soft programmable controller also comprises: the program load module that is used to receive source program to be measured, be used for described source program to be measured is compiled into the collector of target program to be measured, be used to the virtual objects module importing virtual manipulated signal and virtual controlled device is provided, be used for virtual manipulated signal according to input, the invocation target program is determined the execution module of virtual controlled device state, described output module is used to show virtual controlled device state further, described program load module is connected with described collector, described execution module and described virtual objects module, described collector, described output module all connects.
In the soft programmable controller described in the utility model, described output module is the literal display.
In the soft programmable controller described in the utility model, described output module is an image display.
In the soft programmable controller described in the utility model, the source program to be measured that described program load module receives is statement list and the outside input of ladder diagram by programmable logic controller (PLC).
In the soft programmable controller described in the utility model, described collector presets corresponding coupling compile mode according to the hard programmable logic controller (PLC) model of required emulation.
In the soft programmable controller described in the utility model, described virtual objects module is the activex control group preferably.
In the soft programmable controller described in the utility model, utilize the scan round of multimedia real time clock realization in the described execution module to described collector.
In the soft programmable controller described in the utility model, described program load module by network with it is upgraded the outside preset to update the equipment and be connected.
In the soft programmable controller described in the utility model, described output module presets display device by network with the outside of its output being carried out long-range demonstration and is connected.
In the soft programmable controller described in the utility model, described virtual objects module by network with it is imported outside that virtual manipulated signal and virtual controlled device carry out long-range setting and presets commissioning device and be connected.
Compared with prior art, the utility model utilizes soft PLC to simulate needs the hard PLC model of emulation, and control virtual controlled device and carry out emulation experiment, to replace existing P LC hardware experiments device, this can not only help student's profound understanding PLC principle of work and methods for using them effectively, can also reduce the experimental cost input; On the other hand, the soft PLC that utilizes the utility model and proposed also can realize Multimedia assisted instruction, tele-experimentation easily.
Description of drawings
Fig. 1 is the structural representation of soft Programmable Logic Controller described in the utility model.
Embodiment
Those skilled in the art below in conjunction with the drawings and specific embodiments the utility model made further detailed description, so that can implement according to this after consulting this instructions.
As shown in Figure 1, a kind of soft PLC comprises: program load module 1, programming module 2, virtual controlled device module 3, execution module 4, output module 5, wherein:
Program load module 1 is used to receive the source program of importing by statement list or the trapezoidal pattern programming of PLC to be measured;
Collector 2 is used for according to the emulation PLC type of setting source program to be measured being carried out morphology, grammatical and semantic etc. analyses and checks that compiling generates target program to be measured; Described collector can be that those skilled in the art utilize prior art design, perhaps adopts existing module of the prior art to realize;
Virtual objects module 3, be used for the Virtual Space storing virtual object that makes up in advance, and according to the selected virtual controlled device of the input virtual information of outside, the foundation of described virtual controlled device is that those skilled in the art utilize multimedia of the prior art and software development technique to realize, preferably the activex control group; It can be the virtual objects and the various possible input signal of any output peripheral equipment of setting;
Execution module 4 is used for according to the touring output state that scans input, determines virtual controlled device of object code; Preferably, can utilize thread programming and high-precision multimedia real time clock technology to realize scanning process;
Output module 5 is used to export the control result of described virtual controlled device state, so that the experimenter debugs for control program; Say further, described output module is that literal shows output module, it can utilize the mode of character express to show the control result of virtual objects, perhaps described output module can show output module for image, the mode of utilizing image to export shows the control result of virtual objects, preferably, described image information can be an animated graphics information.
Described program load module is connected with described collector, and described execution module all is connected with described virtual objects module, described collector, described output module.
In order better to describe the course of work of above-mentioned soft PLC controller, be described as follows with example further:
In the process of experimentizing, determine that at first soft PLC needs the hard PLC model of emulation, corresponding programming language in definite thus outside receiver module 1 and the corresponding compilation process in the PLC programming module 2 are determined the virtual I/O device in the virtual controlled device module 3;
In program load module 1, for example with the statement list input source program; After this, PLC programming module 2 is treated the test source program according to default emulation PLC type and is carried out analysis inspections such as morphology, grammatical and semantic, compiling generates target program to be tested, be exemplified as further: the operation of statement list program is actually Boolean calculation, operand is various relay variablees, the computation process that can be whole procedure is set up the calculating storehouse and is initialized as sky, when expression formula has not also been calculated, carry out read operation always, if what read is operand, then deposit it in operand stack; If what read is operational symbol, then from operand stack, take out the action required number and calculate, result of calculation is deposited back storehouse, when expression formula read finish after, the content of operand stack is the operation result of expression formula just; Realize compilation process thus.
Execution module 4 according to dummy pilot signal scan round import the state that object program to be tested is determined virtual O device, and offer output module 5.
In the above-described embodiment, virtual controlled device can be the corresponding A ctivex control of any external units such as pilot lamp, solenoid valve as required.Because what PLC will realize is the expectant control logic, just can obtain correct output result so must carry out correct program, that is to say and whether consistently to come determining program whether correct with expecting according to the output result of last output module.
In a further embodiment, can also carry out following improvement to the foregoing description:
Described program load module can by network with its source program to be measured is upgraded the outside preset to update the equipment and be connected, the convenient thus long-range modification of program of carrying out;
Described output module can preset display device with the outside of its output being carried out long-range demonstration by network and be connected, and conveniently carries out long-range experiment effect monitoring thus;
Described virtual objects module can by network with it is imported outside that virtual manipulated signal and virtual controlled device carry out long-range setting and presets commissioning device and be connected, so that carry out the non-at-scene renewal of virtual manipulated signal and virtual controlled device, improved the adaptability of this soft PLC.

Claims (10)

1. soft programmable controller comprises: is used to show the output module of experimental result, it is characterized in that,
Described soft programmable controller also comprises:
Be used to receive the program load module of source program to be measured,
Be used for described source program to be measured is compiled into the collector of target program to be measured,
Be used to the virtual objects module importing virtual manipulated signal and virtual controlled device is provided,
Be used for according to the virtual manipulated signal of input, the execution module that the invocation target program is determined virtual controlled device state,
Described output module is used to show virtual controlled device state further, and described program load module is connected with described collector, and described execution module all is connected with described virtual objects module, described collector, described output module.
2. soft Programmable Logic Controller as claimed in claim 1 is characterized in that, described output module is the literal display.
3. soft Programmable Logic Controller as claimed in claim 1 is characterized in that, described output module is an image display.
4. soft Programmable Logic Controller as claimed in claim 1 is characterized in that, the source program to be measured that described program load module receives is statement list and the outside input of ladder diagram by programmable logic controller (PLC).
5. soft Programmable Logic Controller as claimed in claim 1 is characterized in that, described collector presets corresponding coupling compile mode according to the hard programmable logic controller (PLC) model of required emulation.
6. soft Programmable Logic Controller as claimed in claim 1 is characterized in that, described virtual objects module is the activex control group preferably.
7. soft Programmable Logic Controller as claimed in claim 1 is characterized in that, utilizes the scan round of multimedia real time clock realization to described collector in the described execution module.
8. soft Programmable Logic Controller as claimed in claim 1 is characterized in that, described program load module by network with its source program to be measured is upgraded the outside preset to update the equipment and be connected.
9. soft Programmable Logic Controller as claimed in claim 1 is characterized in that, described output module presets display device by network with the outside of its output being carried out long-range demonstration and is connected.
10. soft Programmable Logic Controller as claimed in claim 1 is characterized in that, described virtual objects module by network with it is imported outside that virtual manipulated signal and virtual controlled device carry out long-range setting and presets commissioning device and be connected.
CN2009201486806U 2009-04-01 2009-04-01 Soft programmable controller Expired - Fee Related CN201421670Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009201486806U CN201421670Y (en) 2009-04-01 2009-04-01 Soft programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009201486806U CN201421670Y (en) 2009-04-01 2009-04-01 Soft programmable controller

Publications (1)

Publication Number Publication Date
CN201421670Y true CN201421670Y (en) 2010-03-10

Family

ID=41808331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009201486806U Expired - Fee Related CN201421670Y (en) 2009-04-01 2009-04-01 Soft programmable controller

Country Status (1)

Country Link
CN (1) CN201421670Y (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789206A (en) * 2011-05-18 2012-11-21 大连光洋科技工程有限公司 Security logic control system with combination of integrated type control and distributed type control in numerical control of machine tool
CN102906652A (en) * 2010-05-25 2013-01-30 西门子产品生命周期管理软件公司 Method and system for closed-loop controller programming
CN104317236A (en) * 2014-09-29 2015-01-28 上海电机学院 Soft PLC technology-based wireless sensor network control terminal
CN104460490A (en) * 2014-11-12 2015-03-25 深圳市英威腾电气股份有限公司 Programmable logic control processing method of frequency converter, digital processor and frequency converter
CN105467857A (en) * 2014-09-29 2016-04-06 西门子股份公司 Method for power station simulation
CN105652841A (en) * 2016-02-24 2016-06-08 丁德峰 Intelligent programmable logic controller
CN106249685A (en) * 2016-08-26 2016-12-21 清远蓄能发电有限公司 Pump-storage generator controls program full working scope Dynamic Simulation and Testing System and method
CN106415417A (en) * 2014-04-15 2017-02-15 布勒特耶自动控制设备有限责任公司 Method for operating an automation arrangement
CN108614516A (en) * 2018-06-20 2018-10-02 深圳市同立方科技有限公司 A kind of virtual PLC analogue system and method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102906652B (en) * 2010-05-25 2015-07-15 西门子产品生命周期管理软件公司 Method and system for closed-loop controller programming
CN102906652A (en) * 2010-05-25 2013-01-30 西门子产品生命周期管理软件公司 Method and system for closed-loop controller programming
CN102789206A (en) * 2011-05-18 2012-11-21 大连光洋科技工程有限公司 Security logic control system with combination of integrated type control and distributed type control in numerical control of machine tool
CN102789206B (en) * 2011-05-18 2016-04-27 科德数控股份有限公司 The centralized safety logic control system mixed with distributed AC servo system in numerical control of machine tools
CN106415417A (en) * 2014-04-15 2017-02-15 布勒特耶自动控制设备有限责任公司 Method for operating an automation arrangement
CN105467857A (en) * 2014-09-29 2016-04-06 西门子股份公司 Method for power station simulation
CN104317236A (en) * 2014-09-29 2015-01-28 上海电机学院 Soft PLC technology-based wireless sensor network control terminal
CN104460490A (en) * 2014-11-12 2015-03-25 深圳市英威腾电气股份有限公司 Programmable logic control processing method of frequency converter, digital processor and frequency converter
CN104460490B (en) * 2014-11-12 2018-11-20 深圳市英威腾电气股份有限公司 Programmable logical controller processing method, digital processing unit and the frequency converter of frequency converter
CN105652841A (en) * 2016-02-24 2016-06-08 丁德峰 Intelligent programmable logic controller
CN105652841B (en) * 2016-02-24 2018-06-26 丁德峰 A kind of Intelligent programmable logic controller
CN106249685A (en) * 2016-08-26 2016-12-21 清远蓄能发电有限公司 Pump-storage generator controls program full working scope Dynamic Simulation and Testing System and method
CN106249685B (en) * 2016-08-26 2018-08-28 清远蓄能发电有限公司 Pump-storage generator controls program full working scope Dynamic Simulation and Testing System and method
CN108614516A (en) * 2018-06-20 2018-10-02 深圳市同立方科技有限公司 A kind of virtual PLC analogue system and method

Similar Documents

Publication Publication Date Title
CN201421670Y (en) Soft programmable controller
CN106157725A (en) A kind of virtual emulation teaching training system
CN201278232Y (en) Teaching and experiment system for virtual instrument technique
CN104794258A (en) Automobile hardware-in-loop simulation system
CN109697920A (en) A kind of virtual experimental online teaching feedback system
CN104537903A (en) Interactive transmission electron microscopy virtual simulation teaching system and method
CN201100900Y (en) Built-in system teaching instrument based on programmable system chip
CN104933923A (en) A medical electronic apparatus simulation experiment teaching platform based on a virtual instrument
CN101630461B (en) Electronic measuring and teaching device and using method thereof
CN111651155B (en) Programming learning operating system and external interactive system
CN204576107U (en) The semi-matter simulating system of Chemical Engineering Process Control
CN106710369A (en) Embedded experimental system
CN206541481U (en) Embedded experimental system
CN102566562A (en) Automatic test method for PLC (Programmable Logic Controller) program
Gao et al. An analogous teaching method for computer organization course design
CN103400532A (en) Integrated Texaco coal-to-methanol simulation teaching factory
CN106781862A (en) Experiment of Principles of Microcomputers system
Eibl et al. gSysC: A graphical front end for SystemC
RU101245U1 (en) ONLINE TRAINER FOR TESTING STUDENTS ON VOCATIONAL EDUCATION DISCIPLINES IN SELF-CONTROL MODE
CN203325333U (en) Texaco coal-to-methanol simulation teaching plant
Lei et al. Application of Virtual Instrument Technology in Sensor Experiment
Tian Application of Virtual Simulation Technology in the Teaching of Practical Courses under the Background of Specialty Clusters
Yu Construction of Assembly Language Three-tier Experimental System Based on EMU8086
CN109976214A (en) A kind of SCM program design aiding method
Zhu et al. New Equipment Training Based on Virtual-Real Fusion Training Model

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100310

Termination date: 20120401