KR100213095B1 - Method for checking networking status of PLC - Google Patents

Method for checking networking status of PLC Download PDF

Info

Publication number
KR100213095B1
KR100213095B1 KR1019970007264A KR19970007264A KR100213095B1 KR 100213095 B1 KR100213095 B1 KR 100213095B1 KR 1019970007264 A KR1019970007264 A KR 1019970007264A KR 19970007264 A KR19970007264 A KR 19970007264A KR 100213095 B1 KR100213095 B1 KR 100213095B1
Authority
KR
South Korea
Prior art keywords
plc
computer
networking
personal computer
ccu
Prior art date
Application number
KR1019970007264A
Other languages
Korean (ko)
Other versions
KR19980072430A (en
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 KR1019970007264A priority Critical patent/KR100213095B1/en
Publication of KR19980072430A publication Critical patent/KR19980072430A/en
Application granted granted Critical
Publication of KR100213095B1 publication Critical patent/KR100213095B1/en

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

본 발명에 따른 PLC의 네트워킹 상태 검사방법은, CPU와 CCU를 갖는 PLC와 퍼스널 컴퓨터로 구성된 네트워킹에서 퍼스널 컴퓨터와 PLC를 이용하여 PLC의 네트워킹 상태를 검사하는 방법에 있어서, 사용자에 의해 사전에 작성된 PLC의 상태를 읽어내기 위한 소정의 프로그램을 상기 퍼스널 컴퓨터에 저장하는 단계; 상기 PLC의 CCU와 퍼스널 컴퓨터를 하드웨어적으로 접속시켜 컴퓨터와 PLC의 CCU와의 통신을 개방시키는 단계; 사용자에 의해 PLC의 네트워킹 상태 검사를 위한 소정의 명령 메시지를 컴퓨터에 입력하는 단계; 입력된 명령을 컴퓨터로부터 PLC로 전송하는 단계; PLC로부터의 응답 신호를 컴퓨터에서 수신하는 단계; 및 컴퓨터에서 수신된 응답 신호를 해독하여 PLC의 네트워킹 상태를 파악하는 단계를 포함한다.The method for checking the networking status of a PLC according to the present invention is a method for checking the networking status of a PLC using a personal computer and a PLC in a networking composed of a PLC and a personal computer having a CPU and a CCU, and the PLC previously created by the user. Storing a predetermined program on the personal computer for reading a state of the; Connecting the CCU of the PLC and the personal computer in hardware to open communication between the computer and the CCU of the PLC; Inputting, by a user, a predetermined command message for checking the networking status of the PLC into the computer; Transmitting the input command from the computer to the PLC; Receiving at the computer a response signal from the PLC; And determining the networking state of the PLC by decoding the response signal received from the computer.

이와 같은 본 발명에 의하면, PLC의 네트워킹 상태나 CPU의 상태를 검사하기 위해서 종래처럼 반드시 PLC의 CPU와 퍼스널 컴퓨터 혹은 부하를 연결하지 않아도 PLC의 네트워킹 상태를 용이하게 검사할 수 있는 장점이 있다.According to the present invention as described above, it is possible to easily check the networking state of the PLC without necessarily connecting the CPU and the personal computer or load of the PLC in order to check the networking state of the PLC or the state of the CPU.

Description

피엘씨(PLC)의 네트워킹 상태 검사방법{Method for checking networking status of PLC}Method for checking networking status of PLC

본 발명은 PLC(programmable logic controller)의 네트워킹(networking) 상태 검사방법에 관한 것으로서, 특히 PLC의 CCU(computer communication unit)의 RT(remote terminal) 기능을 이용하여 네트워킹 상태의 CPU(central processing unit)의 기종, 프로그램 용량, 에러 등을 검사할 수 있는 PLC의 네트워킹 상태 검사방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of checking a networking state of a programmable logic controller (PLC). In particular, the present invention relates to a central processing unit (CPU) in a networking state by using a remote terminal (RT) function of a computer communication unit (CCU) of a PLC. The present invention relates to a method of checking the networking status of a PLC that can check a model, a program capacity, and an error.

오늘날, PLC는 공장자동화 등을 위한 필수적인 장치로서, 통상 연산을 위한 CPU부를 비롯하여 사용자 프로그램을 저장해 두는 메모리부, 공정의 입력 및 출력에 관여하는 I/O메모리부, 사용자 프로그램을 수행하고 처리하는 시스템 메모리부, 고속명령어 처리부 및 그외 통신을 위한 주변장치로 구성되어 있다. 이와 같은 PLC는 그 하드웨어적 구성에 있어서 일반 퍼스널 컴퓨터와 유사하나, 퍼스널 컴퓨터가 프로그램의 작성, 수정 및 편집 외에 작성한 프로그램을 메모리에 저장하는 기능을 가지는 것에 반해, PLC는 메모리에 저장되어 있는 소정의 제어 프로그램을 실행할 뿐이며 PLC 자체에서 프로그램을 작성하거나 메모리에 프로그램을 저장하는 기능은 가지고 있지 않다.Today, PLC is an essential device for factory automation, etc. It is a CPU unit for general operation, a memory unit for storing user programs, an I / O memory unit involved in process input and output, a system for performing and processing user programs. It is composed of a memory unit, a high speed command processor, and other peripheral devices for communication. Such a PLC is similar to a general personal computer in terms of its hardware configuration, whereas the PLC has a function of storing a created program in a memory in addition to creating, modifying, and editing a program, whereas a PLC is stored in a predetermined memory. It only executes the control program and does not have the function to write a program in the PLC itself or to store the program in memory.

도 1에는 그와 같은 PLC와 일반 퍼스널 컴퓨터와의 종래 네트워킹 구성의 일예가 도시되어 있다.1 shows an example of a conventional networking configuration of such a PLC and a general personal computer.

도 1에 도시된 바와 같은 일반 퍼스널 컴퓨터(11)와 다수의 PLC(12)로 구성된 종래의 네트워킹에 있어서, PLC(12)의 CPU(12a)와 퍼스널 컴퓨터(11) 또는 부하(loader)를 이용하여 PLC(12)의 네트워킹 상태를 점검할 수 있다. 그러나, 퍼스널 컴퓨터(11)와 PLC(12)가 실행 모드 수정(modify) 상태이거나 데이터 모니터링(monitoring) 등을 수행하게 되면, 동작 중에 있는 PLC(12)의 CPU(12a)에 영향을 주게 되어 PLC(12)의 네트워킹 상태를 정확히 검사하기가 어려워진다.In the conventional networking consisting of a general personal computer 11 and a plurality of PLCs 12 as shown in FIG. 1, the CPU 12a and the personal computer 11 or a load of the PLC 12 are used. To check the networking status of the PLC 12. However, when the personal computer 11 and the PLC 12 perform the modification of the execution mode or perform data monitoring, the CPU 12a of the PLC 12 in operation is affected. It becomes difficult to accurately check the networking status of (12).

본 발명은 상기와 같은 문제점을 감안하여 창출된 것으로서, 동작 중에 있는 PLC의 CPU에 영향을 주지 않으면서 PLC의 네트워킹 상태를 정확히 검사할 수 있는 PLC의 네트워킹 상태 검사방법을 제공함에 그 목적이 있다.The present invention has been made in view of the above problems, and an object thereof is to provide a networking state checking method of a PLC that can accurately check the networking state of a PLC without affecting the CPU of the PLC in operation.

도 1은 PLC와 퍼스널 컴퓨터와의 종래 네트워킹 구성도.1 is a conventional networking configuration of a PLC and a personal computer.

도 2는 본 발명의 방법에 따른 PLC와 퍼스널 컴퓨터와의 네트워킹 구성도.2 is a networking configuration of a PLC and a personal computer according to the method of the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

11,21 : 퍼스널 컴퓨터 12,22 : PLC11,21: personal computer 12,22: PLC

12a,22a : CPU 22b ; CCU12a, 22a: CPU 22b; CCU

상기의 목적을 달성하기 위하여 본 발명에 따른 PLC의 네트워킹 상태 검사방법은, CPU와 CCU를 갖는 PLC와 퍼스널 컴퓨터로 구성된 네트워킹에서 퍼스널 컴퓨터와 PLC를 이용하여 PLC의 네트워킹 상태를 검사하는 방법에 있어서, 사용자에 의해 사전에 작성된 PLC의 상태를 읽어내기 위한 소정의 프로그램을 상기 퍼스널 컴퓨터에 저장하는 단계; 상기 PLC의 CCU와 퍼스널 컴퓨터를 하드웨어적으로 접속시켜 컴퓨터와 PLC의 CCU와의 통신을 개방시키는 단계; 사용자에 의해 PLC의 네트워킹 상태 검사를 위한 소정의 명령 메시지를 컴퓨터에 입력하는 단계; 입력된 명령을 컴퓨터로부터 PLC로 전송하는 단계; PLC로부터의 응답 신호를 컴퓨터에서 수신하는 단계; 및 컴퓨터에서 수신된 응답 신호를 해독하여 PLC의 네트워킹 상태를 파악하는 단계를 포함하는 점에 그 특징이 있다.In order to achieve the above object, the method for checking the networking status of a PLC according to the present invention is a method for checking the networking status of a PLC using a personal computer and a PLC in a networking composed of a PLC and a personal computer having a CPU and a CCU, Storing a predetermined program in the personal computer for reading out a state of a PLC previously created by a user; Connecting the CCU of the PLC and the personal computer in hardware to open communication between the computer and the CCU of the PLC; Inputting, by a user, a predetermined command message for checking the networking status of the PLC into the computer; Transmitting the input command from the computer to the PLC; Receiving at the computer a response signal from the PLC; And determining the networking status of the PLC by decoding the response signal received from the computer.

이하 첨부된 도면을 참조하면서 본 발명의 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 PLC의 네트워킹 상태 검사방법이 채용된 PLC와 일반 퍼스널 컴퓨터와의 네트워킹 구성도이다.2 is a diagram illustrating a networking configuration between a PLC and a general personal computer employing a method for checking a networking status of a PLC according to the present invention.

도 2를 참조하면, 본 발명에 따른 PLC의 네트워킹 상태 검사방법은, CPU (22a)와 CCU(22b)를 갖는 PLC(22)와 퍼스널 컴퓨터(21)로 구성된 네트워킹에 있어서, 상기 PLC(22)의 CCU(22b)와 퍼스널 컴퓨터(21)와의 커뮤니케이션에 의해 PLC (22)의 네트워킹 상태를 검사하게 된다. 따라서, 도시된 것처럼 PLC(22)의 CCU(22b)는 퍼스널 컴퓨터(21)와 접속되고, 그에 따라 컴퓨터(21)와 PLC(22)의 CCU(22b)와의 통신이 개방된다. 이와 같은 상태에서, PLC(22)의 네트워킹 상태를 검사하기 위한 소정의 명령이 사용자에 의해 퍼스널 컴퓨터(21)에 입력되고, 그 입력된 명령이 다시 퍼스널 컴퓨터(21)로부터 PLC(22)로 전송되면, PLC(22)의 시스템 상태를 읽어내기 위해 마련된 베이직(예컨대, GW-BASIC)을 이용한 프로그램에 의해 PLC(22)의 시스템 상태를 읽어내게 된다. 그리고, 그 읽어낸 자료는 컴퓨터(21)로 전송되고, 컴퓨터(21)는 수신된 데이터를 해독하여 PLC(22)의 네트워킹 상태를 파악하게 된다. 이때, 읽어낸 데이터에는 N-7000이나 N-700과 같은 PLC(22) 내의 CPU(22a)의 기종, PLC 파라미터 설정 기능 및 시스템 레지스터(register)(미도시)에 설정되어 있는 프로그램 용량, CPU의 현재 상태가 예컨대, 'RUN', 'PROGRAM', 'REMOTE' 등 어느 모드인지를 나타내는 동작 모드, 그리고 각종 에러, 예를 들면 데이터 에러, 오버-런(over-run) 에러, 전송 포맷 에러, 수순 에러, 파라미터 에러, 어드레스 에러, 등록 에러 등과 같은 에러 내용이 포함되어 있다.Referring to Fig. 2, the method for checking the networking status of a PLC according to the present invention includes a PLC 22 having a CPU 22a and a CCU 22b and a personal computer 21 for networking. The networking state of the PLC 22 is checked by communication between the CCU 22b and the personal computer 21. Thus, as shown, the CCU 22b of the PLC 22 is connected with the personal computer 21, and communication between the computer 21 and the CCU 22b of the PLC 22 is thus opened. In such a state, a predetermined command for checking the networking state of the PLC 22 is input to the personal computer 21 by the user, and the input command is transmitted from the personal computer 21 to the PLC 22 again. Then, the system state of the PLC 22 is read by a program using a basic (for example, GW-BASIC) provided to read the system state of the PLC 22. The read data is transmitted to the computer 21, and the computer 21 decodes the received data to grasp the networking state of the PLC 22. At this time, the read data includes a model of the CPU 22a in the PLC 22 such as the N-7000 or the N-700, a program parameter set in the PLC parameter setting function, and a system register (not shown). Operation mode indicating which mode the current state is, for example, 'RUN', 'PROGRAM', or 'REMOTE', and various errors such as data error, over-run error, transmission format error, procedure Error contents such as errors, parameter errors, address errors, registration errors, and the like are included.

이상의 설명에서와 같이 본 발명에 따른 PLC의 네트워킹 상태 검사방법은 종래처럼 PLC의 CPU와 퍼스널 컴퓨터 혹은 부하를 연결하는 것이 아니라 네트워킹 상태에 함께 접속되어 있을 수 있는 CCU를 이용하여 PLC의 네트워킹 상태를 검사하므로, 퍼스널 컴퓨터와 PLC가 실행 모드 수정 상태이거나 데이터 모니터링 등을 수행해도 동작 중에 있는 CPU에 영향을 주지 않고 PLC의 네트워킹 상태를 용이하게 검사할 수 있는 장점이 있다.As described above, the method for checking the networking status of a PLC according to the present invention does not connect a CPU and a personal computer or a load of a PLC, but checks the networking status of a PLC using a CCU that may be connected together in a networking state. Therefore, there is an advantage that the personal computer and the PLC can easily check the networking state of the PLC without affecting the CPU in operation even if the execution mode is modified or data monitoring is performed.

Claims (3)

CPU와 CCU를 갖는 PLC와 퍼스널 컴퓨터로 구성된 네트워킹에서 퍼스널 컴퓨터와 PLC를 이용하여 PLC의 네트워킹 상태를 검사하는 방법에 있어서,In the networking consisting of a PLC and a personal computer having a CPU and a CCU, a method of checking the networking status of the PLC using the personal computer and the PLC, 사용자에 의해 사전에 작성된 PLC의 상태를 읽어내기 위한 소정의 프로그램을 상기 퍼스널 컴퓨터에 저장하는 단계;Storing a predetermined program in the personal computer for reading out a state of a PLC previously created by a user; 상기 PLC의 CCU와 퍼스널 컴퓨터를 하드웨어적으로 접속시켜 컴퓨터와 PLC의 CCU와의 통신을 개방시키는 단계;Connecting the CCU of the PLC and the personal computer in hardware to open communication between the computer and the CCU of the PLC; 사용자에 의해 PLC의 네트워킹 상태 검사를 위한 소정의 명령 메시지를 컴퓨터에 입력하는 단계;Inputting, by a user, a predetermined command message for checking the networking status of the PLC into the computer; 입력된 명령을 컴퓨터로부터 PLC로 전송하는 단계;Transmitting the input command from the computer to the PLC; PLC로부터의 응답 신호를 컴퓨터에서 수신하는 단계; 및Receiving at the computer a response signal from the PLC; And 컴퓨터에서 수신된 응답 신호를 해독하여 PLC의 네트워킹 상태를 파악하는 단계를 포함하는 것을 특징으로 하는 PLC의 네트워킹 상태 검사방법.And determining the networking status of the PLC by decoding the response signal received from the computer. 제1항에 있어서, 상기 PLC의 CCU와 퍼스널 컴퓨터와의 커뮤니케이션을 위해 베이직을 사용하는 것을 특징으로 하는 PLC의 네트워킹 상태 검사방법.The method of claim 1, wherein basic is used for communication between the CCU of the PLC and the personal computer. 제1항에 있어서, 상기 PLC의 네트워킹 상태에는 CPU기종, 프로그램 용량 및 에러 내용이 포함되어 있는 것을 특징으로 하는 PLC의 네트워킹 상태 검사방법.The method of claim 1, wherein the networking state of the PLC includes a CPU type, a program capacity, and an error content.
KR1019970007264A 1997-03-05 1997-03-05 Method for checking networking status of PLC KR100213095B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970007264A KR100213095B1 (en) 1997-03-05 1997-03-05 Method for checking networking status of PLC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970007264A KR100213095B1 (en) 1997-03-05 1997-03-05 Method for checking networking status of PLC

Publications (2)

Publication Number Publication Date
KR19980072430A KR19980072430A (en) 1998-11-05
KR100213095B1 true KR100213095B1 (en) 1999-09-01

Family

ID=19498770

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970007264A KR100213095B1 (en) 1997-03-05 1997-03-05 Method for checking networking status of PLC

Country Status (1)

Country Link
KR (1) KR100213095B1 (en)

Also Published As

Publication number Publication date
KR19980072430A (en) 1998-11-05

Similar Documents

Publication Publication Date Title
JPS6160443B2 (en)
CN113220229A (en) Online I/O undisturbed configuration method for distributed control system
CN109977052B (en) Protocol conversion method, system, medium, chip and electronic device applying the method
US4592010A (en) Memory-programmable controller
KR100213095B1 (en) Method for checking networking status of PLC
US4689751A (en) Numerical control device
EP0436458A2 (en) Programmable connector
US4807178A (en) Programmable sequence controller having indirect and direct input/output apparatus
US6598176B1 (en) Apparatus for estimating microcontroller and method thereof
US7443886B1 (en) Communication protocol system and method
EP0280890B1 (en) System and method for detecting the execution of an instruction in a central processing unit
JPS6194163A (en) Remote ipl control system
KR970044905A (en) Communication protocol between engine controller and external computer
KR0157456B1 (en) User determined function of robot controller
CN115291558A (en) PLC sequential control flow correction method and related components
JPH01169639A (en) Memory
JPH0732415B2 (en) Data transmission method and device
JPS60201437A (en) Microprocessor
JPS6398054A (en) Intelligent i/o device
JPH02176905A (en) Programmable controller
JPS61151746A (en) Processing method of data error
JPH05241650A (en) Programmable controller
JPS62262105A (en) Programmable controller
JPH0782407B2 (en) Reset processing method for microprocessor
JPS6023367B2 (en) Instruction change method in programmable logic controller

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130603

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20140513

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee