WO2014064846A1 - アナログ変換装置およびプログラマブルコントローラシステム - Google Patents

アナログ変換装置およびプログラマブルコントローラシステム Download PDF

Info

Publication number
WO2014064846A1
WO2014064846A1 PCT/JP2012/077786 JP2012077786W WO2014064846A1 WO 2014064846 A1 WO2014064846 A1 WO 2014064846A1 JP 2012077786 W JP2012077786 W JP 2012077786W WO 2014064846 A1 WO2014064846 A1 WO 2014064846A1
Authority
WO
WIPO (PCT)
Prior art keywords
logging
read
storage area
unit
logging data
Prior art date
Application number
PCT/JP2012/077786
Other languages
English (en)
French (fr)
Inventor
伸一郎 落合
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2013513319A priority Critical patent/JP5301060B1/ja
Priority to PCT/JP2012/077786 priority patent/WO2014064846A1/ja
Priority to CN201280076643.3A priority patent/CN104756024B/zh
Priority to KR1020177008680A priority patent/KR101757614B1/ko
Priority to KR1020157008887A priority patent/KR20150054904A/ko
Priority to DE112012006775.4T priority patent/DE112012006775B4/de
Priority to US14/425,106 priority patent/US9369145B2/en
Priority to TW102114783A priority patent/TWI493301B/zh
Publication of WO2014064846A1 publication Critical patent/WO2014064846A1/ja

Links

Images

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
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D9/00Recording measured values
    • G01D9/005Solid-state data loggers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0653Monitoring storage devices or systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters

Definitions

  • the present invention relates to an analog conversion device and a PLC system mounted on a programmable controller (hereinafter referred to as PLC).
  • PLC programmable controller
  • an A / D conversion unit (A / D conversion device) that converts the analog data value into a digital value is used.
  • a / D conversion sampling cycle of the A / D conversion unit that converts the input analog data value into a digital value, and the control cycle (scan time) of the CPU (Central Processing Unit) unit that controls the entire PLC system ) Is asynchronous and the sampling period is often faster. For this reason, when logging A / D conversion values, it is difficult to perform logging without losing all A / D conversion values in the CPU unit.
  • Patent Document 1 a technique for storing an A / D conversion value in a shared memory that is an area that is always accessible from the CPU unit without requiring a dedicated process has been proposed (for example, see Patent Document 1). Further, a technique for collecting data in a ring buffer format has been proposed as a continuous data collection method (see, for example, Patent Document 2). Furthermore, a technique for collecting data in a common memory in a ring buffer format has been proposed (see, for example, Patent Document 3).
  • a technique for collecting and referring to continuous data a technique for handling the collected data in time series, and a technique for logging A / D conversion values updated at a faster A / D conversion period (sampling period) are proposed.
  • the CPU unit monitors the specific shared memory for the logging data stored in the ring buffer configuration in the finite internal memory of the A / D conversion unit, and before the logging data is overwritten, the CPU unit The logging data can be continuously acquired by extracting the logging data to the internal register.
  • Patent Document 1 the previous data is overwritten every time data is stored, and it is difficult to collect and refer to continuous data.
  • the latest and oldest data cannot be identified in the memory area of the ring buffer structure, and it is difficult to handle the collected data in time series.
  • the technique described in Patent Document 3 is for realizing logging synchronized with the control cycle of the CPU unit, and an A / D conversion value updated at a higher A / D conversion sampling cycle. Logging was difficult.
  • the present invention has been made in view of the above, and an analog conversion device and a programmable controller capable of acquiring continuous logging data in a faster logging cycle (A / D conversion cycle) without loss of time.
  • the purpose is to obtain a system.
  • an analog conversion device is attached to a programmable controller and converts an analog value input from the outside into a digital value sequentially.
  • a / D conversion means for converting to a value
  • an A / D conversion value storage area for storing the converted digital value
  • a log storage area for logging the digital value stored in the A / D conversion value storage area
  • a first storage means that can be read and accessed from a CPU unit that controls the entire programmable controller, and the log storage area using the digital value stored in the A / D conversion value storage area as logging data.
  • Logging execution means to store in the log storage area after the last interrupt request
  • a fixed-point logging detection means for monitoring whether or not the number of logging data reaches a predetermined number, and when the number of logging data reaches the predetermined number, an interrupt generation request is issued to the CPU unit.
  • Interrupt generating means for performing the processing.
  • the fixed point logging detection means monitors the number of logging data stored in the first storage means, and the interrupt generation means interrupts the CPU unit when the number of logging data reaches a predetermined number. Since the generation request is made, it is possible to eliminate time loss and obtain continuous logging data in a faster logging cycle (A / D conversion cycle).
  • FIG. 1 is a block diagram schematically showing a configuration of a PLC system including an A / D converter (analog unit).
  • FIG. 2 is a diagram illustrating an example of a read-only parameter.
  • FIG. 3 is a flowchart showing an example of a procedure of interrupt generation request generation processing by the A / D conversion unit.
  • FIG. 4 is a diagram illustrating an example of the read-only parameter.
  • FIG. 5 is a flowchart illustrating an example of a procedure of cyclic processing when an interrupt is generated by the CPU unit.
  • FIG. 6 is a flowchart illustrating an example of a procedure of cyclic processing when an interrupt is generated by the CPU unit.
  • FIG. 7 is a diagram schematically showing the processing order when interrupt processing occurs.
  • FIG. 1 is a block diagram schematically showing a configuration of a PLC system including an A / D converter (analog unit).
  • the A / D conversion unit 100 is connected to the CPU unit 200 via an inter-unit bus 300, and the A / D conversion unit 100 and the CPU unit 200 constitute a part of a PLC (programmable controller) 1000.
  • the PLC 1000 includes a motion controller unit that performs multi-axis position control by controlling a servo amplifier or the like according to the purpose, and a temperature commanded from the CPU unit 200.
  • a temperature controller unit or the like that outputs a temperature control signal for heating and cooling so as to reach the temperature is mounted via the inter-unit bus 300.
  • units other than the A / D conversion unit 100 and the CPU unit 200 are mounted. Is not mentioned.
  • the A / D conversion unit 100 includes an analog data input interface (I / F) 110 that receives an input of an analog data value, and an A / D conversion unit that converts the received analog data value into a digital value (A / D conversion value). 120, an arithmetic unit 130 that controls the entire A / D conversion unit 100, and a shared memory that stores A / D converted digital values as logging data and shares data values with the CPU unit 200 140 and a bus I / F 160 which is a communication interface for communicating with the CPU unit 200 via the inter-unit bus 300.
  • the arithmetic unit 130, shared memory 140, and bus I / F 160 are connected by an internal bus.
  • an A / D conversion value storage area 141 which is an area for recording an A / D conversion value read by cyclic processing by the CPU unit 200, is secured.
  • the interval at which analog data values are sampled and converted into digital values is usually faster than the cycle of cyclic processing. It is difficult to read and log the written A / D conversion value without missing it.
  • the above-mentioned A / D conversion value is stored in the shared memory 140 in which the A / D conversion unit 100 can write data at high speed and can be read and accessed without the CPU unit 200 performing complicated communication processing.
  • a log storage area 142 which is a recording area for recording the A / D conversion value as the logging data 700, is secured.
  • the logging data 700 recorded in the log storage area 142 is read to the peripheral device 400 via the inter-unit bus 300 and the CPU unit 200.
  • the log storage area 142 has a ring buffer configuration. That is, in the log storage area 142, the logging data 700 is written in chronological order from the top address. When the write address of the logging data 700 reaches the end, the wraparound is performed and the logging data 700 is overwritten from the top address again.
  • FIG. 2 is a diagram illustrating an example of a read-only parameter.
  • the read-only parameters are the number of logging reading points that are the number of reading of the logging data 700, the current logging reading pointer that is the address from which the logging data 700 is read, and the previous logging that is the reading start position of the logging data 700 at the previous interrupt.
  • a read pointer With this read-only parameter, the interrupt ladder program executed by the CPU unit 200 can be simplified and the execution speed can be increased.
  • the calculation unit 130 includes a logging execution unit 131, a fixed point logging detection unit 132, and an interrupt generation unit 133.
  • the logging execution unit 131 sequentially writes the A / D converted digital value output from the A / D conversion unit 120 into the log storage area 142 of the ring buffer configuration of the shared memory 140 as logging data.
  • the fixed point logging detection unit 132 monitors whether or not the logging data 700 has been stored in the log storage area 142 with the number of logging reading points set by the read-only parameter since the previous interrupt processing was performed. When it is detected that the logging data 700 corresponding to the number of logging read points is stored in the log storage area 142, the start position of the logging data 700 read by the CPU unit 200 this time is acquired as the current logging read pointer of the read-only parameter. As the logging read pointer, the value stored in the current logging read pointer of the read-only parameter (before rewriting) at the present time is acquired. Then, the fixed point logging detection unit 132 writes the acquired current logging read pointer and the previous logging read pointer in the read-only parameter storage area 143.
  • the interrupt generation unit 133 causes the CPU unit 200 to generate an interrupt when the predetermined point logging detection unit 132 detects the storage of a predetermined number of logging data 700. Specifically, when the read-only parameter is stored (written) in the read-only parameter storage area 143 of the shared memory 140 by the fixed point logging detection unit 132, an interrupt generation request is transmitted to the CPU unit 200.
  • the A / D conversion unit 100 performs a process of monitoring whether a predetermined number of logging data 700 has been stored in the log storage area 142 after the previous reading of the logging data. I am doing so.
  • the CPU unit 200 includes an arithmetic unit 210 that executes a user program and controls the CPU unit 200 as a whole, and an internal memory that stores data necessary for executing the user program and input / output values of the user program 220, the bus I / F 230, which is a communication interface for communicating with the A / D conversion unit 100 via the inter-unit bus 300, and the presence / absence of an interrupt from the A / D conversion unit 100 are monitored.
  • a system including PLC 1000 and peripheral device 400 connected to PLC 1000 is referred to as a PLC system.
  • a main ladder program that is a main program executed by the arithmetic unit 210
  • a user program storage area 221 that stores a user program such as an interrupt ladder program that is executed when an interrupt occurs
  • an A / D by an interrupt ladder program A logging data storage area 222 for storing the logging data 700 acquired from the D conversion unit 100 is provided.
  • the CPU unit 200 executes various user units included in the PLC 1000 to execute a user program that is a program for controlling industrial equipment, outputs an execution result, and acquires input values such as values used by the user program. Are repeated in a predetermined cycle. This repeated operation is called cyclic processing.
  • the CPU unit 200 reads the digital value (A / D conversion value) of the observed value from the shared memory 140 as part of the input value acquisition operation included in the cyclic processing.
  • the A / D conversion unit 100 observes various observation values relating to industrial equipment to be controlled by the PLC 1000, for example, analog data from a sensor that outputs a current value or a voltage value by observing a flow rate, pressure, temperature, etc.
  • a value input is received, the received analog data value input is converted into a digital value, and the digital value (A / D conversion value) is written in the shared memory 140 provided therein.
  • the logging execution unit 131 of the A / D conversion unit 100 starts logging of the A / D conversion value.
  • the logging execution unit 131 stores the A / D conversion value output from the A / D conversion unit 120 at the start address of the log storage area 142 for each logging cycle.
  • the logging data is sequentially stored and reaches the last address of the log storage area 142, the logging data 700 is overwritten from the top address again after wrapping around as described above.
  • Such a logging process is well-known, and thus detailed description thereof is omitted.
  • FIG. 3 is a flowchart showing an example of a procedure of interrupt generation request generation processing by the A / D conversion unit.
  • the fixed point logging detector 132 of the arithmetic unit 130 of the A / D conversion unit 100 monitors the log storage area 142 of the shared memory 140 (step S11), and a predetermined number of logging data 700 is stored in the log storage area 142. It is determined whether it has been stored (step S12). Specifically, it is monitored whether the number of logging data 700 specified by the number of logging read points of the read-only parameter has been stored since the previous interrupt occurred. The number of logging data 700 that have been stored since the previous interrupt has been generated is, for example, the logging data 700 that is stored with the position that is the number of logging reading points away from the position specified by the current logging read pointer of the read-only parameter. Measure the number of
  • step S12 If the predetermined number of logging data 700 is not stored in the log storage area 142 (No in step S12), the process returns to step S11.
  • the fixed-point logging detection unit 132 currently reads the read-only parameter storage area 143 of the shared memory 140.
  • the new logging read pointer stored in is used as a new previous logging read pointer, and the above read start position is used as a new current logging read pointer, a new read-only parameter is generated and stored in the read-only parameter storage area 143. (Write) (Step S13).
  • the interrupt generation unit 133 transmits an interrupt generation request to the CPU unit 200 (step S14), and the process returns to step S11.
  • the interrupt generation request is transmitted to the interrupt program execution instruction unit 240 via the internal bus of the A / D conversion unit 100, the bus I / F 160, the inter-unit bus 300, the bus I / F 230 of the CPU unit 200, and the internal bus. .
  • each logging data 700 is stored in an area of a predetermined size, and identifiers (for example, addresses) of 1 to 10,000 are allocated in order from the area where the logging data 700 is stored first. It shall be assumed.
  • FIG. 4 is a diagram showing an example of a read-only parameter.
  • FIG. 4A shows an example of a read-only parameter in an initial state where the logging data 700 is not yet stored in the log storage area 142.
  • 1,000 is set as the number of logging read points
  • “1” indicating the storage location of the first logging data is set as the current logging read pointer
  • an invalid numerical value here In this case, “ ⁇ 1” is set.
  • FIG. 4B shows an example of a read-only parameter in a state where 1,000 points of logging data 700 are stored. For example, the state immediately after the processing in step S13 described above is shown.
  • the current logging read pointer in FIG. 4A is set to the previous logging read pointer in FIG. 4B.
  • 1,001 which is a value obtained by adding the number of logging reading points to the previous logging reading pointer, is set as the current logging reading pointer.
  • FIG. 5 and 6 are flowcharts showing an example of a procedure of cyclic processing when an interrupt is generated by the CPU unit.
  • FIG. 7 is a diagram schematically showing the processing sequence when interrupt processing occurs.
  • the arithmetic part 210 of the CPU unit 200 executes cyclic processing (step S31).
  • the interrupt program execution instruction unit 240 monitors whether an interrupt generation request has been received from the A / D conversion unit 100. If no interrupt generation request is received, the cyclic processing is repeatedly executed. When receiving an interrupt generation request, the interrupt program execution instructing unit 240 instructs the arithmetic unit 210 to execute the interrupt ladder program. When receiving the instruction to execute the interrupt ladder program, the arithmetic unit 210 interrupts the cyclic processing being executed (step S32) and executes the interrupt ladder program (step S33).
  • FIG. 6 shows a part of the processing of the interrupt ladder program.
  • the arithmetic unit 210 reads a read-only parameter from the read-only parameter storage area 143 of the shared memory 140 of the A / D conversion unit 100 (step S51).
  • step S52 it is determined whether or not the logging data 700 has been missed using the read-only parameter.
  • the activation timing interval is short and an interrupt ladder program activation request may not be accepted, and the logging data 700 may be missed. Therefore, in this example, it is determined whether or not the logging data 700 has been missed.
  • the read position of the previous logging data 700 held on the CPU unit 200 side is compared with the previous logging read pointer in the read-only parameter read in step S52, and the two match. Determine. If the two match, the interrupt ladder program is activated when an interrupt generation request is received, and processing for reading the logging data 700 from the A / D conversion unit 100 has been performed. Indicates that there are no 700 missed items. On the other hand, if the two do not match, when the interrupt generation request is received, the interrupt ladder program is not started for some reason, and the logging data 700 could not be read from the A / D conversion unit 100. This indicates that the logging data 700 has been missed.
  • the arithmetic unit 210 If the logging data 700 is missed (Yes in step S53), the arithmetic unit 210 outputs a warning that there is some abnormality in the PLC 1000 (PLC system) (step S54), and the process ends. .
  • This warning is output to the external device 500 such as a display device via the external device I / F 260, for example.
  • the number of logging data 700 specified by the number of logging read points from the position specified by the current logging read pointer in the read-only parameter is A.
  • Read from the log storage area 142 of the shared memory 140 of the / D conversion unit 100 step S55.
  • the read logging data 700 is written (stored) in the logging data storage area 222 of the internal memory 220 of the CPU unit 200 (step S56).
  • the interrupt ladder program process is thus completed, and the process returns to FIG.
  • the arithmetic unit 210 resumes the interrupted cyclic processing (step S34). As shown in FIG. 7, when the interrupt occurs during the cyclic processing, the cyclic processing is interrupted and the interrupt ladder program is executed. When the processing of the interrupt ladder program ends, the cyclic processing is executed again from the point where it was interrupted.
  • the previous logging read pointer is provided in the read-only parameter so that the logging data 700 can be monitored. However, when the logging data 700 is not monitored, the previous logging read pointer is set. Can be omitted.
  • the logging data 700 accumulated in the internal memory 220 of the CPU unit 200 can be stored in a recording medium such as an external memory via the external device I / F 260.
  • the CPU unit 200 stores the logging data 700 stored in the log storage area 142 by a user program (a program for storing the logging data 700 of the A / D conversion unit 100 in the internal memory 220 of the CPU unit 200).
  • the logging data 700 was read into the internal memory 220 before being overwritten by monitoring the log storage area 142.
  • a fixed-point logging detection unit 132 that monitors on the A / D conversion unit 100 side whether or not a predetermined number of logging data 700 stored in the log storage area 142 of the ring buffer configuration is stored.
  • the A / D conversion unit 100 is provided with an interrupt generation unit 133 that transmits an interrupt generation request to the CPU unit 200 when a predetermined number of logging data 700 is stored.
  • the CPU unit 200 is provided with an interrupt program execution instructing unit 240 that outputs an interrupt request for executing the interrupt ladder program in response to the interrupt generation request to the arithmetic unit 210. This eliminates the need for periodic monitoring processing from the CPU unit 200 to the A / D conversion unit 100 and has the effect of shortening the sequence scan time.
  • the interrupt ladder program created by the user is simplified by using read-only parameters including the reading start position of the logging data 700 and the number to be read.
  • the sequence scan time can be shortened.
  • continuous logging data can be obtained at a faster logging cycle (A / D conversion cycle) than before. Has the effect of being able to.
  • the A / D conversion device and the PLC system according to the present invention are suitable for application to the A / D conversion device and the PLC system mounted on the PLC.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)
  • Debugging And Monitoring (AREA)
  • Recording Measured Values (AREA)

Abstract

 外部から入力されるアナログ値をデジタル値に変換するA/D変換部120と、変換されたデジタル値を格納するA/D変換値格納領域141と、A/D変換値格納領域141に格納されたデジタル値をロギングするログ格納領域142と、を有し、プログラマブルコントローラ全体を制御するCPUユニット200から読出アクセス可能な共有メモリ140と、A/D変換値格納領域141に格納されているデジタル値をロギングデータ700としてログ格納領域142に格納するロギング実行部131と、前回割込み発生要求を行ってから、ログ格納領域142に格納されるロギングデータ700の数が所定の数に達したかを監視する一定点数ロギング検出部132と、ロギングデータ700の数が所定の数に達した場合に、CPUユニット200に対して割込み発生要求を行う割込み発生部133と、を備える。

Description

アナログ変換装置およびプログラマブルコントローラシステム
 この発明は、プログラマブルコントローラ(以下、PLCという)に装着されるアナログ変換装置およびPLCシステムに関するものである。
 PLCにアナログデータ値を入力する場合、アナログデータ値をデジタル値に変換するA/D変換ユニット(A/D変換装置)が用いられる。一般的に、入力されるアナログデータ値をデジタル値に変換するA/D変換ユニットのA/D変換のサンプリング周期と、PLCシステム全体を制御するCPU(Central Processing Unit)ユニットの制御周期(スキャンタイム)とは非同期であり、かつサンプリング周期の方が高速な場合が多い。このため、A/D変換値のロギングを行う場合、CPUユニットにて全てのA/D変換値を取りこぼすことなくロギングを行うことは困難である。
 全てのA/D変換値を取りこぼすことなくロギングを行う方法として、A/D変換ユニット内でロギング処理を行う方法があるが、収集したデータを参照するためには、ロギング完了後にCPUユニットに該当データを読出す必要がある。従来、この読出し処理において専用の通信処理を複数回実施する必要があり、手間がかかるという問題があった。
 この問題に関し、専用の処理を必要とせず、CPUユニットから常時アクセス可能なエリアである共有メモリにA/D変換値を格納する技術が提案されている(たとえば、特許文献1参照)。また、連続したデータの収集方法としてリングバッファ形式にて収集を行う技術が提案されている(たとえば、特許文献2参照)。さらに、共通メモリにリングバッファ形式にて収集を行う技術が提案されている(たとえば、特許文献3参照)。
 さらにまた、連続したデータを収集および参照する技術、収集したデータを時系列に扱う技術、より高速なA/D変換周期(サンプリング周期)で更新されるA/D変換値をロギングする技術が提案されている(たとえば、特許文献4参照)。具体的には、A/D変換ユニットの有限な内部メモリにリングバッファ構成にて格納されるロギングデータをCPUユニットが特定の共有メモリを監視して、ロギングデータが上書きされる前に、CPUユニットの内部レジスタにロギングデータを抜き出すことで、連続的なロギングデータの取得を可能としている。
