KR101821068B1 - Programmable controller - Google Patents
Programmable controller Download PDFInfo
- Publication number
- KR101821068B1 KR101821068B1 KR1020167000676A KR20167000676A KR101821068B1 KR 101821068 B1 KR101821068 B1 KR 101821068B1 KR 1020167000676 A KR1020167000676 A KR 1020167000676A KR 20167000676 A KR20167000676 A KR 20167000676A KR 101821068 B1 KR101821068 B1 KR 101821068B1
- Authority
- KR
- South Korea
- Prior art keywords
- control signal
- synchronous control
- unit
- synchronization
- bus
- Prior art date
Links
- 230000001360 synchronised effect Effects 0.000 claims abstract description 70
- 230000015654 memory Effects 0.000 claims abstract description 18
- 230000005540 biological transmission Effects 0.000 claims abstract description 3
- 238000000034 method Methods 0.000 claims 2
- 238000005259 measurement Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 239000000470 constituent Substances 0.000 description 4
- 238000006073 displacement reaction Methods 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/36—Handling requests for interconnection or transfer for access to common bus or bus system
- G06F13/362—Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4265—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
- G06F13/4278—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus using an embedded synchronisation
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/12—Plc mp multi processor system
- G05B2219/1211—Exchange control, I-O data to other plc, using separate synchronizing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
실시 형태의 프로그래머블 컨트롤러는 데이터 송수신용의 버스와, 동기 제어 신호를 전달하는 동기 제어 신호선과, 상기 동기 제어 신호선에 접속되어, 외부로부터의 신호에 기초하여 상기 동기 제어 신호를 생성하는 동기 제어 신호 생성 유닛과, 상기 버스 및 상기 동기 제어 신호선에 접속되어, 상기 동기 제어 신호에 동기하여 외부 기기로부터의 신호를 내부 메모리에 래치하는 데이터 유지 유닛과, 상기 버스 및 상기 동기 제어 신호선에 접속되어, 상기 동기 제어 신호에 동기하여 상기 버스를 통해서 상기 내부 메모리의 값을 판독하는 CPU 유닛을 구비한다. The programmable controller of the embodiment includes a bus for data transmission and reception, a synchronous control signal line for transmitting a synchronous control signal, a synchronous control signal generating unit for generating a synchronous control signal, which is connected to the synchronous control signal line, A data holding unit connected to the bus and the synchronous control signal line for latching a signal from an external device in an internal memory in synchronization with the synchronous control signal and connected to the bus and the synchronous control signal line, And a CPU unit for reading the value of the internal memory through the bus in synchronization with the control signal.
Description
본 발명은 동기 제어 신호에 동기한 프로그래머블 컨트롤러에 관한 것이다. The present invention relates to a programmable controller in synchronization with a synchronization control signal.
프로그래머블 컨트롤러를 구축하는 카운터 유닛은, 인코더 등의 외부 기기와 접속하고, 외부 기기로부터 입력되는 펄스를 카운트하여, 카운트 현재치를 내부 메모리에 격납한다. The counter unit for constructing the programmable controller is connected to an external device such as an encoder, counts pulses input from the external device, and stores the count current value in the internal memory.
CPU 유닛은 일정 주기의 동기 제어 신호를 카운터 유닛으로 출력하고, 카운터 유닛은 동기 제어 신호를 받아, 인코더 등의 외부 기기로부터 입력되는 펄스의 카운트 현재치를 내부 메모리에 래치(latch)한다. The CPU unit outputs a synchronous control signal of a predetermined period to the counter unit, and the counter unit receives the synchronous control signal and latches the counted current value of the pulse input from the external device such as the encoder into the internal memory.
이와 같이, 카운터 유닛이 카운트 현재치를 내부 메모리에 래치하는 타이밍과, CPU 유닛의 프로그램의 실행 개시 타이밍은 동기하여 실행되기 때문에, 안정된 정주기(定周期)에서의 카운트 현재치를 취득할 수 있다. Since the timing at which the counter unit latches the count current value in the internal memory and the execution start timing of the program of the CPU unit are executed in synchronization with each other, the count current value in a stable constant cycle can be obtained.
카운터 유닛은 카운트 현재치를 취득함으로써, 워크의 현재 위치 등의 정보를 얻을 수 있기 때문에, 다른 프로그래머블 컨트롤러의 유닛과 조합하여 동기 제어함으로써, 안정된 데이터를 취득할 수 있다. Since the counter unit obtains the count current value, information such as the current position of the workpiece can be obtained. Therefore, stable data can be acquired by synchronous control in combination with other units of the programmable controller.
그렇지만, 종래의 카운터 유닛은, CPU 유닛으로부터 출력되는 일정 주기로 반복하여 발생하는 신호밖에 동기 제어 신호로서 선택할 수 없기 때문에, 임의의 타이밍에서 동기 제어를 할 수 없다. 따라서 예를 들면 워크의 이동 속도가 일정하지 않은 경우는, 종래의 일정 주기의 신호밖에 동기 제어 신호로서 사용할 수 없는 시스템에 있어서는, 워크의 등간격 떨어진 장소에 있어서의 두께를 취득할 수 없다고 하는 문제가 있었다. However, since the conventional counter unit can select only a signal generated repeatedly at a constant cycle output from the CPU unit as a synchronization control signal, synchronization control can not be performed at an arbitrary timing. Therefore, for example, in the case where the moving speed of the work is not constant, in a system in which only a signal of a conventional constant period can be used as a synchronous control signal, it is difficult to obtain the thickness .
본 발명은 상기를 감안하여 이루어진 것으로서, 일정 주기의 신호를 동기 제어 신호로서 사용하는 시스템에서는 실현할 수 없었던 제어를 실현 가능한 프로그래머블 컨트롤러, 예를 들면, 워크의 이동 속도가 일정하지 않은 경우에도, 등간격에 있어서의 워크의 두께를 취득하는 것이 가능한 프로그래머블 컨트롤러를 얻는 것을 목적으로 한다. SUMMARY OF THE INVENTION The present invention has been made in view of the above, and an object of the present invention is to provide a programmable controller capable of realizing control that can not be realized in a system using a signal of a predetermined period as a synchronous control signal, Which can acquire the thickness of the work in the work area.
상술한 과제를 해결하여 목적을 달성하기 위해서, 본 발명은 데이터 송수신용의 버스와, 동기 제어 신호를 전달하는 동기 제어 신호선과, 상기 동기 제어 신호선에 접속되어, 외부로부터의 신호에 기초하여 상기 동기 제어 신호를 생성하는 동기 제어 신호 생성 유닛과, 상기 버스 및 상기 동기 제어 신호선에 접속되어, 상기 동기 제어 신호에 동기하여 외부 기기로부터의 신호를 내부 메모리에 래치하는 데이터 유지 유닛과, 상기 버스 및 상기 동기 제어 신호선에 접속되어, 상기 동기 제어 신호에 동기하여 상기 버스를 통해서 상기 내부 메모리의 값을 판독하는 CPU 유닛을 구비하는 것을 특징으로 한다. According to an aspect of the present invention, there is provided a data communication system including a bus for data transmission and reception, a synchronization control signal line for transmitting a synchronization control signal, A data holding unit connected to the bus and the synchronous control signal line for latching a signal from an external device in an internal memory in synchronization with the synchronous control signal; And a CPU unit connected to the synchronization control signal line and reading the value of the internal memory through the bus in synchronization with the synchronization control signal.
본 발명에 따른 프로그래머블 컨트롤러는, 외부 동작에 의한 타이밍을 포함한 시스템에 최적인 타이밍에서의 동기 제어가 가능해진다. 즉, 외부 입력(가변 주기 신호)에 대해서, 프로그래머블 컨트롤러의 각 유닛이 같은 타이밍에서 동작하는 동기 제어가 가능하게 된다고 하는 효과를 달성한다. The programmable controller according to the present invention makes it possible to perform synchronous control at a timing optimum for a system including timing by an external operation. That is, it is possible to achieve the effect of enabling synchronous control in which each unit of the programmable controller operates at the same timing with respect to an external input (variable period signal).
도 1은 실시 형태 1에 따른 프로그래머블 컨트롤러의 구성을 나타내는 도면이다.
도 2는 실시 형태 1에 따른 프로그래머블 컨트롤러의 상세한 구성을 나타내는 블록도이다.
도 3은 실시 형태 2에 따른 프로그래머블 컨트롤러의 구성을 나타내는 도면이다.
도 4는 실시 형태 2에 따른 프로그래머블 컨트롤러의 상세한 구성을 나타내는 블록도이다.
도 5는 실시 형태 2에 따른 프로그래머블 컨트롤러의 타이밍도이다. 1 is a diagram showing a configuration of a programmable controller according to a first embodiment.
2 is a block diagram showing a detailed configuration of the programmable controller according to the first embodiment.
3 is a diagram showing a configuration of the programmable controller according to the second embodiment.
4 is a block diagram showing the detailed configuration of the programmable controller according to the second embodiment.
5 is a timing chart of the programmable controller according to the second embodiment.
이하에, 본 발명의 실시 형태에 따른 프로그래머블 컨트롤러를 도면에 기초하여 상세하게 설명한다. 또한, 이 실시 형태에 의해 이 발명이 한정되는 것은 아니다. Hereinafter, a programmable controller according to an embodiment of the present invention will be described in detail with reference to the drawings. The present invention is not limited to these embodiments.
실시 형태 1.
도 1은 본 발명의 실시 형태 1에 따른 제어 장치로서의 프로그래머블 컨트롤러(1)의 구성을 나타내는 도면이다. 도 1에 도시하는 것처럼, 본 발명의 실시 형태에 따른 프로그래머블 컨트롤러(1)는 CPU 유닛(11), 데이터 유지 유닛으로서의 카운터 유닛(12), 동기 제어 신호 생성 유닛으로서의 입력 유닛(13), 및 베이스 유닛(15)의 4개의 유닛을 구비한다. 1 is a diagram showing a configuration of a
베이스 유닛(15)은 유닛 사이에서 데이터를 송수신하기 위한 버스 통신선 L1과, 동기 제어 신호를 전달하는 동기 제어 신호선 L2를 구비하고 있다. 또, 베이스 유닛(15)은 각 유닛과 접속하는 판면부(板面部)의 표면측에 커넥터 K1~K3을 구비하고 있고, 커넥터 K1을 통해서 CPU 유닛(11)과, 커넥터 K2를 통해서 카운터 유닛(12)과, 커넥터 K3을 통해서 입력 유닛(13)과 각각 접속되어 있다. The
도 1에 도시하는 것처럼, 프로그래머블 컨트롤러(1)에 있어서는, 입력 유닛(13)이 외부 기기(21)로부터의 임의의 신호 파형 S1을 수신하고, 이것에 기초하여 임의의 주기의 동기 제어 신호를 동기 제어 신호선 L2에 공급한다. 카운터 유닛(12)은 베이스 유닛(15)상의 동기 제어 신호선 L2를 흐르는 이 동기 제어 신호에 동기하여, 외부 기기(22)로부터 입력되는 펄스 S2의 펄스 적산치(積算値)인 카운트 현재치를 래치하여 유지한다. 즉, 카운트 현재치란, 인코더 등의 외부 기기(22)로부터 카운터 유닛(12)에 입력된 펄스 수의 적산치이다. CPU 유닛(11)도, 동기 제어 신호선 L2를 흐르는 이 동기 제어 신호에 동기하여, 프로그램 처리를 실행한다. 이 프로그램 처리는, CPU 유닛(11)이 카운터 유닛(12)의 내부 메모리에 격납되어 있는 카운트 현재치를, 프로그램 명령을 사용하여 판독하는 처리이다. 1, in the
도 2는 실시 형태 1에 따른 프로그래머블 컨트롤러(1)의 상세한 구성을 나타내는 블록도이다. 상술한 것처럼 프로그래머블 컨트롤러(1)는 CPU 유닛(11), 카운터 유닛(12), 입력 유닛(13), 및 베이스 유닛(15)을 구비하고 있다. 2 is a block diagram showing a detailed configuration of the
CPU 유닛(11), 카운터 유닛(12) 및 입력 유닛(13)의 각 유닛은, 베이스 유닛(15)이 구비하는 동기 제어 신호를 흘리기 위한 동기 제어 신호선 L2와 데이터를 송수신하기 위한 버스 통신선 L1에 접속되어 있다. CPU 유닛(11), 카운터 유닛(12) 및 입력 유닛(13)의 각 유닛은, 동기 제어 신호를 동기 제어 신호선 L2를 통해서 수신하는 기능을 가지는 인터럽트 신호 제어부 W1~W3과 각각의 유닛 사이에서 필요한 데이터를 버스 통신선 L1을 통해서 송수신하기 위한 기능을 가지는 버스 통신 처리부 B1~B3을 가지고 있다. 베이스 유닛(15)은 유닛간에 필요한 데이터를 송수신하기 위한 기능을 가지는 통신 중계 제어부(2)를 구비한다. Each unit of the
동기 제어 신호선 L2는 클록 생성부(3) 등으로부터 동기 제어를 가능하게 하기 위한 정주기의 동기 제어 신호를 흘릴 수 있으므로, 프로그래머블 컨트롤러(1)는 정주기로 동기 제어를 행하는 것이 가능하지만, 임의의 주기라도 동기 제어를 행하는 것이 가능하다. 임의의 주기로 동기 제어를 행하는 경우는, 예를 들면, 도 1에 도시하는 것처럼 외부 기기(21)로부터 입력되는 임의의 신호 파형 S1을 입력 유닛(13)이 수신하고, 그것을 동기 제어 신호로 하여 그대로 베이스 유닛(15)의 동기 제어 신호선 L2에 공급한다. 또, 혹은, 도 2에 도시하는 것처럼, 입력 유닛(13)이 구비한 동기 신호 생성부(4)가 수신한 임의의 신호 파형 S1에 기초하여 동기 제어 신호를 생성해서 동기 제어 신호선 L2에 공급해도 좋다. The synchronous control signal line L2 can flow synchronous control signals of a fixed period for enabling synchronous control from the
카운터 유닛(12)은 동기 제어 신호선 L2상을 흐르는 동기 제어 신호의 하강 에지(falling edge)의 타이밍에서, 외부 기기(22)로부터 입력되는 펄스 S2의 펄스수의 적산치인 카운트 현재치를 래치하여 내부 메모리 M1에 1 동기 제어 주기에 걸쳐 유지한다. 여기서, 1 동기 제어 주기란, 동기 제어 신호의 일주기(펄스의 상승(rising edge)~상승/하강~하강)를 말한다. 또한, 임의의 신호 파형 S1을 발생하는 외부 기기(21)와 펄스 S2를 생성하는 외부 기기(22)는 달라도 되고, 동일해도 상관없다. 외부 기기(21)와 외부 기기(22)가 다른 경우란, 예를 들면 2개의 워크에 있어서의 동작이 동기를 취하지 않으면 안 되는 경우 등이다. The
한편, CPU 유닛(11)은 프로세서 P1를 내장하고 있고, 동기 제어 신호선 L2상을 흐르는 동기 제어 신호의 하강 에지의 타이밍에서, 프로그램을 실행 개시하여, 카운터 유닛(12)의 내부 메모리 M1에 래치되어 있는 카운트 현재치를, 버스 통신선 L1을 통해 취득한다. 즉, CPU 유닛(11)이 카운터 유닛(12)의 카운트 현재치를 판독하는 관계에 있다. 보다 상세하게는, CPU 유닛(11)은 내부 메모리 M1로부터, 버스 통신 처리부 B2, 버스 통신선 L1, 통신 중계 제어부(2), 버스 통신선 L1, 및 버스 통신 처리부 B1을 통해서 카운트 현재치를 취득한다. On the other hand, the
이상으로부터, 카운터 유닛(12)이 카운트 현재치를 래치하는 타이밍과 CPU 유닛(11)이 프로그램을 실행하는 타이밍에서 동기가 취해지기 때문에, 일정 주기의 카운트치를 취득할 수 있다. 이것에 의해, 프로그램상의 명령 실행 타이밍에서의 변화(variation)에 의한 카운트치의 오차를 제거할 수 있기 때문에, 카운트 정보를 고정밀도로 취득할 수 있다. As described above, since the timing at which the
프로그래머블 컨트롤러(1)는, 이상 설명한 것처럼 임의의 주기로의 동기 제어를 행하는 것이 가능하지만, 일정한 주기로 동기 제어를 실시하는 경우는, CPU 유닛(11) 혹은 클록 생성부(3)가 베이스 유닛(15)의 동기 제어 신호선 L2에 일정 주기의 동기 제어 신호를 발신하고, 시스템 전체가 그것에 동기하여 동작한다. The
실시 형태 2.
실시 형태 2에 있어서는, 실시 형태 1에서 설명한 프로그래머블 컨트롤러(1)의 구체적인 애플리케이션 사례로서 프로그래머블 컨트롤러(10)에 대해서 설명한다. 도 3은 실시 형태 2에 따른 프로그래머블 컨트롤러(10)의 구성을 나타내는 도면이다. In the second embodiment, the
도 3에 도시하는 것처럼, 프로그래머블 컨트롤러(10)는, CPU 유닛(11), 데이터를 유지하는 카운터 유닛(12), 동기 제어 신호를 생성하는 입력 유닛(13), 데이터를 유지하는 아날로그 입력 유닛(14) 및 베이스 유닛(15)(도 3에서는 도시되어 있지 않음)을 구비한다. 즉, 본 실시 형태의 프로그래머블 컨트롤러(10)는, 데이터 유지 유닛으로서, 카운터 유닛(12)에 더하여 아날로그 입력 유닛(14)을 구비하고 있다. 3, the
입력 유닛(13)에는, 워크(30)의 위치를 계측하는 인코더(31) 등이 워크(30)의 이동량에 따라 출력하는 펄스 신호가 입력된다. 이 펄스 신호는, 예를 들면, 워크(30)의 이동량에 따라 펄스의 발생 빈도가 증감하는 신호이다. 그리고 카운터 유닛(12)에도, 인코더(31)로부터의 펄스 신호가 입력된다. 즉, 본 실시 형태는, 실시 형태 1에 있어서의 외부 기기(21)와 외부 기기(22)가 동일한 경우로 되어 있다. 아날로그 입력 유닛(14)에는, 워크(30)의 두께를 계측하는 변위 센서(32)로부터의 아날로그 신호인 전류 신호가 입력된다. 이 전류 신호는, 예를 들면, 워크(30)의 두께를 반영한 전류량 등으로 되어 있다. The
도 4는 실시 형태 2에 따른 프로그래머블 컨트롤러(10)의 상세한 구성을 나타내는 블록도이다. 상술한 것처럼 프로그래머블 컨트롤러(10)는, CPU 유닛(11), 카운터 유닛(12), 입력 유닛(13), 아날로그 입력 유닛(14) 및 베이스 유닛(15)을 구비하고 있다. 4 is a block diagram showing a detailed configuration of the
도 4의 프로그래머블 컨트롤러(10)의 기본적인 구성은 도 2의 프로그래머블 컨트롤러(1)과 같지만, 프로그래머블 컨트롤러(10)에 있어서는, 카운터 유닛(12) 및 입력 유닛(13)에 외부로부터 입력되는 신호가 모두 인코더(31)로부터의 펄스 신호이고, 아날로그 입력 유닛(14)이 추가되어 있다. 아날로그 입력 유닛(14)도 카운터 유닛(12)과 마찬가지로, 내부 메모리 M4, 인터럽트 신호 제어부 W4 및 버스 통신 처리부 B4를 구비한다. 내부 메모리 M4에는, 변위 센서(32)로부터의 전류 신호가 입력된다. 인터럽트 신호 제어부 W4는 동기 제어 신호를 동기 제어 신호선 L2를 통해서 수신하는 기능을 가진다. 버스 통신 처리부 B4는 각각의 유닛 사이에서 필요한 데이터를 버스 통신선 L1을 통해서 송수신하기 위한 기능을 가진다. The
도 5는 도 3에 도시한 프로그래머블 컨트롤러에 있어서, 임의의 주기로 동기 제어를 실시하는 경우의 타이밍도이다. 워크(30)의 이동 속도가 서서히 가속되어 일정 속도가 되어, 잠시 일정 속도가 유지되고, 그 후 서서히 감속되는 경우의 모습을 나타내고 있다. CPU 유닛(11)이 카운터 유닛(12)의 카운트 현재치 및 아날로그 입력 유닛(14)의 두께 현재치를, 프로그램 명령을 사용하여 판독한다. 두께 현재치란, 변위 센서(32)로부터 아날로그 입력 유닛(14)에 입력된 두께의 값이다. 도 5의 각 주기에 있어서 「CPU 유닛(실행 주기)」에 도시되어 있는 시간 방향의 폭은, CPU의 실행 주기를 나타내고 있고, 실행 주기는 매 스캔(scan) 거의 같은 시간으로 되기 때문에, 같은 폭으로 하고 있다. 인코더(31)로부터의 펄스 신호가 워크(30)의 이동 속도에 비례한 주파수를 가지고 있는 경우 등은, 입력 유닛(13)은 인코더(31)로부터의 펄스 신호를 동기 제어 신호로서 동기 제어 신호선 L2에 그대로 공급한다. 혹은, 입력 유닛(13)의 동기 신호 생성부(4)가, 인코더(31)로부터의 펄스 신호에 기초하여, 워크(30)의 이동 속도에 비례한 주파수의 동기 제어 신호를 생성하여 동기 제어 신호선 L2에 공급하도록 해도 좋다. 5 is a timing chart in the case where synchronous control is performed at an arbitrary cycle in the programmable controller shown in Fig. The moving speed of the
동기 제어 신호는, 예를 들면 도 5에 도시하는 것처럼, 시간폭이 변동하는 사각형(矩形) 모양의 펄스열의 신호이다. 워크(30)의 이동 속도가 서서히 가속되어 감에 따라 이동 속도에 비례해서 동기 제어 신호의 주파수는 높아진다. 워크(30)의 이동 속도가 일정한 상태에서는 동기 제어 신호의 주파수는 일정치를 유지한다. 워크(30)의 이동 속도가 서서히 감속되어 감에 따라 이동 속도에 비례해서 동기 제어 신호의 주파수는 낮아진다. The synchronous control signal is, for example, a rectangular pulse signal having a varying time width, as shown in Fig. As the moving speed of the
도 5에 도시하는 것처럼, 카운터 유닛(12)은, 동기 제어 신호의 하강 에지의 타이밍에서, 카운트 현재치(x1~x7)를 내부 메모리 M1에 1 동기 제어 주기의 동안 래치한다. 아날로그 입력 유닛(14)은 동기 제어 신호의 하강 에지의 타이밍에서, 두께 현재치(아날로그값)(y1~y7)를 내부 메모리 M4에 1 동기 제어 주기의 동안 래치한다. As shown in Fig. 5, a
한편, CPU 유닛(11)은 동기 제어 신호의 하강의 타이밍에서 프로그램의 실행을 개시하여, 카운터 유닛(12)의 내부 메모리 M1의 값 및 아날로그 입력 유닛(14)의 내부 메모리 M4의 값을 버스 통신선 L1을 통해 판독한다. 이것에 의해, 워크(30)의 현재 위치에 있어서의 두께를 높은 정밀도로 취득하는 것이 가능해진다. 즉, 워크(30)의 이동 속도에 비례한 주파수를 가지는 펄스 신호를 동기 제어 신호로서 동기 제어 신호선 L2에 공급함으로써, 워크의 이동 속도가 일정하지 않은 경우에도, 동일 타이밍에 있어서의 위치 정보(카운터 유닛(12)의 카운트 현재치)와 두께(아날로그 입력 유닛(14)의 두께 현재치)를 취득할 수 있다. 이것에 의해, 워크(30)의 이동 방향에 있어서 등간격에서의 두께를 취득하는 것이 가능해진다. On the other hand, the
이상 설명한 것처럼, 본 실시 형태에 따른 프로그래머블 컨트롤러에 있어서는, 정주기의 동기 제어 신호에 더하여, 임의의 외부 입력 신호를 사용한다. 카운터 유닛(데이터 유지 유닛)이 동기 제어 신호에 동기하는 타이밍에서 현재의 카운트치(카운트 현재치)를 1 동기 주기의 동안 래치하고, CPU 유닛이 동기 제어 신호에 동기하는 타이밍을 프로그램 실행 개시의 타이밍으로 함으로써 프로그래머블 컨트롤러 전체의 제어 타이밍을 외부로부터 주어진 임의의 주기에 맞추는 것을 가능하게 하는 것이다. 본 실시 형태에 따른 프로그래머블 컨트롤러에 있어서는, 임의의 외부 신호를 동기 제어 신호로서 사용할 수 있기 때문에, 정주기 신호만을 동기 제어 신호로서 사용하는 프로그래머블 컨트롤러에서는 실현할 수 없었던 세밀한 제어를 실현하는 것이 가능해진다. As described above, in the programmable controller according to the present embodiment, an arbitrary external input signal is used in addition to the fixed period synchronous control signal. The current count value (current count value) is latched for one synchronous period at the timing at which the counter unit (data holding unit) synchronizes with the synchronous control signal, and the timing at which the CPU unit synchronizes with the synchronous control signal is set to the timing , Thereby making it possible to adjust the control timing of the entire programmable controller to an arbitrary period given from the outside. In the programmable controller according to the present embodiment, since an arbitrary external signal can be used as the synchronous control signal, fine control that can not be realized by the programmable controller using only the constant-period signal as the synchronous control signal can be realized.
추가로, 본원 발명은 상기 실시 형태로 한정되는 것이 아니고, 실시 단계에서는 그 요지를 일탈하지 않는 범위에서 다양하게 변형하는 것이 가능하다. 또, 상기 실시 형태에는 다양한 단계의 발명이 포함되어 있고, 개시되는 복수의 구성 요건에 있어서의 적당한 조합에 의해 다양한 발명이 추출될 수 있다. 예를 들면, 실시 형태에 제시되는 전(全)구성 요건으로부터 몇 개의 구성 요건이 삭제되어도, 발명이 해결하려고 하는 과제의 란에서 기술한 과제를 해결할 수 있어, 발명의 효과의 란에서 기술되어 있는 효과가 얻어지는 경우에는, 이 구성 요건이 삭제된 구성이 발명으로서 추출될 수 있다. 추가로, 다른 실시 형태에 걸치는 구성요소를 적당히 조합해도 된다. Further, the present invention is not limited to the above-described embodiments, and various modifications may be made without departing from the gist of the present invention. The above-mentioned embodiment includes inventions of various stages, and various inventions can be extracted by appropriate combination in a plurality of constitutional requirements to be disclosed. For example, even if a few constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problems described in the column of the problem to be solved by the invention can be solved, If the effect is obtained, the configuration from which this constituent requirement has been deleted can be extracted as an invention. In addition, the constituent elements according to other embodiments may be appropriately combined.
[산업상의 이용 가능성][Industrial Availability]
이상과 같이, 본 발명에 따른 프로그래머블 컨트롤러는, 워크의 가공 등의 제어에 유용하고, 특히, 워크의 이동 속도가 변화하는 경우 등에 이동 방향으로 등간격으로 워크의 두께를 측정하는 것에 적합하다. As described above, the programmable controller according to the present invention is useful for control of machining of a workpiece, and is particularly suitable for measuring the thickness of a workpiece at equal intervals in the moving direction, for example, when the moving velocity of the workpiece changes.
1, 10: 프로그래머블 컨트롤러, 2: 통신 중계 제어부,
3: 클록 생성부, 4: 동기 신호 생성부,
11: CPU 유닛, 12: 카운터 유닛,
13: 입력 유닛, 14: 아날로그 입력 유닛,
15: 베이스 유닛, 21, 22: 외부 기기,
30: 워크, 31: 인코더,
32: 변위 센서, K1~K3: 커넥터,
W1~W4: 인터럽트 신호 제어부, S1: 신호 파형,
S2: 펄스, L1: 버스 통신선,
L2: 동기 제어 신호선, B1~B4: 버스 통신 처리부,
P1: 프로세서, M1, M4: 내부 메모리.1, 10: programmable controller, 2: communication relay control unit,
3: clock generating unit, 4: synchronous signal generating unit,
11: CPU unit, 12: counter unit,
13: input unit, 14: analog input unit,
15: base unit, 21, 22: external device,
30: work, 31: encoder,
32: displacement sensor, K1 ~ K3: connector,
W1 ~ W4: Interrupt signal control section, S1: Signal waveform,
S2: pulse, L1: bus communication line,
L2: synchronous control signal line, B1 to B4: bus communication processing section,
P1: Processor, M1, M4: Internal memory.
Claims (4)
동기 제어 신호를 전달하는 동기 제어 신호선과,
상기 동기 제어 신호선에 접속되어, 워크의 위치를 계측하는 인코더로부터의 변동하는 펄스 신호에 기초하여, 이동하는 상기 워크의 이동 속도에 비례한 주파수가 되도록 주기가 변동하는 상기 동기 제어 신호를 생성하는 동기 제어 신호 생성 유닛과,
상기 버스 및 상기 동기 제어 신호선에 접속되어, 상기 동기 제어 신호에 동기한 타이밍에서, 상기 인코더로부터의 상기 펄스 신호에 기초하여 상기 워크의 이동량에 비례하는 수의 펄스를 카운트한 카운트치를 제1 내부 메모리에 래치하는 카운터 유닛과,
상기 버스 및 상기 동기 제어 신호선에 접속되어, 상기 동기 제어 신호에 동기한 타이밍에서, 이동하는 상기 워크의 두께를 측정하는 센서의 측정 결과인 아날로그 신호를 제2 내부 메모리에 래치하는 아날로그 입력 유닛과,
상기 버스 및 상기 동기 제어 신호선에 접속되어, 상기 동기 제어 신호에 동기하여 상기 버스를 통해서 상기 제1 및 제2 내부 메모리의 값을 판독하는 CPU 유닛을 구비하는 것을 특징으로 하는 프로그래머블 컨트롤러.A bus for data transmission / reception,
A synchronization control signal line for transmitting a synchronization control signal,
Generating synchronous control signal which is connected to the synchronous control signal line and varies the period so as to become a frequency proportional to the moving speed of the moving work, based on a fluctuating pulse signal from an encoder for measuring a position of the work; A control signal generating unit,
And a count value which is connected to the bus and the synchronous control signal line and which counts pulses in a number proportional to the movement amount of the work based on the pulse signal from the encoder at a timing synchronized with the synchronous control signal, A counter unit for latching the counter value,
An analog input unit connected to the bus and the synchronous control signal line for latching an analog signal which is a measurement result of a sensor measuring a thickness of the workpiece moving at a timing synchronized with the synchronous control signal,
And a CPU unit connected to the bus and the synchronous control signal line for reading the values of the first and second internal memories through the bus in synchronization with the synchronous control signal.
상기 CPU 유닛이 생성한 일정 주기의 신호를 상기 동기 제어 신호로서 사용하는 것을 특징으로 하는 프로그래머블 컨트롤러.The method according to claim 1,
And uses a signal of a predetermined period generated by the CPU unit as the synchronization control signal.
상기 카운터 유닛 및 아날로그 입력 유닛은, 상기 동기 제어 신호의 하강 에지의 타이밍에서 래치하고, 상기 동기 제어 신호의 1 주기의 동안 같은 값을 유지하는 것을 특징으로 하는 프로그래머블 컨트롤러.The method according to claim 1 or 2,
Wherein the counter unit and the analog input unit latch at a timing of a falling edge of the synchronization control signal and maintain the same value during one cycle of the synchronization control signal.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2013/067403 WO2014207825A1 (en) | 2013-06-25 | 2013-06-25 | Programmable controller |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160018796A KR20160018796A (en) | 2016-02-17 |
KR101821068B1 true KR101821068B1 (en) | 2018-01-22 |
Family
ID=52141232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020167000676A KR101821068B1 (en) | 2013-06-25 | 2013-06-25 | Programmable controller |
Country Status (7)
Country | Link |
---|---|
US (1) | US9811486B2 (en) |
JP (1) | JP5661953B1 (en) |
KR (1) | KR101821068B1 (en) |
CN (1) | CN105339854A (en) |
DE (1) | DE112013007197T5 (en) |
TW (1) | TWI498688B (en) |
WO (1) | WO2014207825A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200096671A (en) * | 2018-02-07 | 2020-08-12 | 미쓰비시덴키 가부시키가이샤 | I/O control unit, programmable logic controller and inspection system |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017134826A1 (en) * | 2016-02-05 | 2017-08-10 | 三菱電機株式会社 | Control system and analog input unit |
JPWO2018078821A1 (en) * | 2016-10-28 | 2018-10-25 | 三菱電機株式会社 | Electronic device, programmable controller, programmable controller system, and synchronization method |
JP7009751B2 (en) * | 2017-03-15 | 2022-01-26 | オムロン株式会社 | Measurement system, control device, measurement method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012081115A1 (en) | 2010-12-16 | 2012-06-21 | 三菱電機株式会社 | Sequencer system and control method therefor |
WO2012098676A1 (en) | 2011-01-21 | 2012-07-26 | 三菱電機株式会社 | Analog input unit and programmable controller |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3866442A (en) * | 1972-01-12 | 1975-02-18 | Vyzk Vyvojovy Ustav Vseobe | D.c. exitation arrangement for a textile machine programmer |
US4384307A (en) * | 1979-08-28 | 1983-05-17 | Inteq, Inc. | Facsimile communications interface adapter |
EP1014271B1 (en) | 1997-02-07 | 2006-09-13 | Mitsubishi Denki Kabushiki Kaisha | Bus controller and bus control system |
JP3878312B2 (en) | 1998-01-19 | 2007-02-07 | オークマ株式会社 | Serial communication device |
KR20010107998A (en) * | 1998-12-03 | 2001-12-07 | 다니구찌 이찌로오, 기타오카 다카시 | Servo system controller |
US6879707B2 (en) * | 2000-12-05 | 2005-04-12 | Hewlett-Packard Development Company, L.P. | Plural colorants in flow tracer/debugger |
US8024584B2 (en) * | 2003-10-01 | 2011-09-20 | Ati Technologies Ulc | Remote connection system capable of generating a wake-up command and method thereof |
JP2005243008A (en) * | 2004-01-29 | 2005-09-08 | Omron Corp | Diagnostic system, diagnostic method, tool and component |
JP2005309627A (en) | 2004-04-20 | 2005-11-04 | Yaskawa Electric Corp | Programmable controller device |
JP2006048284A (en) * | 2004-08-03 | 2006-02-16 | Yaskawa Electric Corp | Programmable controller device and method for synchronizing with option module |
JP4419192B2 (en) | 2005-02-25 | 2010-02-24 | 株式会社デンソー | Automotive control device |
JP4498250B2 (en) * | 2005-09-22 | 2010-07-07 | ファナック株式会社 | Synchronous control system |
JP4993208B2 (en) | 2008-01-31 | 2012-08-08 | オムロン株式会社 | Industrial controller equipment |
EP2402714B1 (en) * | 2010-07-02 | 2013-04-17 | Tesa Sa | Dimension measuring device |
-
2013
- 2013-06-25 JP JP2013556446A patent/JP5661953B1/en not_active Expired - Fee Related
- 2013-06-25 US US14/899,584 patent/US9811486B2/en not_active Expired - Fee Related
- 2013-06-25 DE DE112013007197.5T patent/DE112013007197T5/en not_active Withdrawn
- 2013-06-25 WO PCT/JP2013/067403 patent/WO2014207825A1/en active Application Filing
- 2013-06-25 CN CN201380077714.6A patent/CN105339854A/en active Pending
- 2013-06-25 KR KR1020167000676A patent/KR101821068B1/en active IP Right Grant
- 2013-12-11 TW TW102145512A patent/TWI498688B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012081115A1 (en) | 2010-12-16 | 2012-06-21 | 三菱電機株式会社 | Sequencer system and control method therefor |
WO2012098676A1 (en) | 2011-01-21 | 2012-07-26 | 三菱電機株式会社 | Analog input unit and programmable controller |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200096671A (en) * | 2018-02-07 | 2020-08-12 | 미쓰비시덴키 가부시키가이샤 | I/O control unit, programmable logic controller and inspection system |
KR102209021B1 (en) * | 2018-02-07 | 2021-01-28 | 미쓰비시덴키 가부시키가이샤 | I/O control unit, programmable logic controller and inspection system |
Also Published As
Publication number | Publication date |
---|---|
CN105339854A (en) | 2016-02-17 |
TWI498688B (en) | 2015-09-01 |
US9811486B2 (en) | 2017-11-07 |
TW201500874A (en) | 2015-01-01 |
WO2014207825A1 (en) | 2014-12-31 |
KR20160018796A (en) | 2016-02-17 |
JPWO2014207825A1 (en) | 2017-02-23 |
DE112013007197T5 (en) | 2016-03-10 |
JP5661953B1 (en) | 2015-01-28 |
US20160147682A1 (en) | 2016-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101821068B1 (en) | Programmable controller | |
US8838846B1 (en) | Autonomous, multi-channel USB data acquisition transducers | |
CN102611516A (en) | Method and device for generating high-precision synchronous clock | |
CN107229246B (en) | Optical measuring device | |
CN110220458B (en) | Measurement system and measurement method | |
CN111052006B (en) | Control device and control method | |
US9600023B2 (en) | Method and data processing unit for providing a timestamp | |
JP4283873B2 (en) | A method of automatically forming multiple electrical pulses based on numerical settings as an incremental sensor simulation | |
KR101417197B1 (en) | Apparatus and method for positioning in Programmable Logic Controller, and PLC system using thereof | |
CN103838183A (en) | Numerical control system and output control method thereof | |
JP6683137B2 (en) | Industrial controller system | |
JP2001013179A (en) | Measurement method for ring oscillator clock frequency, measurement circuit for ring oscillator clock frequency, and microcomputer | |
JP2008148504A (en) | Motor control unit, motor control system and arithmetic processing method for controlling motor control unit | |
US20130346022A1 (en) | Physical quantity measuring apparatus and physical quantity measuring method | |
CN105702016B (en) | Device and method for checking an operating clock signal of a position measuring device | |
US8775852B2 (en) | Method for sensing input signal changes | |
CN110687773B (en) | Method, device and system for measuring timing accuracy of time unified system | |
KR102049291B1 (en) | Measurement system, control apparatus, measurement method | |
JP2011086120A (en) | Control device | |
KR100220794B1 (en) | Circuit of generating the scan synchronous signal of a linear camera | |
JP4661743B2 (en) | Motor drive device | |
CN117191075A (en) | Visual inertial odometer system for synchronous time synchronization of multiple sensors and time synchronization method thereof | |
JP2005309627A (en) | Programmable controller device | |
JPH0486997A (en) | Filter circuit | |
Sandee et al. | Implementing control algorithms on embedded platforms |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0105 | International application |
Patent event date: 20160111 Patent event code: PA01051R01D Comment text: International Patent Application |
|
PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 20160111 Comment text: Request for Examination of Application |
|
PG1501 | Laying open of application | ||
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20171218 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20180116 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20180116 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PC1903 | Unpaid annual fee |
Termination category: Default of registration fee Termination date: 20211027 |