CN106258005A - Programmable logic controller system and arithmetic element - Google Patents

Programmable logic controller system and arithmetic element Download PDF

Info

Publication number
CN106258005A
CN106258005A CN201580004632.8A CN201580004632A CN106258005A CN 106258005 A CN106258005 A CN 106258005A CN 201580004632 A CN201580004632 A CN 201580004632A CN 106258005 A CN106258005 A CN 106258005A
Authority
CN
China
Prior art keywords
digital value
output unit
simulation
input block
programmable logic
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.)
Granted
Application number
CN201580004632.8A
Other languages
Chinese (zh)
Other versions
CN106258005B (en
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of CN106258005A publication Critical patent/CN106258005A/en
Application granted granted Critical
Publication of CN106258005B publication Critical patent/CN106258005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21137Analog to digital conversion, ADC, DAC

Abstract

Programmable logic controller system (100) has programmable logic controller (PLC) (10) and relay (20), this programmable logic controller (PLC) (10) has: simulation output unit (12), it carries out digitaltoanalogconversion;Simulation input block (11), it is simulated digital conversion;And arithmetic element (13), this arithmetic element (13) has analog-to-digital conversion diagnostic process portion (131), if the 2nd digital value and the 1st digital value that are simulated digital conversion further with simulation input block (11) after utilizing simulation output unit (12) that the 1st digital value is carried out digitaltoanalogconversion and obtain are inconsistent, then analog-to-digital conversion diagnostic process portion (131) is diagnosed as analog-to-digital conversion function and exists abnormal, following actions is switched over by this relay (20), i.e., it is from external equipment (30), analogue signal to be inputted to simulating input block (11), or the analogue value obtained the 1st digital value is carried out digitaltoanalogconversion from simulation output unit (12) inputs to simulating input block (11).

Description

Programmable logic controller system and arithmetic element
Technical field
The present invention relates to a kind of programmable logic controller system with programmable logic controller (PLC) and arithmetic element, This programmable logic controller (PLC) has: simulation input block, the analogue value is transformed to digital value by it;And simulation output unit, Digital value is transformed to the analogue value by it.
Background technology
Currently, the diagnosis of the output signal of analogue output unit is to arrange specially in inside as disclosed in patent documentation 1 Circuit and carry out.
Patent documentation 1: Japanese Unexamined Patent Publication 2005-173848 publication
Summary of the invention
But, according to above-mentioned prior art, owing to needing special circuit, therefore there is unit unit price and development cost increase Big problem.
The present invention is exactly to propose in view of the foregoing, it is intended that obtain a kind of programmable logic controller (PLC) system System, this programmable logic controller system can be simulated digital conversion process diagnosis or digitaltoanalogconversion process Diagnosis, diagnoses special circuit without using.
In order to solve above-mentioned problem, it is achieved purpose, the present invention has programmable logic controller (PLC), this Programmable logical controller Utensil has: simulation output unit, it carries out digitaltoanalogconversion;Simulation input block, it has and stores the 1st digital value Diagnosis digital value storage part, this simulation input block be simulated digital conversion;And arithmetic element, this arithmetic element has Having: diagnosis digital value acquisition unit, it obtains the 1st digital value from simulation input block;Diagnosis digital value setting process portion, its The 1st digital value got from simulation input block is set as simulating the object of the digitaltoanalogconversion of output unit;And Analog-to-digital conversion diagnostic process portion, if laggard utilizing simulation output unit that the 1st digital value is carried out digitaltoanalogconversion The 2nd digital value and the 1st digital value that one step utilizes simulation input block to be simulated digital conversion and obtains are inconsistent, then this mould Intend digital conversion diagnostic process portion and be diagnosed as the existence of analog-to-digital conversion function extremely.It addition, the present invention has switching device, should Following actions is switched over by switching device, i.e. be from external equipment by analogue signal input to simulation input block or from The analogue value that simulation output unit obtains the 1st digital value is carried out digitaltoanalogconversion inputs to simulating input block.
The effect of invention
Programmable logic controller system involved in the present invention has following effect, i.e. can be simulated numeral change Change diagnosis or the diagnosis of digitaltoanalogconversion process of process, diagnose special circuit without using.
Accompanying drawing explanation
Fig. 1 is the figure of the structure representing the programmable logic controller system involved by embodiments of the present invention 1.
Fig. 2 is the figure of the structure of the arithmetic element representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 3 is the figure of the hardware configuration of the arithmetic element representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 4 is the figure of the structure of the simulation input block representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 5 is the hardware configuration of the simulation input block representing the programmable logic controller (PLC) involved by embodiment 1 Figure.
Fig. 6 is the figure of the structure of the simulation output unit representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 7 is the hardware configuration of the simulation output unit representing the programmable logic controller (PLC) involved by embodiment 1 Figure.
Fig. 8 is the figure of the structure of the output unit representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 9 is the figure of the hardware configuration of the output unit representing the programmable logic controller (PLC) involved by embodiment 1.
Figure 10 is the stream of the analog-to-digital conversion diagnostic process representing the programmable logic controller (PLC) involved by embodiment 1 The flow chart of journey.
Figure 11 is the figure of the variation of the structure representing the programmable logic controller system involved by embodiment 1.
Figure 12 is the figure of the structure representing the programmable logic controller system involved by embodiments of the present invention 2.
Figure 13 is the figure of the structure representing the programmable logic controller system involved by embodiments of the present invention 3.
Figure 14 is the figure of the structure of the arithmetic element representing the programmable logic controller (PLC) involved by embodiment 3.
Figure 15 is the figure of the structure of the simulation input block representing the programmable logic controller (PLC) involved by embodiment 3.
Figure 16 is the hardware configuration of the simulation input block representing the programmable logic controller (PLC) involved by embodiment 3 Figure.
Figure 17 is the figure of the structure of the simulation output unit representing the programmable logic controller (PLC) involved by embodiment 3.
Figure 18 is the hardware configuration of the simulation output unit representing the programmable logic controller (PLC) involved by embodiment 3 Figure.
Figure 19 is the stream of the digitaltoanalogconversion diagnostic process representing the programmable logic controller (PLC) involved by embodiment 3 The flow chart of journey.
Figure 20 is the figure of the structure representing the programmable logic controller system involved by embodiments of the present invention 4.
Detailed description of the invention
Below, based on accompanying drawing, to the programmable logic controller system involved by embodiments of the present invention and computing list Unit is described in detail.Additionally, the present invention is not limited to present embodiment.
Embodiment 1
Fig. 1 is the figure of the structure representing the programmable logic controller system involved by embodiments of the present invention 1.Can compile Journey logic controller system 100 has: programmable logic controller (PLC) 10, and it is by performing control program, thus sets from outside The analogue signal of standby 30 inputs processes;And relay 20, analogue signal is inputted to able to programme by it from external equipment 30 Logic controller 10.
Programmable logic controller (PLC) 10 has: simulation input block 11, and it passes through analog-to-digital conversion, will be with analogue signal The analogue value of input is transformed to digital value;Simulation output unit 12, it passes through digitaltoanalogconversion, by input with digital signal Digital value is transformed to the analogue value;Arithmetic element 13, it performs control program;Output unit 14, control signal is exported to continuing by it Electrical equipment 20, this control signal to be from external equipment 30 by analogue signal input to simulation input block 11 or from simulation defeated Go out unit 12 input to switch over;Power subsystem 15, it supplies power to each unit;And base unit 16, it is by each list Unit is connected to each other.Output unit 14 and relay 20 constitute switching device, and following actions is switched over by this switching device, i.e. It is by analogue signal input to simulation input block 11 or will be to described later the from simulation output unit 12 from external equipment 30 The analogue value input that 1 digital value carries out digitaltoanalogconversion and obtains is to simulation input block 11.
Fig. 2 is the figure of the structure of the arithmetic element representing the programmable logic controller (PLC) involved by embodiment 1.Computing list Unit 13 has: analog-to-digital conversion diagnostic process portion 131, analog-to-digital conversion function is diagnosed by it;Diagnosis digital value Acquisition unit 132, it obtains the 1st digital value for analog-to-digital conversion diagnosis, i.e. diagnosis numeral from simulation input block 11 Value;Diagnosis digital value setting process portion 133, the digital value being used for analog-to-digital conversion diagnosis is set as that simulation output is single by it The object of the digitaltoanalogconversion of unit 12;And Control process portion 134, it makes output unit 14 carry out relay 20 Switching.Control process portion 134 constitutes the switch control portion being controlled switching device.
Relay 20 is by the analogue signal exported from external equipment 30 and the analogue signal exported from simulation output unit 12 Alternatively input is to simulation input block 11.That is, by being sent instructions to output unit by Control process portion 134 14, thus from output unit 14, control signal is exported to relay 20, following actions is switched over, i.e. be by from outside The analogue signal that the analogue signal input of equipment 30 output still will export from simulation output unit 12 to simulation input block 11 Input is to simulation input block 11.
Fig. 3 is the figure of the hardware configuration of the arithmetic element representing the programmable logic controller (PLC) involved by embodiment 1.Fortune Calculating unit 13 to have: arithmetic unit 135, it performs trapezoid figure program or functional module;Memorizer 136, it is by arithmetic unit 135 are used as working region;And storage device 137, it stores program.CPU (Central Processing can be applied Unit) as arithmetic unit 135.RAM (Random Access Memory) can be applied as memorizer 136.Can apply Nonvolatile semiconductor memory is as storage device 137.Analog-to-digital conversion diagnostic process portion 131 shown in Fig. 2, diagnosis are used Digital value acquisition unit 132, diagnosis digital value setting process portion 133 and Control process portion 134 are by by computing Memorizer 136 is used as working region, performs software and realize by device 135.Alternatively, it is also possible to by multiple arithmetic units and many Individual memorizer is performed in unison with above-mentioned functions.
Fig. 4 is the figure of the structure of the simulation input block representing the programmable logic controller (PLC) involved by embodiment 1.Mould Intend input block 11 to have: analog-to-digital conversion portion 111, the analogue value is transformed to digital value by it;Digital value storage part is used in diagnosis 112, its storage is for the digital value of analog-to-digital conversion diagnosis, i.e. diagnosis digital value;Diagnosis abnormal show portion 113, its The diagnostic result of analog-to-digital conversion function shows abnormal in the case of abnormal;And diagnosis use digital value generating unit 118, it generates diagnosis digital value based on the input range simulating input block 11.So-called input range herein, refers to The value that input to the analogue signal simulating input block 11 can take.In addition it is also possible to utilize with simulation input block 11 not Same device generates diagnosis digital value, and is stored in diagnosis digital value storage part 112.If, with single with simulation input Unit's 11 different devices generate diagnosis digital value, then can simplify the structure of simulation input block 11.
Fig. 5 is the hardware configuration of the simulation input block representing the programmable logic controller (PLC) involved by embodiment 1 Figure.Simulation input block 11 has: arithmetic unit 114, it performs firmware;Memorizer 115, it is used workmanship by arithmetic unit 114 Make region;Storage device 116, it stores firmware;And display device 117, information is shown by it.CPU can be applied to make For arithmetic unit 114.RAM can be applied as memorizer 115.Nonvolatile semiconductor memory can be applied as storage dress Put 116.LED (Light Emitting Diode) lamp can be applied as display device 117.Simulation numeral shown in Fig. 4 becomes Change portion 111 and diagnosis digital value generating unit 118 is by memorizer 115 being used as working region, execution by arithmetic unit 114 Firmware and realize.Alternatively, it is also possible to be performed in unison with above-mentioned functions by multiple arithmetic units and multiple memorizer.It addition, Fig. 4 institute The diagnosis abnormal show portion 113 shown is by being carried out the pattern (pattern) of lighting of display device 117 by arithmetic unit 114 Control and realize.
Fig. 6 is the figure of the structure of the simulation output unit representing the programmable logic controller (PLC) involved by embodiment 1.Mould Intend output unit 12 and there is the digitaltoanalogconversion portion 121 that digital value is transformed to the analogue value.
Fig. 7 is the hardware configuration of the simulation output unit representing the programmable logic controller (PLC) involved by embodiment 1 Figure.Simulation output unit 12 has: arithmetic unit 122, it performs firmware;Memorizer 123, it is used workmanship by arithmetic unit 122 Make region;And storage device 124, it stores firmware.CPU can be applied as arithmetic unit 122.RAM conduct can be applied Memorizer 123.Nonvolatile semiconductor memory can be applied as storage device 124.Digitaltoanalogconversion portion shown in Fig. 6 121 by being used as working region by arithmetic unit 122 by memorizer 123, performing firmware and realize.Alternatively, it is also possible to by Multiple arithmetic units and multiple memorizer are performed in unison with above-mentioned functions.
Fig. 8 is the figure of the structure of the output unit representing the programmable logic controller (PLC) involved by embodiment 1.Output is single Unit 14 has the control signal output unit 141 of control signal output to relay 20.
Fig. 9 is the figure of the hardware configuration of the output unit representing the programmable logic controller (PLC) involved by embodiment 1.Defeated Going out unit 14 to have: arithmetic unit 142, it performs firmware;Memorizer 143, it is used as working region by arithmetic unit 142;With And storage device 144, it stores firmware.CPU can be applied as arithmetic unit 142.RAM can be applied as memorizer 143. Nonvolatile semiconductor memory can be applied as storage device 144.Control signal output unit 141 shown in Fig. 8 is to pass through By arithmetic unit 142, memorizer 142 is used as working region, performs firmware and realize.Alternatively, it is also possible to filled by multiple computings Put and multiple memorizer is performed in unison with above-mentioned functions.
Figure 10 is the stream of the analog-to-digital conversion diagnostic process representing the programmable logic controller (PLC) involved by embodiment 1 The flow chart of journey.In step S101, Control process portion 134 sends instructions to output unit 14 and makes control signal Output unit 141 exports control signal to relay 20, makes the output of simulation output unit 12 input to simulation input block 11.
In step s 102, diagnosis digital value acquisition unit 132 obtains diagnosis digital value deposit from simulation input block 11 The diagnosis digital value that storage portion 112 is stored.
In step s 103, diagnosis with digital value setting process portion 133 by diagnosis digital value to simulation output unit 12 Set.Due in step S101 by make simulation output unit 12 output to simulation input block 11 input in the way of to relay Device 20 is controlled, the analogue value therefore obtained diagnosis digital value is converted from simulation output unit 12 input to Simulation input block 11, is transformed to digital value by analog-to-digital conversion portion 111.I.e., in step s 103, by defeated by simulation Go out unit 12 to the 1st digital value, entered by simulation input block 11 further after i.e. diagnosis digital value carries out digitaltoanalogconversion Row analog-to-digital conversion, thus generate the 2nd digital value.
In step S104, analog-to-digital conversion diagnostic process portion 131 obtains by simulation numeral from simulation input block 11 Digital value that transformation component 111 carries out converting and obtains, the i.e. the 2nd digital value.
In step S105, analog-to-digital conversion diagnostic process portion 131 in step S104 from simulation input block 11 The 2nd digital value got and diagnosis digital value that is the 1st numeral got from simulation input block 11 in step s 102 Value compares.If the two is consistent, then step S105 is Yes, end simulation digital conversion diagnostic process.
On the other hand, if from the simulation digital value that gets of input block 11 with in step S102 in step S104 In inconsistent from the simulation diagnosis digital value that gets of input block 11, then step S105 is No, in step s 106, simulation Digital conversion diagnostic process portion 131 will diagnose abnormal notice to simulation input block 11.If it is abnormal to be informed about diagnosis, then examine Diagnosis exception is carried out showing by disconnected abnormal show portion 113 in display device 117.By utilizing analog-to-digital conversion to process Exclusive the lighting pattern or light color and show diagnosis is abnormal, even thus by simulation input block of diagnosis Diagnosis exception is carried out notifying by the display device 117 of 11, and user also is able to identify reason, and to be likely to be present in simulation defeated Go out unit 12 side.
Additionally, in the above description, simulation input block 11, simulation output unit 12 and output unit 14 are mounted Programmable logic controller (PLC) 10 in the structure of the base unit 16 identical with arithmetic element 13 is used as example but it also may be mould Intend input block, simulation output unit and output unit and be installed in the structure of the base unit different from arithmetic element.Figure 11 It it is the figure of the variation of the structure representing the programmable logic controller system involved by embodiment 1.With arithmetic element 13 ' Identical base unit 16a is provided with NE 17.Electric power is supplied to arithmetic element 13 ' and network from power subsystem 15a Unit 17.Simulation input block 11 ', simulation output unit 12 ' and output unit 14 ' are installed in different from arithmetic element 13 ' Base unit 16b.NE 18 is installed in base unit 16b, is mounted with to simulate input block at this base unit 16b 11 ', simulation output unit 12 ' and output unit 14 '.Electric power by from power subsystem 15b supply to simulation input block 11 ', Simulation output unit 12 ', output unit 14 ' and NE 18.NE 17 and NE 18 are by hub 19 even Connect.Therefore, simulation input block 11 ', simulation output unit 12 ' and output unit 14 ' can be via NE 18, hubs 19 and NE 17 communicate with arithmetic element 13 '.
At the analog-to-digital conversion diagnosis in the variation of the programmable logic controller (PLC) involved by embodiment 1 Reason, except via NE 18, hub 19 and NE 17 be simulated input block 11 ', simulation output unit 12 ' and Beyond communication between output unit 14 ' and arithmetic element 13 ', as the flow chart explanation using Figure 10.
By being simulated input block 11 ', simulation output list via NE 18, hub 19 and NE 17 Communication between unit 12 ' and output unit 14 ' and arithmetic element 13 ', thus the freedom of the layout of programmable logic controller (PLC) 10 ' Degree uprises.
In the programmable logic controller system involved by embodiment 1, due to if, with digitaltoanalogconversion portion 121 pairs for analog-to-digital conversion diagnosis digital value convert, then utilize analog-to-digital conversion portion 111 to convert and The digital value obtained, inconsistent with the digital value diagnosed for analog-to-digital conversion, then analog-to-digital conversion diagnostic process portion 131 It is diagnosed as analog-to-digital conversion function and exists abnormal, therefore, it is possible to use the simulation input without diagnostic special circuit Unit 11,11 ' and simulation output unit 12,12 ' are simulated the diagnosis that digital conversion processes.
Therefore, the programmable logic controller system involved by embodiment 1 need not special diagnostic circuit, by right Simulation input block 11,11 ' and simulation output unit 12,12 ' are combined, utilize programming ladder diagram to enter diagnosis digital value Row comparison, thus diagnose.Thus, even not having simulation input block 11,11 ' or the simulation of separate diagnostic circuit Output unit 12,12 ', only installing firmware can diagnose.It addition, unit unit price and development cost can be suppressed.Further, Owing to utilizing arithmetic element 13,13 ' to switch over the control of device, therefore need not make simulation input block 11,11 ' and simulation Output unit 12,12 ' has the control function of switching device.
Embodiment 2
Figure 12 is the figure of the structure representing the programmable logic controller system involved by embodiments of the present invention 2.Right In the simulation input block 11S of the programmable logic controller (PLC) 10S involved by embodiment 2, arithmetic element 13S, output unit 14S, power subsystem 15S and base unit 16S, except have fault is detected by autognostic when fault occurs, general Inputting the function forcibly disconnected safely and adapt to beyond safety requirements this point, the simulation with embodiment 1 inputs single Unit 11, arithmetic element 13, output unit 14, power subsystem 15 and base unit 16 are identical.Simulation output unit 12S and embodiment party The simulation output unit of formula 1 is identical.
Simulation input block 11S, arithmetic element 13S and the output unit 14S of embodiment 2 by dual ground carry out with Communication between other unit, compares result of communication, thus adapts to carry out the secure communication of the autognostic of fault. In secure communication, dual the result of communication that carries out inconsistent in the case of, be diagnosed as breaking down.
It addition, in embodiment 2, the program performed by arithmetic element 13S is that to adapt to the safety of safety requirements trapezoidal Figure program or safety function module.
About the flow process of the process of analog-to-digital conversion diagnosis, due to identical with embodiment 1, therefore omit the description.
Programmable logic controller system involved by embodiment 2 utilizes secure communication to carry out unit each other logical Letter, therefore, it is possible to prevent by communication when exchange diagnosis digital value between unit, analog converting value or digital conversion value wrong Cause making a mistake in the diagnostic result of analog-to-digital conversion diagnosis by mistake.
Embodiment 3
Figure 13 is the figure of the structure representing the programmable logic controller system involved by embodiments of the present invention 3.Can Programmed logic controller system 101 has: programmable logic controller (PLC) 40, and it is by performing control program, thus sets to outside Standby 60 output control analogue signals;And relay 50, its to whether from programmable logic controller (PLC) 40 to external equipment 60 Output analogue signal switches over.Programmable logic controller (PLC) 40 has: simulation input block 41, it passes through analog-to-digital conversion And the analogue value is transformed to digital value;Simulation output unit 42, digital value is transformed to simulation by it by digitaltoanalogconversion Value;Arithmetic element 43, it performs control program;Output unit 44, its by control signal export to relay 50, this control signal To being the simulation analogue signal that exported of output unit 42 to be exported to external equipment 60 or exports to simulation input block 41 Switch over;Power subsystem 45, it supplies power to each unit;And base unit 46, each unit is connected to each other by it.Defeated Going out unit 44 and relay 50 constitutes switching device, following actions is switched over by it, i.e. be outside from simulation output unit 41 Portion's equipment 60 exports analogue signal still will carry out digitaltoanalogconversion to the 3rd digital value described later from simulation output unit 42 And the analogue value obtained exports to simulation input block 41.
Figure 14 is the figure of the structure of the arithmetic element representing the programmable logic controller (PLC) involved by embodiment 3.Computing Unit 43 has: digitaltoanalogconversion diagnostic process portion 431, digital simulation mapping function is diagnosed by it;Diagnosis numeral Value acquisition unit 432, it obtains the 3rd digital value for digitaltoanalogconversion diagnosis, i.e. diagnosis number from simulation output unit 42 Word value;And Control process portion 434, it makes output unit 44 carry out the switching of relay 50.Control processes Portion 434 constitutes the switch control portion being controlled switching device.
The hardware configuration of the arithmetic element 43 of the programmable logic controller (PLC) 40 involved by embodiment 3 and embodiment 1 Identical.Digitaltoanalogconversion diagnostic process portion 431 shown in Figure 14, diagnosis digital value acquisition unit 432 and Control Process portion 434 is by being realized memorizer as working region, execution software by arithmetic unit.Alternatively, it is also possible to by Multiple arithmetic units and multiple memorizer are performed in unison with above-mentioned functions.
Figure 15 is the figure of the structure of the simulation input block representing the programmable logic controller (PLC) involved by embodiment 3. Simulation input block 41 has the analog-to-digital conversion portion 411 that the analogue value is transformed to digital value.
Figure 16 is the hardware configuration of the simulation input block representing the programmable logic controller (PLC) involved by embodiment 3 Figure.Simulation input block 41 has: arithmetic unit 412, it performs firmware;Memorizer 413, it is used workmanship by arithmetic unit 412 Make region;And storage device 414, it stores firmware.CPU can be applied as arithmetic unit 412.RAM conduct can be applied Memorizer 413.Nonvolatile semiconductor memory can be applied as storage device 414.Analog-to-digital conversion shown in Figure 15 Portion 411 is by being used as working region by arithmetic unit 412 by memorizer 413, performing firmware and realize.Alternatively, it is also possible to It is performed in unison with above-mentioned functions by multiple arithmetic units and multiple memorizer.
Figure 17 is the figure of the structure of the simulation output unit representing the programmable logic controller (PLC) involved by embodiment 3. Simulation output unit 42 has: digitaltoanalogconversion portion 421, digital value is transformed to the analogue value by it;Diagnosis digital value stores Portion 422, its storage is for the 3rd digital value of digitaltoanalogconversion diagnosis, i.e. diagnosis digital value;Diagnosis abnormal show portion 423, It shows abnormal in the case of abnormal at the diagnostic result of digitaltoanalogconversion function;And diagnosis is raw with digital value One-tenth portion 428, it generates diagnosis digital value based on the output area simulating output unit 42.So-called output area herein, Refer to the value that can take from the analogue signal of simulation output unit 42 output.In addition it is also possible to utilize and simulation output unit 42 different devices generate diagnosis digital value, and are stored in diagnosis digital value storage part 422.If, with defeated with simulation Go out the different device of unit 42 to generate diagnosis digital value, then can simplify the structure of simulation output unit 42.
Figure 18 is the hardware configuration of the simulation output unit representing the programmable logic controller (PLC) involved by embodiment 3 Figure.Simulation output unit 42 has: arithmetic unit 424, it performs firmware;Memorizer 425, it is used workmanship by arithmetic unit 424 Make region;Storage device 426, it stores firmware;And display device 427, information is shown by it.CPU can be applied to make For arithmetic unit 424.RAM can be applied as memorizer 425.Nonvolatile semiconductor memory can be applied as storage dress Put 426.LED can be applied as display device 427.Digitaltoanalogconversion portion 421 shown in Figure 17 and diagnosis digital value Generating unit 428 is by being used as working region by arithmetic unit 424 by memorizer 425, performing firmware and realize.It addition, also Above-mentioned functions can be performed in unison with by multiple arithmetic units and multiple memorizer.It addition, the diagnosis abnormal show portion shown in Figure 17 423 is by the pattern of lighting of display device 427 being controlled and realized by arithmetic unit 424.
In the structure of the output unit 44 of the programmable logic controller (PLC) 40 involved by embodiment 3 and embodiment 1 Output unit 14 is identical.
Figure 19 is the stream of the digitaltoanalogconversion diagnostic process representing the programmable logic controller (PLC) involved by embodiment 3 The flow chart of journey.In step S301, Control process portion 434 sends instructions to output unit 44 and makes this output list Control signal is exported by unit 44 to relay 50, makes the output of simulation output unit 42 input to simulation input block 41.
In step s 302, diagnosis digital value acquisition unit 432 obtains diagnosis digital value deposit from simulation output unit 42 The diagnosis digital value that storage portion 422 is stored.
In step s 302 from diagnosis with digital value acquisition unit 432 acquisition request diagnosis digital value time, simulation output is single Unit 42 utilizes digitaltoanalogconversion portion 421 diagnosis digital value to be transformed to the analogue value and exports to simulation input block 41.Mould Intending input block 41 utilizes analog-to-digital conversion portion 411 that the analogue value inputted is transformed to digital value.That is, in step S302 In, by utilize simulation output unit 42 to the 3rd digital value, after i.e. diagnosis digital value carries out digitaltoanalogconversion further Utilize simulation input block 41 to be simulated digital conversion, thus generate the 4th digital value.
In step S303, digitaltoanalogconversion diagnostic process portion 431 obtains by simulation numeral from simulation input block 41 Transformation component 411 carries out converting digital value, the i.e. the 4th digital value obtained.
In step s 304, digitaltoanalogconversion diagnostic process portion 431 in step S303 from simulation input block 41 The 4th digital value got and diagnosis digital value that is the 3rd numeral got from simulation output unit 42 in step s 302 Value compares.If the two is consistent, then step S304 is Yes, end number analog converting diagnostic process.
On the other hand, if from the simulation digital value that gets of input block 41 with in step S302 in step S303 In inconsistent from the simulation diagnosis digital value that gets of output unit 42, then step S304 is No, and digitaltoanalogconversion diagnoses Abnormal for diagnosis notice is given simulation output unit 42 in step S305 by process portion 431.If it is abnormal to be informed about diagnosis, then examine Diagnosis exception is carried out showing by disconnected abnormal show portion 423 in display device 427.By utilizing digitaltoanalogconversion to process Exclusive the lighting pattern or light color and show diagnosis is abnormal, even thus by simulation output unit of diagnosis Diagnosis exception is carried out notifying by the display device 427 of 42, and user also is able to identify reason, and to be likely to be present in simulation defeated Enter unit 41 side.
In the programmable logic controller system involved by embodiment 3, due to if, with digitaltoanalogconversion portion 421 pairs for digitaltoanalogconversion diagnosis digital value convert, then utilize analog-to-digital conversion portion 411 to convert and The digital value obtained, inconsistent with the digital value diagnosed for digitaltoanalogconversion, then digitaltoanalogconversion diagnostic process portion 431 It is diagnosed as digitaltoanalogconversion function and exists abnormal, therefore, it is possible to use the simulation input without diagnostic special circuit Unit and simulation output unit carry out the diagnosis of digitaltoanalogconversion process.Further, owing to utilizing arithmetic element 43 to switch over The control of device, therefore need not the control function making simulation input block 41 and simulation output unit 42 have switching device.
Embodiment 4
Figure 20 is the figure of the structure representing the programmable logic controller system involved by embodiments of the present invention 4.Right In the simulation output unit 42S of the programmable logic controller (PLC) 40S involved by embodiment 4, arithmetic element 43S, output unit 44S, power subsystem 45S and base unit 46S, except have fault is detected by autognostic when fault occurs, general Function that Safety output forcibly disconnects and adapt to beyond safety requirements this point, the simulation with embodiment 3 exports single Unit 42, arithmetic element 43, output unit 44, power subsystem 45 and base unit 46 are identical.Simulation input block 41S and embodiment party The simulation input block 41 of formula 3 is identical.
Simulation output unit 42S, arithmetic element 43S and the output unit 44S of embodiment 4 by dual ground carry out with Communication between other unit, compares result of communication, thus adapts to carry out the secure communication of the autognostic of fault. In secure communication, dual the result of communication that carries out inconsistent in the case of, be diagnosed as breaking down.
It addition, in embodiment 4, the program performed by arithmetic element 43S is that to adapt to the safety of safety requirements trapezoidal Figure program or safety function module.
About the flow process of the process of digitaltoanalogconversion diagnosis, due to identical with embodiment 3, therefore omit the description.
Programmable logic controller system involved by embodiment 4 utilizes secure communication to carry out unit each other logical Letter, therefore, it is possible to prevent by communication when exchange diagnosis digital value between unit, analog converting value or digital conversion value wrong Cause making a mistake in the diagnostic result of digitaltoanalogconversion diagnosis by mistake.
One example of the representation present disclosure shown in above embodiment, additionally it is possible to known in other Technology is combined, in the scope of the purport without departing from the present invention, additionally it is possible to a part for structure is omitted, changed.
The explanation of label
10,10 ', 10S, 40,40S programmable logic controller (PLC), 11,11 ', 11S, 41,41S simulate input block, 12, 12 ', 12S, 42,42S simulate output unit, 13,13 ', 13S, 43,43S arithmetic element, 14,14 ', 14S, 44,44S export single Unit, 15,15a, 15b, 15S, 45,45S power subsystem, 16,16a, 16b, 16S, 46,46S base unit, 17,18 NEs, 19 hubs, 20,50 relays, 30,60 external equipments, 100,100 ', 100S, 101,101S programmable logic controller (PLC) system System, 111,411 analog-to-digital conversion portions, 112,422 diagnosis digital value storage parts, 113,423 diagnosis abnormal show portions, 114, 122,135,142,412,424 arithmetic unit, 115,123,136,143,413,425 memorizeies, 116,124,137,144, 414,426 storage device, 117,427 display devices, digital value generating unit, 121,421 digitaltoanalogconversions are used in 118,428 diagnosis Portion, 131 analog-to-digital conversion diagnostic process portions, 132,432 diagnosis use digital value acquisition unit, and 133 diagnosis are with at digital value setting Reason portion, 134,434 Control process portions, 141 control signal output units, 431 digitaltoanalogconversion diagnostic process portions.

Claims (6)

1. a programmable logic controller system, it is characterised in that
There is programmable logic controller (PLC) and switching device,
This programmable logic controller (PLC) has:
Simulation output unit, it carries out digitaltoanalogconversion;
Simulating input block, it has the diagnosis digital value storage part storing the 1st digital value, this simulation input block It is simulated digital conversion;And
Arithmetic element,
This arithmetic element has: diagnosis digital value acquisition unit, and it obtains described 1st digital value from described simulation input block; Diagnosis digital value setting process portion, described 1st digital value got from described simulation input block is set as described by it The object of the digitaltoanalogconversion of simulation output unit;And analog-to-digital conversion diagnostic process portion, if utilizing described mould Intend being simulated further with described simulation input block after output unit carries out digitaltoanalogconversion to described 1st digital value Digital conversion and the 2nd digital value that obtains is inconsistent with described 1st digital value, then this analog-to-digital conversion diagnostic process portion diagnosis Exist abnormal for analog-to-digital conversion function,
Following actions is switched over by this switching device, i.e. be analogue signal input to be inputted to described simulation from external equipment The analogue value that unit still obtains described 1st digital value is carried out digitaltoanalogconversion from described simulation output unit is defeated Enter to described simulation input block.
2. a programmable logic controller system, it is characterised in that
There is programmable logic controller (PLC) and switching device,
This programmable logic controller (PLC) has:
Simulation input block, it is simulated digital conversion;
Simulating output unit, it has the diagnosis digital value storage part storing the 3rd digital value, this simulation output unit Carry out digitaltoanalogconversion;And
Arithmetic element,
This arithmetic element has: diagnosis digital value acquisition unit, and it obtains described 3rd digital value from described simulation output unit; And digitaltoanalogconversion diagnostic process portion, if utilizing described simulation output unit that described 3rd digital value is carried out numeral It is simulated digital conversion further with described simulation input block and the 4th digital value that obtains and described the after analog converting 3 digital values are inconsistent, then this digitaltoanalogconversion diagnostic process portion is diagnosed as the existence of digitaltoanalogconversion function extremely,
Following actions is switched over by this switching device, i.e. be from described simulation output unit by analogue signal to external equipment Output or the analogue value obtained described 3rd digital value is carried out digitaltoanalogconversion from described simulation output unit to Described simulation input block exports.
Programmable logic controller system the most according to claim 1 and 2, it is characterised in that
Described arithmetic element possesses the arithmetic element having the switch control portion that described switching device is controlled.
Programmable logic controller system the most according to claim 1 and 2, it is characterised in that
Described arithmetic element, described simulation input block and described simulation output unit dual ground are carried out between other unit Communication, dual the result of communication that carries out inconsistent in the case of, be diagnosed as breaking down, able to programme patrol described The input collecting controller disconnects.
5. an arithmetic element, it is simulated input block with simulation digital conversion and carries out the mould of digitaltoanalogconversion Intend output unit combination, constitute the programmable logic controller (PLC) that the analogue signal inputted from external equipment is processed,
This arithmetic element is characterised by having:
Digital value acquisition unit is used in diagnosis, and it obtains the 1st digital value from described simulation input block;
Diagnosis digital value setting process portion, described 1st digital value is set by it to described simulation output unit;And
Analog-to-digital conversion diagnostic process portion, if utilizing described simulation output unit that described 1st digital value is carried out numeral It is simulated digital conversion further with described simulation input block and the 2nd digital value that obtains and described the after analog converting 1 digital value is inconsistent, then this analog-to-digital conversion diagnostic process portion is diagnosed as the existence of analog-to-digital conversion function extremely.
6. an arithmetic element, it is simulated input block with simulation digital conversion and carries out the mould of digitaltoanalogconversion Intend output unit combination, constitute the programmable logic controller (PLC) that the analogue signal inputted from external equipment is processed,
This arithmetic element is characterised by having:
Digital value acquisition unit is used in diagnosis, and it obtains the 3rd digital value from described simulation output unit;And
Digitaltoanalogconversion diagnostic process portion, if utilizing described simulation output unit that described 3rd digital value is carried out numeral It is simulated digital conversion further with described simulation input block and the 4th digital value that obtains and described the after analog converting 3 digital values are inconsistent, then this digitaltoanalogconversion diagnostic process portion is diagnosed as the existence of digitaltoanalogconversion function extremely.
CN201580004632.8A 2015-04-20 2015-04-20 Programmable logic controller system and arithmetic element Active CN106258005B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/061980 WO2016170570A1 (en) 2015-04-20 2015-04-20 Programmable logic controller system and computing unit

Publications (2)

Publication Number Publication Date
CN106258005A true CN106258005A (en) 2016-12-28
CN106258005B CN106258005B (en) 2018-05-08

Family

ID=57123157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580004632.8A Active CN106258005B (en) 2015-04-20 2015-04-20 Programmable logic controller system and arithmetic element

Country Status (5)

Country Link
JP (1) JP6005322B1 (en)
KR (1) KR101701691B1 (en)
CN (1) CN106258005B (en)
TW (1) TWI595336B (en)
WO (1) WO2016170570A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110658801A (en) * 2018-06-28 2020-01-07 西门子股份公司 Method and system for providing an analog output value in a fail-safe manner
CN113424115A (en) * 2019-02-14 2021-09-21 三菱电机株式会社 Control system, programmable logic controller, method, and program
CN114026776A (en) * 2019-07-05 2022-02-08 三菱电机株式会社 Abnormality diagnosis system and abnormality diagnosis method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002358106A (en) * 2001-05-31 2002-12-13 Omron Corp Safety controller
JP2011069694A (en) * 2009-09-25 2011-04-07 Hitachi Ltd Programmable logic controller, and failure diagnosis method in the same
CN102455701A (en) * 2010-10-22 2012-05-16 施耐德电器工业公司 Programmable logic controller (PLC) automatic testing platform using programmable relay structure
CN103472822A (en) * 2013-09-24 2013-12-25 北京星达科技发展有限公司 Simulation testing device and testing method of central air conditioner automatic control system
CN104303116A (en) * 2012-05-11 2015-01-21 三菱电机株式会社 Analog conversion device and programmable logic controller system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4276930B2 (en) 2003-12-10 2009-06-10 株式会社日立製作所 Analog output device and diagnostic method thereof
JP5136900B2 (en) * 2007-12-13 2013-02-06 日立金属株式会社 Analog output circuit, flow control device, and output abnormality determination method for flow control device
KR101497849B1 (en) * 2010-09-28 2015-03-02 미쓰비시덴키 가부시키가이샤 D/a conversion device, peripheral device, and plc
WO2012098676A1 (en) * 2011-01-21 2012-07-26 三菱電機株式会社 Analog input unit and programmable controller
DE112011105487B4 (en) * 2011-08-01 2020-01-16 Mitsubishi Electric Corporation Analog input system, analog output system and analog input / output system
DE112012006775B4 (en) * 2012-10-26 2018-12-27 Mitsubishi Electric Corporation Analog conversion device and programmable controller system
CN202994940U (en) * 2012-12-26 2013-06-12 浙江海得新能源有限公司 PLC automation single board test platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002358106A (en) * 2001-05-31 2002-12-13 Omron Corp Safety controller
JP2011069694A (en) * 2009-09-25 2011-04-07 Hitachi Ltd Programmable logic controller, and failure diagnosis method in the same
CN102455701A (en) * 2010-10-22 2012-05-16 施耐德电器工业公司 Programmable logic controller (PLC) automatic testing platform using programmable relay structure
CN104303116A (en) * 2012-05-11 2015-01-21 三菱电机株式会社 Analog conversion device and programmable logic controller system
CN103472822A (en) * 2013-09-24 2013-12-25 北京星达科技发展有限公司 Simulation testing device and testing method of central air conditioner automatic control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110658801A (en) * 2018-06-28 2020-01-07 西门子股份公司 Method and system for providing an analog output value in a fail-safe manner
CN110658801B (en) * 2018-06-28 2022-10-14 西门子股份公司 Method and system for providing an analog output value in a fail-safe manner
CN113424115A (en) * 2019-02-14 2021-09-21 三菱电机株式会社 Control system, programmable logic controller, method, and program
CN114026776A (en) * 2019-07-05 2022-02-08 三菱电机株式会社 Abnormality diagnosis system and abnormality diagnosis method
CN114026776B (en) * 2019-07-05 2022-07-05 三菱电机株式会社 Abnormality diagnosis system and abnormality diagnosis method

Also Published As

Publication number Publication date
TW201702771A (en) 2017-01-16
CN106258005B (en) 2018-05-08
KR20160135162A (en) 2016-11-25
TWI595336B (en) 2017-08-11
JPWO2016170570A1 (en) 2017-04-27
KR101701691B1 (en) 2017-02-01
JP6005322B1 (en) 2016-10-12
WO2016170570A1 (en) 2016-10-27

Similar Documents

Publication Publication Date Title
ES2773490T3 (en) Software-defined implementation method based on protection and control system for smart substation
US9300144B2 (en) Integrated drive motor power interface
US20090030534A1 (en) Method for the programming of a safety controller
CN106258005A (en) Programmable logic controller system and arithmetic element
CN105359110A (en) Method for error monitoring, control and data transmission installation and control device
CN104181916B (en) Method for detecting spare parts to be detected of wind turbine generator main control systems
CN101326472B (en) On-site electric apparatus and method for establishing data connection between data interface and data memory of the locale electric apparatus
CN110333712A (en) Car fault diagnosis method and system
CN202512789U (en) Practice training device of relay protection device
ES2751162T3 (en) Security extension base and its control method
US10606239B2 (en) Shaping plant and safety program
CN104898512B (en) The construction method of nuclear power plant's nuclear safe level digitlization instrument control system equipment identification model machine
CN105868138B (en) USB interface automatic switching control equipment
CN104199491A (en) Monitoring system of tunnel oven
CN106100912B (en) A kind of construction method and system in abnormal status events library
CN113545013B (en) Network management device, management method, and recording medium
CN110446985A (en) Shot-peening valve control
US20170207983A1 (en) Manufacturing execution system
CN103941127B (en) Driving remote control test device
CN109066419B (en) Diagnosis method and system for secondary equipment maintenance safety measure operation and terminal equipment
JP2015170366A (en) Electronic system comprising electronic device, circuit breaker comprising such system, method for generating deviation indicator in the event of incompatibility between devices exists, and related computer and program product
CN106716307A (en) Device for control/command of a plurality of man-machine dialogue facilities
CN105372538B (en) Detection method and device for power distribution network equipment
CN103313471A (en) Lighting console digitized multi-mode control system
EP4156632A1 (en) Method to commission a distributed system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant