JP3915313B2 - LAN communication system in PLC - Google Patents

LAN communication system in PLC Download PDF

Info

Publication number
JP3915313B2
JP3915313B2 JP11192399A JP11192399A JP3915313B2 JP 3915313 B2 JP3915313 B2 JP 3915313B2 JP 11192399 A JP11192399 A JP 11192399A JP 11192399 A JP11192399 A JP 11192399A JP 3915313 B2 JP3915313 B2 JP 3915313B2
Authority
JP
Japan
Prior art keywords
processor
lan
state
tcp
line
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.)
Expired - Fee Related
Application number
JP11192399A
Other languages
Japanese (ja)
Other versions
JP2000307616A (en
Inventor
信也 大野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meidensha Corp
Original Assignee
Meidensha Corp
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 Meidensha Corp filed Critical Meidensha Corp
Priority to JP11192399A priority Critical patent/JP3915313B2/en
Publication of JP2000307616A publication Critical patent/JP2000307616A/en
Application granted granted Critical
Publication of JP3915313B2 publication Critical patent/JP3915313B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、PLC(プログラマブルロジックコントローラ)同士をLANでネットワーク接続した、PLCにおけるLAN通信方式に関するものである。
【0002】
【従来の技術】
LANは、同軸ケーブルをデータ伝送媒体に用い、CSMA/CD方式(衝突検出型搬送多重LANのアクセス方式)のインタフェースによってコンピュータ同士の通信を可能にする。
【0003】
近年、プラントにおにける監視制御システムは、ホストコンピュータとしてワークステーションやミニコンに代えてパソコンが採用され、それに伴い最も一般的なLANがPC上位ネットワークおよびPC間ネットワークのデファクトスタンダートとして確立されたといってもよい。
【0004】
これらパソコンやPCLは、LANを使った通信のためのインタフェースにTCP/IPプロトコルを実装する場合、信頼性の高い1対1通信をTCP/IPプロトコルを実装する場合、信頼性の高い1対1通信をTCP/IPを使って実現している。
【0005】
通常、パソコンがTCP/IPを使って通信を行う場合、論理回線の確立→データの送受信→論理回線の解放の手順をアプリケーションプログラムがすべて行うのが一般的である。
【0006】
【発明が解決しようとする課題】
PLCは、シーケンスコントローラとして位置付けられているため、PC上位ネットワークおよびPC間ネットワークで扱うデータは制御データであり、迅速なやりとりが要求される。
【0007】
そのため、TCP/IPで通信を行うのに際し、論理回線の確立→データ送信→論理回線の解放の手順を踏んでいたのでは処理の遅延を招いてしまう。
【0008】
この発明は、上記課題に鑑みてなされたものであり、その目的とするところは、制御データの送受信を迅速に行うことができるPLCにおけるLAN通信方式を提供することにある。
【0009】
【課題を解決するための手段】
この発明は、パーソナルコンピュータをホストコンピュータとして複数のPLCをLANで接続し、それぞれ相互通信機能を得るための物理層,データリンク層,IP,TCPを有するLANインタフェース、および送受信データを格納するユーザ用メモリ,論理回線の確立,データの送受信,論理回線の解放の手順を行うアプリケーションプログラムを有するプロセッサを備えたPLCにおけるLAN通信方式において、
前記LANインタフェースのプロセッサとの結合部に、データ送受信を制御する機能と論理回線確立解放を行う機能を有する機能部分を実装すると共に、論理回線確立のための情報を格納する不揮発性メモリを実装し、前記不揮発性メモリに対し外部よりのマンマシンインタフェースにより前記論理回線確立のための情報をフレキシブルにロードできるようにしたことを特徴とする。
【0010】
前記プロセッサは、アプリケーションプログラムのRUN状態とSTOP状態の2つの動作状態を制御するキースイッチを持ち、プロセッサにこのキースイッチの状態を格納する動作状態格納メモリが実装されている。
【0011】
前記LANインタフェースに実装された前記機能部分が回線確立処理を行うタイミングを検出したときマンマシンインタフェイスから前記不揮発性メモリに論理回線確立のための情報がダウンロードされるようにする。
【0012】
前記LANインタフェースに実装された前記機能部分は、プロセッサの動作状態を監視し、キースイッチの状態のSTOPからRUNの状変を検出した時に、前記不揮発性メモリの情報をもとに論理回線の確立処理を行い、キースイッチ状態のRUNからSTOPの状変を検出した時に、論理回線の解放処理を行う。
【0013】
前記論理回線の確立処理において、前記LANインタフェースに実装された前記機能部分は、TCPに対しオープン要求を発行し、このオープン要求に対するTCPからのオープン確認が「正常」の場合プロセッサに対し回線確立状態を通知し、アプリケーションプログラムを送受信可能とする。
【0014】
前記論理回線の確立処理において、前記LANインタフェースに実装された前記機能部分発行し、TCPに対しオープン要求を発行し、このオープン要求に対するTCPからのオープン確認が「異常」の場合、プロセッサの動作状態がSTOPならば回線確立処理を終了し、また、RUNならば、一定時間後に再びオープン要求を発行する。
【0015】
前記LANインタフェースに実装された前記機能部分は、TCPからのクローズ確認又はオープン確認「異常」の通知があった場合プロセッサに対し回線状態が未確立になったことを通知すると共に一定時間後にTCPに対しオープン要求を発行する。
【0016】
【発明の実施の形態】
この発明の実施の形態について図面を用いて説明する。
【0017】
(1)システム構成
図1について、パソコン1Aをホストコンピュータとし、PLC2A〜2LがLAN9に接続される。パソコン1AおよびPLC2A〜2Nは、PLC2Aに代表して示すように、それぞれ相互通信機能を得るためのLANインタフェース3およびプロセッサ4を有する。
【0018】
インタフェース3は、物理層31とデータリンク層32とIP33およびTCP34の他に、TCP/IPを使ってPC間の1対1通信を行うのに際し、論理回線の確立および解放処理をプロセッサ4のアプリケーションプログラムが行わなくてすむようにするための機能部分35をプロセッサ4との結合部に設ける。
【0019】
この機能部分35は、データリンク層32とIP33とTCP34と同様にソフトウェアで構成される。具体的には、この機能部分35が、データ送受信を制御する機能の他に論理回線の確立、解放を行う機能を実装する。
【0020】
そのため、インタフェース3に論理回線確立のための情報を格納する不揮発性メモリ36も実装されている。この不揮発性メモリ36に対し、外部よりのマンマシンインターフェース37により、論理回線確立のための宛先IPアドレスや宛先ポート番号などの情報がフレキシブルにロード可能とする。
【0021】
プロセッサ4は上記機能部分35による送受信データを格納するユーザ用メモリ41とそれを使用するアプリケーションプログラム42を有する。またプロセッサ4にはアプリケーションプログラム42の動作状態を制御するキースイッチ44を持つ。このキースイッチ44は、RUN状態とSTOP状態の2つの状態を持つ。このRUN状態はアプリケーションプログラム42が動作する状態であり、STOP状態はアプリケーションプログラム42が停止する状態である。また、プロセッサ4の内部に、キースイッチ44の状態を格納する動作状態格納メモリ43を実装する。
【0022】
(2)論理回線の確立
インタフェース3は、常に不揮発性メモリ36の論理回線の確立のための情報を読み込めるようになっており、この情報は、上記機能部分35が、回線確立処理を行うタイミングを検出したときに読み込む。
【0023】
また、インタフェース3の上記機能部分35はプロセッサ4の動作状態を監視し、キースイッチ44の状態のSTOPからRUNの状変を検出した時に、不揮発性メモリ36の情報をもとに論理回線の確立処理を行う。また、キースイッチ44のRUN状態からSTOPの状変を検出した時に、論理回線の解放処理を行う。
【0024】
これにより、アプリケーションプログラム42が動作している時のみ、フレキシブルに論理回線確立のための確立情報を変化させて、論理回線の確立を行うことが可能となる。
【0025】
この回線確立処理は図2に示す手順で行う。この回線確立処理により、アプリケーションプログラム42は、論理回線の確立/解放を意識せずに、上記機能部分35の送受信制御機能のみを使用してデータの送受信を実現できる。
【0026】
但し、アプリケーションプログラムが論理回線の確立/解放を意識しないため、確立処理が失敗した場合や相手側から論理回線を切断された場合に対応できない。そのため、インタフェース3の上記機能部分35が以下の機能を持つことによって対応する。
【0027】
(3)論理回線の再確立
図3について、上記回線確立処理において、上記機能部分35は、TCP34に対し、オープン要求を発行する。
【0028】
オープン要求に対するTCP34からのオープン確認が「正常」の場合、上記機能部分35はプロセッサ4に対し、回線確立状態を通知する。これによりアプリケーションプログラム42は送受可能となる。
【0029】
図4,図5について、オープン要求に対するTCP34からのオープン確認が「異常」の場合(これは相手が存在しなかった場合などに起こる)、プロセッサ4の動作状態がSTOPならば、回線確立処理を終了する。また、RUNならば、一定時間後に再びオープン要求を発行する。なおオープン確認が「異常」で通知されている間は、プロセッサ4に対し、回線未確立状態を通知する。
【0030】
これにより、アプリケーションプログラム42がRUN状態で動作しているときは、回線確立処理が「異常」で終わった場合でも、アプリケーションプログラム42が意識することなく、回線が確立するまで自動的に再確立処理が行われる。
【0031】
この回線再確立処理は図6に示す手順で行う。なお、図6において、S1〜S8は異常シーケンスその1を行う手順、S1,S11〜S13は異常シーケンスその2を行う手順を示す。
【0032】
(4)相手局からの回線切断要求を受信した場合
図7について、プロセッサ4の動作状態がRUNで、回線が確立している状態において、相手局から切断要求を受信した時は、TCP34から上記機能部分35にクローズ通知がある。この場合、TCP34に対し、クローズ要求を発行し、相手局に応答する。相手からの確認を受信するとTCP34からクローズ確認があり、プロセッサ4に対し、回線状態が未確立になったことを通知する。
【0033】
上記機能部分35は、この回線未確立状態になったとき、一定時間後にオープン要求を発行する。オープン確認が「異常」で通知された場合は、一定時間T後のオープン要求発行を繰り返し行い、オープン確認が「正常」になったところでプロセッサ3に対し、回線確立を通知する。
【0034】
この相手局から切断要求を受信した場合の処理は図8の手順で行う。
【0035】
【発明の効果】
この発明は、上述のとおり構成されているので、次に記載する効果を奏する。
(1)PLCのアプリケーションプログラムは、TCP/IPによる1対1通信における、回線の確立および解放を意識することなくデータの送受を行える。
(2)従って、余分な手順がない分、制御データの送受信が迅速に行える。
(3)イーサネットインタフェースに回線確立のための情報をロードできる手段と、PLCに動作状態キースイッチを実装することによって、回線の確立のための情報をフレキシブルに変更して回線の確立および解放を行うことができる。
【図面の簡単な説明】
【図1】実施の形態にかかるシステム構成図。
【図2】実施の形態にかかる回線確立処理フロー図。
【図3】実施の形態にかかる回線確立正常シーケンス図。
【図4】実施の形態にかかる回線確立異常シーケンス(その1)図。
【図5】実施の形態にかかる回線確立異常シーケンス(その2)図。
【図6】実施の形態にかかる回線再確立処理フロー図。
【図7】実施の形態にかかる相手局からの回線切断シーケンス図。
【図8】実施の形態にかかる相手局から切断要求を受信した場合の処理フロー図。
【符号の説明】
1A…パソコン
2A〜2N…PLC(プログラマブルロジックコントローラ)
3…LANインタフェース
4…プロセッサ
9…LAN(ローカルエリアネットワーク)
31…物理層
32…データリンク層
33…IP(ネットワーク階層プロトコル)
34…TCP(伝送制御プロトコル)
35…データ送受信を制御する機能・論理回線の確立、解放を行う機能が実装された機能部分(本発明による機能部分)
36…不揮発性メモリ
37…マンマシンインタフェース
41…ユーザ用メモリ
42…アプリケーションプログラム
43……動作状態格納メモリ(キースイッチの状態を格納)
44…キースイッチ
SYN,FIN,ACK,RST…TCP/IPプロトコルでの通信コード
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a LAN communication system in a PLC in which PLCs (programmable logic controllers) are connected to each other via a LAN.
[0002]
[Prior art]
The LAN uses a coaxial cable as a data transmission medium, and enables communication between computers by an interface of a CSMA / CD method (access method of collision detection type carrier multiplexed LAN).
[0003]
In recent years, personal computers have been adopted as monitoring and control systems in plants in place of workstations and minicomputers as host computers, and the most common LAN has been established as the de facto standard for PC upper-level networks and inter-PC networks. May be.
[0004]
These personal computers and PCL have a reliable one-to-one relationship when implementing the TCP / IP protocol when implementing the TCP / IP protocol when implementing the TCP / IP protocol in the interface for communication using the LAN. Communication is realized using TCP / IP.
[0005]
Normally, when a personal computer performs communication using TCP / IP, an application program generally performs all the procedures of establishing a logical line → transmitting / receiving data → releasing a logical line.
[0006]
[Problems to be solved by the invention]
Since the PLC is positioned as a sequence controller, the data handled in the host PC network and the inter-PC network is control data, and prompt exchange is required.
[0007]
Therefore, when communication is performed using TCP / IP, if the procedure of establishing a logical line → data transmission → releasing the logical line is taken, processing delay is caused.
[0008]
The present invention has been made in view of the above problems, and an object of the present invention is to provide a LAN communication system in a PLC that can quickly transmit and receive control data.
[0009]
[Means for Solving the Problems]
The present invention uses a personal computer as a host computer to connect a plurality of PLCs via a LAN, each of which has a physical layer for obtaining an intercommunication function, a data link layer, a LAN interface having IP and TCP, and a user for storing transmission / reception data In a LAN communication system in a PLC having a processor having an application program for performing a memory, logical line establishment, data transmission / reception, and logical line release procedure,
A functional part having a function of controlling data transmission and reception and a function of releasing and establishing a logical line is mounted on a coupling part with the processor of the LAN interface, and a non-volatile memory for storing information for establishing a logical line is mounted. The information for establishing the logical line can be flexibly loaded into the nonvolatile memory by an external man-machine interface.
[0010]
The processor has a key switch for controlling two operation states of the application program, namely, a RUN state and a STOP state, and an operation state storage memory for storing the state of the key switch is mounted on the processor.
[0011]
When the functional part mounted on the LAN interface detects the timing for performing the line establishment process, information for establishing a logical line is downloaded from the man-machine interface to the nonvolatile memory.
[0012]
The functional part implemented in the LAN interface monitors the operating state of the processor and establishes a logical line based on the information in the non-volatile memory when a RUN state change is detected from the STOP of the key switch state. When a STOP state change is detected from the RUN in the key switch state, a logical line release process is performed.
[0013]
In the logical line establishment processing, the functional part implemented in the LAN interface issues an open request to the TCP, and if the open confirmation from the TCP for this open request is “normal”, the line establishment state to the processor To enable transmission and reception of application programs.
[0014]
In the logical line establishment processing, the functional part implemented in the LAN interface is issued, an open request is issued to the TCP, and if the open confirmation from the TCP for the open request is “abnormal”, the processor operating state If it is STOP, the circuit establishment process is terminated, and if it is RUN, an open request is issued again after a predetermined time.
[0015]
The functional part implemented in the LAN interface notifies the processor that the line state has not been established to the processor when a close confirmation or open confirmation “abnormality” notification is received from the TCP, and after a certain time has passed to the TCP. Issue an open request to it.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described with reference to the drawings.
[0017]
(1) System Configuration Referring to FIG. 1, a personal computer 1A is a host computer, and PLCs 2A to 2L are connected to a LAN 9. The personal computer 1A and the PLCs 2A to 2N each have a LAN interface 3 and a processor 4 for obtaining an intercommunication function, as representatively shown by the PLC 2A.
[0018]
In addition to the physical layer 31, the data link layer 32, the IP 33 and the TCP 34, the interface 3 performs logical line establishment and release processing on the application of the processor 4 when performing one-to-one communication between PCs using TCP / IP. A functional part 35 for avoiding the need to execute a program is provided at the joint with the processor 4.
[0019]
This functional part 35 is configured by software in the same manner as the data link layer 32, the IP 33, and the TCP 34. Specifically, the functional part 35 implements a function for establishing and releasing a logical line in addition to a function for controlling data transmission / reception.
[0020]
For this reason, a non-volatile memory 36 that stores information for establishing a logical line in the interface 3 is also mounted. Information such as a destination IP address and a destination port number for establishing a logical circuit can be flexibly loaded into the nonvolatile memory 36 by an external man-machine interface 37.
[0021]
The processor 4 has a user memory 41 for storing transmission / reception data by the functional part 35 and an application program 42 for using it. The processor 4 has a key switch 44 that controls the operating state of the application program 42. The key switch 44 has two states, a RUN state and a STOP state. This RUN state is a state in which the application program 42 operates, and the STOP state is a state in which the application program 42 stops. An operation state storage memory 43 that stores the state of the key switch 44 is mounted inside the processor 4.
[0022]
(2) The logical line establishment interface 3 can always read information for establishing a logical line in the nonvolatile memory 36, and this information indicates the timing at which the functional part 35 performs the line establishment process. Read when detected.
[0023]
The functional section 35 of the interface 3 monitors the operating state of the processor 4 and establishes a logical line based on information in the nonvolatile memory 36 when a change in RUN is detected from the STOP state of the key switch 44. Process. When a STOP state change is detected from the RUN state of the key switch 44, a logical line release process is performed.
[0024]
Thereby, only when the application program 42 is operating, it is possible to flexibly change the establishment information for establishing the logical line and establish the logical line.
[0025]
This line establishment process is performed according to the procedure shown in FIG. By this line establishment process, the application program 42 can realize data transmission / reception using only the transmission / reception control function of the functional part 35 without being conscious of establishment / release of the logical line.
[0026]
However, since the application program is unaware of the establishment / release of the logical line, it cannot cope with the case where the establishment process fails or the logical line is disconnected from the other party. For this reason, the above-described functional portion 35 of the interface 3 has the following functions.
[0027]
(3) Re-establishment of logical line With respect to FIG. 3, in the line establishment process, the functional part 35 issues an open request to the TCP 34.
[0028]
When the open confirmation from the TCP 34 for the open request is “normal”, the functional part 35 notifies the processor 4 of the line establishment state. As a result, the application program 42 can be sent and received.
[0029]
4 and 5, when the open confirmation from the TCP 34 for the open request is “abnormal” (this occurs when the other party does not exist), if the operating state of the processor 4 is STOP, the line establishment process is performed. finish. If it is RUN, an open request is issued again after a predetermined time. While the open confirmation is notified as “abnormal”, the processor 4 is notified of the line unestablished state.
[0030]
As a result, when the application program 42 is operating in the RUN state, even if the line establishment process ends in “abnormal”, the application program 42 is automatically reestablished until the line is established without being aware of it. Is done.
[0031]
This line re-establishment process is performed according to the procedure shown in FIG. In FIG. 6, S <b> 1 to S <b> 8 indicate a procedure for performing the abnormal sequence 1, and S <b> 1, S <b> 11 to S <b> 13 indicate a procedure for performing the abnormal sequence 2.
[0032]
(4) When a line disconnection request is received from the partner station With respect to FIG. 7, when the disconnection request is received from the partner station in the state where the operation state of the processor 4 is RUN and the line is established, The function part 35 has a close notification. In this case, a close request is issued to the TCP 34 and a response is made to the partner station. When the confirmation from the other party is received, there is a close confirmation from the TCP 34, and the processor 4 is notified that the line state is not established.
[0033]
The functional part 35 issues an open request after a certain time when the line is not established. When the open confirmation is notified as “abnormal”, issuance of an open request after a predetermined time T is repeatedly performed, and when the open confirmation becomes “normal”, the processor 3 is notified of the establishment of the line.
[0034]
Processing when a disconnection request is received from the other station is performed according to the procedure shown in FIG.
[0035]
【The invention's effect】
Since the present invention is configured as described above, the following effects can be obtained.
(1) A PLC application program can transmit and receive data without being aware of establishment and release of a line in one-to-one communication by TCP / IP.
(2) Therefore, transmission / reception of control data can be performed quickly because there is no extra procedure.
(3) By installing means for loading information for establishing a circuit on the Ethernet interface and an operation state key switch in the PLC, the information for establishing the line is flexibly changed to establish and release the line. be able to.
[Brief description of the drawings]
FIG. 1 is a system configuration diagram according to an embodiment.
FIG. 2 is a flowchart of a line establishment process according to the embodiment.
FIG. 3 is a normal sequence diagram of circuit establishment according to the embodiment;
FIG. 4 is a first diagram illustrating a line establishment abnormality sequence according to the embodiment;
FIG. 5 is a circuit establishment abnormality sequence (part 2) according to the embodiment;
FIG. 6 is a flowchart of a line re-establishment process according to the embodiment.
FIG. 7 is a sequence diagram for disconnecting a line from the partner station according to the embodiment;
FIG. 8 is a process flow diagram when a disconnection request is received from the counterpart station according to the embodiment;
[Explanation of symbols]
1A ... PCs 2A-2N ... PLC (Programmable Logic Controller)
3 ... LAN interface 4 ... processor 9 ... LAN (local area network)
31 ... Physical layer 32 ... Data link layer 33 ... IP (network layer protocol)
34 ... TCP (Transmission Control Protocol)
35: Function part for controlling data transmission / reception / Function part for establishing / releasing logical line (function part according to the present invention)
36 ... Non-volatile memory 37 ... Man-machine interface 41 ... User memory 42 ... Application program 43 ... Operation state storage memory (stores key switch state)
44: Key switch SYN, FIN, ACK, RST: Communication code in TCP / IP protocol

Claims (7)

パーソナルコンピュータをホストコンピュータとして複数のPLCをLANで接続し、それぞれ相互通信機能を得るための物理層,データリンク層,IP,TCPを有するLANインタフェース、および送受信データを格納するユーザ用メモリ,論理回線の確立,データの送受信,論理回線の解放の手順を行うアプリケーションプログラムを有するプロセッサを備えたPLCにおけるLAN通信方式において、
前記LANインタフェースのプロセッサとの結合部に、データ送受信を制御する機能と論理回線確立解放を行う機能を有する機能部分を実装すると共に、論理回線確立のための情報を格納する不揮発性メモリを実装し、
前記不揮発性メモリに対し外部よりのマンマシンインタフェースにより前記論理回線確立のための情報をフレキシブルにロードできるようにしたことを特徴とするPLCにおけるLAN通信方式。
A personal computer is used as a host computer to connect multiple PLCs via a LAN, each of which has a physical layer, a data link layer, a LAN interface having IP and TCP, and a user memory for storing transmission / reception data and a logical line. In a LAN communication system in a PLC having a processor having an application program for performing procedures for establishing data, transmitting / receiving data, and releasing a logical line,
A functional part having a function to control data transmission / reception and a function to release and establish a logical line is mounted on a coupling part with the processor of the LAN interface, and a nonvolatile memory for storing information for establishing a logical line is mounted. ,
A LAN communication system in a PLC, wherein information for establishing the logical circuit can be flexibly loaded into the nonvolatile memory by an external man-machine interface.
請求項1において、
前記プロセッサは、アプリケーションプログラムのRUN状態とSTOP状態の2つの動作状態を制御するキースイッチを持ち、プロセッサにこのキースイッチの状態を格納する動作状態格納メモリが実装されていることを特徴とするPLCにおけるLAN通信方式。
In claim 1,
The processor has a key switch that controls two operating states of a RUN state and a STOP state of the application program, and an operating state storage memory for storing the state of the key switch is mounted on the processor. LAN communication system.
請求項1又は2において、
前記LANインタフェースに実装された前記機能部分が回線確立処理を行うタイミングを検出したときマンマシンインターフェスから前記不揮発性メモリに論理回線確立のための情報がダウンロードされることを特徴とするPLCにおけるLAN通信方式。
In claim 1 or 2,
A LAN in a PLC, wherein information for establishing a logical line is downloaded from a man-machine interface to the non-volatile memory when the functional part mounted on the LAN interface detects a timing for performing a line establishment process. Communication method.
請求項3において、
前記LANインタフェースに実装された前記機能部分は、プロセッサの動作状態を監視し、キースイッチの状態のSTOPからRUNの状変を検出した時に、前記不揮発性メモリの情報をもとに論理回線の確立処理を行い、キースイッチ状態のRUNからSTOPの状変を検出した時に、論理回線の解放処理を行うことを特徴とするPLCにおけるLAN通信方式。
In claim 3,
The functional part implemented in the LAN interface monitors the operating state of the processor and establishes a logical line based on the information in the non-volatile memory when a RUN state change is detected from the STOP of the key switch state. A LAN communication system in a PLC, which performs processing and performs logical line release processing when a STOP state change is detected from a RUN in a key switch state.
請求項4において、
前記論理回線の確立処理において、前記LANインタフェースに実装された前記機能部分は、TCPに対しオープン要求を発行し、このオープン要求に対するTCPからのオープン確認が「正常」の場合プロセッサに対し回線確立状態を通知し、アプリケーションプログラムを送受信可能とすることを特徴とするPLCにおけるLAN通信方式。
In claim 4,
In the logical line establishment processing, the functional part implemented in the LAN interface issues an open request to the TCP, and if the open confirmation from the TCP for the open request is “normal”, the line establishment state to the processor LAN communication system in PLC, characterized in that the application program can be transmitted and received.
請求項4において、
前記論理回線の確立処理において、前記LANインタフェースに実装された前記機能部分はTCPに対しオープン要求を発行し、このオープン要求に対するTCPからのオープン確認が「異常」の場合、プロセッサの動作状態がSTOPならば回線確立処理を終了し、RUNならば一定時間後に再びオープン要求を発行することを特徴とするPLCにおけるLAN通信方式。
In claim 4,
In the logical line establishment processing, the functional part implemented in the LAN interface issues an open request to the TCP, and if the open confirmation from the TCP for the open request is “abnormal”, the processor operating state is STOP. If so, the line establishment process is terminated, and if it is RUN, an open request is issued again after a predetermined time.
請求項3において、
前記LANインタフェースに実装された前記機能部分は、TCPからのクローズ確認又はオープン確認「異常」の通知があった場合プロセッサに対し回線状態が未確立になったことを通知すると共に一定時間後にTCPに対しオープン要求を発行することを特徴とするPLCにおけるLAN通信方式。
In claim 3,
The functional part implemented in the LAN interface notifies the processor that the line status has not been established to the processor when a close confirmation or open confirmation “abnormality” is notified from the TCP, and after a certain period of time, A LAN communication system in a PLC, which issues an open request to a PLC.
JP11192399A 1999-04-20 1999-04-20 LAN communication system in PLC Expired - Fee Related JP3915313B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11192399A JP3915313B2 (en) 1999-04-20 1999-04-20 LAN communication system in PLC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11192399A JP3915313B2 (en) 1999-04-20 1999-04-20 LAN communication system in PLC

Publications (2)

Publication Number Publication Date
JP2000307616A JP2000307616A (en) 2000-11-02
JP3915313B2 true JP3915313B2 (en) 2007-05-16

Family

ID=14573516

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11192399A Expired - Fee Related JP3915313B2 (en) 1999-04-20 1999-04-20 LAN communication system in PLC

Country Status (1)

Country Link
JP (1) JP3915313B2 (en)

Also Published As

Publication number Publication date
JP2000307616A (en) 2000-11-02

Similar Documents

Publication Publication Date Title
US20060026292A1 (en) Data communication method and information processing apparatus for acknowledging signal reception by using low-layer protocol
JP4527447B2 (en) Network relay device and control method thereof
JP2007060184A (en) Network repeating installation and its control method
KR19990023310A (en) How to establish a connection between a wireless device and a wireless device
JP6550192B2 (en) Network device
JP2019179361A (en) Safety control system and safety control unit
CN104536853B (en) Device for guaranteeing continuous availability of resources of dual-controller storage equipment
JP3915313B2 (en) LAN communication system in PLC
JPH1168884A (en) Transmitting medium connection device, controller, controlled device and storage medium
CN114326364B (en) System and method for secure connection in high availability industrial controllers
JP4304066B2 (en) Method for managing a network having a bridge between HAVi clusters
JP3570996B2 (en) Network relay device and network management system
JP2009296293A (en) Communication apparatus
EP1787453B1 (en) Network connection switching unit
JP2001211106A (en) Transmission system with abnormality monitor function, terminal device with abnormality monitor function, and recording medium storing processing program for terminal device with abnormality monitor function
US20050012399A1 (en) Switch relay device and switch relay system
US20060092956A1 (en) Bridging device, communication program, and communication method
TWI396089B (en) System for using multi-channels to transmit serial data according to arguments and method thereof
KR102464345B1 (en) Network interface module system
JP2003087355A (en) Transmission system automatic adjustment system and its adjustment method
JP4683120B2 (en) Electronic device and communication method
US20110153886A1 (en) Device that uses parameters to provide multi-channel serial data transmissions and method thereof
JP2005532738A (en) Method and system for optimizing the design of a network controller in a home phone line network
KR100472152B1 (en) Device and method for guaranteeing robust communication between semiconductor equipments and hosts
CN103004170B (en) Responding device and integrated circuit, response method and responding system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070104

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070129

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110216

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110216

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120216

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130216

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140216

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees