WO2012105277A1 - エンジニアリングツール、及びプログラマブルコントローラ - Google Patents

エンジニアリングツール、及びプログラマブルコントローラ Download PDF

Info

Publication number
WO2012105277A1
WO2012105277A1 PCT/JP2012/050038 JP2012050038W WO2012105277A1 WO 2012105277 A1 WO2012105277 A1 WO 2012105277A1 JP 2012050038 W JP2012050038 W JP 2012050038W WO 2012105277 A1 WO2012105277 A1 WO 2012105277A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
network
link device
transmission
field network
Prior art date
Application number
PCT/JP2012/050038
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 DE112012000671T priority Critical patent/DE112012000671T5/de
Priority to US13/993,906 priority patent/US20130275605A1/en
Priority to KR1020137023169A priority patent/KR101445997B1/ko
Priority to JP2012555769A priority patent/JP5414916B2/ja
Priority to CN201280007339.3A priority patent/CN103339574B/zh
Publication of WO2012105277A1 publication Critical patent/WO2012105277A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • 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
    • 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/25Pc structure of the system
    • G05B2219/25217Configure communication protocol, select between several
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1087Peer-to-peer [P2P] networks using cross-functional networking aspects
    • H04L67/1093Some peer nodes performing special functions

Definitions

  • the present invention relates to an engineering tool and a programmable controller.
  • the programmable controller system has a controller network and a field network.
  • the controller network is a network whose main purpose is to transmit and receive control signals and data between programmable controllers.
  • the field network is a network whose main purpose is to transmit and receive control signals and data between a programmable controller and a field device such as a remote input / output unit.
  • transmission / reception of control signals and data is realized by periodically updating the shared memory on the network and the internal memory of each programmable controller.
  • the transmission range of each node is allocated on the shared memory on the network.
  • Each node transmits data to the entire network by writing control signals and data in the area of the shared memory allocated to the node. Further, the control signal and data from the other node are received by referring to the area of the shared memory allocated to the transmission range of the other node.
  • the field network is a network that transmits and receives control signals and data between a master node and a slave node.
  • nodes serving as slaves there are remote input / output devices and programmable controllers.
  • a programmable controller connected as a slave is referred to as a local station with respect to the master station.
  • the master station writes the control signal and data to the data transmission area addressed to each local station on the shared memory, so that the written control signal and data are stored in the data reception area of each local station.
  • Each local station writes a control signal and data to the data transmission area on the shared memory allocated to each node, and the written control signal and data are stored in the data reception area from each local station of the master.
  • the master station receives control signals and data from each local station.
  • the field network can send and receive control signals and data between programmable controllers.
  • data transmission / reception is performed between the programmable controller serving as the master and the programmable controller other than the master by the method described above.
  • the programmable controllers other than the master use different areas for data transmission / reception.
  • the programmable controller A when the programmable controller A other than the master and the programmable controller B other than the master perform data transmission / reception, the programmable controller A writes a control signal and data in an area allocated as a data transmission area of the programmable controller A.
  • the programmable controller B receives the control signal and data written by the programmable controller A by referring to the data transmission area of the programmable controller A.
  • data when data is transmitted / received between programmable controllers in a field network, data is transmitted / received between a programmable controller serving as a master and a programmable controller other than the master, and data is transmitted between programmable controllers other than the master.
  • the area used for data transmission / reception differs depending on whether data transmission / reception is performed.
  • Both the controller network and the field network can be used as a network for transmitting and receiving data between programmable controllers, but the concepts of the data transmission area and the reception area used for data transmission and reception are different. For this reason, for example, when a network system that performs data transmission / reception between programmable controllers via a controller network is replaced with a network system that performs data transmission / reception between programmable controllers via a field network, it is difficult to divert the ladder program.
  • the field network when data is transmitted / received between programmable controllers, data is transmitted / received between a programmable controller serving as a master and a programmable controller other than the master, and data is transmitted between programmable controllers other than the master.
  • the area used for data transmission / reception differs depending on whether transmission / reception is performed. For this reason, when constructing a network system for transmitting and receiving data between programmable controllers via a field network, the user needs to be aware of the difference in specifications with the controller network and perform parameter setting and ladder programming. This makes it difficult to efficiently develop a network system.
  • the present invention has been made in view of the above, and an object thereof is to obtain an engineering tool and a programmable controller that can construct a network system without being aware of the difference in specifications between a controller network and a field network.
  • an engineering tool and a programmable controller provide a transmission / reception area parameter of a link device in a controller network between a master and a slave in a field network. Based on mutually different conversion rules, the reception area of the link device in the field network and the transmission area parameter of the transmission link device are converted into the transmission / reception area of the link device in the field network. It has the generation means which generates a parameter, It is characterized by the above-mentioned.
  • a link device of the controller network can be specified.
  • a network system can be constructed without being aware of the difference in specifications between the controller network and the field network.
  • FIG. 1 is a diagram illustrating a configuration of an engineering tool according to an embodiment.
  • FIG. 2 is a diagram illustrating a flow of automatic parameter conversion in the embodiment.
  • FIG. 3 is a diagram illustrating a conversion rule for network range assignment in the embodiment.
  • FIG. 4 is a diagram illustrating an automatic refresh parameter generation rule (master station) in the embodiment.
  • FIG. 5 is a diagram illustrating an automatic refresh parameter generation rule (local station) in the embodiment.
  • FIG. 6 is a flowchart illustrating operations of the programmable controller and the engineering tool in the embodiment.
  • FIG. 7 is a diagram illustrating a configuration of a programmable controller and an engineering tool according to a modified example of the embodiment.
  • FIG. 8 is a flowchart showing operations of the programmable controller and the engineering tool in the modification of the embodiment.
  • FIG. 1 is a diagram showing an internal configuration (functional configuration) of the engineering tool 400.
  • the engineering tool 400 can communicate with each programmable controller in a programmable controller system in which a programmable controller (master, master station) and a plurality of programmable controllers (slave, local station) are connected via a controller network and a field network. Installed in an information processing apparatus (for example, a personal computer (not shown)) connected to. The information processing apparatus generates a parameter (for example, a field network parameter 421 described later) using the engineering tool 400, and writes the generated parameter in each programmable controller.
  • a parameter for example, a field network parameter 421 described later
  • the engineering tool 400 includes a first setting unit 431, a generation unit (generation unit) 401, a second setting unit 432, and a switching unit (switching unit) 433.
  • These constituent elements are, for example, constituent elements generated in the information processing apparatus when the engineering tool 400 is executed by the information processing apparatus. Note that these components may be generated at a time when the engineering tool 400 is executed by the information processing apparatus, or may be sequentially generated at the timing when each component starts processing.
  • the first setting unit 431 includes a link device which is a part of the controller network parameter 411 set by the user via an input unit such as a keyboard or a mouse.
  • a setting instruction for network range assignment 412 is accepted.
  • a state in which the user can set the controller network parameter 411 with respect to the first setting unit 431 is referred to as a first setting mode.
  • the link device network range assignment 412 includes, for example, a parameter for designating the transmission / reception area of the link relay LB and a parameter for designating the transmission / reception area of the link register LW.
  • the first setting unit 431 sets the network range assignment 412 of the link device in accordance with the setting instruction from the user, and supplies the set setting information to the generating unit 401.
  • the generation unit 401 receives the network range assignment 412 of the link device set as the controller network parameter 411 by the first setting unit 431. . Subsequently, the generation unit 401 converts the link device network range assignment 412 into a link device network range assignment 422 based on the conversion rule illustrated in FIG. 3.
  • the conversion laws shown in FIG. 3 are different from each other between the master (master station) and the slave (local station) of the field network. That is, the conversion law shown in FIG. 3 is determined so that the link device designation method is the same when the two programmable controllers that communicate with each other have a master-slave relationship and a slave-slave relationship. ing.
  • the link device network range assignment 422 converted by the generation unit 401 includes, for example, a parameter that specifies the reception area of the reception link device and a parameter that specifies the transmission area of the transmission link device.
  • the parameters of the reception area of the link device for reception include, for example, a parameter that specifies the reception area of the remote input RX and a parameter that specifies the reception area of the remote register RWr.
  • the parameter that specifies the transmission area of the transmission link device includes, for example, a parameter that specifies the transmission area of the remote output RY and a parameter that specifies the transmission area of the remote register RWw.
  • the generation unit 401 generates the network range assignment 422 of the link device as a part of the field network parameter 421.
  • the generation unit 401 uses the converted link device network range assignment 422 based on the generation rule illustrated in FIG. 4 or FIG. Then, an automatic refresh parameter 423 between the link device and the sequencer CPU, which is a parameter for automatically and periodically updating the link device and the sequencer CPU device, for example, is generated as another part of the field network parameter 421.
  • the generation rules shown in FIG. 4 or 5 are different generation rules between the master (master station) and the slave (local station) of the field network. That is, the generation method shown in FIG. 4 or FIG. 5 is the same as the link device designation method in the case where the two programmable controllers that communicate with each other have a master-slave relationship and a slave-slave relationship. It is decided to become. 4 is used when the engineering tool 400 generates a parameter of the programmable controller (master station).
  • the generation law shown in FIG. 5 is a parameter of the programmable controller (local station). Used when generating.
  • the second setting unit 432 receives a setting instruction for the field network parameter 421 from the user via an input unit such as a keyboard or a mouse in a state where the second setting unit 432 is in a second setting mode described later.
  • a state in which the user can set the field network parameter 421 for the second setting unit 432 is referred to as a second setting mode.
  • the second setting unit 432 sets the field network parameter 421 in accordance with the setting instruction from the user, and supplies the setting information to the generating unit 401.
  • the generation unit 401 receives and holds the field network parameter 421 set by the second setting unit 432 in the second setting mode.
  • the field network parameter 421 received by the generation unit 401 this time is a parameter previously input by the user as a field network parameter, and may be used as it is.
  • the switching unit 433 switches between the first setting mode and the second setting mode by switching between the first setting unit 431 and the second setting unit 432.
  • the first setting mode is a setting mode based on parameters of the controller network, and is a mode in which the controller network parameter 411 is set by the first setting unit 431 in accordance with a setting instruction from the user.
  • the second setting mode is a setting mode based on field network parameters, and is a mode in which the field network parameter 421 is set by the second setting unit 432 in accordance with a setting instruction from the user.
  • the user sets the controller network parameter 411 in the setting mode (first setting mode) using the controller network parameter 411 of the engineering tool 400, and the engineering tool 400 converts the parameter to the field network parameter 421.
  • the parameter can be converted into the controller network parameter 411 again using the engineering tool 400.
  • the user can arbitrarily switch and set the first setting mode and the second setting mode by the switching unit 433 for the field network parameter 421 read from the programmable controller.
  • FIG. 6 is a flowchart showing the operation of the programmable controller and engineering tool 400.
  • step S1 the engineering tool 400 displays a dialog screen asking whether to use the parameter setting method for the controller network on the display unit (for example, display device) of the information processing apparatus.
  • the engineering tool 400 receives an instruction to use the parameter setting method for the controller network via the input unit (for example, a keyboard or a mouse) of the information processing apparatus (“Yes” in step S1), The process proceeds to step S2.
  • the processing proceeds to step S5.
  • step S2 the engineering tool 400 recognizes that the user has selected “use parameter setting method for controller network” and notifies the switching unit 433 of the recognized content.
  • the switching unit 433 keeps the current setting mode if the first setting mode is the first setting mode, and if the current setting mode is another setting mode (for example, the second setting mode), Switch from the setting mode to the first setting mode.
  • the switching unit 433 notifies the first setting unit 431 that the current setting mode is the first setting mode.
  • the first setting unit 431 is ready to accept the controller network parameter 411 from the user in response to the notification that the first setting mode is set. Accordingly, the first setting unit 431 receives a setting instruction for the controller network parameter 411. For example, the first setting unit 431 receives a setting instruction for the network range assignment 412 of the link device.
  • the link device network range assignment 412 includes, for example, a parameter for designating the transmission / reception area of the link relay LB and a parameter for designating the transmission / reception area of the link register LW.
  • the first setting unit 431 sets the network range assignment 412 of the link device in accordance with the setting instruction from the user, and supplies the setting information to the generation unit 401.
  • step S4 the generation unit 401 receives the network range assignment 412 of the link device set as the controller network parameter 411 by the first setting unit 431.
  • the generation unit 401 converts (automatic conversion) the link device network range assignment 412 into the link device network range assignment 422 based on the conversion rule shown in FIG.
  • the network range assignment 422 of the link device includes, for example, a parameter that specifies the reception area of the reception link device and a parameter that specifies the transmission area of the transmission link device.
  • the parameters of the reception area of the link device for reception include, for example, a parameter that specifies the reception area of the remote input RX and a parameter that specifies the reception area of the remote register RWr.
  • the parameter that specifies the transmission area of the transmission link device includes, for example, a parameter that specifies the transmission area of the remote output RY and a parameter that specifies the transmission area of the remote register RWw.
  • the generation unit 401 generates the network range assignment 422 of the link device as a part of the field network parameter 421.
  • the generation unit 401 uses the generated link device network range assignment 422 to automatically update the link device and the sequencer CPU device, for example, periodically based on the generation rule shown in FIG. 4 or FIG.
  • the automatic refresh parameter 423 between the link device and the sequencer CPU is generated as another part of the field network parameter 421.
  • step S5 the engineering tool 400 recognizes that the user has selected “use parameter setting method for field network” and notifies the switching unit 433 of the recognized content.
  • the switching unit 433 keeps the current setting mode if the second setting mode is the current setting mode, and if the current setting mode is another setting mode (for example, the first setting mode), Switch from the setting mode to the second setting mode.
  • the switching unit 433 notifies the first setting unit 431 that the current setting mode is the second setting mode.
  • step S6 the second setting unit 432 is ready to accept the field network parameter 421 from the user in response to the notification that the second setting mode is set.
  • the second setting unit 432 receives a setting instruction for the field network parameter 421.
  • the second setting unit 432 receives a setting instruction for the network range assignment 422 of the link device.
  • the second setting unit 432 receives an instruction to set the automatic refresh parameter 423 between the link device and the sequencer CPU.
  • the second setting unit 432 sets the field network parameter 421 in accordance with a setting instruction from the user, and supplies the setting information to the generation unit 401.
  • the generation unit 401 receives the field network parameter 421 set by the second setting unit 432.
  • the generation unit 401 may use the received field network parameter 421 as it is.
  • step S7 the generation unit 401 transmits the generated (or used as it is) field network parameter 421 and its write command to each programmable controller via the communication interface and the communication line.
  • each programmable controller receives the field network parameter 421 and its write command via the communication line, and writes them in a predetermined area of the internal memory. Thereby, the field network parameter 421 is written in each programmable controller.
  • FIG. 2 is a diagram showing a flow of converting the controller network parameters set by the user into field network parameters by the parameter automatic conversion function of the engineering tool.
  • description will be made with an example of a three-station configuration of station number 0 (master station) 301, station number ⁇ (local station) 311 and station number ⁇ (local station) 321.
  • the station number 0 is the master station.
  • the master station is not limited to the station number 0, and may be a station number that can serve as a reference in ascending or descending order with respect to the station number ⁇ and the station number ⁇ that are local stations. It ’s fine.
  • the station number 0 (master station) 301 has transmission areas 302 to 304 of the controller network, reception areas 305 and 306 of the field network, and transmission areas 307 and 308.
  • the station number ⁇ (local station) 311 includes controller network transmission areas 316 to 318, field network reception areas 312, 313, and transmission areas 314, 315.
  • the station number ⁇ (local station) 321 has transmission areas 326 to 328 of the controller network, reception areas 322 and 323 of the field network, and transmission areas 324 and 325.
  • a parameter conversion method in station number 0 (master station) 301 will be described.
  • the user sets the network range assignment of the link device for determining the transmission range of each node on the network as a parameter of the controller network.
  • a transmission area 302 with a station number 0, a transmission area 303 with a station number ⁇ , and a transmission area 304 with a station number ⁇ are set.
  • the engineering tool 400 converts them into link device range assignment parameters, which are field network parameters, based on the conversion rule shown in FIG. Further, the engineering tool 400 uses, for example, the link device range assignment parameter, and sets an automatic refresh parameter for automatically and periodically updating the link device and the sequencer CPU device based on the generation rule shown in FIG. Generate.
  • the engineering tool 400 automatically updates the link device and the sequencer CPU device, for example, periodically based on the conversion rule shown in FIG. 5 based on the parameters of the controller network set in the station number 0 (master station) 301 Auto refresh parameters to generate.
  • a parameter conversion method in the station number ⁇ (local station) 321 will be described. Similar to the station number ⁇ (local station) 311, the engineering tool 400 uses a link device and a sequencer based on the conversion law shown in FIG. 5 based on the parameters of the controller network set in the station number 0 (master station) 301. For example, an automatic refresh parameter for automatically and periodically updating the CPU device is generated.
  • station number 0 (master station) 301 transmits data to another station.
  • the station number 0 (master station) 301 writes data in the parameter network transmission area 302
  • the field network parameter writes data in the field network parameter transmission area 307 to the station number ⁇ (local station) 311.
  • the station number ⁇ (local station) 311 receives data in the field network parameter reception area 312.
  • the received data is converted into a transmission area 316 for station number 0 (master station) 301 of the controller network parameter.
  • the data written by the station number 0 (master station) 301 in the transmission area 302 of the own station is received by the station number ⁇ (local station) 311 in the transmission area 316 for the station number 0 (master station) 301.
  • data written by station number 0 (master station) 301 to parameter network transmission area 302 is received by station number ⁇ (local station) 321 in transmission area 326 for station number 0 (master station) 301. It will be.
  • the station number ⁇ (local station) 311 transmits data to another station.
  • the station number ⁇ (local station) 311 writes data in the parameter network transmission area 317
  • the data is written in the field network parameter transmission area 314 from the station number ⁇ (local station) 311. Therefore, the station number 0 (master station) 301 receives data in the field network parameter reception area 305.
  • the received data is converted into a transmission area 303 for the station number ⁇ (local station) 311 in the controller network parameter.
  • the data written by the station number ⁇ (local station) 311 in the transmission area 317 of the own station is received by the station number 0 (master station) 301 in the transmission area 303 for the station number ⁇ (local station). .
  • data written by the station number ⁇ (local station) 311 to the parameter transmission area 317 of the controller network is transmitted from the station number ⁇ (local station) 311 of the field network parameter of the station number ⁇ (local station) 311. It is received in area 327.
  • the station number ⁇ (local station) 321 transmits data to another station.
  • the station number ⁇ (local station) 321 writes data in the parameter transmission area 328 of the controller network
  • data is written in the field network parameter transmission area 325 from the station number ⁇ (local station) 321. Therefore, the station number 0 (master station) 301 receives data in the field network parameter reception area 306.
  • the received data is converted into a transmission area 304 for the station number ⁇ (local station) 321 in the controller network parameter.
  • the station number 0 (master station) 301 received the data written by the station number ⁇ (local station) 321 in its own transmission area 328 in the transmission area 304 for the station number ⁇ (local station) 321.
  • the data written by the station number ⁇ (local station) 321 to the parameter transmission area 328 of the controller network is the data for the station number ⁇ (local station) 321 whose station number ⁇ (local station) 311 is the field network parameter. It is received in the transmission area 318.
  • the area designated as the data transmission / reception area when the controller network is used by the user is changed to the data when the field network is used.
  • Conversion for automatically allocating to the transmission / reception area is performed, and field network parameters are automatically generated. That is, the parameters set as data transmission / reception areas when using the controller network are converted based on different conversion rules between the programmable controller as the master station and the programmable controller other than the master.
  • the link device LB / LW and the link device for transmission / reception RWw / RWr are associated with each other, and the parameters are automatically generated so that the user can use the field network.
  • the link device LB / LW of the controller network can be designated.
  • the user can perform parameter setting and programming similarly to the case of using a controller network.
  • a network system can be constructed without being aware of the difference in specifications between the controller network and the field network.
  • a parameter newly set as a controller network parameter by the user can be converted into a field network parameter additionally or updated by an engineering tool. Accordingly, even when the system is managed as a field network due to addition / change of the system, it is possible to easily cope with it.
  • the programmable controller as the master station and the programmable controller other than the master station have different generation rules.
  • an automatic refresh parameter that is a parameter for automatically and periodically updating the link device and the sequencer CPU device is generated. That is, the user transmits / receives data between programmable controllers by specifying the data transmission / reception area when using the controller network by the sequencer CPU device by the two parameters of the network range assignment of the link device and the automatic refresh parameter. It can be performed.
  • the generation unit 401 may convert the parameter to the parameter of the network again after converting the parameter to the parameter of the field network, as indicated by the broken line in FIG. As a result, it is possible to easily cope with a case where management is performed as a controller network.
  • the generation unit 501 may be incorporated in the programmable controller.
  • a configuration example in this case is shown in FIG.
  • the controller network parameter 511 received by the first setting unit 531 of the engineering tool 500 is supplied to the generation unit 501 of the programmable controller 510.
  • the generation unit 501 converts the supplied controller network parameter 511 into a field network parameter 521 based on the conversion rules shown in FIGS. 3, 4, and 5.
  • the link device network range assignment 522 and the link device and internal memory transfer parameter 523 are generated as the field network parameter 521.
  • the conversion law of the link device network range assignment 522 is equal to the formula shown in FIG.
  • the conversion law of the transfer parameter 523 between the link device and the internal memory is equal to the equations shown in FIGS.
  • the point that the switching unit 533 switches between the first setting mode and the second setting mode is the same as in the above embodiment.
  • the generation unit 501 in the programmable controller 510 is used. It is possible to use a function for converting parameters of the controller network and parameters of the field network.
  • step S13 the first setting unit 531 performs the same processing as in step S3, and then transmits the setting information of the controller network parameter 511 to each programmable controller via the communication interface and the communication line.
  • each programmable controller receives the setting information of the controller network parameter 511 including the network range assignment 512 of the link device via the communication line.
  • Each programmable controller supplies the received setting information of the controller network parameter 511 to the generation unit 501.
  • the generation unit 501 converts the supplied controller network parameter 511 into a field network parameter 521 based on the conversion rules shown in FIGS. 3, 4, and 5.
  • the field network parameter 521 the network range assignment 522 of the link device and the transfer parameter 523 of the link device and the internal memory are generated.
  • step S16 the second setting unit 532 performs the same processing as in step S6, and then transmits the setting information of the field network parameter 521 to each programmable controller via the communication interface and the communication line.
  • step S18 when each programmable controller receives the setting information of the field network parameter 521 via the communication line, the programmable controller supplies the received setting information of the field network parameter 521 to the generation unit 501.
  • the generation unit 501 writes the field network parameter 521 generated or received in step S14 in a predetermined area of the internal memory. Thereby, the field network parameter 521 is written in each programmable controller.
  • the engineering tool and the programmable controller according to the present invention are useful for a programmable controller system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Programmable Controllers (AREA)
  • Communication Control (AREA)

Abstract

 エンジニアリングツール、及びプログラマブルコントローラは、コントローラネットワークにおけるリンクデバイスの送受信エリアのパラメータを、フィールドネットワークにおけるマスタ及びスレーブの間で互いに異なる変換法則に基づいて、前記フィールドネットワークにおける受信用リンクデバイスの受信エリアのパラメータと送信用リンクデバイスの送信エリアのパラメータとに変換することにより、前記フィールドネットワークにおける前記リンクデバイスの送受信エリアのパラメータを生成する生成手段を有する。

Description

エンジニアリングツール、及びプログラマブルコントローラ
 本発明は、エンジニアリングツール、及びプログラマブルコントローラに関する。
 プログラマブルコントローラシステムは、コントローラネットワークとフィールドネットワークとを有する。コントローラネットワークは、プログラマブルコントローラ同士で、制御信号およびデータの送受信を行うことを主な目的としたネットワークである。フィールドネットワークは、プログラマブルコントローラと、リモート入出力ユニットなどのフィールド機器との間で、制御信号およびデータの送受信を行うことを主な目的としたネットワークである。このプログラマブルコントローラシステムでは、ネットワーク上の共有メモリと、各プログラマブルコントローラの内部メモリを定期的に更新することで、制御信号およびデータの送受信を実現する。
 コントローラネットワークでは、ネットワーク上の共有メモリ上に各ノードの送信範囲を割り付ける。各ノードは、自ノードに割り付けられた共有メモリのエリアに制御信号およびデータを書き込むことで、ネットワーク全体にデータを送信する。また、他ノードの送信範囲に割り付けられた共有メモリのエリアを参照することで、他ノードからの制御信号およびデータを受信する。
 フィールドネットワークは、マスタとなるノードとスレーブとなるノードとの間で制御信号およびデータの送受信を行うネットワークである。スレーブとなるノードの種類としては、リモート入出力機器や、プログラマブルコントローラなどがある。ここでは、プログラマブルコントローラがスレーブとなる場合について述べる。スレーブとして接続するプログラマブルコントローラのことを、マスタ局に対してローカル局と称する。マスタ局は、共有メモリ上の、各ローカル局宛てのデータ送信エリアに制御信号およびデータを書き込むことで、書き込んだ制御信号およびデータが各ローカル局のデータ受信エリアに格納され、制御信号およびデータを送信する。また、各ローカル局は、各ノードに割り付けられた共有メモリ上のデータ送信エリアに制御信号およびデータを書き込むことで、書き込んだ制御信号およびデータがマスタの各ローカル局からのデータ受信エリアに格納され、マスタ局は各ローカル局からの制御信号およびデータを受信する。
 フィールドネットワークは、プログラマブルコントローラ同士でも、制御信号およびデータの送受信を行うことができる。この場合、マスタとなるプログラマブルコントローラと、マスタ以外のプログラマブルコントローラとの間は、上記した方法でデータの送受信を行う。マスタ以外のプログラマブルコントローラ同士では、データの送受信に使用するエリアが異なる。例えば、マスタ以外のプログラマブルコントローラAとマスタ以外のプログラマブルコントローラBとがデータの送受信を行う場合、プログラマブルコントローラAは、プログラマブルコントローラAのデータ送信エリアとして割り付けられたエリアに制御信号およびデータを書き込む。プログラマブルコントローラBは、プログラマブルコントローラAのデータ送信エリアを参照することで、プログラマブルコントローラAが書き込んだ制御信号およびデータを受信する。このように、フィールドネットワークでプログラマブルコントローラ間のデータの送受信を行う場合、マスタとなるプログラマブルコントローラとマスタ以外のプログラマブルコントローラとの間でデータの送受信をする場合と、マスタ以外のプログラマブルコントローラ間同士でデータの送受信をする場合とで、データの送受信に使用するエリアが異なる。
特開2005-215936号公報 特開2004-126817号公報
 コントローラネットワーク及びフィールドネットワークは、どちらもプログラマブルコントローラ同士のデータ送受信を行うネットワークとして使用できるが、データ送受信を行うために使用するデータ送信エリア、受信エリアの考え方が異なる。このため、例えば、コントローラネットワークを介してプログラマブルコントローラ同士のデータ送受信を行うネットワークシステムを、フィールドネットワークを介してプログラマブルコントローラ同士のデータ送受信を行うネットワークシステムに置き換える場合、ラダープログラムの流用が難しい。
 また、コントローラネットワークを介してプログラマブルコントローラ同士のデータ送受信を行うネットワークシステムを使い慣れたユーザが、フィールドネットワークを介してプログラマブルコントローラ同士のデータ送受信を行うネットワークシステムを構築する場合、コントローラネットワークとフィールドネットワークとの仕様の違いを強く意識する必要があるため、煩雑である。
 例えば、フィールドネットワークは、プログラマブルコントローラ間でデータの送受信を行う場合に、マスタとなるプログラマブルコントローラとマスタ以外のプログラマブルコントローラとの間でデータの送受信を行う場合と、マスタ以外のプログラマブルコントローラ同士でデータの送受信を行う場合とで、データの送受信に使用するエリアが異なる。このため、ユーザは、フィールドネットワークを介してプログラマブルコントローラ同士のデータ送受信を行うネットワークシステムを構築する際に、コントローラネットワークとの仕様の違いを意識し、パラメータ設定、およびラダープログラミングを行う必要がある。これにより、効率的にネットワークシステムを開発することが困難になる。
 本発明は、上記に鑑みてなされたものであって、コントローラネットワークとフィールドネットワークとの仕様の違いを意識せずにネットワークシステムを構築できるエンジニアリングツール、及びプログラマブルコントローラを得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明の1つの側面にかかるエンジニアリングツール、及びプログラマブルコントローラは、コントローラネットワークにおけるリンクデバイスの送受信エリアのパラメータを、フィールドネットワークにおけるマスタ及びスレーブの間で互いに異なる変換法則に基づいて、前記フィールドネットワークにおける受信用リンクデバイスの受信エリアのパラメータと送信用リンクデバイスの送信エリアのパラメータとに変換することにより、前記フィールドネットワークにおける前記リンクデバイスの送受信エリアのパラメータを生成する生成手段を有することを特徴とする。
 本発明によれば、ユーザがフィールドネットワークを用いたコントローラ間通信を行う場合に、コントローラネットワークのリンクデバイスを指定できる。これにより、コントローラネットワークとフィールドネットワークとの仕様の違いを意識せずにネットワークシステムを構築できる。
図1は、実施の形態にかかるエンジニアリングツールの構成を示す図である。 図2は、実施の形態におけるパラメータ自動変換の流れを示す図である。 図3は、実施の形態におけるネットワーク範囲割付の変換法則を示す図である。 図4は、実施の形態における自動リフレッシュパラメータ生成法則(マスタ局)を示す図である。 図5は、実施の形態における自動リフレッシュパラメータ生成法則(ローカル局)を示す図である。 図6は、実施の形態におけるプログラマブルコントローラ及びエンジニアリングツールの動作を示すフローチャートである。 図7は、実施の形態の変形例にかかるプログラマブルコントローラ及びエンジニアリングツールの構成を示す図である。 図8は、実施の形態の変形例におけるプログラマブルコントローラ及びエンジニアリングツールの動作を示すフローチャートである。
 以下に、本発明にかかるエンジニアリングツールの実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態.
 実施の形態にかかるエンジニアリングツール400の構成について図1を用いて説明する。図1は、エンジニアリングツール400の内部構成(機能構成)を示す図である。
 エンジニアリングツール400は、例えば、プログラマブルコントローラ(マスタ、マスタ局)と複数のプログラマブルコントローラ(スレーブ、ローカル局)とがコントローラネットワーク及びフィールドネットワークを介して接続されたプログラマブルコントローラシステムにおいて、各プログラマブルコントローラと通信可能に接続された情報処理装置(例えばパーソナルコンピュータ(図示せず))にインストールされている。情報処理装置は、エンジニアリングツール400を使用してパラメータ(例えば、後述するフィールドネットワーク用パラメータ421)を生成し、生成したパラメータを各プログラマブルコントローラに書き込む。
 エンジニアリングツール400は、第1の設定部431、生成部(生成手段)401、第2の設定部432、及び切り替え部(切り替え手段)433を備える。これらの構成要素は、例えば、エンジニアリングツール400が情報処理装置で実行された際に情報処理装置内に生成される構成要素である。なお、これら構成要素は、エンジニアリングツール400が情報処理装置で実行された際に一度に各構成要素が生成されても、各構成要素が処理を開始するタイミングで逐次生成されてもよい。
 第1の設定部431は、自己が後述する第1の設定モードである状態において、キーボードやマウス等の入力部を介してユーザから設定されたコントローラネットワーク用パラメータ411の一部であるリンクデバイスのネットワーク範囲割付412の設定指示を受け付ける。なお、第1の設定部431に対して、ユーザがコントローラネットワーク用パラメータ411を設定することができる状態を、第1の設定モードと称する。リンクデバイスのネットワーク範囲割付412は、例えば、リンクリレーLBの送受信エリアを指定するパラメータや、リンクレジスタLWの送受信エリアを指定するパラメータを含む。第1の設定部431は、第1の設定モードにおいて、ユーザからの設定指示に従って、リンクデバイスのネットワーク範囲割付412を設定し、当該設定した設定情報を生成部401へ供給する。
 生成部401は、第1の設定部431が第1の設定モードの状態にある場合において、第1の設定部431によりコントローラネットワーク用パラメータ411として設定された、リンクデバイスのネットワーク範囲割付412を受ける。続いて、生成部401は、リンクデバイスのネットワーク範囲割付412を、図3に示す変換法則に基づいて、リンクデバイスのネットワーク範囲割付422に変換する。図3に示す変換法則は、フィールドネットワークのマスタ(マスタ局)とスレーブ(ローカル局)との間で互いに異なる変換法則である。すなわち、図3に示す変換法則は、通信する2つのプログラマブルコントローラがマスタ-スレーブの関係である場合とスレーブ-スレーブ同士の関係である場合とでリンクデバイスの指定方法が同じになるように決められている。
 上記生成部401で変換されたリンクデバイスのネットワーク範囲割付422は、例えば、受信用リンクデバイスの受信エリアを指定するパラメータと送信用リンクデバイスの送信エリアを指定するパラメータとを含む。受信用リンクデバイスの受信エリアのパラメータは、例えば、リモート入力RXの受信エリアを指定するパラメータや、リモートレジスタRWrの受信エリアを指定するパラメータを含む。送信用リンクデバイスの送信エリアを指定するパラメータは、例えば、リモート出力RYの送信エリアを指定するパラメータや、リモートレジスタRWwの送信エリアを指定するパラメータを含む。このように、生成部401は、リンクデバイスのネットワーク範囲割付422をフィールドネットワーク用パラメータ421の一部として生成する。
 また、生成部401は、第1の設定部431が第1の設定モードの状態にある場合において、変換したリンクデバイスのネットワーク範囲割付422を用いて、図4又は図5に示す生成法則に基づいて、リンクデバイスとシーケンサCPUデバイスとを例えば周期的に自動で更新するためのパラメータである、リンクデバイスとシーケンサCPUとの自動リフレッシュパラメータ423をフィールドネットワーク用パラメータ421の他の一部として生成する。図4又は図5に示す生成法則は、それぞれ、フィールドネットワークのマスタ(マスタ局)とスレーブ(ローカル局)との間で互いに異なる生成法則である。すなわち、図4又は図5に示す生成法則は、それぞれ、通信する2つのプログラマブルコントローラがマスタ-スレーブの関係である場合とスレーブ-スレーブ同士の関係である場合とでリンクデバイスの指定方法が同様になるように決められている。また、図4に示す生成法則は、エンジニアリングツール400がプログラマブルコントローラ(マスタ局)のパラメータを生成する場合に用いられ、図5に示す生成法則は、エンジニアリングツール400がプログラマブルコントローラ(ローカル局)のパラメータを生成する場合に用いられる。
 第2の設定部432は、自己が後述する第2の設定モードにある状態において、キーボードやマウス等の入力部を介してユーザから、フィールドネットワーク用パラメータ421の設定指示を受け付ける。なお、第2の設定部432に対して、ユーザがフィールドネットワーク用パラメータ421を設定することができる状態を、第2の設定モードと称する。第2の設定部432は、第2の設定モードにおいて、ユーザからの設定指示に従って、フィールドネットワーク用パラメータ421を設定し、その設定情報を生成部401へ供給する。
 これに応じて、生成部401は、第2の設定モードにおいて、第2の設定部432により設定されたフィールドネットワーク用パラメータ421を受け、保持する。今回、生成部401が受けたフィールドネットワーク用パラメータ421は、フィールドネットワーク用パラメータとしてユーザによって予め入力されたパラメータである為、そのまま用いても良い。
 切り替え部433は、第1の設定部431と第2の設定部432とを切り替えることにより、第1の設定モードと第2の設定モードとを切り替える。第1の設定モードは、コントローラネットワークのパラメータによる設定モードであり、第1の設定部431により、ユーザからの設定指示に従いコントローラネットワーク用パラメータ411が設定されるモードである。第2の設定モードは、フィールドネットワークのパラメータによる設定モードであり、第2の設定部432により、ユーザからの設定指示に従いフィールドネットワーク用パラメータ421が設定されるモードである。これら2つのモードは、エンジニアリングツール400を使用して(切り替え部433がユーザからの切り替え指示をユーザから受けることにより)、ユーザが任意に切り替えることができる。
 さらに、ユーザが、エンジニアリングツール400の、コントローラネットワーク用パラメータ411による設定モード(第1の設定モード)で、コントローラネットワーク用パラメータ411として設定し、エンジニアリングツール400で、フィールドネットワーク用パラメータ421に変換されたパラメータは、エンジニアリングツール400を使用し、再度、コントローラネットワーク用パラメータ411に変換することができる。
 また、ユーザが、プログラマブルコントローラから読み出したフィールドネットワーク用パラメータ421に対して、切り替え部433により、第1の設定モード、第2の設定モードを任意に切り替えて設定することができる。
 次に、プログラマブルコントローラ及びエンジニアリングツール400の動作について図6を用いて説明する。図6は、プログラマブルコントローラ及びエンジニアリングツール400の動作を示すフローチャートである。
 ステップS1では、エンジニアリングツール400が、情報処理装置の表示部(例えば、ディスプレイ装置)に、コントローラネットワーク用のパラメータ設定方式を使用するか否かを尋ねるダイアログ画面を表示させる。そして、エンジニアリングツール400は、情報処理装置の入力部(例えば、キーボードやマウス)を介して、コントローラネットワーク用のパラメータ設定方式を使用することの指示を受け付けた場合(ステップS1で「Yes」)、処理をステップS2へ進める。エンジニアリングツール400は、情報処理装置の入力部を介して、コントローラネットワーク用のパラメータ設定方式を使用しないことの指示を受け付けた場合(ステップS1で「No」)、処理をステップS5へ進める。
 ステップS2では、エンジニアリングツール400が、ユーザが「コントローラネットワーク用のパラメータ設定方式を使用する」を選択したことを認識するとともに、その認識内容を切り替え部433へ通知する。切り替え部433は、その通知に応じて、現在の設定モードが第1の設定モードであればそのままとして、現在の設定モードが他の設定モード(例えば、第2の設定モード)であれば現在の設定モードから第1の設定モードへ切り替える。切り替え部433は、現在の設定モードが第1の設定モードになっていることを第1の設定部431へ通知する。
 ステップS3では、第1の設定部431が、第1の設定モードになっていることの通知に応じて、ユーザから、コントローラネットワーク用パラメータ411を受け付け可能な状態になる。これにより、第1の設定部431は、コントローラネットワーク用パラメータ411の設定指示を受け付ける。例えば、第1の設定部431は、リンクデバイスのネットワーク範囲割付412の設定指示を受け付ける。リンクデバイスのネットワーク範囲割付412は、例えば、リンクリレーLBの送受信エリアを指定するパラメータや、リンクレジスタLWの送受信エリアを指定するパラメータを含む。第1の設定部431は、ユーザからの設定指示に従って、リンクデバイスのネットワーク範囲割付412を設定し、その設定情報を生成部401へ供給する。
 ステップS4では、生成部401が、第1の設定部431によりコントローラネットワーク用パラメータ411として設定された、リンクデバイスのネットワーク範囲割付412を受ける。生成部401は、リンクデバイスのネットワーク範囲割付412を、図3に示す変換法則に基づいて、リンクデバイスのネットワーク範囲割付422に変換(自動変換)する。リンクデバイスのネットワーク範囲割付422は、例えば、受信用リンクデバイスの受信エリアを指定するパラメータと送信用リンクデバイスの送信エリアを指定するパラメータとを含む。受信用リンクデバイスの受信エリアのパラメータは、例えば、リモート入力RXの受信エリアを指定するパラメータや、リモートレジスタRWrの受信エリアを指定するパラメータを含む。送信用リンクデバイスの送信エリアを指定するパラメータは、例えば、リモート出力RYの送信エリアを指定するパラメータや、リモートレジスタRWwの送信エリアを指定するパラメータを含む。このように、生成部401は、リンクデバイスのネットワーク範囲割付422をフィールドネットワーク用パラメータ421の一部として生成する。
 また、生成部401は、生成したリンクデバイスのネットワーク範囲割付422を用いて、図4又は図5に示す生成法則に基づいて、リンクデバイスとシーケンサCPUデバイスとを例えば周期的に自動で更新するためのパラメータである、リンクデバイスとシーケンサCPUとの自動リフレッシュパラメータ423をフィールドネットワーク用パラメータ421の他の一部として生成する。
 ステップS5では、エンジニアリングツール400が、ユーザが「フィールドネットワーク用のパラメータ設定方式を使用する」を選択したことを認識するとともに、その認識内容を切り替え部433へ通知する。切り替え部433は、その通知に応じて、現在の設定モードが第2の設定モードであればそのままとして、現在の設定モードが他の設定モード(例えば、第1の設定モード)であれば現在の設定モードから第2の設定モードへ切り替える。切り替え部433は、現在の設定モードが第2の設定モードになっていることを第1の設定部431へ通知する。
 ステップS6では、第2の設定部432が、第2の設定モードになっていることの通知に応じて、ユーザから、フィールドネットワーク用パラメータ421を受け付け可能な状態になる。これにより、第2の設定部432は、フィールドネットワーク用パラメータ421の設定指示を受け付ける。例えば、第2の設定部432は、リンクデバイスのネットワーク範囲割付422の設定指示を受け付ける。あるいは、例えば、第2の設定部432は、リンクデバイスとシーケンサCPUとの自動リフレッシュパラメータ423の設定指示を受け付ける。第2の設定部432は、ユーザからの設定指示に従って、フィールドネットワーク用パラメータ421を設定し、その設定情報を生成部401へ供給する。
 これに応じて、生成部401は、第2の設定部432により設定されたフィールドネットワーク用パラメータ421を受ける。生成部401は、受けたフィールドネットワーク用パラメータ421をそのまま用いても良い。
 ステップS7では、生成部401が、生成した(又はそのまま用いる)フィールドネットワーク用パラメータ421とその書き込み命令とを、通信インターフェース及び通信回線経由で各プログラマブルコントローラへ送信する。
 ステップS8では、各プログラマブルコントローラが、フィールドネットワーク用パラメータ421とその書き込み命令とを通信回線経由で受信し、内部メモリの所定エリアに書き込む。これにより、フィールドネットワーク用パラメータ421が各プログラマブルコントローラに書き込まれる。
 次に、エンジニアリングツール400の生成部401におけるパラメータ自動変換機能について説明する。図2は、ユーザにより設定されたコントローラネットワーク用パラメータを、エンジニアリングツールのパラメータ自動変換機能が、フィールドネットワーク用パラメータに変換する流れを示す図である。図2では、局番0(マスタ局)301、局番α(ローカル局)311、局番β(ローカル局)321の、3局構成の例で述べる。なお、本実施の形態では、局番0をマスタ局としているが、マスタ局は局番0に限るものではなく、ローカル局である局番α、局番βに対して昇順又は降順の基準となり得る局番であれば良い。
 ここで、0<α<βとする。局番0(マスタ局)301は、コントローラネットワークの送信エリア302~304、フィールドネットワークの受信エリア305、306、送信エリア307、308を有する。局番α(ローカル局)311は、コントローラネットワークの送信エリア316~318、フィールドネットワークの受信エリア312、313、送信エリア314、315を有する。局番β(ローカル局)321は、コントローラネットワークの送信エリア326~328、フィールドネットワークの受信エリア322、323、送信エリア324、325を有する。
 局番0(マスタ局)301における、パラメータ変換方法について述べる。ユーザが、コントローラネットワークのパラメータとして、ネットワーク上の各ノードの送信範囲を定めるための、リンクデバイスのネットワーク範囲割付を設定する。図2の3局構成の例において、局番0の送信エリア302、局番αの送信エリア303、局番βの送信エリア304を設定したとする。エンジニアリングツール400は、設定されたコントローラネットワークのパラメータをもとに、図3に示す変換法則に基づいて、フィールドネットワークのパラメータである、リンクデバイスの範囲割付のパラメータに変換する。さらに、エンジニアリングツール400は、リンクデバイスの範囲割付のパラメータを用いて、図4に示す生成法則に基づいて、リンクデバイスとシーケンサCPUデバイスとを例えば周期的に自動で更新するための自動リフレッシュパラメータを生成する。
 次に、局番α(ローカル局)311における、パラメータ変換方法について述べる。エンジニアリングツール400は、局番0(マスタ局)301に設定されたコントローラネットワークのパラメータをもとに、図5に示す変換法則に基づいて、リンクデバイスとシーケンサCPUデバイスとを例えば周期的に自動で更新するための自動リフレッシュパラメータを生成する。
 局番β(ローカル局)321における、パラメータ変換方法について述べる。局番α(ローカル局)311と同様に、エンジニアリングツール400は、局番0(マスタ局)301に設定されたコントローラネットワークのパラメータをもとに、図5に示す変換法則に基づいて、リンクデバイスとシーケンサCPUデバイスとを例えば周期的に自動で更新するための自動リフレッシュパラメータを生成する。
 次に、上記のパラメータ変換を使用した場合に、プログラマブルコントローラ間でデータ送受信が行われるときの流れについて述べる。
 局番0(マスタ局)301が他局に対してデータを送信する場合について述べる。局番0(マスタ局)301が、コントローラネットワークのパラメータの送信エリア302にデータを書き込むと、フィールドネットワークのパラメータの、局番α(ローカル局)311への送信エリア307にデータを書き込むことになる。そして、局番α(ローカル局)311は、フィールドネットワークのパラメータの受信エリア312でデータを受信する。受信したデータは、コントローラネットワークのパラメータの、局番0(マスタ局)301用の送信エリア316に変換される。
 このように、局番0(マスタ局)301が自局の送信エリア302に書き込んだデータは、局番α(ローカル局)311が、局番0(マスタ局)301用の送信エリア316で受信したことになる。同様に、局番0(マスタ局)301が、コントローラネットワークのパラメータの送信エリア302に書き込んだデータは、局番β(ローカル局)321が、局番0(マスタ局)301用の送信エリア326で受信したことになる。
 局番α(ローカル局)311が他局に対してデータを送信する場合について述べる。局番α(ローカル局)311が、コントローラネットワークのパラメータの送信エリア317にデータを書き込むと、フィールドネットワークのパラメータの、局番α(ローカル局)311からの送信エリア314にデータを書き込むことになる。このため、局番0(マスタ局)301は、フィールドネットワークのパラメータの受信エリア305でデータを受信する。受信したデータは、コントローラネットワークのパラメータの、局番α(ローカル局)311用の送信エリア303に変換される。
 このように、局番α(ローカル局)311が自局の送信エリア317に書き込んだデータを、局番0(マスタ局)301が、局番α(ローカル局)用の送信エリア303で受信したことになる。同様に、局番α(ローカル局)311が、コントローラネットワークのパラメータの送信エリア317に書き込んだデータは、局番β(ローカル局)321が、フィールドネットワークのパラメータの、局番α(ローカル局)311の送信エリア327で受信したことになる。
 局番β(ローカル局)321が他局に対してデータを送信する場合について述べる。局番β(ローカル局)321が、コントローラネットワークのパラメータの送信エリア328にデータを書き込むと、フィールドネットワークのパラメータの、局番β(ローカル局)321からの送信エリア325にデータを書き込むことになる。このため、局番0(マスタ局)301は、フィールドネットワークのパラメータの受信エリア306でデータを受信する。受信したデータは、コントローラネットワークのパラメータの、局番β(ローカル局)321用の送信エリア304に変換される。
 このように、局番β(ローカル局)321が自局の送信エリア328に書き込んだデータを、局番0(マスタ局)301が、局番β(ローカル局)321用の送信エリア304で受信したことになる。同様に、局番β(ローカル局)321が、コントローラネットワークのパラメータの送信エリア328に書き込んだデータは、局番α(ローカル局)311が、フィールドネットワークのパラメータの、局番β(ローカル局)321用の送信エリア318で受信したことになる。
 以上のように、実施の形態にかかるエンジニアリングツールにおけるパラメータ自動変換機能によれば、ユーザによりコントローラネットワークを使用する場合のデータの送受信エリアとして指定されたエリアを、フィールドネットワークを使用する場合のデータの送受信エリアに自動的に割り付けする変換が行われ、フィールドネットワークのパラメータが自動生成される。すなわち、コントローラネットワークを使用する場合のデータの送受信エリアとして設定したパラメータを、マスタ局となるプログラマブルコントローラとマスタ以外のプログラマブルコントローラとで互いに異なった変換法則に基づき、パラメータの変換を行う。言い換えると、プログラマブルコントローラにパラメータを書き込むエンジニアリングツールで、リンクデバイスLB/LWと送信用/受信用リンクデバイスRWw/RWrとの関連付けを行い、パラメータを自動生成することにより、ユーザがフィールドネットワークを用いたコントローラ間通信を行う場合に、コントローラネットワークのリンクデバイスLB/LWを指定できる。これにより、フィールドネットワークを使用してコントローラ間通信を行う場合に、ユーザはコントローラネットワークを使用する場合と同様に、パラメータ設定、プログラミングを行うことができる。この結果、コントローラネットワークとフィールドネットワークとの仕様の違いを意識せずにネットワークシステムを構築できる。
 また、プログラマブルコントローラ側でのファームウェアの変更が不要であるため、プログラマブルコントローラにおけるエンジニアリングツールのバージョンアップのみで、上記機能が使用可能になる。
 さらに、ユーザによりコントローラネットワークのパラメータとして新たに設定されたパラメータは、エンジニアリングツールによって追加的に又は更新してフィールドネットワークのパラメータに変換することができる。これにより、システムの追加・変更等により、フィールドネットワークとして管理することになった場合にも、容易に対応することができる。
 また、実施の形態にかかるエンジニアリングツールにおけるパラメータ自動変換機能によれば、生成されたフィールドネットワークのパラメータを用いて、マスタ局となるプログラマブルコントローラとマスタ局以外のプログラマブルコントローラとで互いに異なった生成法則に基づき、リンクデバイスとシーケンサCPUデバイスとを周期的に自動で更新するためのパラメータである自動リフレッシュパラメータを生成する。すなわち、リンクデバイスのネットワーク範囲割付と自動リフレッシュパラメータとの2つのパラメータによって、ユーザは、シーケンサCPUデバイスによって、コントローラネットワークを使用する場合のデータの送受信エリアを指定することにより、プログラマブルコントローラ間のデータ送受信を行うことができる。
 なお、生成部401は、図1に破線で示すように、フィールドネットワークのパラメータに変換した後に、再びコントローラネットワークのパラメータに再変換してもよい。これにより、コントローラネットワークとして管理することになった場合にも、容易に対応することができる。
 なお、実施の形態の変形例として、生成部501を、プログラマブルコントローラ内に組み込んでもよい。この場合の構成例を図7に示す。この場合、エンジニアリングツール500の第1の設定部531で受け付けたコントローラネットワーク用パラメータ511を、プログラマブルコントローラ510の生成部501に供給する。生成部501は、供給されたコントローラネットワーク用パラメータ511を、図3、図4、図5に示す変換法則に基づいて、フィールドネットワーク用パラメータ521に変換する。ここで、生成部501をプログラマブルコントローラ510に有する場合、フィールドネットワーク用パラメータ521として、リンクデバイスのネットワーク範囲割付522と、リンクデバイスと内部メモリの転送用パラメータ523を生成する。リンクデバイスのネットワーク範囲割付522の変換法則は図3に示す式と等しい。また、リンクデバイスと内部メモリの転送用パラメータ523の変換法則は、図4、図5に示す式と等しい。切り替え部533が第1の設定モードと第2の設定モードとを切り替える点も上記の実施の形態と同様である。
 このように、生成部501をプログラマブルコントローラ510に有する形態とすることで、生成部401(図1参照)を有しないエンジニアリングツールを使用する場合にも、プログラマブルコントローラ内の生成部501を使用し、コントローラネットワークのパラメータと、フィールドネットワークのパラメータ変換を行う機能を使用することができる。
 また、この場合、プログラマブルコントローラ及びエンジニアリングツール500の動作が、図8に示すように、次の点で実施の形態と異なる。
 ステップS13では、第1の設定部531が、ステップS3と同様の処理を行い、その後、コントローラネットワーク用パラメータ511の設定情報を通信インターフェース及び通信回線経由で各プログラマブルコントローラへ送信する。
 ステップS14では、各プログラマブルコントローラが、リンクデバイスのネットワーク範囲割付512を含むコントローラネットワーク用パラメータ511の設定情報を通信回線経由で受信する。各プログラマブルコントローラは、受信したコントローラネットワーク用パラメータ511の設定情報を生成部501へ供給する。生成部501は、供給されたコントローラネットワーク用パラメータ511を、図3、図4、図5に示す変換法則に基づいて、フィールドネットワーク用パラメータ521に変換する。ここで、フィールドネットワーク用パラメータ521として、リンクデバイスのネットワーク範囲割付522と、リンクデバイスと内部メモリの転送用パラメータ523を生成する。
 ステップS16では、第2の設定部532が、ステップS6と同様の処理を行い、その後、フィールドネットワーク用パラメータ521の設定情報を通信インターフェース及び通信回線経由で各プログラマブルコントローラへ送信する。
 ステップS18では、各プログラマブルコントローラが、フィールドネットワーク用パラメータ521の設定情報を通信回線経由で受信した場合、受信したフィールドネットワーク用パラメータ521の設定情報を生成部501へ供給する。生成部501は、ステップS14で生成した、又は受信したフィールドネットワーク用パラメータ521を内部メモリの所定エリアに書き込む。これにより、フィールドネットワーク用パラメータ521が各プログラマブルコントローラに書き込まれる。
 このように、実施の形態の変形例では、エンジニアリングツール(情報処理装置)から各プログラマブルコントローラに書き込み命令を送る必要がないので、実施の形態に比べて送信する情報量を低減できる。
 以上のように、本発明にかかるエンジニアリングツール、及びプログラマブルコントローラは、プログラマブルコントローラシステムに有用である。
 301 局番0(マスタ局)
 302~304 コントローラネットワークの送信エリア
 305、306 フィールドネットワークの受信エリア
 307、308 フィールドネットワークの送信エリア
 311 局番α(ローカル局)
 312、313 フィールドネットワークの受信エリア
 314、315 フィールドネットワークの送信エリア
 316~318 コントローラネットワークの送信エリア
 321 局番β(ローカル局)
 322、323 フィールドネットワークの受信エリア
 324、325 フィールドネットワークの送信エリア
 326~328 コントローラネットワークの送信エリア
 400 エンジニアリングツール
 401 生成部
 411 コントローラネットワーク用パラメータ
 412 リンクデバイスのネットワーク範囲割付
 421 フィールドネットワーク用パラメータ
 422 リンクデバイスのネットワーク範囲割付
 423 リンクデバイスとシーケンサCPUデバイスの自動リフレッシュパラメータ
 431 第1の設定部
 432 第2の設定部
 433 切り替え部
 500 エンジニアリングツール
 501 生成部
 510 プログラマブルコントローラ
 511 コントローラネットワーク用パラメータ
 512 リンクデバイスのネットワーク範囲割付
 521 フィールドネットワーク用パラメータ
 522 リンクデバイスのネットワーク範囲割付
 523 リンクデバイスと内部メモリの転送用パラメータ
 531 第1の設定部
 532 第2の設定部
 533 切り替え部

