• 제목/요약/키워드: PLC Control Program

검색결과 102건 처리시간 0.032초

병렬 구조에 의한 가변 논리제어장치의 기능적 설계 (A Functional Design of Programmable Logic Controller Based on Parallel Architecture)

  • 이정훈;신현식
    • 대한전기학회논문지
    • /
    • 제40권8호
    • /
    • pp.836-844
    • /
    • 1991
  • PLC(programmable logic controller) system is widely used for the control of factory. PLC system receives ladder diagram which is drawn by the user to implement hardware logic, converts the ladder diagram into sequence program which is executable in the PLC system, and executes the sequence program indefinitely unless user breaks. The sequence program processes the data of on/off signal, and endures 1 scan delay and missing of pulse-type signal shorter than a scan time. So, data dependency doesn't exist. By applying theis characteristics to multiprocessor architecture, we design parellel PLC functionally and evaluate performance upgrade. Parallel PLC consists of central processing module, N general processing unit, and a shared memory by master-slave type. Each module executes allocated sequence program by the control of central processing module. We can expect performance upgrade by parallel processing, and reliability by relocation of sequence program when error occurs in processing module.

  • PDF

컴파일러 기술을 이용한 원전용 제어 프로그램의 시뮬레이터 설계 (Design of A PLC Program Simulator for Nuclear Plant Using Compiler Technology)

  • 이완복;노창현
    • 한국시뮬레이션학회논문지
    • /
    • 제15권1호
    • /
    • pp.11-17
    • /
    • 2006
  • 본 논문에서는 원전 계측제어시스템 구축을 위해 개발된 원전용 PLC 시뮬레이터의 설계 사항에 관해 소개한다. 원전용 계측제어시스템은 원전이라는 특수한 환경과 제약으로 말미암아, 일반적인 시뮬레이터 개발보다 엄격한 요건을 만족해야 한다. 이러한 요건으로는 다양한 테스팅을 통하여 제어 프로그램의 안정성을 보장할 수 있어야 하며, 다수의 계측제어 프로그램들을 고속으로 동시에 실행할 수 있어야 한다. 본 논문에서는 이러한 문제점들을 극복하고자 PLC 제어 프로그램의 컴파일러를 제작하여 C 코드 변환을 하게 된다. 제안한 방법에서는 검증용 상용 도구를 변환된 코드에 적용해 제어 프로그램의 안정성 평가를 할 수 있으며, Compiled-Code 시뮬레이션 기법을 이용하여 고속으로 실행 가능한 시뮬레이터를 자동으로 생성할 수 있다는 장점이 있다.

  • PDF

SFC언어에서 인터럽트 프로그램 시간개선에 관한 연구 (Study on the Time Improvement of Interrupt Program by SFC)

  • 유정봉
    • 한국산학기술학회논문지
    • /
    • 제14권10호
    • /
    • pp.5134-5139
    • /
    • 2013
  • 복잡한 현대의 제어시스템 설계에 PLC를 사용하면 프로그램은 LD언어나 SFC언어를 사용한다. 대부분은 LD 언어를 사용하지만 최근에는 SFC 언어의 사용빈도수가 높아졌다. SFC 언어는 제어의 흐름을 이해하기가 쉽지만, 조합논리를 표현하는데는 단점을 가지고 있다. SFC언어에서 인터럽트를 처리할 때 인터럽트 요인이 발생하게 되면 메인프로그램을 중지하고 인터럽트 프로그램을 실행하여 프로그램이 종료된 후 메인프로그램으로 복귀하게 된다. 그러면 인터럽트 프로그램이 복잡할수록 메인프로그램 정지시간은 그만큼 길어지게 된다. 본 논문에서는 SFC언어에서 메인프로그램의 휴지시간이 없는 인터럽트 처리방법을 제안하고, 시뮬레이션을 통해 그의 타당성을 확인하였다.

SFC로 설계된 PLC 제어에서 효율적인 자기진단 기능 (An Efficient Function of Self Test in PLC Control Designed by SFC)

  • 유정봉
    • 조명전기설비학회논문지
    • /
    • 제22권4호
    • /
    • pp.153-158
    • /
    • 2008
  • PLC를 사용한 제어 시스템을 설계할 때 여러 종류의 표준언어중 LD언어가 가장 많이 사용되지만, SFC를 사용하면 제어의 흐름을 알기 쉽고 유지보수가 용이하며, 프로그램의 기술성이 뛰어나다. 그러나 SFC 언어는 조건처리시 큰 메모리를 요구한다는 단점이 있다. 따라서 SFC로 설계된 시스템은 자기진단기능을 부가하려면 메모리가 상당히 커야 하고, 속도가 늦은 단점이 있다. 이러한 문제점을 해결하기 위해 본 논문에서는 자기진단 기능을 효율적으로 처리하는 방법을 제시하고, 실례를 통해 타당성을 확인하였다.

PLC출력 확장 디코딩 프로그램 모듈 개발 (Development of Decoding Program Module for PLC Output Expansion)

  • 유정봉
    • 대한전기학회:학술대회논문집
    • /
    • 대한전기학회 2005년도 심포지엄 논문집 정보 및 제어부문
    • /
    • pp.131-133
    • /
    • 2005
  • In this paper, we proposed the program module that expand output points when increased of the output machine for the design of process control system with PLC. In order to incense output points we need the decoding. There is a hardware decoding and a software decoding. In this paper, we proposed the decoding program module which is a software decoding and confirmed feasibility through a simulation.

  • PDF

PLC 신호의 시간차이를 이용한 자동화 공정의 PLC프로그램 모니터링 (PLC Program Monitoring for Manufacturing Systems Using PLC Signal Time Difference)

  • 성길영;한관희;변재정;왕지남;박상철
    • 한국CDE학회논문집
    • /
    • 제14권3호
    • /
    • pp.176-185
    • /
    • 2009
  • Modern manufacturing systems consist of highly automated manufacturing devices, and they are controlled by complicated PLC programs. To make sure the achievement of the control objectives of a manufacturing system, it is very important to monitor the dynamic system behaviors of the manufacturing system. In this paper, we propose a monitoring methodology of a PLC program based on the Software In the Loop Simulation(SILS), which makes use of the time gap information between PLC signals. The errors relevant with PLC signals can be found using the proposed methodology, comparing a normal PLC signal trajectory with a target PLC signal trajectory. The proposed methodology has been implemented and tested with simple examples.

모바일 PDA를 이용한 지열냉난방의 감시 및 제어 (Monitoring and Control of Geothermal Apparatus Using Mobile Devices)

  • 지양환;조용범;최승달;남부희
    • 대한전기학회:학술대회논문집
    • /
    • 대한전기학회 2005년도 학술대회 논문집 정보 및 제어부문
    • /
    • pp.331-333
    • /
    • 2005
  • In this paper, we implemented the monitoring and control of geothermal heating and cooling system using mobile devices. The main idea of this system is to provide the convenience if the system can be controled in remote place with monitoring using the mobile devices like PDA. Basically, the system consists of the Server-Client structure divided into two parts, one is PDA and PC, the other is PC and PLC(Programmable Logic Controller). The PDA, which is equipped with Windows CE as as, monitors the status of the devices (motors and sensors, etc) attached to PLC and controls them. This does the system to be controled by the commands, which we assume to control, with wireless transmission between PC and PLC. The PDA parts are responsible for monitoring and control the devices connected to the PLC, and the PC part which equipped with the application is to provide the relation between PDA and PLC. The Ladder Program is used to control the sequences of the PLC..

  • PDF