特開平8-69355号公報 特開2008-20392号公報 特開2007-233593号公報 国際公開第2010/109584号
 しかしながら、特許文献1に記載の技術では、データ格納のたびに前データが上書きされてしまい、連続したデータの収集、および参照が困難であった。また、特許文献2に記載の技術では、リングバッファ構造のメモリエリアにおいて、最新・最旧データを識別することができず、収集したデータを時系列に扱うことが困難であった。さらに、特許文献3に記載の技術は、CPUユニットの制御周期に同期したロギングを実現するためのものであり、より高速なA/D変換のサンプリング周期で更新される、A/D変換値をロギングすることは困難であった。
 また、特許文献4記載の技術では、ロギング処理はA/D変換ユニットが行い、ロギングデータの監視と読出し制御をCPUユニットが実施しているため、時間的なロスが発生し、より高速なロギング周期(A/D変換周期)において、連続的なロギングデータを取得することが困難であった。
 この発明は上記に鑑みてなされたもので、時間的なロスをなくし、より高速なロギング周期(A/D変換周期)において、連続的なロギングデータを取得することができるアナログ変換装置およびプログラマブルコントローラシステムを得ることを目的とする。
 上記目的を達成するため、この発明にかかるアナログ変換装置は、プログラマブルコントローラに装着され、外部から入力されるアナログ値を逐次デジタル値に変換するアナログ変換装置において、外部から入力されるアナログ値をデジタル値に変換するA/D変換手段と、変換された前記デジタル値を格納するA/D変換値格納領域と、前記A/D変換値格納領域に格納された前記デジタル値をロギングするログ格納領域と、を有し、前記プログラマブルコントローラ全体を制御するCPUユニットから読出アクセス可能な第1記憶手段と、前記A/D変換値格納領域に格納されている前記デジタル値をロギングデータとして前記ログ格納領域に格納するロギング実行手段と、前回割込み発生要求を行ってから、前記ログ格納領域に格納される前記ロギングデータの数が所定の数に達したかを監視する一定点数ロギング検出手段と、前記ロギングデータの数が前記所定の数に達した場合に、前記CPUユニットに対して割込み発生要求を行う割込み発生手段と、を備えることを特徴とする。
 この発明によれば、一定点数ロギング検出手段が、第1記憶手段に格納されるロギングデータの数を監視し、ロギングデータの数が所定の数に達すると割込み発生手段がCPUユニットに対して割込み発生要求を行うようにしたので、時間的なロスをなくし、より高速なロギング周期(A/D変換周期)において、連続的なロギングデータを取得することができるという効果を有する。
図1は、A/D変換装置(アナログユニット)を含むPLCシステムの構成を模式的に示すブロック図である。 図2は、読出専用パラメータの一例を示す図である。 図3は、A/D変換ユニットによる割込み発生要求生成処理の手順の一例を示すフローチャートである。 図4は、読出専用パラメータの一例を示す図である。 図5は、CPUユニットによる割込み発生時のサイクリック処理の手順の一例を示すフローチャートである。 図6は、CPUユニットによる割込み発生時のサイクリック処理の手順の一例を示すフローチャートである。 図7は、割込み処理発生時の処理順序を模式的に示す図である。
 以下に添付図面を参照して、この発明にかかるアナログ変換装置およびプログラマブルコントローラシステムの好適な実施の形態を詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
 図1は、A/D変換装置(アナログユニット)を含むPLCシステムの構成を模式的に示すブロック図である。A/D変換ユニット100は、ユニット間バス300を介してCPUユニット200に接続されており、A/D変換ユニット100およびCPUユニット200はPLC(プログラマブルコントローラ)1000の一部を構成している。PLC1000には、A/D変換ユニット100、CPUユニット200のほかに、目的に合わせ、サーボアンプなどを制御して多軸の位置制御を実行するモーションコントローラユニットや、CPUユニット200から指令された温度に到達するように加熱・冷却するための温度制御信号を出力する温度コントローラユニットなどがユニット間バス300を介して装着されるが、ここではA/D変換ユニット100、CPUユニット200以外のユニットについては言及しない。
 A/D変換ユニット100は、アナログデータ値の入力を受け付けるアナログデータ入力インタフェース(I/F)110と、受け付けたアナログデータ値をデジタル値(A/D変換値)に変換するA/D変換部120と、A/D変換ユニット100全体の制御を実行する演算部130と、A/D変換されたデジタル値をロギングデータとして記憶し、CPUユニット200との間でデータ値が共有される共有メモリ140と、ユニット間バス300を介してCPUユニット200と通信を行うための通信インタフェースであるバスI/F160と、を備えている。演算部130、共有メモリ140、バスI/F160間は、内部バスで夫々接続されている。
 共有メモリ140には、CPUユニット200によるサイクリック処理により読出されるA/D変換値を記録する領域であるA/D変換値格納領域141が確保されている。上記したように、通常、アナログデータ値をサンプリングしてデジタル値に変換する間隔(サンプリング間隔)は、サイクリック処理の周期より高速であるため、CPUユニット200がA/D変換値格納領域141に書込まれたA/D変換値を取りこぼすことなく読出ししてロギングすることは難しい。A/D変換ユニット100がデータを高速に書込むことができ、かつCPUユニット200が煩雑な通信処理を実行することなく読出しアクセスすることができる共有メモリ140に、上記したA/D変換値格納領域141の他に、A/D変換値をロギングデータ700として記録するための記録領域であるログ格納領域142を確保している。なお、ログ格納領域142に記録されているロギングデータ700は、ユニット間バス300、CPUユニット200を介して周辺装置400に読出される。
 ログ格納領域142はリングバッファ構成となっている。すなわち、ログ格納領域142は、ロギングデータ700が先頭アドレスから順番に時系列順に書込まれる。そして、ロギングデータ700の書込みアドレスが最後尾に到達したとき、ラップアラウンドして再び先頭アドレスからロギングデータ700が上書き書込みされる。
 また、共有メモリ140には、後述する割込み発生時にロギングデータ700を読出す読出専用パラメータを格納する読出専用パラメータ格納領域143が確保されている。図2は、読出専用パラメータの一例を示す図である。読出専用パラメータは、ロギングデータ700を読出す数であるロギング読出点数と、ロギングデータ700の読出元のアドレスである今回ロギング読出ポインタと、前回割込み時のロギングデータ700の読出開始位置である前回ロギング読出ポインタと、を含む。この読出専用パラメータによって、CPUユニット200で実行される割込みラダープログラムの簡素化および実行速度の高速化を図ることができる。
 演算部130は、ロギング実行部131と、一定点数ロギング検出部132と、割込み発生部133と、を備える。ロギング実行部131は、A/D変換部120が出力するA/D変換されたデジタル値を逐次ロギングデータとして共有メモリ140のリングバッファ構成のログ格納領域142に書込む。
 一定点数ロギング検出部132は、前回割込み処理が行われてから読出専用パラメータで設定されたロギング読出点数のロギングデータ700のログ格納領域142への格納が完了したかを監視する。ロギング読出点数分のロギングデータ700がログ格納領域142に格納されたことを検出すると、読出専用パラメータの今回ロギング読出ポインタとして、今回CPUユニット200が読出すロギングデータ700の開始位置を取得し、前回ロギング読出ポインタとして、現時点で(書き換え前の)読出専用パラメータの今回ロギング読出ポインタに格納されている値を取得する。そして、一定点数ロギング検出部132は、取得した今回ロギング読出ポインタと前回ロギング読出ポインタとを、読出専用パラメータ格納領域143に書込む。
 割込み発生部133は、一定点数ロギング検出部132で所定の数のロギングデータ700の格納が検出された場合にCPUユニット200に対して割込みを発生させる。具体的には、一定点数ロギング検出部132によって、共有メモリ140の読出専用パラメータ格納領域143に読出専用パラメータが格納される(書込まれる)と、CPUユニット200へ割込み発生要求を送信する。
 このように、この実施の形態では、前回ロギングデータの読出しを行ってから、ログ格納領域142に所定の数のロギングデータ700が格納されたかを監視する処理をA/D変換ユニット100側で行うようにしている。
 CPUユニット200は、ユーザプログラムの実行やCPUユニット200全体の制御を実行する演算部210と、ユーザプログラムの実行に必要となるデータやユーザプログラムの入出力値を格納するためのメモリである内部メモリ220と、ユニット間バス300を介してA/D変換ユニット100と通信を行うための通信インタフェースであるバスI/F230と、A/D変換ユニット100からの割込みの有無を監視し、割込みを受けた場合に演算部210に対して割込みプログラムの実行を指示する割込みプログラム実行指示部240と、ユーザプログラムの設定や内部メモリ220のデータの状態を表示するためのパーソナルコンピュータなどの周辺装置400、表示器などの外部機器500をそれぞれ接続するためのインタフェースである周辺装置I/F250および外部機器I/F260と、を備えている。なお、PLC1000およびPLC1000に接続された周辺装置400を含むシステムをPLCシステムと呼ぶ。
 内部メモリ220には、演算部210が実行するメインプログラムであるメインラダープログラムや、割込み発生時に実行される割込みラダープログラムなどのユーザプログラムを格納するユーザプログラム格納領域221と、割込みラダープログラムによってA/D変換ユニット100から取得したロギングデータ700を格納するロギングデータ格納領域222と、が設けられている。
 つぎに、PLCおよびPLCシステムの動作について説明する。CPUユニット200は、PLC1000が備える種々なユニットを動作させて産業用機器を制御するためのプログラムであるユーザプログラムの実行と、実行結果の出力と、ユーザプログラムが使用する値などの入力値の取得と、を所定の周期で繰り返す。この繰り返しの動作は、サイクリック処理と呼ばれる。CPUユニット200は、サイクリック処理に含まれる入力値の取得動作の一環として、共有メモリ140から観測値のデジタル値(A/D変換値)を読出す。
 一方、A/D変換ユニット100は、PLC1000の制御対象とする産業用機器などに関する種々の観測値、たとえば流量、圧力、温度などを観測して電流値や電圧値として出力するセンサからのアナログデータ値の入力を受け付け、受け付けたアナログデータ値の入力をデジタル値に変換し、内部に備える共有メモリ140にデジタル値(A/D変換値)を書込む。
 そして、A/D変換ユニット100のロギング実行部131は、A/D変換部120によるA/D変換が開始されると、A/D変換値のロギングを開始する。ロギング実行部131は、ロギング周期ごとに、A/D変換部120が出力したA/D変換値をログ格納領域142の先頭アドレスに格納する。ロギングデータが順に格納され、ログ格納領域142の最後尾のアドレスに到達した場合には、上記したようにラップアラウンドして再び先頭アドレスからロギングデータ700が上書き書込みされる。なお、このようなロギング処理は、公知であるので、詳細な説明を省略する。
 以下に、この実施の形態によるCPUユニット200がロギングデータを読み込む具体的な処理について説明する。図3は、A/D変換ユニットによる割込み発生要求生成処理の手順の一例を示すフローチャートである。
 まず、A/D変換ユニット100の演算部130の一定点数ロギング検出部132は、共有メモリ140のログ格納領域142を監視し(ステップS11)、ログ格納領域142に所定の数のロギングデータ700が格納されたかを判定する(ステップS12)。具体的には、前回割込みが発生してから読出専用パラメータのロギング読出点数で指定される数のロギングデータ700が格納されたかを監視する。前回割込みが発生してからのロギングデータ700の格納数は、たとえば読出専用パラメータの今回ロギング読出ポインタで指定される位置からロギング読出点数離れた位置を読出し開始位置にして、格納されるロギングデータ700の数を計測する。
 ログ格納領域142に所定の数のロギングデータ700が格納されていない場合(ステップS12でNoの場合)には、ステップS11へと処理が戻る。また、ログ格納領域142に所定の数のロギングデータ700が格納された場合(ステップS12でYesの場合)には、一定点数ロギング検出部132は、現時点で共有メモリ140の読出専用パラメータ格納領域143に格納されている今回ロギング読出ポインタを、新たな前回ロギング読出ポインタとし、上記読出し開始位置を新たな今回ロギング読出しポインタとして、新たな読出専用パラメータを生成し、読出専用パラメータ格納領域143に格納する(書込む)(ステップS13)。
 その後、割込み発生部133は、CPUユニット200へ割込み発生要求を送信し(ステップS14)、処理がステップS11へと戻る。割込み発生要求は、A/D変換ユニット100の内部バス、バスI/F160、ユニット間バス300、CPUユニット200のバスI/F230、内部バスを介して割込みプログラム実行指示部240へと送信される。
 ここで、具体例を挙げて説明する。ログ格納領域142には、10,000点分のロギングデータが格納できるものとし、ロギングデータ700が1,000点分たまると、割込みを発生させるものとする。また、この例では、各ロギングデータ700は、所定の大きさの領域に格納されるものとし、最初にロギングデータ700が格納される領域から順に1~10,000の識別子(たとえばアドレス)が割り振られているものとする。
 図4は、読出専用パラメータの一例を示す図である。図4(a)では、ログ格納領域142にまだロギングデータ700が格納されていない初期状態での読出専用パラメータの一例を示している。ここでは、ロギング読出点数として、1,000が設定され、今回ロギング読出ポインタとして、1つ目のロギングデータの格納位置を示す「1」が設定され、前回ロギング読出ポインタとして、無効な数値(ここでは、「-1」)が設定される。
 図4(b)では、1,000点のロギングデータ700が格納された状態での読出専用パラメータの一例を示しており、たとえば上記したステップS13の処理を行った直後の状態を示している。ここでは、図4(a)の今回ロギング読出ポインタが、図4(b)の前回ロギング読出ポインタに設定される。また、今回ロギング読出ポインタとして、前回ロギング読出ポインタにロギング読出点数を付加した値である1,001が設定される。
 図5と図6は、CPUユニットによる割込み発生時のサイクリック処理の手順の一例を示すフローチャートである。また、図7は、割込み処理発生時の処理順序を模式的に示す図である。CPUユニット200の演算部210は、サイクリック処理を実行する(ステップS31)。
 このサイクリック処理中に、割込みプログラム実行指示部240は、A/D変換ユニット100から割込み発生要求を受信したかを監視する。割込み発生要求を受信しない場合には、サイクリック処理が繰り返し実行される。また、割込み発生要求を受信した場合には、割込みプログラム実行指示部240は、演算部210に対して割込みラダープログラムの実行を指示する。演算部210は、割込みラダープログラムの実行の指示を受けると、実行中のサイクリック処理を中断し(ステップS32)、割込みラダープログラムを実行する(ステップS33)。
 ここで、図6を参照して割込みラダープログラムの処理の一例について説明する。なお、この図6は、割込みラダープログラムの処理の一部を示したものである。まず、割込みラダープログラムを実行すると、演算部210は、A/D変換ユニット100の共有メモリ140の読出専用パラメータ格納領域143から読出専用パラメータを読み込む(ステップS51)。
 ついで、読出専用パラメータを用いてロギングデータ700の取りこぼしがないかを判定する(ステップS52)。割込みラダープログラムを使用する場合、起動タイミング間隔が短く割込みラダープログラムの起動要求が受け付けられず、ロギングデータ700を取りこぼししてしまう場合がある。そこで、この例では、ロギングデータ700の取りこぼしがないかの判定を行っている。
 具体的には、CPUユニット200側で保持している前回のロギングデータ700の読出位置と、ステップS52で読み込んだ読出専用パラメータ中の前回ロギング読出ポインタと、を比較し、両者が一致しているかを判定する。両者が一致している場合には、割込み発生要求を受けたときに、割込みラダープログラムが起動して、ロギングデータ700をA/D変換ユニット100から読出す処理を行っていたこと、すなわちロギングデータ700の取りこぼしがないことを示す。一方、両者が一致していない場合には、割込み発生要求を受けたときに、何らかの原因で割込みラダープログラムが起動せず、ロギングデータ700をA/D変換ユニット100から読出せなかったこと、すなわちロギングデータ700の取りこぼしがあったことを示す。
 ロギングデータ700の取りこぼしがあった場合(ステップS53でYesの場合)には、演算部210は、PLC1000(PLCシステム)に何らかの異常があるものとして警告を出力し(ステップS54)、処理が終了する。この警告は、たとえば、外部機器I/F260を介して表示器などの外部機器500に出力される。
 ロギングデータ700の取りこぼしがない場合(ステップS53でNoの場合)には、読出専用パラメータ中の今回ロギング読出ポインタで指定される位置から、ロギング読出点数で指定される数分のロギングデータ700をA/D変換ユニット100の共有メモリ140のログ格納領域142から読出す(ステップS55)。そして、読出したロギングデータ700をCPUユニット200の内部メモリ220のロギングデータ格納領域222に書込む(格納する)(ステップS56)。以上で割込みラダープログラムの処理が終了し、処理が図5へと戻る。
 その後、演算部210は、中断したサイクリック処理を再開する(ステップS34)。この割込み処理の順序は、図7に示されるように、サイクリック処理が実行されている最中に割込みが発生すると、サイクリック処理が中断し、割込みラダープログラムが実行される。そして、割込みラダープログラムの処理が終了すると、再びサイクリック処理が中断した箇所から実行される。
 なお、上述した説明では、ロギングデータ700の取りこぼしを監視できるように、読出専用パラメータに前回ロギング読出ポインタを設けたが、ロギングデータ700の取りこぼしの監視を行わない場合には、前回ロギング読出ポインタを省略することができる。
 また、CPUユニット200の内部メモリ220に蓄積したロギングデータ700を外部機器I/F260を介して外部メモリなどの記録媒体に保存することができる。
 従来では、A/D変換ユニット100から連続的なロギングデータ700を取得する場合、ロギング実行部131によりリングバッファ形式でログ格納領域142にロギングされるデータを上書きされる前に、CPUユニット200の内部メモリ220に読出す必要があった。そこで、従来技術では、ログ格納領域142に格納されるロギングデータ700をユーザプログラム(A/D変換ユニット100のロギングデータ700をCPUユニット200の内部メモリ220に格納するプログラム)によって、CPUユニット200がログ格納領域142を監視することで上書きされる前にロギングデータ700を内部メモリ220に読出していた。
 一方、この実施の形態では、リングバッファ構成のログ格納領域142に格納されるロギングデータ700が、所定の数格納されたかを、A/D変換ユニット100側で監視する一定点数ロギング検出部132と、所定の数のロギングデータ700が格納された場合に、CPUユニット200に対して割込み発生要求を送信する割込み発生部133と、をA/D変換ユニット100に設け、A/D変換ユニット100からの割込み発生要求を受けて割込みラダープログラムを実行させる割込み要求を演算部210に対して出力する割込みプログラム実行指示部240をCPUユニット200に設けた。これによって、CPUユニット200からA/D変換ユニット100への定期的な監視処理が不要となり、シーケンススキャンタイムを短縮することができるという効果を有する。
 また、CPUユニット200がロギングデータ700を読出す際に、ロギングデータ700の読出開始位置と読出す数とを含む読出専用パラメータを使用することで、ユーザが作成する割込みラダープログラムが簡素化され、シーケンススキャンタイムを短縮することができるという効果を有する。
 さらに、以上のようにCPUユニット200とA/D変換ユニット100とを使用したPLCシステムにおいて、従来より高速なロギング周期(A/D変換周期)で、連続的なロギングデータの取得を実現することができるという効果を有する。
 以上のように、この発明にかかるA/D変換装置およびPLCシステムは、PLCに装着されるA/D変換装置およびPLCシステムに適用して好適である。
 100 A/D変換ユニット、110 アナログデータ入力I/F、120 A/D変換部、130 演算部、131 ロギング実行部、132 一定点数ロギング検出部、133 割込み発生部、140 共有メモリ、141 A/D変換値格納領域、142 ログ格納領域、143 読出専用パラメータ格納領域、160,230 バスI/F、200 CPUユニット、210 演算部、220 内部メモリ、221 ユーザプログラム格納領域、222 ロギングデータ格納領域、240 割込みプログラム実行指示部、250 周辺装置I/F、260 外部機器I/F、300 ユニット間バス、400 周辺装置、500 外部機器、700 ロギングデータ。

