KR101771289B1 - Plc 프로그램 관리 장치 - Google Patents
Plc 프로그램 관리 장치 Download PDFInfo
- Publication number
- KR101771289B1 KR101771289B1 KR1020140059503A KR20140059503A KR101771289B1 KR 101771289 B1 KR101771289 B1 KR 101771289B1 KR 1020140059503 A KR1020140059503 A KR 1020140059503A KR 20140059503 A KR20140059503 A KR 20140059503A KR 101771289 B1 KR101771289 B1 KR 101771289B1
- Authority
- KR
- South Korea
- Prior art keywords
- execution
- memory
- plc
- memory block
- code
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 13
- 230000004048 modification Effects 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 2
- 101100408352 Drosophila melanogaster Plc21C gene Proteins 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- 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
- G05B19/056—Programming the PLC
-
- 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/13—Plc programming
- G05B2219/13153—Modification, change of program in real time
-
- 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/15—Plc structure of the system
- G05B2219/15065—Optimize program memory space
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
Description
도 2는 사용자 프로그램을 설명하기 위한 예,
도 3은 메모리 구성정보에 관한 예,
도 4는 메모리 블록 할당과 실행 테이블을 설명하기 위한 예,
도 5와 도 6은 사용자 프로그램이 수정될 때 메모리 블록을 다시 할당하는 방법의 구체적인 예이다
10-2: 실행 코드 10-3: 메모리 구성정보
10-4, 21-4: 실행 테이블 10-7, 21-7: 통신모듈
11: 컴파일 수단 12: 블록 할당 수단
13: 링크 수단 14: 실행 테이블 생성 수단
15: 다운로드 수단 20: PLC
21: CPU 모듈 21-1: CPU
21-2: 메모리 21-3: 프로그램 실행기
22: 전원모듈 23: 입출력 모듈
Claims (6)
- PLC(Programmable Logic Controller)의 주요 운용 프로그램을 실행하여 PLC를 관리하는 CPU 모듈로 복수개의 사용자 프로그램의 실행코드를 제공하기 위한 PLC 프로그램 관리 장치에 있어서,
상기 PLC 프로그램 관리 장치는,
소스 코드를 컴파일 하여 실행 코드를 생성하는 컴파일 수단;
메모리가 어떤 메모리 블록들로 구성되는 지에 관한 메모리 구성정보를 기초로, 실행 코드의 크기에 따라 적합한 메모리 블록을 할당하는 블록 할당 수단;
실행 코드를 상기 블록 할당 수단을 통해 할당된 메모리 블록의 위치에 배치하는 링크 수단;
각 실행 코드의 실행 순서와 위치 정보가 기록된 실행 테이블을 생성하는 실행 테이블 생성 수단; 및
상기 링크 수단에 의해 처리된 실행 코드와 상기 실행 테이블을 상기 PLC의 CPU 모듈로 다운로드 시키는 다운로드 수단을 포함하고,
상기 실행 테이블은, 실행코드의 실행순서와 위치정보가 저장된 영역과 사용되지 않은 메모리 블록에 대한 보존 영역을 포함하고, 상기 복수개의 사용자 프로그램 실행 중에 임의의 사용자 프로그램이 수정된 경우, 수정된 사용자 프로그램에 대한 정보가 상기 보존영역에 추가되어서 변경된 실행 테이블이 재생성되는 것을 특징으로 하는 PLC 프로그램 관리 장치.
- 제 1 항에 있어서,
상기 메모리 블록의 크기는 기 설정된 기본 크기(N)의 정수배로 구성되는 것을 특징으로 하는 PLC 프로그램 관리 장치. - 제 1 항에 있어서,
상기 블록 할당 수단은 소스 코드가 수정되는 경우, 수정된 실행 코드의 크기와 수정 전 실행 코드에 할당되어 있는 메모리 블록의 크기에 따라, 그 메모리 블록을 그대로 할당하거나, 또는 새로운 메모리 블록을 할당하는 것을 특징으로 하는 PLC 프로그램 관리 장치. - 제 3 항에 있어서,
메모리 블록의 크기는 기 설정된 기본 크기(N)의 정수배로 구성되고, CEIL(x)는 x보다 큰 최소 정수라 할 때,
상기 블록 할당 수단은 'CEIL(수정된 실행 코드의 크기 ÷ N) × N'으로부터 시작하여 크기를 한 단위씩 높여 가면서 유효한 메모리 블록을 탐색하는 것을 특징으로 하는 PLC 프로그램 관리 장치. - 제 3 항에 있어서,
상기 블록 할당 수단은 새로운 메모리 블록을 찾지 못한 경우 상기 메모리 구성정보를 기초로 각 실행 코드에 대한 메모리 블록을 다시 할당하는 것을 특징으로 하는 PLC 프로그램 관리 장치. - 제 1 항에 있어서,
상기 다운로드 수단으로부터 상기 실행 코드와 실행 테이블을 수신하는 PLC의 CPU 모듈을 더 포함하고,
상기 CPU 모듈은 상기 실행 테이블을 참조하여 메모리의 실행 코드를 순차 실행하는 것을 특징으로 하는 PLC 프로그램 관리 장치.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140059503A KR101771289B1 (ko) | 2014-05-19 | 2014-05-19 | Plc 프로그램 관리 장치 |
EP15167613.7A EP2947526B1 (en) | 2014-05-19 | 2015-05-13 | Apparatus for program management of programmable logic controller |
ES15167613T ES2771799T3 (es) | 2014-05-19 | 2015-05-13 | Aparato para la gestión de programas de controlador lógico programable |
US14/712,666 US10579036B2 (en) | 2014-05-19 | 2015-05-14 | Apparatus for program management of programmable logic controller |
CN201510341902.6A CN105094937B (zh) | 2014-05-19 | 2015-05-18 | 用于可编程逻辑控制器的程序管理的装置 |
JP2015101999A JP6023266B2 (ja) | 2014-05-19 | 2015-05-19 | Plcプログラム管理装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140059503A KR101771289B1 (ko) | 2014-05-19 | 2014-05-19 | Plc 프로그램 관리 장치 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20150132929A KR20150132929A (ko) | 2015-11-27 |
KR101771289B1 true KR101771289B1 (ko) | 2017-08-24 |
Family
ID=53283990
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140059503A Active KR101771289B1 (ko) | 2014-05-19 | 2014-05-19 | Plc 프로그램 관리 장치 |
Country Status (6)
Country | Link |
---|---|
US (1) | US10579036B2 (ko) |
EP (1) | EP2947526B1 (ko) |
JP (1) | JP6023266B2 (ko) |
KR (1) | KR101771289B1 (ko) |
CN (1) | CN105094937B (ko) |
ES (1) | ES2771799T3 (ko) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10824128B2 (en) | 2018-05-03 | 2020-11-03 | Lsis Co., Ltd. | Device for processing programmable logic controller program |
KR20210071487A (ko) * | 2019-12-06 | 2021-06-16 | 엘에스일렉트릭(주) | Plc 시스템 |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3380899B1 (en) * | 2016-01-11 | 2020-11-04 | Siemens Aktiengesellschaft | Program randomization for cyber-attack resilient control in programmable logic controllers |
JP6812727B2 (ja) | 2016-09-30 | 2021-01-13 | オムロン株式会社 | 安全制御ユニット、安全制御方法、安全制御プログラム |
US10664405B2 (en) * | 2017-11-03 | 2020-05-26 | Google Llc | In-memory distributed cache |
CN109840430B (zh) * | 2017-11-28 | 2023-05-02 | 中国科学院沈阳自动化研究所 | Plc的安全处理单元及其总线仲裁方法 |
JP6954256B2 (ja) * | 2018-11-02 | 2021-10-27 | 横河電機株式会社 | エンジニアリング装置、エンジニアリング装置の制御方法及びプログラム |
KR102231963B1 (ko) * | 2019-10-21 | 2021-03-24 | 엘에스일렉트릭(주) | 피엘씨 변수의 메모리 할당 방법 |
DE102019217848A1 (de) * | 2019-11-20 | 2021-05-20 | Robert Bosch Gmbh | Dynamische Koordination und Ausführung unabhängiger heterogener Programmeinheiten |
CN115826487B (zh) * | 2021-09-17 | 2025-01-21 | 沈机(上海)智能系统研发设计有限公司 | Plc软件地址交叉表图形化的应用方法、系统、终端及介质 |
KR102802414B1 (ko) * | 2022-07-06 | 2025-04-29 | 엘에스일렉트릭(주) | Plc 시스템 및 그 제어 방법 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001022413A (ja) * | 1999-07-09 | 2001-01-26 | Toshiba Corp | プログラマブルコントローラ |
JP2004295872A (ja) * | 2003-03-13 | 2004-10-21 | Omron Corp | 制御装置、cpuユニット、プログラマブルコントローラのユーザプログラム編集方法、及びオンラインエディットされる際のプログラマブルコントローラの処理方法 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61118806A (ja) | 1984-11-15 | 1986-06-06 | Fuji Electric Co Ltd | プログラミング装置 |
US6993456B2 (en) * | 1999-09-30 | 2006-01-31 | Rockwell Automation Technologies, Inc. | Mechanical-electrical template based method and apparatus |
JP2002333903A (ja) | 2001-05-09 | 2002-11-22 | Yaskawa Electric Corp | ラダープログラミングエディタにおける編集操作およびデータの記憶方法 |
JP2003122410A (ja) | 2001-10-17 | 2003-04-25 | Shimadzu System Solutions Co Ltd | コントローラの演算実行方法 |
US8141052B2 (en) * | 2003-05-09 | 2012-03-20 | Microsoft Corporation | Instrumenting software for enhanced diagnosability |
US7325118B2 (en) * | 2003-09-30 | 2008-01-29 | Samsung Electronics, Co., Ltd. | Method and apparatus for executing dynamic memory management with object-oriented program |
JP4825644B2 (ja) * | 2006-11-14 | 2011-11-30 | ルネサスエレクトロニクス株式会社 | 画像復号装置、画像符号化装置、およびシステムlsi |
US7835806B2 (en) | 2007-01-29 | 2010-11-16 | Rockwell Automation Technologies, Inc. | Method for indirect access to controller data using name stored in string tag |
JP5224498B2 (ja) | 2007-02-28 | 2013-07-03 | 学校法人早稲田大学 | メモリ管理方法、情報処理装置、プログラムの作成方法及びプログラム |
DE102010027906A1 (de) * | 2010-04-19 | 2011-10-20 | Beckhoff Automation Gmbh | Datenverwaltungsverfahren und speicherprogrammierbare Steuerung |
US9485200B2 (en) * | 2010-05-18 | 2016-11-01 | Intel Corporation | Network switch with external buffering via looparound path |
KR101719563B1 (ko) * | 2010-06-22 | 2017-03-24 | 삼성전자주식회사 | 방송수신장치 및 그의 메모리 관리방법 |
US8751724B2 (en) * | 2011-09-20 | 2014-06-10 | International Business Machines Corporation | Dynamic memory reconfiguration to delay performance overhead |
-
2014
- 2014-05-19 KR KR1020140059503A patent/KR101771289B1/ko active Active
-
2015
- 2015-05-13 EP EP15167613.7A patent/EP2947526B1/en active Active
- 2015-05-13 ES ES15167613T patent/ES2771799T3/es active Active
- 2015-05-14 US US14/712,666 patent/US10579036B2/en active Active
- 2015-05-18 CN CN201510341902.6A patent/CN105094937B/zh active Active
- 2015-05-19 JP JP2015101999A patent/JP6023266B2/ja not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001022413A (ja) * | 1999-07-09 | 2001-01-26 | Toshiba Corp | プログラマブルコントローラ |
JP2004295872A (ja) * | 2003-03-13 | 2004-10-21 | Omron Corp | 制御装置、cpuユニット、プログラマブルコントローラのユーザプログラム編集方法、及びオンラインエディットされる際のプログラマブルコントローラの処理方法 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10824128B2 (en) | 2018-05-03 | 2020-11-03 | Lsis Co., Ltd. | Device for processing programmable logic controller program |
KR20210071487A (ko) * | 2019-12-06 | 2021-06-16 | 엘에스일렉트릭(주) | Plc 시스템 |
KR102753309B1 (ko) | 2019-12-06 | 2025-01-09 | 엘에스일렉트릭(주) | Plc 시스템 |
Also Published As
Publication number | Publication date |
---|---|
EP2947526A2 (en) | 2015-11-25 |
CN105094937B (zh) | 2019-03-15 |
JP2015219924A (ja) | 2015-12-07 |
CN105094937A (zh) | 2015-11-25 |
JP6023266B2 (ja) | 2016-11-09 |
EP2947526A3 (en) | 2016-06-29 |
US20150331407A1 (en) | 2015-11-19 |
EP2947526B1 (en) | 2019-11-27 |
ES2771799T3 (es) | 2020-07-07 |
KR20150132929A (ko) | 2015-11-27 |
US10579036B2 (en) | 2020-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101771289B1 (ko) | Plc 프로그램 관리 장치 | |
US11209788B2 (en) | Techniques for improving industrial control systems | |
CN107168749B (zh) | 一种编译方法、装置、设备和计算机可读存储介质 | |
JP2012118715A (ja) | Plcシステム、その開発支援装置、プログラム | |
JP2016519385A (ja) | ドライバをロードする方法及び組み込みデバイス | |
JP6879625B2 (ja) | プログラマブルコントローラ、管理装置および制御システム | |
JP6445029B2 (ja) | 自動化システムを構成するための処理装置および方法 | |
CN114706590B (zh) | Plc应用包生成方法、plc应用执行方法及相关装置和系统 | |
CN101681266B (zh) | 用于包括多个设备的联网控制系统的编译器和编译方法 | |
CN103645888A (zh) | 一种自动构建操作系统的系统及方法 | |
JP2019016037A (ja) | プログラム作成装置 | |
JP6292096B2 (ja) | プログラマブルコントローラシステム、その支援装置 | |
JP5655448B2 (ja) | Plcシステム、その開発支援装置 | |
JP4366575B2 (ja) | ツール | |
US9170839B2 (en) | Method for job scheduling with prediction of upcoming job combinations | |
KR20200140382A (ko) | 프로그램 관리 시스템, 프로그래밍 지원 장치, 프로그램 관리 방법 및 프로그래밍 지원 프로그램 | |
JP2015022511A (ja) | プログラマブルコントローラシステム、その支援装置、プログラム | |
JP5906609B2 (ja) | デバッグ支援プログラム、デバッグ支援方法及びデバッグ支援システム | |
JP2015005224A (ja) | プログラマブルコントローラシステム、その支援装置、プログラマブルコントローラ、プログラム | |
JP4516046B2 (ja) | プログラマブルコントローラ | |
JP6455096B2 (ja) | コントロールシステム、その支援装置、プログラマブルコントロール装置 | |
US20130006397A1 (en) | Programmable controller and programming tool for communication with legacy equipment | |
JP5978775B2 (ja) | プログラマブルコントローラ、その支援装置、プログラム、プログラム転送方法 | |
CN113254020A (zh) | 固件自动编译打包的系统及方法 | |
CN104678875A (zh) | 一种变频器配置方法及变频器配置系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20140519 |
|
PG1501 | Laying open of application | ||
A201 | Request for examination | ||
PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 20160928 Comment text: Request for Examination of Application Patent event code: PA02011R01I Patent event date: 20140519 Comment text: Patent Application |
|
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20170220 Patent event code: PE09021S01D |
|
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: 20170810 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20170818 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20170818 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20200701 Start annual number: 4 End annual number: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20210712 Start annual number: 5 End annual number: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20230627 Start annual number: 7 End annual number: 7 |
|
PR1001 | Payment of annual fee |
Payment date: 20240624 Start annual number: 8 End annual number: 8 |