Claims (10)

  1.  コントローラネットワークにおけるリンクデバイスの送受信エリアのパラメータを、フィールドネットワークにおけるマスタ及びスレーブの間で互いに異なる変換法則に基づいて、前記フィールドネットワークにおける受信用リンクデバイスの受信エリアのパラメータと送信用リンクデバイスの送信エリアのパラメータとに変換することにより、前記フィールドネットワークにおける前記リンクデバイスの送受信エリアのパラメータを生成する生成手段を有する
     ことを特徴とするエンジニアリングツール。
  2.  前記変換法則は、前記フィールドネットワークにおけるマスタ及びスレーブの間の通信とスレーブ及びスレーブの間の通信とでリンクデバイスの指定方法が均等になるように決められている
     ことを特徴とする請求項1に記載のエンジニアリングツール。
  3.  前記生成手段は、前記生成したパラメータを用いて、前記フィールドネットワークにおける前記マスタ及び前記スレーブの間で互いに異なる生成法則に基づいて、リンクデバイスとシーケンサCPUのデバイスとを自動で更新するためのリフレッシュパラメータを生成する
     ことを特徴とする請求項1に記載のエンジニアリングツール。
  4.  前記生成法則は、前記フィールドネットワークにおけるマスタ及びスレーブの間の通信とスレーブ及びスレーブの間の通信とでリンクデバイスの指定方法が均等になるように決められている
     ことを特徴とする請求項3に記載のエンジニアリングツール。
  5.  前記コントローラネットワークにおけるリンクデバイスの送受信エリアのパラメータを設定する第1の設定モードと、前記フィールドネットワークにおけるリンクデバイスの送受信エリアのパラメータを設定する第2の設定モードとを切り替える切り替え手段をさらに有する
     ことを特徴とする請求項1に記載のエンジニアリングツール。
  6.  前記コントローラネットワークにおけるリンクデバイスの送受信エリアのパラメータを設定する第1の設定モードと、前記フィールドネットワークにおけるリンクデバイスの送受信エリアのパラメータを設定する第2の設定モードとを切り替える切り替え手段をさらに有する
     ことを特徴とする請求項3に記載のエンジニアリングツール。
  7.  コントローラネットワークにおけるリンクデバイスの送受信エリアのパラメータを、フィールドネットワークにおけるマスタ及びスレーブの間で互いに異なる変換法則に基づいて、前記フィールドネットワークにおける受信用リンクデバイスの受信エリアのパラメータと送信用リンクデバイスの送信エリアのパラメータとに変換することにより、前記フィールドネットワークにおける前記リンクデバイスの送受信エリアのパラメータを生成する生成手段を有する
     ことを特徴とするプログラマブルコントローラ。
  8.  前記変換法則は、前記フィールドネットワークにおけるマスタ及びスレーブの間の通信とスレーブ及びスレーブの間の通信とでリンクデバイスの指定方法が均等になるように決められている
     ことを特徴とする請求項7に記載のプログラマブルコントローラ。
  9.  前記生成手段は、前記生成したパラメータを用いて、前記フィールドネットワークにおける前記マスタ及び前記スレーブの間で互いに異なる生成法則に基づいて、リンクデバイスとシーケンサCPUのデバイスとを自動で更新するためのリフレッシュパラメータを生成する
     ことを特徴とする請求項7に記載のプログラマブルコントローラ。
  10.  前記生成法則は、前記フィールドネットワークにおけるマスタ及びスレーブの間の通信とスレーブ及びスレーブの間の通信とでリンクデバイスの指定方法が均等になるように決められている
     ことを特徴とする請求項9に記載のプログラマブルコントローラ。
PCT/JP2012/050038 2011-02-04 2012-01-04 エンジニアリングツール、及びプログラマブルコントローラ WO2012105277A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
DE112012000671T DE112012000671T5 (de) 2011-02-04 2012-01-04 Engineering-Werkzeug und programmierbare Steuerung
US13/993,906 US20130275605A1 (en) 2011-02-04 2012-01-04 Engineering tool and programmable controller
KR1020137023169A KR101445997B1 (ko) 2011-02-04 2012-01-04 엔지니어링 툴 및 프로그래머블 컨트롤러
JP2012555769A JP5414916B2 (ja) 2011-02-04 2012-01-04 エンジニアリングツール、及びプログラマブルコントローラ
CN201280007339.3A CN103339574B (zh) 2011-02-04 2012-01-04 工程设计工具及可编程控制器

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011023236 2011-02-04
JP2011-023236 2011-02-04

Publications (1)

Publication Number Publication Date
WO2012105277A1 true WO2012105277A1 (ja) 2012-08-09

Family

ID=46602498

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/050038 WO2012105277A1 (ja) 2011-02-04 2012-01-04 エンジニアリングツール、及びプログラマブルコントローラ

Country Status (7)

Country Link
US (1) US20130275605A1 (ja)
JP (1) JP5414916B2 (ja)
KR (1) KR101445997B1 (ja)
CN (1) CN103339574B (ja)
DE (1) DE112012000671T5 (ja)
TW (1) TWI473464B (ja)
WO (1) WO2012105277A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI609313B (zh) * 2016-02-24 2017-12-21 三菱電機股份有限公司 工程工具程式及工程工具

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02113744A (ja) * 1988-10-24 1990-04-25 Omron Tateisi Electron Co データ処理装置
JPH0566814A (ja) * 1991-09-06 1993-03-19 Hitachi Ltd 通信モジユール
JPH06138917A (ja) * 1992-10-30 1994-05-20 Omron Corp プログラマブル・コントローラ
JPH0736374A (ja) * 1993-07-21 1995-02-07 Omron Corp データリンクシステム
JPH11296211A (ja) * 1998-04-14 1999-10-29 Yaskawa Electric Corp 入出力装置

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB8510808D0 (en) * 1985-04-29 1985-06-05 Automation & Computer Systems Communication system
JPH06188850A (ja) * 1992-10-23 1994-07-08 Fujitsu Ltd データ転送方式及びデータ転送装置
US5491771A (en) * 1993-03-26 1996-02-13 Hughes Aircraft Company Real-time implementation of a 8Kbps CELP coder on a DSP pair
JPH08123520A (ja) * 1994-10-25 1996-05-17 Mitsubishi Electric Corp 駆動制御指令装置と複数台の駆動制御指令装置の同期制御システム及びその同期制御方法
US5727170A (en) * 1994-12-29 1998-03-10 Siemens Energy & Automation, Inc. User defined port and protocol scheme for a programmable logic controller
US6301610B1 (en) * 2000-02-11 2001-10-09 Union Switch & Signal, Inc. Communication system
US7035285B2 (en) * 2000-04-07 2006-04-25 Broadcom Corporation Transceiver method and signal therefor embodied in a carrier wave for a frame-based communications network
US6842454B2 (en) * 2001-03-14 2005-01-11 Schneider Automation Inc. Method and system for device addressing on a computer network
US7260657B2 (en) * 2001-10-02 2007-08-21 Hitachi, Ltd. Serial data transferring apparatus
WO2003053035A1 (en) * 2001-12-18 2003-06-26 Siemens Energy & Automation, Inc. Plc to plc communications with a modem on the plc i/o bus
JP3988605B2 (ja) 2002-09-30 2007-10-10 オムロン株式会社 設定ツール装置
CN1778069A (zh) * 2003-02-26 2006-05-24 西门子能量及自动化公司 用于网络向导的系统、装置和方法
JP4001093B2 (ja) * 2003-09-18 2007-10-31 オムロン株式会社 プログラマブルコントローラおよび二重化ネットワークシステム
JP4567982B2 (ja) 2004-01-29 2010-10-27 株式会社キーエンス 制御機器のリンク設定装置
JP2006310928A (ja) * 2005-04-26 2006-11-09 Yokogawa Electric Corp ゲートウェイシステム
WO2006136201A1 (de) * 2005-06-23 2006-12-28 Hilscher Gesellschaft für Systemautomation mbH Verfahren zur datenkommunikation von busteilnehmern eines offenen automatisierungssystems
US20070192764A1 (en) * 2005-12-02 2007-08-16 Sony Ericsson Mobile Communications Ab An application comprising a network setting
US20070263531A1 (en) * 2006-05-09 2007-11-15 Media Tek, Inc. System, apparatus for switching networks and method therefor
US8254253B2 (en) * 2006-07-05 2012-08-28 Nokia Corporation Conditional utilization of private short-range wireless networks for service provision and mobility
JP2009063360A (ja) 2007-09-05 2009-03-26 Kiyoko Shimizu Plc通信を用いたエネルギー消費原単位監視システム
US20110004827A1 (en) * 2008-02-29 2011-01-06 The Regents Of The University Of California Scalable, Cross-Platform Method for Multi-Tile Display Systems
JP2010165403A (ja) * 2009-01-14 2010-07-29 Zoom Corp マルチトラックレコーダ、及び複数台のマルチトラックレコーダによる同期録音方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02113744A (ja) * 1988-10-24 1990-04-25 Omron Tateisi Electron Co データ処理装置
JPH0566814A (ja) * 1991-09-06 1993-03-19 Hitachi Ltd 通信モジユール
JPH06138917A (ja) * 1992-10-30 1994-05-20 Omron Corp プログラマブル・コントローラ
JPH0736374A (ja) * 1993-07-21 1995-02-07 Omron Corp データリンクシステム
JPH11296211A (ja) * 1998-04-14 1999-10-29 Yaskawa Electric Corp 入出力装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI609313B (zh) * 2016-02-24 2017-12-21 三菱電機股份有限公司 工程工具程式及工程工具