Claims (7)

  1.  プログラマブルコントローラに装着され、外部から入力されるアナログ値を逐次デジタル値に変換するアナログ変換装置において、
     外部から入力されるアナログ値をデジタル値に変換するA/D変換手段と、
     変換された前記デジタル値を格納するA/D変換値格納領域と、前記A/D変換値格納領域に格納された前記デジタル値をロギングするログ格納領域と、を有し、前記プログラマブルコントローラ全体を制御するCPUユニットから読出アクセス可能な第1記憶手段と、
     前記A/D変換値格納領域に格納されている前記デジタル値をロギングデータとして前記ログ格納領域に格納するロギング実行手段と、
     前回割込み発生要求を行ってから、前記ログ格納領域に格納される前記ロギングデータの数が所定の数に達したかを監視する一定点数ロギング検出手段と、
     前記ロギングデータの数が前記所定の数に達した場合に、前記CPUユニットに対して割込み発生要求を行う割込み発生手段と、
     を備えることを特徴とするアナログ変換装置。
  2.  前記第1記憶手段は、つぎに読出されるロギングデータの格納位置を示す今回ロギング読出ポインタ、および読出す前記ロギングデータの数であるロギング読出点数を含む読出専用パラメータを格納する読出専用パラメータ格納領域をさらに有し、
     前記一定点数ロギング検出手段は、前回割込み発生要求を行ってから、前記ログ格納領域に格納される前記ロギングデータの数が前記ロギング読出点数に達したかを監視し、前記ロギングデータの数が前記ロギング読出点数に達した場合に、前記読出専用パラメータ格納領域に格納されている前記今回ロギング読出ポインタに、前記ロギング読出点数を付加した格納位置を新たな前記今回ロギング読出ポインタとして、前記読出専用パラメータ格納領域に書込むことを特徴とする請求項1に記載のアナログ変換装置。
  3.  請求項2に記載のアナログ変換装置と、前記CPUユニットとがユニット間バスを介して接続されるプログラマブルコントローラシステムにおいて、
     前記CPUユニットは、
     前記アナログ変換装置からの前記割込み発生要求を受信すると、演算手段に割込みプログラムの実行を指示する割込みプログラム実行指示手段と、
     ユーザプログラムにしたがって処理を行い、前記割込みプログラム実行指示手段から前記割込みプログラムの実行の指示を受けると、前記アナログ変換装置の前記第1記憶手段の前記ログ格納領域から前記ロギングデータを読出す割込みプログラムを実行する演算手段と、
     前記演算手段によって読出された前記ロギングデータを記憶する第2記憶手段と、
     を備えることを特徴とするプログラマブルコントローラシステム。
  4.  前記CPUユニットの前記演算手段は、前記読出専用パラメータ領域中の前記読出専用パラメータを用いて、前記アナログ変換装置の前記ログ格納領域から前記ロギングデータを読出すことを特徴とする請求項3に記載のプログラマブルコントローラシステム。
  5.  前記読出専用パラメータは、前回割込み発生要求時のロギングデータの読出位置である前回ロギング読出ポインタをさらに含み、
     前記アナログ変換装置の前記一定点数ロギング検出手段は、前記ロギングデータの数が前記ロギング読出点数に達した場合に、その時点で前記読出専用パラメータ格納領域に格納されている前記今回ロギング読出ポインタを新たな前記前回ロギング読出ポインタとし、現時点で格納されている前記今回ロギング読出ポインタに前記ロギング読出点数を加算した位置を新たな前記今回ロギング読出ポインタとして、前記読出専用パラメータ格納領域に書込み、
     前記CPUユニットの前記演算手段は、前記割込みプログラム実行指示手段から前記割込みプログラムの実行の指示を受けると、前記アナログ変換装置の前記ログ格納領域中の前回読出した位置と、前記前回ロギング読出ポインタとを比較して、一致していない場合に、警告を出力することを特徴とする請求項3に記載のプログラマブルコントローラシステム。
  6.  第3記憶手段を有する情報処理端末をさらに備え、
     前記CPUユニットは、前記第2記憶手段に格納された前記ロギングデータを前記情報処理端末の前記第3記憶手段に格納することを特徴とする請求項3に記載のプログラマブルコントローラシステム。
  7.  外部記憶装置をさらに備え、
     前記CPUユニットは、前記第2記憶手段に格納された前記ロギングデータを前記外部記憶装置に格納することを特徴とする請求項3に記載のプログラマブルコントローラシステム。
     
