WO2012086074A1 - プログラマブルコントローラの周辺装置、およびその通信方法 - Google Patents

プログラマブルコントローラの周辺装置、およびその通信方法 Download PDF

Info

Publication number
WO2012086074A1
WO2012086074A1 PCT/JP2010/073412 JP2010073412W WO2012086074A1 WO 2012086074 A1 WO2012086074 A1 WO 2012086074A1 JP 2010073412 W JP2010073412 W JP 2010073412W WO 2012086074 A1 WO2012086074 A1 WO 2012086074A1
Authority
WO
WIPO (PCT)
Prior art keywords
peripheral device
programmable controller
system information
communication
interface
Prior art date
Application number
PCT/JP2010/073412
Other languages
English (en)
French (fr)
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 PCT/JP2010/073412 priority Critical patent/WO2012086074A1/ja
Priority to CN2010800709249A priority patent/CN103282844A/zh
Priority to DE112010006083.5T priority patent/DE112010006083T5/de
Priority to JP2012549559A priority patent/JP5595523B2/ja
Priority to KR1020137016067A priority patent/KR20130101569A/ko
Priority to TW100112442A priority patent/TW201227313A/zh
Publication of WO2012086074A1 publication Critical patent/WO2012086074A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23277Use of separate interface software, main program calls functions from it
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23401Programmer has connection with pc to enter parameters into system directly by pc

Definitions

  • the present invention relates to a peripheral device of a programmable controller (PC) and a communication method thereof, and more particularly to communication between a peripheral device connected to a PC and programming the PC.
  • PC programmable controller
  • Peripheral devices that perform programming of the PC through communication with the PC are connected to the PC via a communication path.
  • the user operates the input device of the peripheral device to perform a setting operation on the PC.
  • the user confirms the setting result and determines the operation to be performed next.
  • the communication middleware in the peripheral device repeats transmission of a request message to the PC and reception of a response message from the PC a plurality of times.
  • the round trip time When the round trip time (RTT) is long as a characteristic of the communication path, the number of communication messages affects the communication time, and the time until the operation is completed increases. In the communication path with a short RTT, the processing time of the PC and peripheral devices is dominant in the time until the operation is completed. On the other hand, in the communication path with a long RTT, the waiting time of the RTT is dominant and the usability deteriorates.
  • a technique has been proposed that speeds up the acquisition of a request message from a peripheral device and a response message from a PC by providing a cache on a communication path (for example, Patent Documents). 1). Further, a technique for improving the overall performance by using the waiting time until the communication is completed for another work has been proposed (see, for example, Patent Document 2).
  • Patent Documents 1 and 2 have a problem of an increase in response time due to poor performance of PCs and peripheral devices, and RTT, which is a characteristic of a communication path, spends much of the communication time. Not effective in the scene.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a peripheral device of a programmable controller and a communication method thereof that can reduce the influence of an increase in RTT and improve usability.
  • the present invention is a peripheral device for performing programming of the programmable controller by communication with the programmable controller, and transmits a request to the programmable controller. It has an interface which receives a response according to the request, and the interface acquires and holds system information of the programmable controller transmitted from the programmable controller.
  • the present invention pays attention to the fact that communication for acquiring system information is frequently performed.
  • the number of messages per operation can be reduced by acquiring part of information necessary for communication from the peripheral device to the PC in advance, and the RTT is long. Reduce the waiting time during operation on the communication path. Thereby, the influence by the increase in RTT is reduced, and usability can be improved.
  • FIG. 1 is a block diagram for explaining a peripheral device and a communication method thereof according to the first embodiment of the present invention.
  • FIG. 2 is a flowchart for explaining the procedure of the setting operation for the PC.
  • FIG. 3 is a conceptual diagram illustrating the relationship between processing from the start of operation to the end of operation by the peripheral device and time.
  • FIG. 4 is a flowchart for explaining acquisition of a copy of the system information by the peripheral device according to the second embodiment.
  • FIG. 5 is a flowchart for explaining the transmission of a request message.
  • FIG. 6 is a flowchart for explaining reception and confirmation of a response message for a request message.
  • FIG. 7 is a flowchart illustrating a procedure for determining whether the peripheral device uses a copy of system information or not.
  • FIG. 8 is a block diagram illustrating a conventional peripheral device and its communication method.
  • FIG. 9 is a flowchart for explaining the procedure of the conventional setting operation for the PC.
  • the peripheral device 11 is connected to the PC 2 via the communication path 3.
  • the user operates the input device 14 of the peripheral device 11 to perform a setting operation on the PC 2.
  • the setting result is displayed on the display device 15 of the peripheral device 11.
  • the user confirms the displayed result and determines the operation to be performed next.
  • the communication middleware 16 in the peripheral device 11 transmits the request message 17 to the PC 2 and receives the response message 18 from the PC 2 a plurality of times. repeat.
  • the processing time of the PC 2 and the peripheral device 11 is dominant in the time from the start of the operation to the completion.
  • the RTT waiting time is dominant.
  • FIG. 1 is a block diagram for explaining a peripheral device and a communication method thereof according to the first embodiment of the present invention.
  • the peripheral device 1 performs programming of the PC 2 by communicating with the PC 2 connected via the communication path 3.
  • the peripheral device 1 includes an input device 4, a display device 5, and communication middleware 6.
  • the input device 4 receives an input for a setting operation on the PC 2.
  • the display device 5 displays the setting result of the PC 2.
  • the communication middleware 6 functions as an interface that transmits the request message 7 to the designated PC 2 and receives the response message 8 corresponding to the request message 7.
  • the communication middleware 6 has a mechanism for acquiring and holding a copy of the system information 9 of the PC 2 transmitted from the PC 2. A copy of the system information 9 is stored in the communication middleware 6 as the content of the response message 8 for the type of the request message 7.
  • FIG. 2 is a flowchart for explaining the procedure of the setting operation for the PC.
  • the user performs an input operation with the input device 4 (step S1).
  • the communication middleware 6 acquires and holds a copy of the system information 9 of the designated PC 2 in synchronization with, for example, an operation by the user.
  • the communication middleware 6 determines whether or not a copy of the system information 9 can be used for the setting content input from the input device 4 (step S2).
  • step S2 When the copy of the system information 9 is not usable (step S2, No), the communication middleware 6 transmits the request message 7 to the PC 2 (step S4) and receives the response message 8 from the PC 2 (step S5). ) And do.
  • step S2 Yes When the copy of the system information 9 is usable (step S2, Yes), the communication middleware 6 refers to the copy of the system information 9 and acquires data corresponding to the response message 8 (step S3).
  • the peripheral device 1 performs the processing of the response message 8 received in step S5 (step S6).
  • the peripheral device 1 acquires data in step S3
  • the peripheral device 1 regards the acquired data as the response message 8 and performs processing.
  • the procedure from Step S2 is repeated as many times as necessary.
  • the display device 5 displays the result of the setting operation (step S8). As described above, the peripheral device 1 ends the communication process for setting for the PC 2.
  • FIG. 3 is a conceptual diagram for explaining the relationship between processing and time from the operation start to the operation end by the peripheral device.
  • three request processes in the peripheral device are executed three times, and two of them can use a copy of the system information 9 as an example.
  • the peripheral device 1 performs information acquisition processing in the peripheral device 1 for two request processes.
  • the peripheral device 1 transmits the request message 7 to the PC 2 and receives the response message 8 by the response process in the PC 2 only for one request process.
  • the peripheral device 1 reduces the communication time by a time T corresponding to two transmission / reception of messages. It can be shortened.
  • the peripheral device 1 can effectively shorten the communication time according to the present invention as the RTT of the communication path 3 is longer.
  • the waiting time during the operation in the communication path with a long RTT is shortened by reducing the number of messages per operation.
  • the effect of increasing the RTT is reduced, and the usability can be improved.
  • Embodiment 2 the peripheral device 1 acquires a copy of the system information 9 without being synchronized with the operation by the user. Further, the peripheral device 1 confirms the coincidence between the system information 9 of the PC 2 and the copy of the system information 9 held in the communication middleware 6.
  • the configuration of the second embodiment is the same as the configuration of the first embodiment shown in FIG. In the second embodiment, the same parts as those in the first embodiment are denoted by the same reference numerals, and repeated description is omitted as appropriate.
  • FIG. 4 is a flowchart for explaining acquisition of a copy of the system information by the peripheral device according to the second embodiment.
  • the communication middleware 6 determines whether or not the peripheral device 1 is connected to the PC 2 (step S11). When the peripheral device 1 is connected to the PC 2 (step S11, Yes) and can communicate with the PC 2, the communication middleware 6 transmits a request message 7 for acquiring the system information 9 of the PC 2 to the PC 2.
  • the communication middleware 6 acquires a copy of the system information 9 by the response message 8 corresponding to the request message 7 (step S12) and holds it.
  • the communication middleware 6 waits until the peripheral device 1 is connected to the PC 2 (Step S13).
  • the peripheral device 1 adds a hash value to the request message 7 in order to confirm that the system information 9 of the PC 2 matches the copy of the system information 9 held in the communication middleware 6.
  • FIG. 5 is a flowchart for explaining the transmission of a request message.
  • the peripheral device 1 calculates the hash value of the data related to the request message 7 out of the copy of the system information 9 held by the communication middleware 6 (step S21).
  • the communication middleware 6 adds the hash value calculated in step S21 to the request message 7 and transmits it (step S22).
  • FIG. 6 is a flowchart for explaining reception and confirmation of a response message for a request message.
  • the peripheral device 1 extracts a hash value from the response message 8 (step S31).
  • the peripheral device 1 checks whether or not the hash value added to the request message 7 in step S22 matches the hash value extracted in step S31 (step S32).
  • step S32 When it is confirmed that the hash values match (step S32, Yes), the peripheral device 1 continues the response message reception process (step S33). On the other hand, if the hash values do not match (step S32, No), the peripheral device 1 determines that the copy of the system information 9 held by the communication middleware 6 is invalid (step S34). The peripheral device 1 re-executes an operation for obtaining a copy of the system information 9 (step S35).
  • Peripheral device 1 determines whether or not the copy of system information 9 held by communication middleware 6 is valid by comparing hash values. Thereby, the peripheral device 1 can suppress an operation based on erroneous information.
  • the peripheral device 1 may determine whether to use a copy of the system information 9 for the setting operation of the PC 2 according to the RTT of the communication path 3.
  • FIG. 7 is a flowchart illustrating a procedure for determining whether or not a peripheral device uses a copy of system information.
  • the peripheral device 1 determines whether or not the copy of the system information 9 held by the communication middleware 6 is valid by the method using the hash value (step S41). If the copy of the system information 9 is invalid (No at Step S41), the communication middleware 6 transmits a request message 7 for acquiring the system information 9 of the PC 2 to the PC 2 (Step S42).
  • the communication middleware 6 receives the response message 8 corresponding to the request message 7 (step S43).
  • the peripheral device 1 measures the time from the transmission of the request message 7 to the reception of the response message 8 as the RTT of the communication path 3 (step S44).
  • the peripheral device 1 determines whether or not the copy acquisition and the RTT measurement are completed for the data size of the system information 9 (step S45).
  • the peripheral device 1 performs steps S42, S43, and S44 for the data size of the system information 9. repeat.
  • the communication middleware 6 stores a copy of the system information 9 (step S46). After the copy of the system information 9 is stored in step S46, or when the copy of the system information 9 is valid (Yes in step S41), the peripheral device 1 determines whether the measured RTT is greater than a predetermined reference value. Is determined (step S47).
  • step S47 If the measured RTT is larger than the predetermined reference value (step S47, Yes), the peripheral device 1 determines that the copy of the system information 9 held by the communication middleware 6 is valid and needs to be used (step S48). ). On the other hand, when the measured RTT is equal to or less than the predetermined reference value (No in step S47), the peripheral device 1 determines that the copy of the system information 9 held by the communication middleware 6 is valid and is not required to be used. (Step S49).
  • the peripheral device 1 notifies the user by displaying on the display device 5 that the copies of the system information 9 held by the communication middleware 6 match and whether or not the peripheral device 1 is using a copy of the system information 9. (Step S50).
  • the display device 5 functions as a notification unit that notifies the user of the validity of using the copy of the system information 9 held by the communication middleware 6.
  • the user recognizes from the information displayed on the display device 5 whether the copy of the system information 9 held by the communication middleware 6 matches and whether the peripheral device 1 uses the copy of the system information 9. be able to.
  • the peripheral device 1 applies the method of the present invention when the communication time can be effectively shortened by determining whether or not to use a copy of the system information 9 according to the result of measuring the RTT. Therefore, it is possible to maintain compatibility with conventionally performed communication.
  • peripheral device of the programmable controller and the communication method thereof according to the present invention are useful when programming the PC through the communication path.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Programmable Controllers (AREA)
  • Computer And Data Communications (AREA)

Abstract

 プログラマブルコントローラ(2)との通信により、プログラマブルコントローラ(2)のプログラミングを実施するための周辺装置(1)であって、プログラマブルコントローラ(2)へ要求(7)を送信し、要求(7)に応じた応答を受信するインタフェースとして機能する通信ミドルウェア(6)を有し、インタフェースは、プログラマブルコントローラ(2)から送信されるプログラマブルコントローラ(2)のシステム情報(9)を取得し、保持する。

Description

プログラマブルコントローラの周辺装置、およびその通信方法
 本発明は、プログラマブルコントローラ(PC)の周辺装置、およびその通信方法に関し、特に、PCに接続され、PCのプログラミングを行う周辺装置とPCとの通信に関する。
 PCとの通信によってPCのプログラミングを行う周辺装置は、通信路を経由してPCに接続される。ユーザは、周辺装置の入力装置を操作してPCに対する設定操作を実施する。ユーザは、設定の結果を確認して、次に実施する操作を判断する。周辺装置の操作による周辺装置およびPCの間の通信では、周辺装置内の通信ミドルウェアがPCへの要求伝文の送信と、PCからの応答伝文の受信とを複数回繰り返す。
 通信路の特性として往復遅延時間(Round Trip Time;RTT)が長い場合、通信伝文の数が通信時間に影響し、操作完了までの時間が増大することとなる。RTTが短い通信路では、操作完了までの時間はPCおよび周辺装置の処理時間が支配的となる一方、RTTが長い通信路では、RTTの待ち時間が支配的となり、ユーザビリティの悪化を招く。
 通信時間の短縮によりユーザビリティを向上するためには、RTTが短い通信路を使用することが望ましいが、無線通信の普及や有線通信の長距離化により、RTTの増大は避けられない問題となる。このような状況で通信を行う周辺装置には、一定のユーザビリティを確保することが求められる。
 このような問題に関して、例えば、通信経路上にキャッシュを設けることで、周辺装置からの要求伝文とPCからの応答伝文の取得とを高速化する技術が提案されている(例えば、特許文献1参照)。また、通信が完了するまでの待ち時間を別の作業に使用することで、全体のパフォーマンスを向上する技術が提案されている(例えば、特許文献2参照)。
特開2006-91961号公報 特開2009-238073号公報
 特許文献1、2のような技術は、PCおよび周辺装置の性能の低さに起因する応答時間の増大を問題視するものであって、通信路の特性であるRTTが通信時間の多くを費やす場面では効果的ではない。
 本発明は、上記に鑑みてなされたものであって、RTTの増大による影響を低減させユーザビリティの向上を可能とするプログラマブルコントローラの周辺装置、およびその通信方法を得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、プログラマブルコントローラとの通信により、前記プログラマブルコントローラのプログラミングを実施するための周辺装置であって、前記プログラマブルコントローラへ要求を送信し、前記要求に応じた応答を受信するインタフェースを有し、前記インタフェースは、前記プログラマブルコントローラから送信される前記プログラマブルコントローラのシステム情報を取得し、保持することを特徴とする。
 本発明は、システム情報の取得のための通信が多くなされている事実に着目したものである。本発明にかかる周辺装置およびその通信方法では、周辺機器からPCへの通信時に必要な情報の一部を事前に取得しておくことで、操作当たりの伝文数を削減可能とし、RTTが長い通信路における操作時の待ち時間を短縮させる。これにより、RTTの増大による影響を低減させ、ユーザビリティの向上が可能となる。
図1は、本発明の実施の形態1にかかる周辺装置およびその通信方法を説明するブロック図である。 図2は、PCに対する設定操作の手順を説明するフローチャートである。 図3は、周辺装置による操作開始から操作終了までの処理と時間との関係を説明する概念図である。 図4は、実施の形態2にかかる周辺装置によるシステム情報のコピーの取得について説明するフローチャートである。 図5は、要求伝文の送信について説明するフローチャートである。 図6は、要求伝文に対する応答伝文の受信と確認について説明するフローチャートである。 図7は、周辺装置がシステム情報のコピーを利用するか利用するか否かを決定する手順を説明するフローチャートである。 図8は、従来の周辺装置およびその通信方法を説明するブロック図である。 図9は、PCに対する従来の設定操作の手順を説明するフローチャートである。
 以下に、本発明にかかるプログラマブルコントローラの周辺装置、およびその通信方法の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
 実施の形態の説明に先立ち、図8および図9を参照して、従来のプログラマブルコントローラの周辺装置での通信方法について説明する。図8に示すように、周辺装置11は、通信路3を経由してPC2に接続される。ユーザは、周辺装置11の入力装置14を操作してPC2に対する設定操作を実施する。設定の結果は、周辺装置11の表示装置15に表示される。ユーザは、表示された結果を確認して、次に実施する操作を判断する。周辺装置11の操作による周辺装置11およびPC2の間の通信では、周辺装置11内の通信ミドルウェア16がPC2への要求伝文17の送信と、PC2からの応答伝文18の受信とを複数回繰り返す。
 図9に示すように、通信路3の特性としてRTTが長く、要求から応答の間が長い場合ほど、通信伝文の数が通信時間に大きく影響し、操作開始から完了までの時間が増大することとなる。RTTが短い通信路3では、操作開始から完了までの時間はPC2および周辺装置11の処理時間が支配的となる一方、RTTが長い通信路では、RTTの待ち時間が支配的となる。
実施の形態1.
 図1は、本発明の実施の形態1にかかる周辺装置およびその通信方法を説明するブロック図である。周辺装置1は、通信路3を介して接続されたPC2との通信により、PC2のプログラミングを実施する。周辺装置1は、入力装置4、表示装置5および通信ミドルウェア6を有する。
 入力装置4は、PC2に対する設定操作のための入力を受け付ける。表示装置5は、PC2の設定結果を表示する。通信ミドルウェア6は、指定されたPC2へ要求伝文7を送信し、要求伝文7に応じた応答伝文8を受信するインタフェースとして機能する。通信ミドルウェア6は、PC2から送信されるPC2のシステム情報9のコピーを取得し、保持する機構を備える。システム情報9のコピーは、要求伝文7の種別に対する応答伝文8の内容として、通信ミドルウェア6に格納される。
 図2は、PCに対する設定操作の手順を説明するフローチャートである。ユーザは、入力装置4で入力操作を行う(ステップS1)。通信ミドルウェア6は、指定されたPC2のシステム情報9のコピーを、例えばユーザによる操作に同期して取得し、保持する。通信ミドルウェア6は、入力装置4から入力された設定内容にシステム情報9のコピーが使用可能であるか否かを判断する(ステップS2)。
 システム情報9のコピーが使用可能ではない場合(ステップS2、No)、通信ミドルウェア6は、PC2への要求伝文7の送信(ステップS4)と、PC2からの応答伝文8の受信(ステップS5)とを行う。システム情報9のコピーが使用可能である場合(ステップS2、Yes)、通信ミドルウェア6は、システム情報9のコピーを参照し、応答伝文8に相当するデータを取得する(ステップS3)。
 周辺装置1は、ステップS5で受信した応答伝文8の処理を実施する(ステップS6)。周辺装置1は、ステップS3にてデータを取得した場合は、取得したデータを応答伝文8とみなして処理を実施する。PC2に対する設定の操作が完了していない場合(ステップS7、No)、ステップS2からの手順を必要な回数だけ繰り返す。PC2に対する設定の操作が完了した場合(ステップS7、Yes)、表示装置5は、設定の操作の結果を表示する(ステップS8)。以上により、周辺装置1は、PC2に対する設定のための通信処理を終了する。
 図3は、周辺装置による操作開始から操作終了までの処理と時間との関係を説明する概念図である。ここでは、周辺装置における三つの要求処理が3回実施され、そのうち二つにシステム情報9のコピーが使用可能である場合を例とする。システム情報9のコピーを予め取得する場合、周辺装置1は、二つの要求処理に対して周辺装置1内での情報取得処理を実施する。周辺装置1は、一つの要求処理に対してのみ、PC2への要求伝文7の送信と、PC2での応答処理による応答伝文8の受信を実施する。
 周辺装置1は、全ての要求処理に対して要求伝文7の送信および応答伝文8の受信を実施する場合に比べて、伝文の二回の送受信に相当する時間Tだけ、通信時間を短縮することが可能となる。周辺装置1は、通信路3のRTTが長いほど、本発明による通信時間の効果的な短縮が可能となる。
 このように、実施の形態1にかかる周辺装置1およびその通信方法では、操作当たりの伝文数を削減することで、RTTが長い通信路における操作時の待ち時間を短縮させる。これにより、RTTの増大による影響を低減させ、ユーザビリティの向上が可能となるという効果を奏する。
