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

Programmable logic controller system and arithmetic element Download PDF

Info

Publication number
CN106258005B
CN106258005B CN201580004632.8A CN201580004632A CN106258005B CN 106258005 B CN106258005 B CN 106258005B CN 201580004632 A CN201580004632 A CN 201580004632A CN 106258005 B CN106258005 B CN 106258005B
Authority
CN
China
Prior art keywords
digital value
simulation
analog
unit
output unit
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.)
Active
Application number
CN201580004632.8A
Other languages
Chinese (zh)
Other versions
CN106258005A (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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

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

Description

Programmable logic controller system and arithmetic element
Technical field
The present invention relates to a kind of programmable logic controller system and arithmetic element with programmable logic controller (PLC), The programmable logic controller (PLC) has:Simulation input unit, 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 as patent document 1 is open is set specially in inside Circuit and carry out.
Patent document 1:Japanese Unexamined Patent Publication 2005-173848 publications
The content of the invention
But according to the above-mentioned prior art, due to needing dedicated circuit, there are unit unit price and development cost to increase The problem of big.
The present invention is exactly to propose in view of the foregoing, it is intended that obtaining a kind of programmable logic controller (PLC) system System, the programmable logic controller system can carry out analog-to-digital conversion processing diagnosis or digitaltoanalogconversion processing Diagnosis, without using the dedicated circuit of diagnosis.
In order to solve the above problems, purpose is realized, the present invention has programmable logic controller (PLC), the Programmable logical controller Utensil has:Simulation output unit, it carries out digitaltoanalogconversion;Simulation input unit, it, which has, stores the 1st digital value Diagnosis digital value storage part, the simulation input unit carry out analog-to-digital conversion;And arithmetic element, arithmetic element tool Have:Digital value acquisition unit is used in diagnosis, it obtains the 1st digital value from simulation input unit;Digital value setting processing portion is used in diagnosis, its The 1st digital value got from simulation input unit is set as to the object of the digitaltoanalogconversion of simulation output unit;And Analog-to-digital conversion diagnostic process portion, if laggard carrying out digitaltoanalogconversion to the 1st digital value using simulation output unit The 2nd digital value and the 1st digital value are inconsistent obtained from one step carries out analog-to-digital conversion using simulation input unit, then the mould Intend digital conversion diagnostic process portion and be diagnosed as analog-to-digital conversion function in the presence of abnormal.In addition, the present invention has switching device, should Switching device switches over following actions, i.e. be from external equipment by analog signal input to simulation input unit or from The analogue value obtained from simulation output unit will carry out digitaltoanalogconversion to the 1st digital value is inputted to simulation input unit.
The effect of invention
Programmable logic controller system according to the present invention has following effects, i.e. can carry out simulation numeral change The diagnosis of processing or the diagnosis of digitaltoanalogconversion processing are changed, without using the dedicated circuit of diagnosis.
Brief description of the drawings
Fig. 1 is the figure for the structure for representing the programmable logic controller system involved by embodiments of the present invention 1.
Fig. 2 is the figure of the structure for the arithmetic element for representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 3 is the figure of the hardware configuration for the arithmetic element for representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 4 is the figure of the structure for the simulation input unit for representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 5 is the hardware configuration for the simulation input unit for representing the programmable logic controller (PLC) involved by embodiment 1 Figure.
Fig. 6 is the figure of the structure for the simulation output unit for representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 7 is the hardware configuration for the simulation output unit for representing the programmable logic controller (PLC) involved by embodiment 1 Figure.
Fig. 8 is the figure of the structure for the output unit for representing the programmable logic controller (PLC) involved by embodiment 1.
Fig. 9 is the figure of the hardware configuration for the output unit for representing the programmable logic controller (PLC) involved by embodiment 1.
Figure 10 is the stream for the analog-to-digital conversion diagnostic process for representing the programmable logic controller (PLC) involved by embodiment 1 The flow chart of journey.
Figure 11 is the figure of the variation for the structure for representing the programmable logic controller system involved by embodiment 1.
Figure 12 is the figure for the structure for representing the programmable logic controller system involved by embodiments of the present invention 2.
Figure 13 is the figure for the structure for representing the programmable logic controller system involved by embodiments of the present invention 3.
Figure 14 is the figure of the structure for the arithmetic element for representing the programmable logic controller (PLC) involved by embodiment 3.
Figure 15 is the figure of the structure for the simulation input unit for representing the programmable logic controller (PLC) involved by embodiment 3.
Figure 16 is the hardware configuration for the simulation input unit for representing the programmable logic controller (PLC) involved by embodiment 3 Figure.
Figure 17 is the figure of the structure for the simulation output unit for representing the programmable logic controller (PLC) involved by embodiment 3.
Figure 18 is the hardware configuration for the simulation output unit for representing the programmable logic controller (PLC) involved by embodiment 3 Figure.
Figure 19 is the stream for the digitaltoanalogconversion diagnostic process for representing the programmable logic controller (PLC) involved by embodiment 3 The flow chart of journey.
Figure 20 is the figure for the structure for representing the programmable logic controller system involved by embodiments of the present invention 4.
Embodiment
In the following, attached drawing is based on, to the programmable logic controller system involved by embodiments of the present invention and computing list Member is described in detail.In addition, the present invention is not limited to present embodiment.
Embodiment 1
Fig. 1 is the figure for the structure for representing the programmable logic controller system involved by embodiments of the present invention 1.It can compile Journey logic controller system 100 has:Programmable logic controller (PLC) 10, it controls program by performing, so as to being set from outside The analog signal of standby 30 input is handled;And relay 20, it inputs analog signal to programmable from external equipment 30 Logic controller 10.
Programmable logic controller (PLC) 10 has:Simulation input unit 11, it, will be with analog signal by analog-to-digital conversion The analogue value of input is transformed to digital value;Simulation output unit 12, it is by digitaltoanalogconversion, by what is inputted with digital signal Digital value is transformed to the analogue value;Arithmetic element 13, it performs control program;Output unit 14, its by control signal export to after Electric appliance 20, the control signal to be from external equipment 30 by analog signal input to simulation input unit 11 or from simulate it is defeated Go out the input of unit 12 to switch over;Power supply unit 15, it supplies power to each unit;And base unit 16, it is by each list Member is connected to each other.Output unit 14 and relay 20 form switching device, which switches over following actions, i.e. It is to input analog signal to simulation input unit 11 from external equipment 30 or will be to described later from simulation output unit 12 The analogue value obtained from 1 digital value carries out digitaltoanalogconversion is inputted to simulation input unit 11.
Fig. 2 is the figure of the structure for the arithmetic element for representing the programmable logic controller (PLC) involved by embodiment 1.Computing list Member 13 has:Analog-to-digital conversion diagnostic process portion 131, it diagnoses analog-to-digital conversion function;Diagnosis digital value Acquisition unit 132, it obtains the 1st digital value, the i.e. diagnosis numeral for being used for analog-to-digital conversion diagnosis from simulation input unit 11 Value;Digital value setting processing portion 133 is used in diagnosis, it will be set as simulation output list for the digital value that analog-to-digital conversion diagnoses The object of the digitaltoanalogconversion of member 12;And relay control process portion 134, it makes output unit 14 carry out relay 20 Switching.Relay control process portion 134 forms the switch control portion being controlled to switching device.
Relay 20 is by the analog signal exported from external equipment 30 and the analog signal exported from simulation output unit 12 Alternatively input to simulation input unit 11.That is, by sending instructions to output unit by relay control process portion 134 14, so as to be exported from output unit 14 by control signal to relay 20, following actions are switched over, i.e. be by from outside The analog signal that equipment 30 exports inputs the analog signal that still will be exported to simulation input unit 11 from simulation output unit 12 Input to simulation input unit 11.
Fig. 3 is the figure of the hardware configuration for the arithmetic element for representing the programmable logic controller (PLC) involved by embodiment 1.Fortune Calculating unit 13 has:Arithmetic unit 135, it performs trapezoid figure program or function module;Memory 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) it is used as arithmetic unit 135.Memory 136 can be used as using RAM (Random Access Memory).It can apply Nonvolatile semiconductor memory is as storage device 137.Analog-to-digital conversion diagnostic process portion 131, diagnosis shown in Fig. 2 use Digital value acquisition unit 132, diagnosis digital value setting processing portion 133 and relay control process portion 134 are by by computing Memory 136 is used as working region, performs software and realized by device 135.Alternatively, it is also possible to by multiple arithmetic units and more A memory is performed in unison with above-mentioned function.
Fig. 4 is the figure of the structure for the simulation input unit for representing the programmable logic controller (PLC) involved by embodiment 1.Mould Intending input unit 11 has: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, it stores digital value, the i.e. diagnosis digital value for being used for analog-to-digital conversion diagnosis;Diagnose abnormal show portion 113, its The diagnostic result of analog-to-digital conversion function is to be shown to abnormal in the case of exception;And digital value generating unit is used in diagnosis 118, its input range based on simulation input unit 11 and generate diagnosis digital value.So-called input range herein, refers to Input the value that can be taken to the analog signal of simulation input unit 11.In addition it is also possible to using with simulation input unit 11 not With device generate diagnosis digital value, and be stored in diagnosis digital value storage part 112.If using with simulation input list First 11 different devices generate diagnosis digital value, then can simplify the structure of simulation input unit 11.
Fig. 5 is the hardware configuration for the simulation input unit for representing the programmable logic controller (PLC) involved by embodiment 1 Figure.Simulation input unit 11 has:Arithmetic unit 114, it performs firmware;Memory 115, it uses workmanship by arithmetic unit 114 Make region;Storage device 116, it stores firmware;And display device 117, it shows information.CPU can be applied to make For arithmetic unit 114.RAM can be applied as memory 115.Nonvolatile semiconductor memory can be applied to be filled as storage Put 116.LED (Light Emitting Diode) lamp can be applied as display device 117.Simulation numeral shown in Fig. 4 becomes It is by the way that memory 115 is used as working region by arithmetic unit 114, is performed to change portion 111 and diagnosis digital value generating unit 118 Firmware and realize.Alternatively, it is also possible to be performed in unison with above-mentioned function by multiple arithmetic units and multiple memories.In addition, Fig. 4 institutes The diagnosis abnormal show portion 113 shown is by being carried out by arithmetic unit 114 to the pattern (pattern) of lighting of display device 117 Control and realize.
Fig. 6 is the figure of the structure for the simulation output unit for representing the programmable logic controller (PLC) involved by embodiment 1.Mould Intending output unit 12 has the digitaltoanalogconversion portion 121 that digital value is transformed to the analogue value.
Fig. 7 is the hardware configuration for the simulation output unit for representing the programmable logic controller (PLC) involved by embodiment 1 Figure.Simulation output unit 12 has:Arithmetic unit 122, it performs firmware;Memory 123, it uses workmanship by arithmetic unit 122 Make region;And storage device 124, it stores firmware.CPU can be applied as arithmetic unit 122.RAM conducts can be applied Memory 123.Nonvolatile semiconductor memory can be applied as storage device 124.Digitaltoanalogconversion portion shown in Fig. 6 121 are realized by the way that memory 123 is used as working region by arithmetic unit 122, performs firmware.Alternatively, it is also possible to by Multiple arithmetic units and multiple memories are performed in unison with above-mentioned function.
Fig. 8 is the figure of the structure for the output unit for representing the programmable logic controller (PLC) involved by embodiment 1.Output is single Member 14, which has, exports control signal to the control signal output section 141 of relay 20.
Fig. 9 is the figure of the hardware configuration for the output unit for representing the programmable logic controller (PLC) involved by embodiment 1.It is defeated Going out unit 14 has:Arithmetic unit 142, it performs firmware;Memory 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 memory 143. Nonvolatile semiconductor memory can be applied as storage device 144.Control signal output section 141 shown in Fig. 8 is to pass through Memory 143 is used as working region by arithmetic unit 142, firmware is performed and realizes.Alternatively, it is also possible to be filled by multiple computings Put and multiple memories are performed in unison with above-mentioned function.
Figure 10 is the stream for the analog-to-digital conversion diagnostic process for representing the programmable logic controller (PLC) involved by embodiment 1 The flow chart of journey.In step S101, relay control process portion 134 sends instructions to output unit 14 and makes control signal Output section 141 makes the output of simulation output unit 12 be inputted to simulation input unit 11 to 20 output control signal of relay.
In step s 102, diagnosis obtains diagnosis from simulation input unit 11 with digital value acquisition unit 132 and is deposited with digital value The diagnosis digital value that storage portion 112 is stored.
In step s 103, diagnosis with digital value setting processing portion 133 by diagnosis digital value to simulation output unit 12 Setting.Due in step S101 in a manner of the output of simulation output unit 12 is inputted to simulation input unit 11 to relay Device 20 is controlled, thus the analogue value obtained from being converted to diagnosis with digital value from simulation output unit 12 input to Simulation input unit 11, digital value is transformed to by analog-to-digital conversion portion 111.I.e., in step s 103, by defeated by simulating Go out after unit 12 carries out digitaltoanalogconversion to the 1st digital value, i.e. diagnosis with digital value further by simulation input unit 11 into Row analog-to-digital conversion, so as to generate the 2nd digital value.
In step S104, analog-to-digital conversion diagnostic process portion 131 is obtained by simulation numeral from simulation input unit 11 Digital value, i.e. the 2nd digital value obtained from transformation component 111 is converted.
In step S105, analog-to-digital conversion diagnostic process portion 131 in step S104 from simulation input unit 11 The 2nd digital value that gets and in step s 102 from the diagnosis that simulation input unit 11 the is got numeral of digital value the i.e. the 1st Value is compared.If the two is consistent, step S105 is Yes, end simulation digital conversion diagnostic process.
On the other hand, if the digital value that is got in step S104 from simulation input unit 11 and in step S102 In the diagnosis digital value that gets from simulation input unit 11 it is inconsistent, then step S105 is No, in step s 106, simulation Digital conversion diagnostic process portion 131 will diagnose abnormal notify to simulation input unit 11.If it is abnormal to be informed about diagnosis, examine Disconnected abnormal show portion 113 to diagnosis exception show in display device 117.Handled by using analog-to-digital conversion Diagnosis it is exclusive light pattern or light that color is abnormal to diagnosis to be shown, even so that by simulation input unit 11 display device 117 is abnormal to diagnosis notify, it is defeated that user also can recognize that reason is likely to be present in simulation Go out 12 side of unit.
In addition, in the above description, simulation input unit 11, simulation output unit 12 and output unit 14 are mounted It is used as example but it is also possible to be mould in the programmable logic controller (PLC) 10 of the structure of the base unit 16 identical with arithmetic element 13 Intend the structure that input unit, simulation output unit and output unit are installed in the base unit different from arithmetic element.Figure 11 It is the figure of the variation for the structure for representing the programmable logic controller system involved by embodiment 1.With arithmetic element 13 ' Identical base unit 16a is provided with network unit 17.Electric power is supplied to arithmetic element 13 ' and network from power supply unit 15a Unit 17.Simulation input unit 11 ', simulation output unit 12 ' and output unit 14 ' are installed in different from arithmetic element 13 ' Base unit 16b.Network unit 18 is installed in base unit 16b, and simulation input unit is mounted with base unit 16b 11 ', simulation output unit 12 ' and output unit 14 '.Electric power by from power supply unit 15b supply to simulation input unit 11 ', Simulation output unit 12 ', output unit 14 ' and network unit 18.Network unit 17 and network unit 18 are connected by hub 19 Connect.Therefore, simulation input unit 11 ', simulation output unit 12 ' and output unit 14 ' can be via network unit 18, hubs 19 and network unit 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 network unit 18, hub 19 and network unit 17 carry out simulation input unit 11 ', simulation output unit 12 ' and Beyond communication between output unit 14 ' and arithmetic element 13 ', such as the flow chart explanation using Figure 10.
By carrying out simulation input unit 11 ', simulation output list via network unit 18, hub 19 and network unit 17 Member 12 ' and the communication between output unit 14 ' and arithmetic element 13 ', so that the freedom of the layout of programmable logic controller (PLC) 10 ' Degree becomes higher.
In the programmable logic controller system involved by embodiment 1, if due to utilizing digitaltoanalogconversion portion 121 pairs of digital values for being used for analog-to-digital conversion diagnosis converted then converted using analog-to-digital conversion portion 111 and Obtained digital value, then analog-to-digital conversion diagnostic process portion 131 inconsistent with the digital value that is diagnosed for analog-to-digital conversion It is diagnosed as analog-to-digital conversion function and there is exception, therefore the simulation input without diagnostic special circuit can be used Unit 11,11 ' and simulation output unit 12,12 ' carry out the diagnosis of analog-to-digital conversion processing.
Therefore, dedicated diagnostic circuit is not required in the programmable logic controller system involved by embodiment 1, by right Simulation input unit 11,11 ' and simulation output unit 12,12 ' be combined, using programming ladder diagram to diagnosis digital value into Row control, so as to be diagnosed.Thus, even simulation input unit 11,11 ' or simulation without separate diagnostic circuit Output unit 12,12 ', only installing firmware can be diagnosed.In addition, unit unit price and development cost can be suppressed.Also, Due to switching over the control of device using arithmetic element 13,13 ', simulation input unit 11,11 ' and simulation need not be made Output unit 12,12 ' has the control function of switching device.
Embodiment 2
Figure 12 is the figure for the structure for representing the programmable logic controller system involved by embodiments of the present invention 2.It is right In simulation input unit 11S, arithmetic element 13S, the output unit of the programmable logic controller (PLC) 10S involved by embodiment 2 14S, power supply unit 15S and base unit 16S, except with failure is detected by self diagnosis when failure occurs, will The function of forcibly disconnecting is inputted safely and is adapted to beyond safety requirements this point, the simulation input list with embodiment 1 Member 11, arithmetic element 13, output unit 14, power supply unit 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 unit 11S, arithmetic element 13S and the output unit 14S of embodiment 2 carry out by dual with Communication between other units, compares result of communication, so as to adapt to carry out the secure communication of the self diagnosis of failure. In secure communication, in the case that the result of the communication carried out inconsistent in dual, it is diagnosed as breaking down.
In addition, in embodiment 2, the program performed by arithmetic element 13S be adapt to safety requirements safety it is trapezoidal Figure program or safety function module.
On the flow of the processing of analog-to-digital conversion diagnosis, due to identical with embodiment 1, and the description is omitted.
Since the programmable logic controller system involved by embodiment 2 is mutual logical using secure communication progress unit Letter, therefore can prevent wrong by the communication between unit when exchange diagnosis digital value, analog converting value or digital conversion value Cause mistake occurs in the diagnostic result of analog-to-digital conversion diagnosis by mistake.
Embodiment 3
Figure 13 is the figure for the structure for 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, it controls program by performing, so as to be set to outside Standby 60 output control analog signals;And relay 50, whether it is to from programmable logic controller (PLC) 40 to external equipment 60 Output analog signal switches over.Programmable logic controller (PLC) 40 has:Simulation input unit 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 simulate by it by digitaltoanalogconversion Value;Arithmetic element 43, it performs control program;Output unit 44, it exports control signal to relay 50, the control signal To being that the analog signal that simulation output unit 42 is exported is exported to external equipment 60 or is exported to simulation input unit 41 Switch over;Power supply unit 45, it supplies power to each unit;And base unit 46, each unit is connected to each other by it.It is defeated Go out unit 44 and relay 50 forms switching device, it switches over following actions, i.e. is outside from simulation output unit 42 Portion's equipment 60 exports analog signal still will carry out digitaltoanalogconversion from simulation output unit 42 to the 3rd digital value described later Obtained from the analogue value exported to simulation input unit 41.
Figure 14 is the figure of the structure for the arithmetic element for representing the programmable logic controller (PLC) involved by embodiment 3.Computing Unit 43 has:Digitaltoanalogconversion diagnostic process portion 431, it diagnoses digital simulation mapping function;Diagnosis numeral It is worth acquisition unit 432, it obtains the 3rd digital value, the i.e. diagnosis number for being used for digitaltoanalogconversion diagnosis from simulation output unit 42 Word value;And relay control process portion 434, it makes the switching of the progress relay 50 of output unit 44.Relay control process Portion 434 forms the switch control portion being controlled to switching device.
The hardware configuration of the arithmetic element 43 of programmable logic controller (PLC) 40 involved by embodiment 3 and embodiment 1 It is identical.Digitaltoanalogconversion diagnostic process portion 431, diagnosis shown in Figure 14 are controlled with digital value acquisition unit 432 and relay Processing unit 434 is realized by the way that memory is used as working region by arithmetic unit, performs software.Alternatively, it is also possible to by Multiple arithmetic units and multiple memories are performed in unison with above-mentioned function.
Figure 15 is the figure of the structure for the simulation input unit for representing the programmable logic controller (PLC) involved by embodiment 3. Simulation input unit 41 has the analog-to-digital conversion portion 411 that the analogue value is transformed to digital value.
Figure 16 is the hardware configuration for the simulation input unit for representing the programmable logic controller (PLC) involved by embodiment 3 Figure.Simulation input unit 41 has:Arithmetic unit 412, it performs firmware;Memory 413, it uses workmanship by arithmetic unit 412 Make region;And storage device 414, it stores firmware.CPU can be applied as arithmetic unit 412.RAM conducts can be applied Memory 413.Nonvolatile semiconductor memory can be applied as storage device 414.Analog-to-digital conversion shown in Figure 15 Realized by the way that memory 413 is used as working region by arithmetic unit 412, performs firmware in portion 411.Alternatively, it is also possible to Above-mentioned function is performed in unison with by multiple arithmetic units and multiple memories.
Figure 17 is the figure of the structure for the simulation output unit for 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 is stored with digital value Portion 422, it stores the 3rd digital value, the i.e. diagnosis digital value for being used for digitaltoanalogconversion diagnosis;Abnormal show portion 423 is diagnosed, It shows in the case of being exception in the diagnostic result of digitaltoanalogconversion function to abnormal;And diagnosis is given birth to digital value Into portion 428, its output area based on simulation output unit 42 and generate diagnosis digital value.So-called output area herein, Refer to the value that can be taken from the analog signal that simulation output unit 42 exports.In addition it is also possible to using with simulation output unit 42 different devices generate diagnosis digital value, and are stored in diagnosis digital value storage part 422.If using with simulate it is defeated 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 for the simulation output unit for representing the programmable logic controller (PLC) involved by embodiment 3 Figure.Simulation output unit 42 has:Arithmetic unit 424, it performs firmware;Memory 425, it uses workmanship by arithmetic unit 424 Make region;Storage device 426, it stores firmware;And display device 427, it shows information.CPU can be applied to make For arithmetic unit 424.RAM can be applied as memory 425.Nonvolatile semiconductor memory can be applied to be filled as storage Put 426.LED light can be applied as display device 427.Digitaltoanalogconversion portion 421 and diagnosis digital value shown in Figure 17 Generating unit 428 is realized by the way that memory 425 is used as working region by arithmetic unit 424, performs firmware.In addition, Above-mentioned function can be performed in unison with by multiple arithmetic units and multiple memories.In addition, the diagnosis abnormal show portion shown in Figure 17 423 be by the way that the pattern of lighting of display device 427 is controlled and is realized by arithmetic unit 424.
In the structure and embodiment 1 of the output unit 44 of programmable logic controller (PLC) 40 involved by embodiment 3 Output unit 14 is identical.
Figure 19 is the stream for the digitaltoanalogconversion diagnostic process for representing the programmable logic controller (PLC) involved by embodiment 3 The flow chart of journey.In step S301, relay control process portion 434 sends instructions to output unit 44 and makes the output list Member 44 exports control signal to relay 50, the output of simulation output unit 42 is inputted to simulation input unit 41.
In step s 302, diagnosis obtains diagnosis from simulation output unit 42 with digital value acquisition unit 432 and is deposited with digital value The diagnosis digital value that storage portion 422 is stored.
In step s 302 from diagnosis with 432 acquisition request diagnosis digital value of digital value acquisition unit when, simulation output list Diagnosis is transformed to the analogue value with digital value using digitaltoanalogconversion portion 421 and is exported to simulation input unit 41 by member 42.Mould Intend input unit 41 and the analogue value inputted is transformed to digital value using analog-to-digital conversion portion 411.That is, in step S302 In, by further after digitaltoanalogconversion is carried out with digital value to the 3rd digital value, i.e. diagnosis using simulation output unit 42 Analog-to-digital conversion is carried out using simulation input unit 41, so as to generate the 4th digital value.
In step S303, digitaltoanalogconversion diagnostic process portion 431 is obtained by simulation numeral from simulation input unit 41 Digital value, i.e. the 4th digital value that transformation component 411 is converted.
In step s 304, digitaltoanalogconversion diagnostic process portion 431 in step S303 from simulation input unit 41 The 4th digital value that gets and in step s 302 from the diagnosis that simulation output unit 42 the is got numeral of digital value the i.e. the 3rd Value is compared.If the two is consistent, step S304 is Yes, end number analog converting diagnostic process.
On the other hand, if the digital value that is got in step S303 from simulation input unit 41 and in step S302 In the diagnosis digital value that gets from simulation output unit 42 it is inconsistent, then step S304 is No, digitaltoanalogconversion diagnosis Processing unit 431 notifies diagnosis exception to simulation output unit 42 in step S305.If it is abnormal to be informed about diagnosis, examine Disconnected abnormal show portion 423 to diagnosis exception show in display device 427.Handled by using digitaltoanalogconversion Diagnosis it is exclusive light pattern or light that color is abnormal to diagnosis to be shown, even so that by simulation output unit 42 display device 427 is abnormal to diagnosis notify, it is defeated that user also can recognize that reason is likely to be present in simulation Enter 41 side of unit.
In the programmable logic controller system involved by embodiment 3, if due to utilizing digitaltoanalogconversion portion 421 pairs of digital values for being used for digitaltoanalogconversion diagnosis converted then converted using analog-to-digital conversion portion 411 and Obtained digital value, then digitaltoanalogconversion diagnostic process portion 431 inconsistent with the digital value that is diagnosed for digitaltoanalogconversion It is diagnosed as digitaltoanalogconversion function and there is exception, therefore the simulation input without diagnostic special circuit can be used Unit and simulation output unit carry out the diagnosis of digitaltoanalogconversion processing.Also, due to being switched over using arithmetic element 43 The control of device, therefore need not make simulation input unit 41 and simulation output unit 42 that there is the control function of switching device.
Embodiment 4
Figure 20 is the figure for the structure for representing the programmable logic controller system involved by embodiments of the present invention 4.It is right In simulation output unit 42S, arithmetic element 43S, the output unit of the programmable logic controller (PLC) 40S involved by embodiment 4 44S, power supply unit 45S and base unit 46S, except with failure is detected by self diagnosis when failure occurs, will Function that Safety output forcibly disconnects and adapt to beyond safety requirements this point, the simulation output list with embodiment 3 Member 42, arithmetic element 43, output unit 44, power supply unit 45 and base unit 46 are identical.Simulation input unit 41S and embodiment party The simulation input unit 41 of formula 3 is identical.
Simulation output unit 42S, arithmetic element 43S and the output unit 44S of embodiment 4 carry out by dual with Communication between other units, compares result of communication, so as to adapt to carry out the secure communication of the self diagnosis of failure. In secure communication, in the case that the result of the communication carried out inconsistent in dual, it is diagnosed as breaking down.
In addition, in embodiment 4, the program performed by arithmetic element 43S be adapt to safety requirements safety it is trapezoidal Figure program or safety function module.
On the flow of the processing of digitaltoanalogconversion diagnosis, due to identical with embodiment 3, and the description is omitted.
Since the programmable logic controller system involved by embodiment 4 is mutual logical using secure communication progress unit Letter, therefore can prevent wrong by the communication between unit when exchange diagnosis digital value, analog converting value or digital conversion value Cause mistake occurs in the diagnostic result of digitaltoanalogconversion diagnosis by mistake.
One example of the representation present disclosure shown in embodiment above, additionally it is possible to known in others Technology is combined, in the scope for the purport for not departing from the present invention, additionally it is possible to the part of structure is omitted, is changed.
The explanation of label
10th, 10 ', 10S, 40,40S programmable logic controller (PLC)s, 11,11 ', 11S, 41,41S simulation input units, 12, 12 ', 12S, 42,42S simulation output units, 13,13 ', 13S, 43,43S arithmetic elements, 14,14 ', 14S, 44,44S outputs it is single Member, 15,15a, 15b, 15S, 45,45S power supply units, 16,16a, 16b, 16S, 46,46S base units, 17,18 network unit, 19 hubs, 20,50 relays, 30,60 external equipments, 100,100 ', 100S, 101,101S programmable logic controller (PLC)s system System, 111,411 analog-to-digital conversion portions, 112,422 diagnosis digital value storage parts, 113,423 diagnosis abnormal show portions, 114, 122nd, 135,142,412,424 arithmetic unit, 115,123,136,143,413,425 memories, 116,124,137,144, 414th, digital value generating unit, 121,421 digitaltoanalogconversions are used in 426 storage device, 117,427 display devices, 118,428 diagnosis Digital value acquisition unit is used in portion, 131 analog-to-digital conversion diagnostic process portions, 132,432 diagnosis, and 133 diagnosis are with digital value setting Reason portion, 134,434 relay control process portions, 141 control signal output sections, 431 digitaltoanalogconversion diagnostic process portions.