Also Published As

Publication number Publication date
CN103339574B (zh) 2015-11-25
TWI473464B (zh) 2015-02-11
TW201240385A (en) 2012-10-01
DE112012000671T5 (de) 2013-12-19
CN103339574A (zh) 2013-10-02
US20130275605A1 (en) 2013-10-17
KR20130124371A (ko) 2013-11-13
JP5414916B2 (ja) 2014-02-12
KR101445997B1 (ko) 2014-09-29
JPWO2012105277A1 (ja) 2014-07-03

Similar Documents

Publication Publication Date Title
WO2015136960A1 (ja) コントローラ
JP6390113B2 (ja) 制御システム、開発支援装置、制御装置、および制御方法
US10466670B2 (en) Field bus module, machine controller, and method for parameterizing a field bus module, in particular a safety-oriented field bus module
JP2018041405A (ja) コントローラ及びコントロール管理システム
JP5454255B2 (ja) 音響信号処理装置及び音響信号処理システム
JP5414916B2 (ja) エンジニアリングツール、及びプログラマブルコントローラ
CN111971630B (zh) 管理装置及管理系统
KR20140145306A (ko) 조명 시스템
JP4567982B2 (ja) 制御機器のリンク設定装置
KR101513393B1 (ko) 프로그램 작성 장치 및 프로그래머블 로직 컨트롤러
CN110573974A (zh) 用于监控自动化技术系统的装置、现场总线接入单元和方法
JP2014060636A (ja) 通信インタフェース変換装置
JP2015115864A (ja) データ転送システム及びデータ転送システムの制御方法
JP7054856B2 (ja) 照明制御用通信装置および通信システム
WO2023203700A1 (ja) 空調システム及びアドレス設定方法
JP2008102713A (ja) 制御端末の時刻合わせ方法
KR20140106981A (ko) 빌딩 자동화 시스템, 그에 포함된 게이트웨이 및 게이트웨이의 동작방법
KR101672453B1 (ko) 프로피버스 네트워크 시스템 및 그 제어 방법
WO2023238410A1 (ja) 制御装置、制御方法、及びプログラム
JPWO2014109056A1 (ja) 信号変換システム及び信号変換方法
JP7163657B2 (ja) サポート装置、設定方法、および設定プログラム
KR20170106797A (ko) 펌웨어 다중 다운로드가 가능한 plc 모듈과 이를 포함하는 plc 시스템 및 이를 이용한 plc 시스템의 펌웨어 다중 다운로드 방법
JP2014127055A (ja) Plcの周辺装置
JP4854598B2 (ja) データ転送制御装置
JP2022154103A (ja) 通信装置、通信システム、及び通信方法

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: 12742178

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2012555769

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 13993906

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112012000671

Country of ref document: DE

Ref document number: 1120120006712

Country of ref document: DE

ENP Entry into the national phase

Ref document number: 20137023169

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 12742178

Country of ref document: EP

Kind code of ref document: A1