実施の形態2.
 実施の形態2では、周辺装置1は、ユーザによる操作とは同期しないで、システム情報9のコピーを取得する。また、周辺装置1は、PC2のシステム情報9と、通信ミドルウェア6にて保持するシステム情報9のコピーとの一致を確認する。実施の形態2の構成は、図1に示す実施の形態1の構成と同様である。実施の形態2では、実施の形態1と同じ部分には同じ符号を付し、重複する説明を適宜省略する。
 図4は、実施の形態2にかかる周辺装置によるシステム情報のコピーの取得について説明するフローチャートである。通信ミドルウェア6は、周辺装置1がPC2に接続されたか否かを判断する(ステップS11)。周辺装置1がPC2に接続され(ステップS11、Yes)、PC2と通信可能な状態になると、通信ミドルウェア6は、PC2のシステム情報9を取得するための要求伝文7をPC2へ送信する。
 通信ミドルウェア6は、要求伝文7に応じた応答伝文8によりシステム情報9のコピーを取得し(ステップS12)、保持する。周辺装置1がPC2に接続されていない場合(ステップS11、No)、通信ミドルウェア6は、周辺装置1がPC2に接続されるまで待機する(ステップS13)。
 周辺装置1は、PC2のシステム情報9と、通信ミドルウェア6にて保持するシステム情報9のコピーとの一致を確認するために、要求伝文7にハッシュ値を付加する。図5は、要求伝文の送信について説明するフローチャートである。周辺装置1は、通信ミドルウェア6が保持するシステム情報9のコピーのうち、要求伝文7に関連するデータのハッシュ値を算出する(ステップS21)。通信ミドルウェア6は、ステップS21にて算出されたハッシュ値を要求伝文7に付加して送信する(ステップS22)。
 図6は、要求伝文に対する応答伝文の受信と確認について説明するフローチャートである。ステップS22にて送信された要求伝文7に対する応答伝文8を通信ミドルウェア6が受信すると、周辺装置1は、応答伝文8からハッシュ値を抽出する(ステップS31)。周辺装置1は、ステップS22にて要求伝文7に付加したハッシュ値とステップS31にて抽出したハッシュ値とが一致するか否かを確認する(ステップS32)。
 ハッシュ値の一致を確認した場合(ステップS32、Yes)、周辺装置1は、応答伝文の受信処理を継続する(ステップS33)。一方、ハッシュ値の一致が確認されなかった場合(ステップS32、No)、周辺装置1は、通信ミドルウェア6が保持するシステム情報9のコピーは無効であるものと判定する(ステップS34)。周辺装置1は、システム情報9のコピーを取得するための操作を再実行する(ステップS35)。
 周辺装置1は、通信ミドルウェア6が保持するシステム情報9のコピーが有効か否かを、ハッシュ値の比較により判別する。これにより、周辺装置1は、誤った情報に基づく操作を抑止することができる。
 周辺装置1は、PC2の設定操作にシステム情報9のコピーを利用するか否かを、通信路3のRTTに応じて決定することとしても良い。図7は、周辺装置がシステム情報のコピーを利用するか否かを決定する手順を説明するフローチャートである。
 周辺装置1は、上述のハッシュ値を使用した手法により、通信ミドルウェア6が保持するシステム情報9のコピーが有効か否かを判断する(ステップS41)。システム情報9のコピーが無効である場合(ステップS41、No)、通信ミドルウェア6は、PC2のシステム情報9を取得するための要求伝文7をPC2へ送信する(ステップS42)。
 通信ミドルウェア6は、要求伝文7に応じた応答伝文8を受信する(ステップS43)。周辺装置1は、要求伝文7の送信から応答伝文8の受信までの時間を、通信路3のRTTとして測定する(ステップS44)。周辺装置1は、システム情報9のデータサイズ分につき、コピーの取得およびRTTの測定が完了したか否かを判断する(ステップS45)。システム情報9のデータサイズ分のコピーの取得およびRTTの測定が完了していない場合(ステップS45、No)、周辺装置1は、ステップS42、ステップS43、ステップS44を、システム情報9のデータサイズ分繰り返す。
 システム情報9のデータサイズ分のコピーの取得およびRTTの測定が完了した場合(ステップS45、Yes)、通信ミドルウェア6は、システム情報9のコピーを格納する(ステップS46)。ステップS46にてシステム情報9のコピーを格納した後、あるいはシステム情報9のコピーが有効である場合(ステップS41、Yes)、周辺装置1は、測定したRTTが所定の基準値より大きいか否かを判断する(ステップS47)。
 測定したRTTが所定の基準値より大きい場合(ステップS47、Yes)、周辺装置1は、通信ミドルウェア6が保持するシステム情報9のコピーは有効であって、かつ使用を要すると判定する(ステップS48)。一方、測定したRTTが所定の基準値以下である場合(ステップS47、No)、周辺装置1は、通信ミドルウェア6が保持するシステム情報9のコピーは有効であって、かつ使用は不要と判定する(ステップS49)。
 周辺装置1は、通信ミドルウェア6が保持するシステム情報9のコピーが一致すること、および周辺装置1がシステム情報9のコピーを使用しているか否かにつき、表示装置5での表示によりユーザへ通知する(ステップS50)。表示装置5は、通信ミドルウェア6が保持するシステム情報9のコピーを使用することの妥当性をユーザへ通知する通知手段として機能する。
 ユーザは、通信ミドルウェア6が保持するシステム情報9のコピーが一致するか否か、周辺装置1がシステム情報9のコピーを使用しているか否かを、表示装置5に表示される情報によって認識することができる。
 周辺装置1は、RTTを測定した結果に応じてシステム情報9のコピーを利用するか否かを判定することで、通信時間の効果的な短縮が可能な場合に本発明の手法を適用するとともに、従来実施されている通信との互換性を保つことができる。
 以上のように、本発明にかかるプログラマブルコントローラの周辺装置、およびその通信方法は、通信路を介してPCのプログラミングを実施する場合に有用である。
 1 周辺装置
 2 PC
 3 通信路
 4 入力装置
 5 表示装置
 6 通信ミドルウェア
 7 要求伝文
 8 応答伝文
 9 システム情報

Claims (5)

  1.  プログラマブルコントローラとの通信により、前記プログラマブルコントローラのプログラミングを実施するための周辺装置であって、
     前記プログラマブルコントローラへ要求を送信し、前記要求に応じた応答を受信するインタフェースを有し、
     前記インタフェースは、前記プログラマブルコントローラから送信される前記プログラマブルコントローラのシステム情報を取得し、保持することを特徴とする、プログラマブルコントローラの周辺装置。
  2.  前記インタフェースは、保持する前記システム情報から算出されたハッシュ値を、前記要求に付加して送信することを特徴とする請求項1に記載のプログラマブルコントローラの周辺装置。
  3.  前記インタフェースが保持する前記システム情報が有効か否かを判断した結果から、前記インタフェースが保持する前記システム情報の使用の妥当性を通知する通知手段をさらに有することを特徴とする、請求項2に記載のプログラマブルコントローラの周辺装置。
  4.  前記プログラマブルコントローラとの通信の往復遅延時間を測定し、
     前記往復遅延時間が基準値より大きい場合に、前記インタフェースが保持する前記システム情報の使用を要すると判定することを特徴とする請求項1から3のいずれか一つに記載のプログラマブルコントローラの周辺装置。
  5.  プログラマブルコントローラとの通信により、前記プログラマブルコントローラのプログラミングを実施するための周辺装置の通信方法であって、
     前記プログラマブルコントローラから送信される前記プログラマブルコントローラのシステム情報を、前記周辺装置のインタフェースが取得し、保持する工程と、
     前記周辺装置から前記プログラマブルコントローラへの前記システム情報の取得の要求に応じて、前記インタフェースが保持する前記システム情報を取得する工程と、を含むことを特徴とする、プログラマブルコントローラの周辺装置の通信方法。
PCT/JP2010/073412 2010-12-24 2010-12-24 プログラマブルコントローラの周辺装置、およびその通信方法 WO2012086074A1 (ja)

Priority Applications (6)

Application Number Priority Date Filing Date Title
PCT/JP2010/073412 WO2012086074A1 (ja) 2010-12-24 2010-12-24 プログラマブルコントローラの周辺装置、およびその通信方法
CN2010800709249A CN103282844A (zh) 2010-12-24 2010-12-24 可编程控制器的***装置及其通信方法
DE112010006083.5T DE112010006083T5 (de) 2010-12-24 2010-12-24 Peripherievorrichtung einer programmierbaren Steuereinrichtung und ein Kommunikationsverfahren dafür
JP2012549559A JP5595523B2 (ja) 2010-12-24 2010-12-24 プログラマブルコントローラの周辺装置、およびその通信方法
KR1020137016067A KR20130101569A (ko) 2010-12-24 2010-12-24 프로그래머블 콘트롤러의 주변 장치 및 그 통신 방법
TW100112442A TW201227313A (en) 2010-12-24 2011-04-11 Peripheral device of programmable controller and communication method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2010/073412 WO2012086074A1 (ja) 2010-12-24 2010-12-24 プログラマブルコントローラの周辺装置、およびその通信方法

Publications (1)

Publication Number Publication Date
WO2012086074A1 true WO2012086074A1 (ja) 2012-06-28

Family

ID=46313371

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2010/073412 WO2012086074A1 (ja) 2010-12-24 2010-12-24 プログラマブルコントローラの周辺装置、およびその通信方法

Country Status (6)