PCT/JP2012/077786 2012-10-26 2012-10-26 アナログ変換装置およびプログラマブルコントローラシステム WO2014064846A1 (ja)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2013513319A JP5301060B1 (ja) 2012-10-26 2012-10-26 アナログ変換装置およびプログラマブルコントローラシステム
PCT/JP2012/077786 WO2014064846A1 (ja) 2012-10-26 2012-10-26 アナログ変換装置およびプログラマブルコントローラシステム
CN201280076643.3A CN104756024B (zh) 2012-10-26 2012-10-26 模拟变换装置以及可编程控制器系统
KR1020177008680A KR101757614B1 (ko) 2012-10-26 2012-10-26 아날로그 변환 장치 및 프로그래머블 컨트롤러 시스템
KR1020157008887A KR20150054904A (ko) 2012-10-26 2012-10-26 아날로그 변환 장치 및 프로그래머블 컨트롤러 시스템
DE112012006775.4T DE112012006775B4 (de) 2012-10-26 2012-10-26 Analogwandlungsvorrichtung und System einer programmierbaren Steuereinheit
US14/425,106 US9369145B2 (en) 2012-10-26 2012-10-28 Analog conversion device and programmable controller system
TW102114783A TWI493301B (zh) 2012-10-26 2013-04-25 類比變換裝置及可編程控制器系統

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/077786 WO2014064846A1 (ja) 2012-10-26 2012-10-26 アナログ変換装置およびプログラマブルコントローラシステム

Publications (1)

Publication Number Publication Date
WO2014064846A1 true WO2014064846A1 (ja) 2014-05-01

Family

ID=49396862

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/077786 WO2014064846A1 (ja) 2012-10-26 2012-10-26 アナログ変換装置およびプログラマブルコントローラシステム

Country Status (7)