Claims (6)

  1. A kind of 1. programmable logic controller system, it is characterised in that
    With programmable logic controller (PLC) and switching device,
    The programmable logic controller (PLC) has:
    Simulation output unit, it carries out digitaltoanalogconversion;
    Simulation input unit, it has the diagnosis digital value storage part stored to the 1st digital value, the simulation input unit Carry out analog-to-digital conversion;And
    Arithmetic element,
    The arithmetic element has:Digital value acquisition unit is used in diagnosis, it obtains the 1st digital value from the simulation input unit; Digital value setting processing portion is used in diagnosis, and the 1st digital value got from the simulation input unit 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 the mould Intend further simulating using the simulation input unit after output unit carries out digitaltoanalogconversion to the 1st digital value 2nd digital value obtained from digital conversion and the 1st digital value are inconsistent, then the analog-to-digital conversion diagnostic process portion diagnoses There is exception for analog-to-digital conversion function,
    The switching device switches over following actions, i.e. is to be inputted from external equipment by analog signal to the simulation input Unit still will be defeated to the analogue value obtained from the 1st digital value progress digitaltoanalogconversion from the simulation output unit Enter to the simulation input unit.
  2. A kind of 2. programmable logic controller system, it is characterised in that
    With programmable logic controller (PLC) and switching device,
    The programmable logic controller (PLC) has:
    Simulation input unit, it carries out analog-to-digital conversion;
    Simulation output unit, it has the diagnosis digital value storage part stored to the 3rd digital value, the simulation output unit Carry out digitaltoanalogconversion;And
    Arithmetic element,
    The arithmetic element has:Digital value acquisition unit is used in diagnosis, it obtains the 3rd digital value from the simulation output unit; And digitaltoanalogconversion diagnostic process portion, if carrying out numeral to the 3rd digital value using the simulation output unit 4th digital value obtained from further carrying out analog-to-digital conversion using the simulation input unit after analog converting and described the 3 digital values are inconsistent, then the digitaltoanalogconversion diagnostic process portion is diagnosed as digitaltoanalogconversion function presence exception,
    The switching device switches over following actions, i.e. is to external equipment from the simulation output unit by analog signal Output or from the simulation output unit will to the 3rd digital value carry out digitaltoanalogconversion obtained from the analogue value to The simulation input unit output.
  3. 3. programmable logic controller system according to claim 1 or 2, it is characterised in that
    The arithmetic element possesses the arithmetic element with the switch control portion being controlled to the switching device.
  4. 4. programmable logic controller system according to claim 1 or 2, it is characterised in that
    Carry out between other units the arithmetic element, the simulation input unit and the simulation output unit dual Communication, in the case that the result of the communication carried out is inconsistent, be diagnosed as breaking down in dual, programmable patrolled described The input for collecting controller disconnects.
  5. 5. a kind of arithmetic element, it is with carrying out the simulation input unit of analog-to-digital conversion and carrying out the mould of digitaltoanalogconversion Intend output unit combination, form the programmable logic controller (PLC) handled the analog signal inputted from external equipment,
    The arithmetic element is characterized in that having:
    Digital value acquisition unit is used in diagnosis, it obtains the 1st digital value from the simulation input unit;
    Digital value setting processing portion is used in diagnosis, it sets the 1st digital value to the simulation output unit;And
    Analog-to-digital conversion diagnostic process portion, if carrying out numeral to the 1st digital value using the simulation output unit 2nd digital value obtained from further carrying out analog-to-digital conversion using the simulation input unit after analog converting and described the 1 digital value is inconsistent, then the analog-to-digital conversion diagnostic process portion is diagnosed as analog-to-digital conversion function in the presence of abnormal.
  6. 6. a kind of arithmetic element, it is with carrying out the simulation input unit of analog-to-digital conversion and carrying out the mould of digitaltoanalogconversion Intend output unit combination, form the programmable logic controller (PLC) for exporting control analog signal to external equipment,
    The arithmetic element is characterized in that having:
    Digital value acquisition unit is used in diagnosis, it obtains the 3rd digital value from the simulation output unit;And
    Digitaltoanalogconversion diagnostic process portion, if carrying out numeral to the 3rd digital value using the simulation output unit 4th digital value obtained from further carrying out analog-to-digital conversion using the simulation input unit after analog converting and described the 3 digital values are inconsistent, then the digitaltoanalogconversion diagnostic process portion is diagnosed as digitaltoanalogconversion function in the presence of abnormal.
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 CN106258005A (en) 2016-12-28
CN106258005B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3588216B1 (en) * 2018-06-28 2020-11-25 Siemens Aktiengesellschaft Method and system for error-protected provision of an analog output value
CN113424115A (en) * 2019-02-14 2021-09-21 三菱电机株式会社 Control system, programmable logic controller, method, and program
WO2021005662A1 (en) * 2019-07-05 2021-01-14 三菱電機株式会社 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
JP5327395B2 (en) * 2010-09-28 2013-10-30 三菱電機株式会社 D / A converter, peripheral device, and PLC
DE112011104749T5 (en) * 2011-01-21 2013-11-07 Mitsubishi Electric Corporation 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
WO2014064846A1 (en) * 2012-10-26 2014-05-01 三菱電機株式会社 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