Country Link
JP (1) JP5595523B2 (ja)
KR (1) KR20130101569A (ja)
CN (1) CN103282844A (ja)
DE (1) DE112010006083T5 (ja)
TW (1) TW201227313A (ja)
WO (1) WO2012086074A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213028A (zh) * 2013-12-23 2019-09-06 高通股份有限公司 Lte分层突发模式

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014162575A1 (ja) * 2013-04-04 2014-10-09 三菱電機株式会社 エンジニアリングツールおよびプログラマブルロジックコントローラ
CN106483860B (zh) * 2015-09-02 2019-06-07 上海宝信软件股份有限公司 针对plc的数据自动采集中间件及其使用方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756619A (ja) * 1993-08-10 1995-03-03 Nissan Motor Co Ltd 生産管理装置
JP2008282363A (ja) * 2007-05-14 2008-11-20 Keyence Corp プログラマブルコントローラ、プログラム作成支援装置、コンピュータプログラム及びplcシステム
JP2010060502A (ja) * 2008-09-05 2010-03-18 Yokogawa Electric Corp 計測レコーダ・システム

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006508429A (ja) * 2003-11-03 2006-03-09 エンドレス ウント ハウザー フローテック アクチエンゲゼルシャフト プロセスオートメーション技術におけるフィールドデバイスのオフラインパラメータリングの方法
JP2007079651A (ja) * 2005-09-12 2007-03-29 Fuji Electric Fa Components & Systems Co Ltd プログラマブルコントローラのプログラミング装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756619A (ja) * 1993-08-10 1995-03-03 Nissan Motor Co Ltd 生産管理装置
JP2008282363A (ja) * 2007-05-14 2008-11-20 Keyence Corp プログラマブルコントローラ、プログラム作成支援装置、コンピュータプログラム及びplcシステム
JP2010060502A (ja) * 2008-09-05 2010-03-18 Yokogawa Electric Corp 計測レコーダ・システム

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213028A (zh) * 2013-12-23 2019-09-06 高通股份有限公司 Lte分层突发模式
CN110213028B (zh) * 2013-12-23 2022-06-21 高通股份有限公司 Lte分层突发模式
US11510194B2 (en) 2013-12-23 2022-11-22 Qualcomm Incorporated Mixed numerology OFDM design

Also Published As

Publication number Publication date
KR20130101569A (ko) 2013-09-13
JP5595523B2 (ja) 2014-09-24
JPWO2012086074A1 (ja) 2014-05-22
CN103282844A (zh) 2013-09-04
TW201227313A (en) 2012-07-01
DE112010006083T5 (de) 2014-04-10

Similar Documents

Publication Publication Date Title
JP6011167B2 (ja) 通信中継プログラム、及び、通信中継装置
US9497336B2 (en) Display program and display apparatus
US9414001B2 (en) Image pick-up and display system, image pick-up device, image pick-up method, and computer readable storage device
JP2012142877A (ja) 無線通信機器
JP2014179927A5 (ja) 通信装置及びその制御方法、並びにプログラム
WO2012086074A1 (ja) プログラマブルコントローラの周辺装置、およびその通信方法
JP2015156217A (ja) 情報処理装置
KR20160122601A (ko) 시간 동기화 방법 및 그 장치
EP2584778B1 (en) Display device and display system
US20160044140A1 (en) Communication apparatus and method thereof
KR102169340B1 (ko) 단일 전도체 인터페이스 작동 및 스위칭 장치 및 그 방법
JP6533545B2 (ja) 測定装置及び測定方法
US10764616B2 (en) Image transmission apparatus, image transmission method, and recording medium
JP6043390B2 (ja) 移動体端末試験システム
JP5454045B2 (ja) 情報処理装置、無線通信システム、無線通信方法及びプログラム
JP6472263B2 (ja) 情報処理装置、制御方法及びプログラム
JP5334173B2 (ja) データ転送システム及びリトライ制御方法
JP6773868B1 (ja) 送信装置、送信方法及びプログラム
JP4963428B2 (ja) 無線通信システム及び無線通信システムにおける無線通信装置の制御方法
JP2007245634A (ja) 画像形成装置
JP2009053841A (ja) 画像形成システム及び画像形成装置
JP2007114858A (ja) 定周期の伝送と受信データの表示方法および表示装置
JP6207551B2 (ja) メモリシステム
JP6677302B2 (ja) 機器接続システム
KR102174857B1 (ko) 데이터 전송 오류 회복 시스템 및 그 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10861045

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2012549559

Country of ref document: JP

ENP Entry into the national phase

Ref document number: 20137016067

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1120100060835

Country of ref document: DE

Ref document number: 112010006083

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10861045

Country of ref document: EP

Kind code of ref document: A1