PLC용 uC/OS 운영체제의 보안성 강화를 위한 실행코드 새니타이저 (Executable Code Sanitizer to Strengthen Security of uC/OS Operating System for PLC)

  • 최광준;유근하;조성제
    • 정보보호학회논문지
    • /
    • 제29권2호
    • /
    • pp.365-375
    • /
    • 2019
  • PLC(Programmable Logic Controller)는 안전 지향 제어시스템(safety-critical control system)을 위한 실시간 임베디드 제어 애플리케이션들을 지원하는 고신뢰성의 산업용 디지털 컴퓨터이다. PLC의 실시간 제약조건을 만족시키기 위하여 uC/OS 등의 실시간 운영체제들이 구동되고 있다. PLC들이 산업제어 시스템 등에 널리 보급되고 인터넷에 연결됨에 따라, PLC 시스템을 대상으로 한 사이버 공격들이 증대되고 있다. 본 논문에서는, 통합 개발 환경(IDE)에서 개발된 프로그램이 PLC로 다운로드 되기 전에 실행 코드를 분석하여 취약성을 완화시켜 주는 "실행코드 새니타이저(sanitizer)"를 제안한다. 제안기법은, PLC 프로그램 개발 중에 포함되는 취약한 함수들과 잘못된 메모리 참조를 탐지한다. 이를 위해 취약한 함수 DB 및 이상 포인터 연산과 관련된 코드 패턴들의 DB를 관리한다. 이들 DB를 기반으로, 대상 실행 코드 상에 취약 함수들의 포함 여부 및 포인터 변수의 이상 사용 패턴을 탐지 제거한다. 제안 기법을 구현하고 실험을 통해 그 유효성을 검증하였다.

SFC로 설계된 공정제어에서 선택시퀀스의 메모리효율향상 (Improvement of Memory Efficiency for Alternative Sequence in Process Control System Described by SFC)

  • 유정봉
    • 조명전기설비학회논문지
    • /
    • 제24권5호
    • /
    • pp.55-61
    • /
    • 2010
  • PLC 제어 시스템은 SFC 언어를 사용하여 설계할 경우, SFC 언어를 사용하면 제어의 흐름을 이해하기 쉽고, 유지보수가 용이하며 프로그램의 기술성이 뛰어나다. SFC 언어는 단일 시퀀스, 선택 시퀀스, 병렬 시퀀스로 나누어지며, 선택 시퀀스로 프로그래밍 하면 단일 시퀀스로 프로그램할 때보다 메모리의 크기가 커져야 한다. 본 논문에서는 선택 시퀀스의 기능을 단일 시퀀스로 구현하여 메모리의 크기를 줄여서 메모리의 효율을 향상시키는 방법을 제시하고, 실례를 통해 타당성을 확인하였다.

간이 승강기 수·자동 배선제어방식에 관한 연구 (A Study on the Wiring Control Method of Hand & Auto Operation of an Easy Elevator)

  • 위성동;구할본
    • 한국전기전자재료학회논문지
    • /
    • 제16권4호
    • /
    • pp.351-357
    • /
    • 2003
  • An easy learning elevator originated is opened to compare the existed teaming equipment, and it had a high studied efficiency that the sequence control circuit can open and close with the wire. The structure of equipment to be controlled from the first floor to the fifth floors is demostrated by the constructive apparatus with the lamps to express the function of the open-close of the door according to the cage moving with a mechanical actuation of the forward reverse breaker and the motor of load, and the mechanical actuation of hand-operation control components of push-button S/W and L/S and relay etc. These components let connect each other in order to control of the elevator function with the auto program and the designed sequence control circuit. Consequently the cage could go and come till 1∼5 steps with an auto program of the elevator and the sequence control circuit. The sequence control circuit is controlled by the step of forward and reverse to follow as that the sensor function of L/S1 ∼ L/S5 let posit with the control switchs of S/W1 ∼ S/W5 of PLC testing panel and switchs of S/W1 ∼ S/W5 installed on the transparent acryl plate of the frame. In here, improved apparatus is the hand-auto operation combined learning equipment to study the principle and technique of the originate sequence control circuit and the auto program of PLC.