Country Link
US (1) US9369145B2 (ja)
JP (1) JP5301060B1 (ja)
KR (2) KR101757614B1 (ja)
CN (1) CN104756024B (ja)
DE (1) DE112012006775B4 (ja)
TW (1) TWI493301B (ja)
WO (1) WO2014064846A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016088255A1 (ja) * 2014-12-05 2016-06-09 三菱電機株式会社 書込み許可回路、アクセス切替回路およびアナログディジタル変換ユニット
JP2016110459A (ja) * 2014-12-08 2016-06-20 株式会社キーエンス プログラマブル・ロジック・コントローラ及びプログラマブル・ロジック・コントローラの拡張ユニット、制御方法および制御プログラム
KR20170003967A (ko) * 2014-05-07 2017-01-10 마벨 월드 트레이드 리미티드 저전력 분산형 메모리 네트워크
WO2020105173A1 (ja) * 2018-11-22 2020-05-28 三菱電機株式会社 データ制御装置、プログラマブルロジックコントローラ及びデータ制御方法

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112014001980T5 (de) * 2014-03-07 2016-01-21 Mitsubishi Electric Corporation Analogeinheit, Gerät zur Erstellung einer Umwandlungskennlinientabelle und speicherprogrammierbares Steuerungssystem
WO2015162792A1 (ja) * 2014-04-25 2015-10-29 三菱電機株式会社 機能ユニット、アナログ入力ユニット、プログラマブルコントローラシステム
KR101701691B1 (ko) * 2015-04-20 2017-02-01 미쓰비시덴키 가부시키가이샤 프로그래머블 로직 컨트롤러 시스템 및 연산 유닛
US10466674B2 (en) * 2017-04-24 2019-11-05 Mitsubishi Electric Corporation Programmable logic controller system, and engineering tool computer program product
JP6757385B2 (ja) 2018-10-23 2020-09-16 株式会社キーエンス プログラマブルロジックコントローラおよびメインユニット

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005164500A (ja) * 2003-12-04 2005-06-23 Omron Corp プログラマブルコントローラ用検査装置およびプログラマブルコントローラ
WO2010109584A1 (ja) * 2009-03-23 2010-09-30 三菱電機株式会社 A/d変換装置およびプログラマブルコントローラシステム

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1592405A (en) * 1976-09-29 1981-07-08 Gulf & Western Industries System for converting analogue signals to multiplexed digital data
US4188617A (en) 1976-09-29 1980-02-12 Gulf & Western Industries, Inc. System for converting analog signals to multiplexed digital data
DE4010562A1 (de) * 1990-04-02 1991-10-17 Licentia Gmbh Verfahren zum steuern mindestens eines analog-digital-umsetzers mittels einer speicherprogrammierbaren steuerung
JP2692387B2 (ja) 1991-01-17 1997-12-17 三菱電機株式会社 プログラマブルコントローラ
JPH04288602A (ja) 1991-02-27 1992-10-13 Mitsubishi Electric Corp A/d変換機能付プログラマブルコントローラ
JP2653296B2 (ja) 1991-10-29 1997-09-17 富士通株式会社 ロギングデータの管理システム
JPH05257831A (ja) 1992-03-13 1993-10-08 Nec Corp 入出力処理装置
DE9218421U1 (de) * 1992-12-08 1994-02-10 Siemens Ag Modular aufgebautes Steuerungssystem mit einer intelligenten Untereinheit
JP3046171B2 (ja) 1993-03-26 2000-05-29 三菱電機株式会社 データロギング装置
JPH0869355A (ja) 1994-08-26 1996-03-12 Matsushita Electric Works Ltd アナログ/デジタル変換装置
JP2000235412A (ja) 1999-02-15 2000-08-29 Omron Corp ロギング装置
US6384753B1 (en) * 2001-05-15 2002-05-07 General Electric Company High density analog interface
KR100662187B1 (ko) * 2004-03-15 2006-12-27 오므론 가부시키가이샤 센서 컨트롤러
JP4659643B2 (ja) 2006-02-28 2011-03-30 三菱電機株式会社 ロギングシステム
JP2008020392A (ja) 2006-07-14 2008-01-31 Keyence Corp 波形収集装置
CN101968639B (zh) * 2010-11-02 2012-08-22 上海电器科学研究院 用于plc扩展的模拟量采集模块
CN202025225U (zh) * 2011-03-31 2011-11-02 长沙市大桁智能科技有限公司 Plc集成系统及其内的数据记录模块
US9588534B2 (en) * 2011-05-16 2017-03-07 Zonit Structured Solutions, Llc Communications protocol for intelligent outlets
CN202057995U (zh) * 2011-07-20 2011-11-30 深圳市麦格米特控制技术有限公司 一种plc数据记录模块

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005164500A (ja) * 2003-12-04 2005-06-23 Omron Corp プログラマブルコントローラ用検査装置およびプログラマブルコントローラ
WO2010109584A1 (ja) * 2009-03-23 2010-09-30 三菱電機株式会社 A/d変換装置およびプログラマブルコントローラシステム

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170003967A (ko) * 2014-05-07 2017-01-10 마벨 월드 트레이드 리미티드 저전력 분산형 메모리 네트워크
KR102345613B1 (ko) 2014-05-07 2021-12-30 마벨 아시아 피티이 엘티디. 저전력 분산형 메모리 네트워크
WO2016088255A1 (ja) * 2014-12-05 2016-06-09 三菱電機株式会社 書込み許可回路、アクセス切替回路およびアナログディジタル変換ユニット
JP6049959B2 (ja) * 2014-12-05 2016-12-21 三菱電機株式会社 書込み許可回路、アクセス切替回路およびアナログディジタル変換ユニット
KR101874762B1 (ko) 2014-12-05 2018-07-04 미쓰비시덴키 가부시키가이샤 기입 허가 회로, 액세스 전환 회로 및 아날로그 디지털 변환 유닛
US10235308B2 (en) 2014-12-05 2019-03-19 Mistubishi Electric Corporation Write enable circuit, access switching circuit and analog-to-digital converter unit
JP2016110459A (ja) * 2014-12-08 2016-06-20 株式会社キーエンス プログラマブル・ロジック・コントローラ及びプログラマブル・ロジック・コントローラの拡張ユニット、制御方法および制御プログラム
WO2020105173A1 (ja) * 2018-11-22 2020-05-28 三菱電機株式会社 データ制御装置、プログラマブルロジックコントローラ及びデータ制御方法
US11275356B2 (en) 2018-11-22 2022-03-15 Mitsubishi Electric Corporation Input-output control unit, PLC and data control method

Also Published As

Publication number Publication date
DE112012006775B4 (de) 2018-12-27
CN104756024A (zh) 2015-07-01
KR20150054904A (ko) 2015-05-20
KR20170039311A (ko) 2017-04-10
US9369145B2 (en) 2016-06-14
JP5301060B1 (ja) 2013-09-25
TW201416811A (zh) 2014-05-01
DE112012006775T5 (de) 2015-07-16
CN104756024B (zh) 2017-03-01
KR101757614B1 (ko) 2017-07-12
TWI493301B (zh) 2015-07-21
US20150263748A1 (en) 2015-09-17
JPWO2014064846A1 (ja) 2016-09-05

Similar Documents

Publication Publication Date Title
JP5301060B1 (ja) アナログ変換装置およびプログラマブルコントローラシステム
JP5122000B2 (ja) A/d変換装置およびプログラマブルコントローラシステム
EP3382481B1 (en) Controller, control program, and control system field
JP6998781B2 (ja) 故障診断システム
JP5523588B2 (ja) アナログ入力ユニットおよびプログラマブルコントローラ
US20170336766A1 (en) Control device, control method, and program
JP7028133B2 (ja) 制御システムおよび制御方法
JP2007233593A (ja) ロギングシステム
WO2016024483A1 (ja) アナログ/ディジタル変換回路
JP4936109B2 (ja) 波形解析装置
JPWO2021019615A1 (ja) プログラマブルロジックコントローラ、設定ツール、及びプログラム
JP2019159868A (ja) 制御システム、制御装置および表示装置
CN103365237A (zh) Plc系统中的元件和变量的监控记录方法及装置
CN111486943B (zh) 工业机器人振动状态分析方法、系统、装置及可读存储介质
JP2022115058A5 (ja)
JP5413793B2 (ja) 測定システム
JP2004178479A (ja) データ収集装置
JP2023090555A (ja) 波形測定器及び方法
JPH04105015A (ja) ディジタルデータ処理装置
JPH0820282B2 (ja) プラントデ−タ処理装置
JPH09128215A (ja) 収集データの抜け防止装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2013513319

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12887097

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 1120120067754

Country of ref document: DE

Ref document number: 112012006775

Country of ref document: DE

WWE Wipo information: entry into national phase

Ref document number: 14425106

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20157008887

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 12887097

Country of ref document: EP

Kind code of ref document: A1