Also Published As

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

Similar Documents

Publication Publication Date Title
CN106258005B (en) Programmable logic controller system and arithmetic element
US20090030534A1 (en) Method for the programming of a safety controller
US9300144B2 (en) Integrated drive motor power interface
CN105359110A (en) Method for error monitoring, control and data transmission installation and control device
ES2434874T3 (en) Security control and procedure for the control of an automatic installation with a plurality of hardware components of the installation
JP5881600B2 (en) Method for the production of electronic signal boxes to replace existing signal boxes
CN101326472B (en) On-site electric apparatus and method for establishing data connection between data interface and data memory of the locale electric apparatus
US9141103B2 (en) Method and controller for controlling a safety-oriented industrial automation component
CN108724223A (en) Robot controller
CN202512789U (en) Practice training device of relay protection device
CN108367888A (en) Transport equipment for persons, maintaining method and safeguard controller
CN104765316A (en) Technology of adopting intelligent terminals as human-computer interface of industrial equipment control
TWI488014B (en) Control device
US8777432B2 (en) Display device having an optical display field
US20090222611A1 (en) Digital input/output unit, controller, engineering system, programmer and display unit, especially for automation and plant engineering
US10606239B2 (en) Shaping plant and safety program
WO2014155697A1 (en) Plc system
ITTV20090117A1 (en) PROGRAMMABLE EDGE DIAGNOSTIC MODULE, COUPLED WITH A VEHICLE DIAGNOSTIC GRIP
US8026823B2 (en) Support for service activities at a programmable logic controller (PLC)
KR101733817B1 (en) Plc system for choosing between input or output contact
CN113545013B (en) Network management device, management method, and recording medium
CN106716307A (en) Device for control/command of a plurality of man-machine dialogue facilities
JP2017223465A (en) Human-machine interface instrument
TWI497047B (en) Vehicle spare parts testing and verification equipment
WO2017208421A1 (en) Electronic interlocking 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