WO2016038645A1 - 入出力制御装置、入出力制御方法、及びプログラム - Google Patents

入出力制御装置、入出力制御方法、及びプログラム Download PDF

Info

Publication number
WO2016038645A1
WO2016038645A1 PCT/JP2014/004673 JP2014004673W WO2016038645A1 WO 2016038645 A1 WO2016038645 A1 WO 2016038645A1 JP 2014004673 W JP2014004673 W JP 2014004673W WO 2016038645 A1 WO2016038645 A1 WO 2016038645A1
Authority
WO
WIPO (PCT)
Prior art keywords
output
input
circuit
selector
bus
Prior art date
Application number
PCT/JP2014/004673
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 DE112014006947.7T priority Critical patent/DE112014006947T5/de
Priority to JP2016546539A priority patent/JP6176407B2/ja
Priority to KR1020177004669A priority patent/KR101781323B1/ko
Priority to CN201480081523.1A priority patent/CN106662853B/zh
Priority to US15/501,268 priority patent/US9971332B2/en
Priority to PCT/JP2014/004673 priority patent/WO2016038645A1/ja
Publication of WO2016038645A1 publication Critical patent/WO2016038645A1/ja

Links

Images

Classifications

    • 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
    • G05B19/054Input/output
    • 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/0423Input/output
    • 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/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7867Architectures of general purpose stored program computers comprising a single central processing unit with reconfigurable architecture
    • 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/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1131I-O connected to a bus
    • 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/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13187Checking validity of data

Definitions

  • the present invention relates to an input / output control device for performing input / output control of a programmable logic controller, an input / output control method, and a program for executing input / output control.
  • a general programmable logic controller has a built-in microprocessor and is connected to electronic loads such as various actuators and display devices.
  • electronic loads such as various actuators and display devices.
  • the operation status of electronic loads indicated by input signals from operation switches and various sensors is stored in memory.
  • the drive control of the electronic load is performed in response to the sequence program.
  • a conventional programmable logic controller uses a special unit equipped with an integrated circuit element and an input / output interface circuit for performing high-speed input / output processing.
  • the special unit operates as an input / output control device, and the integrated circuit element mounted on the special unit includes a parameter memory and a logic circuit unit whose operation specifications are determined by the contents of the special instruction in the program memory, and
  • the reversible counter constituting the logic circuit unit is used for both high-speed input processing and high-speed output processing (see, for example, Patent Document 1).
  • JP 2009-066984 A (paragraphs 0013, 0050, 0051, 0121, and FIG. 4)
  • a special unit (hereinafter referred to as an input / output control device) executes an arbitrary function among various functions that can be realized by the programmable logic controller. Although it can be easily used and the function can be executed effectively, there is a problem that the function of the special unit cannot be corrected or a function that is not set cannot be added.
  • the present invention has been made in view of the above, and an object thereof is to obtain an input / output control device, an input / output control method, and a program for a programmable logic controller that are easy to handle and can realize various functions.
  • the input / output control apparatus is connected to an input interface to which signals are input from the outside, and is connected to the bus and is set to valid or invalid for operation, and outputs a bus signal when valid.
  • a plurality of circuit selectors that do not output bus signals when invalid, and corresponding to each circuit selector, perform logical operation when a signal is input from the circuit selector, and send a signal indicating the operation result to the bus Connected to multiple logic circuits to output and bus, operation is set to valid or invalid, bus signal is output to output interface when valid, bus signal is output to output interface when invalid Enable or disable multiple circuit selectors or output selectors based on the output selector and the order of operation of multiple circuit selectors and output selectors That includes a computing unit.
  • An input / output control method includes an input step for receiving a signal input to a bus connected to an input interface to which a signal is input from the outside, and an arbitrary circuit selector among a plurality of circuit selectors connected to the bus.
  • a circuit selection step for enabling the circuit selector to output a bus signal and performing a logical operation on a logic circuit to which a signal is input from the circuit selector among a plurality of logic circuits provided for each circuit selector.
  • an output step for enabling the output selector connected to the bus and causing the output selector to output the bus signal to the output interface.
  • a program according to the present invention is a program installed in an input / output control device that performs a predetermined operation in accordance with a signal input from an input interface and outputs a signal from an output interface. Is provided corresponding to each circuit selector and a circuit selection step for enabling an arbitrary circuit selector among a plurality of circuit selectors connected to the bus and causing the circuit selector to output a bus signal.
  • an input / output control device an input / output control method, and a program for a programmable logic controller that are easy to handle and can realize various functions.
  • FIG. 3 is a block diagram showing a configuration of a programmable logic controller in Embodiment 1.
  • FIG. 3 is a block diagram illustrating a connection state of signal lines in a general-purpose logic unit of the input / output control apparatus according to Embodiment 1.
  • FIG. 3 is a conceptual diagram illustrating a configuration of a storage unit of the input / output control device according to Embodiment 1.
  • FIG. 4 is a flowchart illustrating a procedure of an operation when the programmable logic controller according to the first embodiment executes a user program. 4 is a flowchart showing a procedure for a user to set an operation of a general-purpose logic unit in advance in the first embodiment.
  • FIG. 1 is a block diagram showing the configuration of the programmable logic controller in the first embodiment.
  • a programmable logic controller provided with the input / output control apparatus according to the first embodiment will be described with reference to FIG.
  • the present invention is not limited to the first embodiment.
  • the programmable logic controller 1 is connected to the peripheral device 3 via the connection cable 2.
  • the programmable logic controller 1 is connected to the open / close sensor 4 and the electronic load 5.
  • the open / close sensor 4 is an encoder such as a rotary encoder that is attached to a motor and detects a rotation angle of the motor.
  • the electronic load 5 is, for example, a valve such as an electromagnetic valve, a motor, or the like.
  • the programmable logic controller 1 includes an input / output control device 10 and a CPU device 20.
  • the input / output control device 10 includes a general-purpose logic unit 11, a calculation unit 12, a storage unit 13, a communication interface unit 14, an external input interface unit 15, and an external output interface unit 16.
  • the general-purpose logic unit 11 includes a plurality of circuit selectors and a plurality of circuit elements, as will be described later, and provides various functions for dealing with user-original operation settings.
  • the calculation unit 12 is a central processing unit (CPU) that controls the overall operation of the input / output control device 10. Further, as will be described later, the calculation unit 12 enables or disables the operation setting of each selector based on operation data indicating the operation order of each selector, and responds to a setting parameter indicating the operation of each circuit element. The logic operation is performed on each circuit element. The operation data of each selector and the setting parameters of each circuit element are preset as will be described later.
  • CPU central processing unit
  • the storage unit 13 is a memory such as a RAM, and stores data for the calculation unit 12 to control the operation of the general-purpose logic unit 11. As will be described later, the storage unit 13 stores operation data indicating the operation order of each selector, setting parameters indicating the operation of each circuit element, an operation state flag, and measurement data.
  • the communication interface unit 14 is an interface for performing communication with the CPU device 20.
  • the external input interface unit 15 is connected to the general-purpose logic unit 11 and the open / close sensor 4, receives a signal from the open / close sensor 4, and outputs a signal corresponding to the signal from the open / close sensor 4 to the general-purpose logic unit 11.
  • the external output interface unit 16 is connected to the general-purpose logic unit 11 and the electronic load 5, receives a signal from the general-purpose logic unit 11, and outputs a signal corresponding to the signal from the general-purpose logic unit 11 to the electronic load 5.
  • the general-purpose logic unit 11 of the input / output control device 10 includes a circuit switching bus 111, circuit selectors 112a, 112b, 112c, 112d, 112e, 112f, a filter 113, a logic gate 114, a counter 115, a comparator 116, an arithmetic unit 117, and a clock. 118, an output selector 119, and an operation setting bus 120.
  • circuit selectors 112a, 112b, 112c, 112d, 112e, and 112f are collectively referred to as a circuit selector 112.
  • the filter 113, the logic gate 114, the counter 115, the comparator 116, the arithmetic unit 117, and the clock 118 are collectively referred to as circuit elements.
  • a logic circuit is a circuit element in the first embodiment.
  • circuit switching bus 111 To the circuit switching bus 111, an external input interface unit 15, a circuit selector 112, circuit elements, and an output selector 119 are connected.
  • the circuit selector 112 is set with parameters, and controls whether or not signals can be output according to the set parameters. That is, the circuit selector 112 outputs a signal of the circuit switching bus 111 to the circuit element when a parameter indicating that the operation setting is valid is set. When a parameter indicating that the operation setting is invalid is set, the signal of the circuit switching bus 111 is not output to the circuit element.
  • Each circuit element is provided corresponding to each circuit selector 112, and when a signal is input from the circuit selector 112, performs a logical operation according to a preset parameter and outputs a signal to the circuit switching bus 111.
  • the output selector 119 is set with parameters, and controls whether signals can be output according to the set parameters. That is, the output selector 119 outputs the signal of the circuit switching bus 111 to the external output interface unit 16 when a parameter indicating that the operation setting is valid is set. When a parameter indicating that the operation setting is invalid is set, the signal of the circuit switching bus 111 is not output to the external output interface unit 16.
  • each selector 112 and the output selector 119 provided for each circuit element are collectively referred to as each selector.
  • the operation setting bus 120 is connected to the calculation unit 12, the storage unit 13, the communication interface unit 14, the circuit selector 112, each circuit element, and the output selector 119.
  • the calculation unit 12 transmits the operation data of each selector stored in the storage unit 13 to the circuit selector 112 and the output selector 119 via the operation setting bus 120, and sets or changes the parameters of each selector.
  • the calculation unit 12 transmits the setting parameters of each circuit element stored in the storage unit 13 to each circuit element via the operation setting bus 120, and sets or changes the parameters of each circuit element.
  • the general-purpose logic unit 11 controls the circuit selector 112, each circuit element, and the output selector 119 as described above to perform a logical operation, and A signal is output to the electronic load 5 via the output interface unit 16.
  • the CPU device 20 includes a calculation unit 21, a storage unit 22, a peripheral device interface unit 23, and a communication interface unit 24.
  • the calculation unit 21 is a central processing unit (CPU) that controls the overall operation of the CPU device 20. Moreover, the calculating part 21 controls the electronic load 5 connected to the programmable logic controller 1 based on the data used for execution of a user program and a user program.
  • the user program is a program for controlling the electronic load 5 to be controlled by the programmable logic controller 1, and is, for example, a ladder program or a C language program.
  • the storage unit 22 is a memory such as a ROM, for example, and stores data for the calculation unit 21 to control the electronic load 5. As will be described later, the storage unit 22 stores a user program, data used for executing the user program, and data of the execution result of the user program.
  • the peripheral device interface unit 23 is an interface for performing communication with the peripheral device 3.
  • the communication interface unit 24 is an interface for performing communication with the input / output control device 10.
  • the inter-device bus 25 connects the communication interface unit 14 of the input / output control device 10 and the communication interface unit 24 of the CPU device 20.
  • the input / output control device 10 and the CPU device 20 are connected via the communication interface unit 14, the inter-device bus 25, and the communication interface unit 24.
  • the calculation unit 21 reads and executes the user program stored in the storage unit 22.
  • the calculation unit 21 stores the content of the read user program in the storage unit 13 of the input / output control device 10 via the communication interface unit 24 and the communication interface unit 14.
  • the arithmetic unit 12 of the input / output control device 10 causes the input / output control device 10 to execute an operation instructed in the user program. Set or change a setting parameter indicating the operation of the circuit element.
  • the calculation unit 21 executes predetermined execution of execution of the user program stored in the storage unit 22, reading of data used for execution of the user program from the storage unit 22, and writing of the execution result of the user program to the storage unit 22. Repeat for each cycle.
  • the arithmetic unit 21 of the CPU device 20 reads out data used for executing the user program
  • the operation setting of each circuit element and the control result data of the general-purpose logic unit 11 are read from the storage unit 13 of the input / output control device 10.
  • the setting of the operation of each circuit element is, for example, a count permission command of the counter 115 or a reset command of the count value
  • the control result data is a count value of the counter 115 or the like.
  • the programmable logic controller 1 may include an additional device in addition to the input / output control device 10 and the CPU device 20 in order to expand the functions. Examples of this device include a motion controller device that realizes multi-axis position control by controlling a servo amplifier, and a temperature controller device that outputs a temperature control signal based on a command from the CPU device 20. These devices are also connected to each other via an inter-device bus 25.
  • the peripheral device 3 includes a program setting unit 31, an operation data setting unit 32, and an external communication interface unit 33.
  • the program setting unit 31 is a graphical user interface (GUI) that receives user operations.
  • GUI graphical user interface
  • the program setting unit 31 creates a user program for the programmable logic controller 1 by a user operation.
  • the program setting unit 31 outputs the created user program to the programmable logic controller 1 via the external communication interface unit 33 and the connection cable 2 and stores it in the storage unit 22 of the CPU device 20.
  • the program setting unit 31 displays various data output from the programmable logic controller 1 on the display screen for monitoring.
  • the operation data setting unit 32 is a graphical user interface (GUI) that receives user operations.
  • GUI graphical user interface
  • the operation data setting unit 32 sets a setting parameter indicating a parameter of each circuit element of the general-purpose logic unit 11 by a user operation.
  • the operation data setting unit 32 sets operation data indicating the order of operations of the selectors of the general-purpose logic unit 11 by a user operation.
  • the operation data setting unit 32 outputs the setting parameters of each circuit element of the general-purpose logic unit 11 and the operation data of each selector to the programmable logic controller 1 via the external communication interface unit 33 and the connection cable 2, and the peripheral device interface unit 23, the data is stored in the storage unit 13 of the input / output control device 10 via the communication interface unit 24, the inter-device bus 25, and the communication interface unit 14. Further, the operation data setting unit 32 has a function for simulating the operation of the general-purpose logic unit 11.
  • the program setting unit 31 and the operation data setting unit 32 are provided in the peripheral device 3 by installing a program storing a programming tool and a general-purpose circuit block setting tool in the peripheral device 3.
  • the program setting unit 31 and the operation data setting unit 32 may be realized by hardware by providing a calculation unit, a storage unit, and the like in the peripheral device 3.
  • FIG. 2 is a block diagram illustrating a connection state of signal lines in the general-purpose logic unit 11 of the input / output control device according to the first embodiment. 2 shows a configuration in which the general-purpose logic unit 11 includes a filter 113, a logic gate 114, and a counter 115 as circuit elements for the sake of convenience of explanation. 117, a clock 118, and other circuit elements may be provided.
  • the external input interface unit 15 has two input ports 151a and 151b, and the external output interface unit 16 has two output ports 161a and 161b.
  • the input from the outside is the two points of the input ports 151a and 151b, and the output to the outside is the two points of the output ports 161a and 161b. Three or more points are acceptable.
  • output selectors 119a and 119b in FIG. 2 are collectively referred to as the output selector 119 in FIG.
  • the external input interface unit 15 inputs either the signal input from the outside to the input port 151 a or the signal input from the outside to the input port 151 b to the circuit switching bus 111.
  • the output destination of the signal input to the circuit switching bus 111 is determined by the circuit selectors 112a, 112b, and 112c. That is, the signal of the circuit switching bus 111 is output to the filter 113 when the circuit selector 112a is valid, and is output to the logic gate 114 when the circuit selector 112b is valid, and the circuit selector 112c is valid. In this case, it is output to the counter 115.
  • each circuit element When a signal is input from the circuit selector 112, each circuit element performs a calculation according to a preset parameter of each circuit element, and then outputs a signal to the circuit switching bus 111.
  • the signal output to the circuit switching bus 111 is output again to the circuit selectors 112a, 112b, and 112c via the circuit switching bus 111. At this time, a signal can be output again to an arbitrary circuit element by switching between valid and invalid of the selectors 112a, 112b, and 112c.
  • the external output interface unit 16 After an arbitrary circuit element executes a predetermined calculation, the external output interface unit 16 outputs a signal to the outside via the output port 161a or the output port 161b by setting the output selector 119a or the output selector 119b to be valid. To do.
  • the external input interface unit 15, the circuit selector 112, each circuit element, and the output selector 119 are connected to the circuit switching bus 111. Then, by arbitrarily changing the validity and invalidity of the circuit selector 112 and the output selector 119, it is possible to cause each circuit element to perform a logical operation in an arbitrary order. At this time, a signal can be input again to the same circuit element without changing the validity and invalidity of the circuit selector 112 and the output selector 119, and the logical operation can be executed again.
  • circuit selector 112 and the output selector 119 By arbitrarily changing the validity and invalidity of the circuit selector 112 and the output selector 119, one circuit element performs a logical operation, and after another circuit element performs a logical operation, the circuit selector 112 and the output selector 119 are again set to one circuit element. Logic operations can also be executed.
  • FIG. 3 is a conceptual diagram showing the configuration of the storage unit of the input / output control apparatus according to the first embodiment.
  • the configuration of the storage unit 13 of the input / output control apparatus 10 according to the first embodiment will be described with reference to FIG.
  • the operation state flag is a flag indicating the state of the input / output control device 10 such as operation start or operation change.
  • the storage unit 13 stores a flag indicating the operation start or the operation change as an operation state flag.
  • the storage unit 13 sets a flag indicating the operation completion or the setting change completion as an operation state flag.
  • the calculation unit 12 notifies the CPU device 20 of the completion of the operation and the completion of the setting change.
  • the CPU device 20 stores the state of the input / output control device 10 such as completion of the notified operation or setting change completion in the storage unit 22.
  • the measurement data is data obtained or calculated by the input / output control device 10 when the programmable logic controller 1 executes the user program. For example, the frequency of the signal input from the electronic load 5, the electronic data For example, the rotational speed of the motor connected as the load 5.
  • the storage unit 13 stores data obtained or calculated by the input / output control device 10 as measurement data. Based on the measurement data stored in the storage unit 13, the calculation unit 12 notifies the CPU device 20 of data acquired or calculated by the input / output control device 10 and causes the storage unit 22 to store the data.
  • the parameter setting unit 31 of the peripheral device 3 can monitor the data acquired or calculated by the input / output control device 10 stored in the storage unit 22.
  • the setting parameter indicates a parameter of each circuit element, and is, for example, characteristic data of the filter 113 of the general-purpose logic unit 11, an operation mode of the counter 115, or the like.
  • the calculation unit 12 notifies the CPU device 20 of the parameters of each circuit element stored in the storage unit 13 and stores the parameters in the storage unit 22 of the CPU device 20.
  • the CPU device 20 monitors or changes parameters of each circuit element stored in the storage unit 22.
  • the parameter setting unit 31 or the operation data setting unit 32 of the peripheral device 3 can also monitor or change the parameters of each circuit element stored in the storage unit 22.
  • the operation data is data for causing the general-purpose logic unit 11 to execute a predetermined logical operation, that is, data indicating the order of switching between valid and invalid for the operation settings of the circuit selector 112 and the output selector 119.
  • the operation data setting unit 32 When the user inputs operation data of each selector to the operation data setting unit 32, the operation data setting unit 32 outputs the operation data of each selector and stores it in the storage unit 13 as operation data.
  • the calculation unit 12 transmits the operation data stored in the storage unit 13 to the circuit selector 112 and the output selector 119, and sets or changes a parameter indicating the content of the operation setting of each selector.
  • Each selector is set with a parameter indicating that the operation setting is valid or a parameter indicating that the operation setting is invalid.
  • the user can easily cause the general-purpose logic unit 11 to perform various functions necessary for the input / output control device 10 to execute the high-speed input / output control.
  • FIG. 4 is a flowchart illustrating a procedure in which the user presets the operation of the general-purpose logic unit in the first embodiment. A method of realizing various functions requested by the user by setting the operation of the general-purpose logic unit 11 will be described with reference to FIG.
  • step S1 the operation data setting unit 32 of the peripheral device 3 determines whether or not a command for setting operation data of the circuit selector 112 or the output selector 119 has been input.
  • the operation data setting unit 32 sets or changes the operation data of the selector according to the input content in step S2.
  • the peripheral device 3 outputs the operation data of the selector after setting or changing from the external communication interface unit 33, and the connection cable 2, the peripheral device interface unit 23, the communication interface unit 24, the inter-device bus 25, and the communication interface unit. 14 in the storage unit 13 of the input / output control device 10.
  • step S3 the operation data setting unit 32 of the peripheral device 3 determines whether or not a command for setting the parameter of the circuit element has been input.
  • the operation data setting unit 32 sets or changes the parameter of the circuit element according to the input content in step S4.
  • the peripheral device 3 outputs the parameter of the circuit element after setting or changing from the external communication interface unit 33, and the connection cable 2, the peripheral device interface unit 23, the communication interface unit 24, the inter-device bus 25, and the communication interface unit. 14 in the storage unit 13 of the input / output control device 10.
  • step S3 If it is determined in step S3 that the user has not input a command for setting the parameters of the circuit elements, the process proceeds to step S5.
  • step S5 the operation data setting unit 32 of the peripheral device 3 determines whether or not a command for ending the operation setting of the general-purpose logic unit 11 has been input.
  • the process returns to step S1.
  • a command for ending the operation setting of the general-purpose logic unit 11 is input, the setting ends.
  • FIG. 5 is a flowchart illustrating an operation procedure when the programmable logic controller according to the first embodiment executes the user program. An operation when the programmable logic controller 1 executes the user program will be described with reference to FIG.
  • step S ⁇ b> 11 the peripheral device 3 outputs the user program created by the program setting unit 31 from the external communication interface unit 33 and stores it in the storage unit 22 of the CPU device 20 via the connection cable 2 and the peripheral device interface unit 23.
  • the calculation unit 21 of the CPU device 20 executes the user program stored in the storage unit 22 and causes the input / output control device 10 to perform a predetermined operation, so that the electronic load 5 connected to the input / output control device 10 is changed. Control.
  • the arithmetic unit 12 of the input / output control device 10 causes the general-purpose logic unit 11 to execute a predetermined logical operation in order to execute a predetermined operation instructed by the arithmetic unit 21 of the CPU device 20.
  • FIG. 2 An operation for causing the general-purpose logic unit 11 to execute a predetermined logical operation will be described with reference to FIGS.
  • FIG. 2 a case where a signal input from the input port 151a is input in the order of the filter 113, the logic gate 114, and the counter 115 and output from the output port 161b will be described.
  • step S12 of FIG. 5 the arithmetic unit 12 of the input / output control device 10 determines whether or not a signal is input from the external open / close sensor 4 or the like.
  • the arithmetic unit 12 causes the general-purpose logic unit 11 to execute a predetermined logical operation on the input signal.
  • the input port 151 a shown in FIG. 2 outputs the signal input from the open / close sensor 4 to the circuit switching bus 111.
  • the calculation unit 12 of the input / output control device 10 changes the parameter of the circuit selector 112 according to the operation data stored in the storage unit 13.
  • the arithmetic unit 12 changes the parameter setting of the circuit selector 112a of the general-purpose logic unit 10 based on the operation data stored in the storage unit 13 via the operation setting bus 120 shown in FIG. .
  • the circuit selector 112a is set to be valid and outputs a signal.
  • the arithmetic unit 12 of the input / output control device 10 changes the parameters of each circuit element in accordance with the setting parameters stored in the storage unit 13.
  • the calculation unit 12 sets the parameters of the filter 113 of the general-purpose logic unit 10 via the operation setting bus 120 illustrated in FIG. 1 based on the setting parameters stored in the storage unit 13. Based on this parameter, the filter 113 performs a logical operation on the input signal and outputs the operation result as a signal.
  • step S15 of FIG. 5 the calculation unit 12 of the input / output control device 10 determines whether or not the next command of the operation data stored in the storage unit 13 is a command for validating the operation setting of the output selector 119. to decide.
  • the command for validating the operation setting of the output selector 119 means a command for outputting the calculation result of the circuit element of the general-purpose logic unit 11 to the outside.
  • the counter 115 of the general-purpose logic unit 11 has not executed a predetermined logical operation, and has not yet output a signal to the outside. Therefore, it is determined No, and the process returns to step S13.
  • step S13 of FIG. 5 the calculation unit 12 sets parameters of the circuit selector 112a and the circuit selector 112b of the general-purpose logic unit 10 via the operation setting bus 120 shown in FIG. 1 based on the operation data stored in the storage unit 13. Change the setting. As a result, the circuit selector 112a is set to invalid and does not output the signal of the circuit switching bus 111 to the filter 113, and the circuit selector 112b is set to valid and outputs the signal of the circuit switching bus 111 to the logic gate 114.
  • the calculation unit 12 sets the parameters of the logic gate 114 of the general-purpose logic unit 10 via the operation setting bus 120 illustrated in FIG. 1 based on the setting parameters stored in the storage unit 13. Based on this parameter, the logic gate 114 performs a logical operation on the input signal and outputs the operation result as a signal.
  • step S15 since the counter 115 of the general-purpose logic unit 11 has not executed a predetermined logical operation and has not yet output a signal to the outside, it is determined again No, and the process returns to step S13.
  • step S13 of FIG. 5 the calculation unit 12 sets parameters of the circuit selector 112b and the circuit selector 112c of the general-purpose logic unit 10 via the operation setting bus 120 shown in FIG. 1 based on the operation data stored in the storage unit 13. Change the setting. As a result, the circuit selector 112b is set to invalid and does not output the signal of the circuit switching bus 111 to the logic gate 114, and the circuit selector 112c is set to valid and outputs the signal of the circuit switching bus 111 to the counter 115.
  • the calculation unit 12 sets the parameter of the counter 115 of the general-purpose logic unit 10 via the operation setting bus 120 illustrated in FIG. 1 based on the setting parameter stored in the storage unit 13. Based on this parameter, the counter 115 performs a logical operation on the input signal and outputs the operation result to the circuit switching bus 111 as a signal.
  • step S15 of FIG. 5 when the next command of the operation data stored in the storage unit 13 is a command to validate the operation setting of the output selector 119, the calculation unit 12 calculates the circuit elements of the general-purpose logic unit 11. It is determined that the instruction is for outputting the result to the outside, and the process proceeds to step S16.
  • the calculation unit 12 of the input / output control device 10 changes the parameter of the output selector 119 according to the operation data stored in the storage unit 13.
  • the calculation unit 12 determines the parameter values of the circuit selector 112c and the output selector 119b of the general-purpose logic unit 10 based on the operation data stored in the storage unit 13 via the operation setting bus 120 shown in FIG. Change the setting.
  • the circuit selector 112c is set to invalid and does not output the signal of the circuit switching bus 111 to the counter 115
  • the output selector 119b is set to valid and outputs the signal of the circuit switching bus 111 to the output port 161b.
  • the output port 161b shown in FIG. 2 outputs the signal received from the output selector 119b to the outside.
  • step S17 of FIG. 5 the calculation unit 21 of the CPU device 20 determines whether or not the execution of the user program is completed. If the execution of the user program has not been completed, the process returns to step S12. When the execution of the user program is completed, the programmable logic controller 1 ends the operation.
  • the general-purpose logic unit 11 can perform a logical operation on the signal input from the input port 151a in the order of the filter 113, the logic gate 114, and the counter 115, and output the result from the output port 161b.
  • the general-purpose logic unit 11 in the first embodiment shows only the filter 113, the logic gate 114, and the counter 115 as circuit elements in FIG. 2, but the comparator 116, the arithmetic unit 117, and the clock 118 shown in FIG. Any or all of these may be provided. In this case, a logical operation of these circuit elements can be added by inputting a signal through the circuit selector 112 corresponding to these circuit elements and the circuit switching bus 111 associated therewith.
  • the general-purpose logic unit 11 of the first embodiment can be used for various user originals. It becomes possible to correspond to the unit operation mode.
  • the operation data is data indicating the order of switching between valid and invalid for the operation settings of the circuit selector 112 and the output selector 119.
  • the next command of the operation data stored in the storage unit 13 validates the operation setting of the output selector 119 in step S15 of FIG. If it is a command to determine whether the command is an instruction and validate the operation setting of the output selector 119, the parameter of the output selector 119 is changed according to the operation data stored in the storage unit 13 in step S16 of FIG.
  • the circuit selector 112 when the parameter indicating that the operation setting is valid is set, the circuit selector 112 outputs the signal of the circuit switching bus 111 to the circuit element, and the operation setting is invalid. When the parameter indicating this is set, the signal of the circuit switching bus 111 is not output to the circuit element. Similarly, when a parameter indicating that the operation setting is valid is set, the output selector 119 outputs the signal of the circuit switching bus 111 to the external output interface unit 16 to indicate that the operation setting is invalid. When the parameter shown is set, the signal of the circuit switching bus 111 is not output to the external output interface unit 16.
  • the circuit selector 112 and the output selector 119 in the first embodiment are not limited to this.
  • the circuit selector 112 and the output selector 119 only a parameter indicating that the operation setting is valid may be set.
  • the circuit selector 112 when a parameter indicating that the operation setting is valid is set, the circuit selector 112 outputs a signal of the circuit switching bus 111 to the circuit element, and the output selector 119 indicates that the operation setting is valid.
  • the signal of the circuit switching bus 111 is output to the external output interface unit 16.
  • the circuit selector 112 invalidates the operation setting, and the signal of the circuit switching bus 111 is transferred to the circuit. Does not output to the element.
  • the output selector 119 becomes invalid and the signal of the circuit switching bus 111 is output. Does not output to the external output interface unit 16. Even in such a case, the above-described effects in the first embodiment can be obtained.
  • 1 programmable logic controller 10 input / output control device, 11 general-purpose logic unit, 12 arithmetic unit, 13 storage unit, 15 external input interface unit, 16 external output interface unit, 111 circuit switching bus, 112, 112a, 112b, 112c, 112d , 112e, 112f circuit selector, 113 filter, 114 logic gate, 115 counter, 116 comparator, 117 arithmetic unit, 118 clock, 119, 119a, 119b output selector, 20 CPU device, 3 peripheral device, 31 parameter setting unit, 32 Operation data setting section

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Programmable Controllers (AREA)

Abstract

 この発明に係る入出力制御装置(10)は、入力インターフェース(15)に接続するバス(25)と、バス(25)に接続し、動作の有効または無効が設定され、有効である場合にバス(25)の信号を出力する複数の回路セレクタ(112)と、回路セレクタ(112)ごとに対応して設けられ、回路セレクタ(112)から信号が入力されると論理演算を行い、演算結果を示す信号をバス(25)へ出力する複数の論理回路と、バス(25)に接続し、動作の有効または無効が設定され、有効である場合にバス(25)の信号を出力インターフェース(16)へ出力する出力セレクタ(119)と、複数の回路セレクタ(112)と出力セレクタ(119)の動作の順序に基づいて、複数の回路セレクタ(112)または出力セレクタ(119)を有効または無効にする演算部(12)と、を備える。

Description

入出力制御装置、入出力制御方法、及びプログラム
 この発明は、プログラマブルロジックコントローラの入出力制御を行う入出力制御装置、入出力制御方法、及び入出力制御を実行させるプログラムに関する。
 一般的なプログラマブルロジックコントローラは、マイクロプロセッサを内蔵し、各種アクチュエータや表示機器等の電子負荷が接続され、操作スイッチや各種センサなどからの入力信号に示された電子負荷の動作状態とメモリに格納されているシーケンスプログラムに応動して、電子負荷の駆動制御を行う。
 従来のプログラマブルロジックコントローラは、高速入出力処理を行うための集積回路素子と入出力インターフェース回路とを搭載した特殊ユニットを併用している。当該特殊ユニットは入出力制御装置として動作し、当該特殊ユニットに搭載された集積回路素子は、プログラムメモリ内の特殊命令の内容によって動作仕様が決定されるパラメータメモリと論理回路部とを備え、当該論理回路部を構成する可逆カウンタは、高速入力処理と高速出力処理のために兼用されている(例えば、特許文献1参照)。
特開2009-069864号公報(段落0013、0050、0051、0121、及び図4)
 従来のプログラマブルロジックコントローラにおいて、特殊ユニット(以下、入出力制御装置とする)は、プログラマブルロジックコントローラで実現できる多様な機能のうちの任意の機能を実行するものであるため、ユーザが所定の機能を容易に使用でき当該機能を効果的に実行できる反面、当該特殊ユニットの機能を修正したり設定されていない機能を追加したりすることができないという課題があった。
 この発明は、上記に鑑みてなされたものであって、取り扱いが容易で様々な機能を実現できるプログラマブルロジックコントローラの入出力制御装置、入出力制御方法、及びプログラムを得ることを目的とする。
 この発明に係る入出力制御装置は、外部から信号が入力される入力インターフェースに接続するバスと、バスに接続し、動作の有効または無効が設定され、有効である場合にバスの信号を出力し、無効である場合にバスの信号を出力しない複数の回路セレクタと、回路セレクタごとに対応して設けられ、回路セレクタから信号が入力されると論理演算を行い、演算結果を示す信号をバスへ出力する複数の論理回路と、バスに接続し、動作の有効または無効が設定され、有効である場合にバスの信号を出力インターフェースへ出力し、無効である場合にバスの信号を出力インターフェースへ出力しない出力セレクタと、複数の回路セレクタと出力セレクタの動作の順序に基づいて、複数の回路セレクタまたは出力セレクタを有効または無効にする演算部と、を備える。
 この発明に係る入出力制御方法は、外部から信号が入力される入力インターフェースに接続するバスへの信号の入力を受け付ける入力ステップと、バスに接続する複数の回路セレクタのうち、任意の回路セレクタを有効にして、当該回路セレクタにバスの信号を出力させる回路選択ステップと、回路セレクタごとに対応して設けられる複数の論理回路のうち、回路セレクタから信号が入力された論理回路に論理演算を行わせバスへ信号を出力させる演算ステップと、バスに接続する出力セレクタを有効にして、当該出力セレクタにバスの信号を出力インターフェースへ出力させる出力ステップと、を備える。
 この発明に係るプログラムは、入力インターフェースから入力された信号に応じて所定の動作を実行し、出力インターフェースから信号を出力する入出力制御装置にインストールされるプログラムにおいて、入力インターフェースに接続するバスに信号が入力された場合、バスに接続する複数の回路セレクタのうち、任意の回路セレクタを有効にして、当該回路セレクタにバスの信号を出力させる回路選択ステップと、回路セレクタごとに対応して設けられる複数の論理回路のうち、回路セレクタから信号が入力された論理回路に論理演算を行わせバスへ信号を出力させる演算ステップと、バスに接続する出力セレクタを有効にして、当該出力セレクタにバスの信号を出力インターフェースへ出力させる出力ステップと、を入出力制御装置の演算部に実行させる。
 本発明によれば、取扱いが容易で様々な機能を実現できるプログラマブルロジックコントローラの入出力制御装置、入出力制御方法、及びプログラムを提供できる。
実施の形態1におけるプログラマブルロジックコントローラの構成を示すブロック図である。 実施の形態1の入出力制御装置の汎用ロジック部における信号線の接続状態を示すブロック図である。 実施の形態1における入出力制御装置の記憶部の構成を示す概念図である。 実施の形態1におけるプログラマブルロジックコントローラがユーザプログラムを実行する際の動作の手順を示すフローチャートである。 実施の形態1においてユーザが予め汎用ロジック部の動作を設定する手順を示すフローチャートである。
実施の形態1.
 図1は、実施の形態1におけるプログラマブルロジックコントローラの構成を示すブロック図である。図1を用いて、実施の形態1における入出力制御装置を備えたプログラマブルロジックコントローラについて説明する。なお、本発明は、この実施の形態1により限定されるものではない。
[プログラマブルロジックコントローラ1の構成]
 実施の形態1において、プログラマブルロジックコントローラ1は、接続ケーブル2を介して周辺装置3と接続する。また、プログラマブルロジックコントローラ1は、開閉センサ4及び電子負荷5と接続する。
 開閉センサ4は、例えば、モータに取り付けられてモータの回転角度を検出するロータリエンコーダ等のエンコーダである。電子負荷5は、例えば、電磁弁などのバルブやモータ等である。
 また、プログラマブルロジックコントローラ1は、入出力制御装置10とCPU装置20を備える。
[入出力制御装置10の構成]
 入出力制御装置10は、汎用ロジック部11、演算部12、記憶部13、通信インターフェース部14、外部入力インターフェース部15、及び外部出力インターフェース部16を備える。
 汎用ロジック部11は、後述するように複数の回路セレクタと複数の回路素子を備え、ユーザオリジナルの動作設定に対応するための様々な機能を提供する。
 演算部12は、入出力制御装置10の全体の動作を制御する中央処理装置(CPU)である。また、演算部12は、後述するように、各セレクタの動作の順序を示す動作データに基づいて、各セレクタの動作設定を有効または無効にするとともに、各回路素子の動作を示す設定パラメータに応じた論理演算を各回路素子に行わせる。各セレクタの動作データと各回路素子の設定パラメータは、後述するように、予め設定されたものである。
 記憶部13は、RAM等のメモリであって、演算部12が汎用ロジック部11の動作を制御するためのデータを記憶する。記憶部13は、後述するとおり、各セレクタの動作の順序を示す動作データと、各回路素子の動作を示す設定パラメータと、動作状態フラグと、測定データを記憶する。
 通信インターフェース部14は、CPU装置20との間で通信を行うためのインターフェースである。
 外部入力インターフェース部15は、汎用ロジック部11と開閉センサ4とに接続し、開閉センサ4から信号を受信するとともに開閉センサ4からの信号に対応する信号を汎用ロジック部11に出力する。外部出力インターフェース部16は、汎用ロジック部11と電子負荷5とに接続し、汎用ロジック部11からの信号を受信するとともに汎用ロジック部11からの信号に対応する信号を電子負荷5に出力する。
 入出力制御装置10の汎用ロジック部11は、回路切替バス111、回路セレクタ112a、112b、112c、112d、112e、112f、フィルタ113、論理ゲート114、カウンタ115、比較器116、演算器117、クロック118、出力セレクタ119、及び動作設定バス120を有する。
 なお、以下において、回路セレクタ112a、112b、112c、112d、112e、112fをまとめて回路セレクタ112とも称する。また、フィルタ113、論理ゲート114、カウンタ115、比較器116、演算器117、及びクロック118を、まとめて回路素子とも称する。また、論理回路とは、実施の形態1において回路素子のことである。
 回路切替バス111には、外部入力インターフェース部15、回路セレクタ112、回路素子、及び出力セレクタ119が接続される。
 回路セレクタ112は、パラメータが設定され、設定されたパラメータに応じて信号の出力の可否を制御する。すなわち、回路セレクタ112は、動作設定が有効であることを示すパラメータが設定された場合には、回路切替バス111の信号を回路素子へ出力する。動作設定が無効であることを示すパラメータが設定された場合には、回路切替バス111の信号を回路素子へ出力しない。
 各回路素子は、回路セレクタ112ごとに対応して設けられ、回路セレクタ112から信号が入力されると予め設定されたパラメータに応じた論理演算を行い、回路切替バス111へ信号を出力する。
 出力セレクタ119は、パラメータが設定され、設定されたパラメータに応じて信号の出力の可否を制御する。すなわち、出力セレクタ119は、動作設定が有効であることを示すパラメータが設定された場合には、回路切替バス111の信号を外部出力インターフェース部16へ出力する。動作設定が無効であることを示すパラメータが設定された場合には、回路切替バス111の信号を外部出力インターフェース部16へ出力しない。
 なお、回路素子ごとに設けられた回路セレクタ112及び出力セレクタ119を、まとめて各セレクタとも称する。
 動作設定バス120には、演算部12、記憶部13、通信インターフェース部14、回路セレクタ112、各回路素子、及び出力セレクタ119が接続される。演算部12は、記憶部13に記憶されている各セレクタの動作データを、動作設定バス120を介して回路セレクタ112及び出力セレクタ119へ送信し、各セレクタのパラメータを設定または変更する。また、演算部12は、記憶部13に記憶されている各回路素子の設定パラメータを、動作設定バス120を介して各回路素子へ送信し、各回路素子のパラメータを設定または変更する。
 汎用ロジック部11は、開閉センサ4から外部入力インターフェース部15を介して信号が入力されると、上述のように回路セレクタ112、各回路素子、出力セレクタ119を制御して論理演算を行い、外部出力インターフェース部16を介して電子負荷5へ信号を出力する。
[CPU装置20の構成]
 CPU装置20は、演算部21と、記憶部22と、周辺装置インターフェース部23と、通信インターフェース部24とを備える。
 演算部21は、CPU装置20の全体の動作を制御する中央処理装置(CPU)である。また、演算部21は、ユーザプログラムとユーザプログラムの実行に用いられるデータに基づいて、プログラマブルロジックコントローラ1に接続される電子負荷5を制御する。ここで、ユーザプログラムとは、プログラマブルロジックコントローラ1が制御対象とする電子負荷5を制御するためのプログラムのことであり、例えばラダープログラムやC言語プログラムなどである。
 記憶部22は、例えばROM等のメモリであり、演算部21が電子負荷5を制御するためのデータを記憶する。記憶部22は、後述するとおり、ユーザプログラムと、ユーザプログラムの実行に用いられるデータと、ユーザプログラムの実行結果のデータを記憶する。
 周辺装置インターフェース部23は、周辺装置3との間で通信を行うためのインターフェースである。通信インターフェース部24は、入出力制御装置10との間で通信を行うためのインターフェースである。
 装置間バス25は、入出力制御装置10の通信インターフェース部14とCPU装置20の通信インターフェース部24を接続する。入出力制御装置10とCPU装置20は、通信インターフェース部14、装置間バス25、及び通信インターフェース部24を介して接続する。
 演算部21は、記憶部22に記憶されたユーザプログラムを読み出して実行する。また、演算部21は、読み出したユーザプログラムの内容を、通信インターフェース部24及び通信インターフェース部14を介して、入出力制御装置10の記憶部13に記憶させる。入出力制御装置10の演算部12は、展開されたユーザプログラムの内容に基づいて、当該ユーザプログラムにおいて指令された動作を入出力制御装置10に実行させるために、記憶部13に記憶された各回路素子の動作を示す設定パラメータを設定または変更する。
 演算部21は、記憶部22に記憶されたユーザプログラムの実行、ユーザプログラムの実行に用いるデータの記憶部22からの読み出し、及びユーザプログラムの実行結果の記憶部22への書き込みを、所定の制御周期毎に繰り返して行う。CPU装置20の演算部21は、ユーザプログラムの実行に用いるデータを読み出す際に、入出力制御装置10の記憶部13から、各回路素子の動作の設定と、汎用ロジック部11の制御結果のデータを取得する。各回路素子の動作の設定は、例えば、カウンタ115のカウント許可指令やカウント値のリセット指令などであり、制御結果のデータはカウンタ115のカウント値などである。
 なお、プログラマブルロジックコントローラ1は、入出力制御装置10とCPU装置20に加えて、機能を拡張するために追加の装置を備えてもよい。この装置の例として、例えば、サーボアンプを制御することにより多軸の位置制御を実現するモーションコントローラ装置や、CPU装置20からの指令に基づき温度制御信号を出力する温度コントローラ装置などがある。これらの各装置も、装置間バス25を介して互いに接続される。
[周辺装置3の構成]
 周辺装置3は、プログラム設定部31と、動作データ設定部32と、外部通信インターフェース部33とを備える。
 プログラム設定部31は、ユーザの操作を受け付けるグラフィカルユーザインターフェース(GUI)である。プログラム設定部31は、ユーザの操作により、プログラマブルロジックコントローラ1に対するユーザプログラムを作成する。プログラム設定部31は、作成したユーザプログラムを、外部通信インターフェース部33及び接続ケーブル2を介してプログラマブルロジックコントローラ1へ出力し、CPU装置20の記憶部22に記憶させる。
 また、プログラム設定部31は、プログラマブルロジックコントローラ1から出力された各種データを、表示画面に表示して監視する。
 動作データ設定部32は、ユーザの操作を受け付けるグラフィカルユーザインターフェース(GUI)である。動作データ設定部32は、ユーザの操作により、汎用ロジック部11の各回路素子のパラメータを示す設定パラメータを設定する。また、動作データ設定部32は、ユーザの操作により、汎用ロジック部11の各セレクタの動作の順序を示す動作データを設定する。
 動作データ設定部32は、汎用ロジック部11の各回路素子の設定パラメータと各セレクタの動作データを、外部通信インターフェース部33及び接続ケーブル2を介してプログラマブルロジックコントローラ1へ出力し、周辺装置インターフェース部23、通信インターフェース部24、装置間バス25、及び通信インターフェース部14を介して入出力制御装置10の記憶部13に記憶させる。また、動作データ設定部32は、汎用ロジック部11の動作をシミュレーションするための機能を備える。
 プログラム設定部31と動作データ設定部32は、プログラミングツールや汎用回路ブロック設定ツールが格納されたプログラムを周辺装置3にインストールすることによって、周辺装置3内に設けられる。なお、プログラム設定部31と動作データ設定部32は、周辺装置3内に演算部や記憶部等を設けることにより、ハードウェア的に実現しても良い。
[汎用ロジック部11の構成]
 図2は、実施の形態1の入出力制御装置の汎用ロジック部11における信号線の接続状態を示すブロック図である。なお、図2においては、説明の便宜上、汎用ロジック部11がフィルタ113と、論理ゲート114と、カウンタ115とを回路素子として備える構成を示しているが、図1に示す比較器116、演算器117、クロック118や、その他の回路素子を備えても良い。
 外部入力インターフェース部15は、2つの入力ポート151a、151bを有し、外部出力インターフェース部16は、2つの出力ポート161a、161bを有する。なお、図2においては、説明の便宜上、外部からの入力を入力ポート151a、151bの2点とし、外部への出力を出力ポート161a、161bの2点としているが、入力ポートまたは出力ポートは、3点以上としてもかまわない。
 なお、図2の出力セレクタ119a、119bについては、図1においてはまとめて出力セレクタ119としている。
 外部入力インターフェース部15は、外部から入力ポート151aに入力された信号、または外部から入力ポート151bに入力された信号のうち、いずれか一方を回路切替バス111に入力する。回路切替バス111に入力された信号の出力先は、回路セレクタ112a、112b、112cにより決定する。即ち、回路切替バス111の信号は、回路セレクタ112aが有効である場合にはフィルタ113に出力され、回路セレクタ112bが有効である場合には論理ゲート114に出力され、回路セレクタ112cが有効である場合にはカウンタ115に出力される。
 各回路素子は、回路セレクタ112から信号が入力されると、予め設定された各回路素子のパラメータに応じた演算を実行後、回路切替バス111に信号を出力する。また、回路切替バス111に出力された信号は、回路切替バス111を介して再度回路セレクタ112a、112b、112cに出力される。このとき、セレクタ112a、112b、112cの有効と無効を切り替えることによって、再度任意の回路素子に信号を出力できる。
 任意の回路素子が所定の演算を実行した後、出力セレクタ119aまたは出力セレクタ119bを有効に設定することにより、外部出力インターフェース部16は、出力ポート161aまたは出力ポート161bを介して外部に信号を出力する。
 実施の形態1の汎用ロジック部11において、外部入力インターフェース部15、回路セレクタ112、各回路素子、及び出力セレクタ119は、回路切替バス111に接続している。そして、回路セレクタ112及び出力セレクタ119の有効と無効を任意に変更することにより、各回路素子に任意の順序で論理演算を実行させることができる。このとき、回路セレクタ112及び出力セレクタ119の有効と無効を変更せずに同じ回路素子に再度信号を入力し、再度論理演算を実行させることもできる。また、回路セレクタ112及び出力セレクタ119の有効と無効を任意に変更することにより、一の回路素子が論理演算を実行し、他の回路素子が論理演算を実行した後、再度一の回路素子に論理演算を実行させることもできる。
[記憶部13の構成]
 図3は、実施の形態1における入出力制御装置の記憶部の構成を示す概念図である。図3を用いて、実施の形態1における入出力制御装置10の記憶部13の構成について説明する。
 動作状態フラグは、動作開始や動作変更など、入出力制御装置10の状態を示すフラグである。記憶部13は、パラメータ設定部31またはCPU装置20から動作開始指令や動作変更指令が入力された場合に、動作開始や動作変更を示すフラグを動作状態フラグとして記憶する。また、記憶部13は、入出力制御装置10の動作の完了通知や動作の設定変更完了通知などが演算部12から入力された場合に、動作の完了や設定変更完了を示すフラグを動作状態フラグとして記憶する。演算部12は、記憶部13に記憶された動作状態フラグに基づいて、動作の完了や設定変更完了をCPU装置20へ通知する。CPU装置20は、通知された動作の完了や設定変更完了などの入出力制御装置10の状態を記憶部22に記憶する。
 測定データは、プログラマブルロジックコントローラ1がユーザプログラムを実行した際に、入出力制御装置10が取得したり演算して得られたデータであり、例えば、電子負荷5から入力された信号の周波数、電子負荷5として接続されたモータの回転速度等である。記憶部13は、入出力制御装置10が取得したり演算して得られたデータを測定データとして記憶する。演算部12は、記憶部13に記憶された測定データに基づいて、入出力制御装置10により取得または演算されたデータをCPU装置20へ通知し、記憶部22に記憶させる。周辺装置3のパラメータ設定部31は、記憶部22が記憶している入出力制御装置10により取得または演算されたデータを監視することができる。
 設定パラメータは、各回路素子のパラメータを示し、例えば、汎用ロジック部11のフィルタ113の特性データ、カウンタ115の動作モードなどである。演算部12は、記憶部13に記憶された各回路素子のパラメータをCPU装置20へ通知し、CPU装置20の記憶部22に記憶させる。CPU装置20は、記憶部22が記憶している各回路素子のパラメータを監視したり、変更したりする。また、周辺装置3のパラメータ設定部31または動作データ設定部32も、記憶部22が記憶している各回路素子のパラメータを監視または変更できる。
 動作データは、汎用ロジック部11に所定の論理演算を実行させるためのデータであり、すなわち、回路セレクタ112及び出力セレクタ119の動作設定について、有効と無効を切り替える順序を示すデータである。ユーザが動作データ設定部32に各セレクタの動作データを入力した場合、動作データ設定部32は、各セレクタの動作データを出力し、記憶部13に動作データとして記憶させる。演算部12は、記憶部13に記憶された動作データを、回路セレクタ112及び出力セレクタ119へ送信し、各セレクタの動作設定の内容を示すパラメータを設定または変更する。各セレクタは、動作設定が有効であることを示すパラメータまたは動作設定が無効であることを示すパラメータが設定される。これにより、ユーザは、入出力制御装置10が高速入出力制御を実行するために必要な各種機能を、容易に汎用ロジック部11に行わせることができる。
[汎用ロジック部11の動作の設定手順]
 図4は、実施の形態1において、汎用ロジック部の動作をユーザが予め設定する手順を示すフローチャートである。図4を用いて、汎用ロジック部11の動作を設定してユーザが要求する各種機能を実現する方法について説明する。
 ステップS1において、周辺装置3の動作データ設定部32は、回路セレクタ112または出力セレクタ119の動作データを設定する指令が入力されたか否かを判断する。ユーザによりセレクタの動作データを設定する指令が入力された場合、動作データ設定部32は、ステップS2において、入力内容に従ってセレクタの動作データを設定または変更する。また、周辺装置3は、設定または変更後のセレクタの動作データを外部通信インターフェース部33から出力し、接続ケーブル2、周辺装置インターフェース部23、通信インターフェース部24、装置間バス25、及び通信インターフェース部14を介して入出力制御装置10の記憶部13に記憶させる。
 ステップS1において、ユーザによりセレクタの動作データを設定する指令が入力されていない場合、ステップS3へと進む。
 ステップS3において、周辺装置3の動作データ設定部32は、回路素子のパラメータを設定する指令が入力されたか否かを判断する。ユーザにより回路素子のパラメータを設定する指令が入力された場合、動作データ設定部32は、ステップS4において、入力内容に従って回路素子のパラメータを設定または変更する。また、周辺装置3は、設定または変更後の回路素子のパラメータを外部通信インターフェース部33から出力し、接続ケーブル2、周辺装置インターフェース部23、通信インターフェース部24、装置間バス25、及び通信インターフェース部14を介して入出力制御装置10の記憶部13に記憶させる。
 ステップS3において、ユーザにより回路素子のパラメータを設定する指令が入力されていない場合、ステップS5へと進む。
 ステップS5において、周辺装置3の動作データ設定部32は、汎用ロジック部11の動作の設定を終了する指令が入力されたか否かを判断する。汎用ロジック部11の動作の設定を終了する指令が入力されていない場合、ステップS1に戻る。汎用ロジック部11の動作の設定を終了する指令が入力された場合、設定を終了する。
[ユーザプログラムの実行手順]
 図5は、実施の形態1におけるプログラマブルロジックコントローラがユーザプログラムを実行する際の動作の手順を示すフローチャートである。図5を用いて、プログラマブルロジックコントローラ1がユーザプログラムを実行する際の動作を説明する。
 ステップS11において、周辺装置3は、プログラム設定部31が作成したユーザプログラムを外部通信インターフェース部33から出力し、接続ケーブル2、周辺装置インターフェース部23を介してCPU装置20の記憶部22に記憶させる。CPU装置20の演算部21は、記憶部22に記憶されたユーザプログラムを実行し、入出力制御装置10に所定の動作を行わせることで、入出力制御装置10に接続された電子負荷5を制御する。このとき、入出力制御装置10の演算部12は、CPU装置20の演算部21から指令された所定の動作を実行するために、汎用ロジック部11に所定の論理演算を実行させる。
 汎用ロジック部11に所定の論理演算を実行させるための動作について、図1、図2を用いて説明する。例えば、図2において、入力ポート151aから入力された信号を、フィルタ113、論理ゲート114、カウンタ115の順序で入力し、出力ポート161bから出力する場合について説明する。
 図5のステップS12において、入出力制御装置10の演算部12は、外部の開閉センサ4等から信号が入力されたか否かを判断する。外部の開閉センサ4等から信号が入力されたと判断した場合、演算部12は、入力された信号に対し、汎用ロジック部11に所定の論理演算を実行させる。上記の例の場合、開閉センサ4から信号が入力された後、図2に示す入力ポート151aは、開閉センサ4から入力された信号を回路切替バス111へ出力する。
 図5のステップS13において、入出力制御装置10の演算部12は、記憶部13に記憶された動作データに従い回路セレクタ112のパラメータを変更する。上記の例の場合、演算部12は、記憶部13に記憶された動作データに基づいて、図1に示す動作設定バス120を介して汎用ロジック部10の回路セレクタ112aのパラメータの設定を変更する。これにより、回路セレクタ112aは有効と設定され、信号を出力する。
 図5のステップS14において、入出力制御装置10の演算部12は、記憶部13に記憶された設定パラメータに従い各回路素子のパラメータを変更する。上記の例の場合、演算部12は、記憶部13に記憶された設定パラメータに基づいて、図1に示す動作設定バス120を介して汎用ロジック部10のフィルタ113のパラメータを設定する。フィルタ113は、このパラメータに基づいて、入力された信号に対して論理演算を実行し、演算結果を信号として出力する。
 図5のステップS15において、入出力制御装置10の演算部12は、記憶部13に記憶された動作データの次の指令が、出力セレクタ119の動作設定を有効にする指令であるか否かを判断する。出力セレクタ119の動作設定を有効にする指令は、汎用ロジック部11の回路素子の演算結果を外部に出力する指令であることを意味する。上記の例の場合、汎用ロジック部11のカウンタ115が所定の論理演算を実行しておらず、まだ信号を外部に出力しないため、Noと判断され、ステップS13へと戻る。
 図5のステップS13において、演算部12は、記憶部13に記憶された動作データに基づいて、図1に示す動作設定バス120を介して汎用ロジック部10の回路セレクタ112aと回路セレクタ112bのパラメータの設定を変更する。これにより、回路セレクタ112aは無効と設定され回路切替バス111の信号をフィルタ113に出力せず、回路セレクタ112bは有効と設定されて回路切替バス111の信号を論理ゲート114に出力する。
 図5のステップS14において、演算部12は、記憶部13に記憶された設定パラメータに基づいて、図1に示す動作設定バス120を介して汎用ロジック部10の論理ゲート114のパラメータを設定する。論理ゲート114は、このパラメータに基づいて、入力された信号に対して論理演算を実行し、演算結果を信号として出力する。
 再度のステップS15において、汎用ロジック部11のカウンタ115が所定の論理演算を実行しておらず、まだ信号を外部に出力しないため、再度Noと判断され、ステップS13へと戻る。
 図5のステップS13において、演算部12は、記憶部13に記憶された動作データに基づいて、図1に示す動作設定バス120を介して汎用ロジック部10の回路セレクタ112bと回路セレクタ112cのパラメータの設定を変更する。これにより、回路セレクタ112bは無効と設定され回路切替バス111の信号を論理ゲート114に出力せず、回路セレクタ112cは有効と設定されて回路切替バス111の信号をカウンタ115に出力する。
 図5のステップS14において、演算部12は、記憶部13に記憶された設定パラメータに基づいて、図1に示す動作設定バス120を介して汎用ロジック部10のカウンタ115のパラメータを設定する。カウンタ115は、このパラメータに基づいて、入力された信号に対して論理演算を実行し、演算結果を信号として回路切替バス111に出力する。
 図5のステップS15において、記憶部13に記憶された動作データの次の指令が出力セレクタ119の動作設定を有効にする指令である場合、演算部12は、汎用ロジック部11の回路素子の演算結果を外部に出力する指令であると判断し、ステップS16へと進む。
 図5のステップS16において、入出力制御装置10の演算部12は、記憶部13に記憶された動作データに従い出力セレクタ119のパラメータを変更する。上記の例の場合、演算部12は、記憶部13に記憶された動作データに基づいて、図1に示す動作設定バス120を介して汎用ロジック部10の回路セレクタ112cと出力セレクタ119bのパラメータの設定を変更する。これにより、回路セレクタ112cは無効と設定され回路切替バス111の信号をカウンタ115に出力せず、出力セレクタ119bは有効と設定されて回路切替バス111の信号を出力ポート161bに出力する。図2に示す出力ポート161bは、出力セレクタ119bから受けた信号を外部に出力する。
 図5のステップS17において、CPU装置20の演算部21は、ユーザプログラムの実行が完了したか否かを判断する。ユーザプログラムの実行が完了していない場合、ステップS12へと戻る。ユーザプログラムの実行が完了した場合、プログラマブルロジックコントローラ1は、動作を終了する。
 このようにして、汎用ロジック部11は、入力ポート151aから入力された信号に対してフィルタ113、論理ゲート114、カウンタ115の順序で論理演算を実行させ、出力ポート161bから出力することができる。
 なお、実施の形態1における汎用ロジック部11は、図2において、回路素子としてフィルタ113、論理ゲート114、及びカウンタ115のみを示したが、図1に示す比較器116、演算器117、クロック118のうちのいずれか、またはすべてを備えてもよい。この場合、これらの回路素子に対応した回路セレクタ112とこれに付随する回路切替バス111を介して信号を入力することで、これらの回路素子の論理演算を追加することができる。
 また、その他の回路素子と対応する回路セレクタ112、回路切替バス111をさらに備え、各回路素子を自由な組み合わせで使用することにより、実施の形態1の汎用ロジック部11は、多様なユーザオリジナルのユニット動作モードに対応することが可能となる。
 以上において説明したとおり、実施の形態1におけるプログラマブルロジックコントローラ1の入出力制御装置10は、回路セレクタ112及び出力セレクタ119の有効と無効を任意に変更することにより、各回路素子に任意の順序で論理演算を実行させることができるため、ユーザは、入出力制御装置10が高速入出力制御を実行するために必要な各種機能を、容易に汎用ロジック部11に行わせることができる。実施の形態1の汎用ロジック部11は、パルスカウント、周波数測定、高精度タイマ、PWM出力、タイミング生成など、高速入出力制御に求められる各種機能を実現することができる。
 また、汎用ロジック部11の各セレクタの動作データと各回路素子のパラメータを変更するだけで多様な制御を実現するため、回路素子の内部回路を書き換えて回路素子の機能を変える必要がなく、ユーザの設計工数が削減できる。各セレクタの動作データと各回路素子のパラメータを変更して各種の機能について検証した後の汎用ロジック部11を使用するため、メーカの製品品質を担保することができる。
 さらに、ラダープログラムなどのソフトウェアロジックでは対応できないμsオーダの高速でかつ制御タイミングの安定した入出力制御が可能となるため、従来は専用のハードウェアロジックを実装したマイコンボードなどでしか実現できなかった高速入出力制御が、汎用のプログラマブルロジックコントローラで容易に実現できるようになる。
 なお、実施の形態1において、動作データは、回路セレクタ112及び出力セレクタ119の動作設定について、有効と無効を切り替える順序を示すデータであるとした。また、実施の形態1における入出力制御装置10の演算部12は、図5のステップS15において、記憶部13に記憶された動作データの次の指令が、出力セレクタ119の動作設定を有効にする指令であるか否かを判断し、出力セレクタ119の動作設定を有効にする指令である場合、図5のステップS16において、記憶部13に記憶された動作データに従い出力セレクタ119のパラメータを変更することとしたが、これに限られるものではない。
 例えば、記憶部13に記憶された動作データには、回路セレクタ112の動作設定を変更する順序だけが記載されており、演算部12は、記憶部13に記憶された動作データに基づいて、回路セレクタ112のパラメータを変更することとしても良い。この場合、演算部12は、図5のステップS15において、記憶部13に記憶された動作データに基づき汎用ロジック部11の回路素子が所定の論理演算を実行したと判断すると、図5のステップS16において、出力セレクタ119のパラメータを変更し、電子負荷5へ信号を出力させる。このような場合においても、実施の形態1における上述の効果を奏することができる。
 また、実施の形態1において、回路セレクタ112は、動作設定が有効であることを示すパラメータが設定された場合には、回路切替バス111の信号を回路素子へ出力し、動作設定が無効であることを示すパラメータが設定された場合には、回路切替バス111の信号を回路素子へ出力しないとした。同様に、出力セレクタ119は、動作設定が有効であることを示すパラメータが設定された場合には、回路切替バス111の信号を外部出力インターフェース部16へ出力し、動作設定が無効であることを示すパラメータが設定された場合には、回路切替バス111の信号を外部出力インターフェース部16へ出力しないとした。しかし、実施の形態1における回路セレクタ112と出力セレクタ119は、これに限られるものではない。
 例えば、回路セレクタ112と出力セレクタ119は、動作設定が有効であることを示すパラメータのみが設定されることとしても良い。この場合、回路セレクタ112は、動作設定が有効であることを示すパラメータが設定されると回路切替バス111の信号を回路素子へ出力し、出力セレクタ119は、動作設定が有効であることを示すパラメータが設定されると回路切替バス111の信号を外部出力インターフェース部16へ出力する。
 一方、動作設定が有効であることを示すパラメータが設定されていなければ、すなわちどのような設定もなされていないならば、回路セレクタ112は、動作設定が無効となり、回路切替バス111の信号を回路素子へ出力しない。同様に、動作設定が有効であることを示すパラメータが設定されていなければ、すなわちどのような設定もなされていないならば、出力セレクタ119は、動作設定が無効となり、回路切替バス111の信号を外部出力インターフェース部16へ出力しない。このような場合においても、実施の形態1における上述の効果を奏することができる。
1 プログラマブルロジックコントローラ、10 入出力制御装置、11 汎用ロジック部、12 演算部、13 記憶部、15 外部入力インターフェース部、16 外部出力インターフェース部、111 回路切替バス、112,112a,112b,112c,112d,112e,112f 回路セレクタ、113 フィルタ、114 論理ゲート、115 カウンタ、116 比較器、117 演算器、118 クロック、119,119a,119b 出力セレクタ、20 CPU装置、3 周辺装置、31 パラメータ設定部、32 動作データ設定部

Claims (10)

  1. 外部から信号が入力される入力インターフェースに接続するバスと、
    前記バスに接続し、動作の有効または無効が設定され、有効である場合に前記バスの信号を出力し、無効である場合に前記バスの信号を出力しない複数の回路セレクタと、
    前記回路セレクタごとに対応して設けられ、前記回路セレクタから信号が入力されると論理演算を行い、演算結果を示す信号を前記バスへ出力する複数の論理回路と、
    前記バスに接続し、動作の有効または無効が設定され、有効である場合に前記バスの信号を出力インターフェースへ出力し、無効である場合に前記バスの信号を前記出力インターフェースへ出力しない出力セレクタと、
    前記複数の回路セレクタと前記出力セレクタの動作の順序に基づいて、前記複数の回路セレクタまたは前記出力セレクタを有効または無効にする演算部と、
    を備えたことを特徴とする入出力制御装置。
  2. 前記演算部は、前記入力インターフェースまたは前記複数の論理回路から前記バスに信号が入力された場合、前記複数の回路セレクタと前記出力セレクタの動作の順序を示すデータに基づいて、前記複数の回路セレクタおよび前記出力セレクタを有効または無効にする
    ことを特徴とする請求項1に記載の入出力制御装置。
  3. 前記演算部と接続され、前記データを設定するデータ設定部をさらに備えた
    ことを特徴とする請求項1に記載の入出力制御装置。
  4. 前記演算部と接続され、前記論理回路が論理演算を行うために用いるパラメータを前記論理回路に設定するパラメータ設定部をさらに備えた
    ことを特徴とする請求項1に記載の入出力制御装置。
  5. 外部から信号が入力される入力インターフェースに接続するバスへの信号の入力を受け付ける入力ステップと、
    前記バスに接続する複数の回路セレクタのうち、任意の回路セレクタを有効にして、当該回路セレクタに前記バスの信号を出力させる回路選択ステップと、
    前記回路セレクタごとに対応して設けられる複数の論理回路のうち、前記回路セレクタから信号が入力された論理回路に論理演算を行わせ前記バスへ信号を出力させる演算ステップと、
    前記バスに接続する出力セレクタを有効にして、当該出力セレクタに前記バスの信号を出力インターフェースへ出力させる出力ステップと、
    を備えたことを特徴とする入出力制御方法。
  6. 前記複数の回路セレクタと前記出力セレクタの動作の順序を示すデータを設定する動作データ設定ステップをさらに備え、
    前記回路選択ステップは、前記動作データ設定ステップにおいて設定された前記データに基づいて、前記回路セレクタを有効または無効にし、
    前記出力ステップは、前記動作データ設定ステップにおいて設定された前記データに基づいて、前記出力セレクタを有効または無効にする
    ことを特徴とする請求項5に記載の入出力制御方法。
  7. パラメータを前記論理回路に設定するパラメータ設定ステップをさらに備え、
    前記演算ステップは、前記パラメータ設定ステップにおいて設定された前記パラメータに応じた論理演算を前記論理回路に行わせる
    ことを特徴とする請求項5に記載の入出力制御方法。
  8. 入力インターフェースから入力された信号に応じて所定の動作を実行し、出力インターフェースから信号を出力する入出力制御装置にインストールされるプログラムにおいて、
    前記入力インターフェースに接続するバスに信号が入力された場合、前記バスに接続する複数の回路セレクタのうち、任意の回路セレクタを有効にして、当該回路セレクタに前記バスの信号を出力させる回路選択ステップと、
    前記回路セレクタごとに対応して設けられる複数の論理回路のうち、前記回路セレクタから信号が入力された論理回路に論理演算を行わせ前記バスへ信号を出力させる演算ステップと、
    前記バスに接続する出力セレクタを有効にして、当該出力セレクタに前記バスの信号を前記出力インターフェースへ出力させる出力ステップと、
    を前記入出力制御装置の演算部に実行させることを特徴とするプログラム。
  9. 前記複数の回路セレクタと前記出力セレクタの動作の順序を示すデータを設定する動作データ設定ステップをさらに備え、
    前記回路選択ステップは、前記動作データ設定ステップにおいて設定された前記データに基づいて、前記回路セレクタを有効または無効にし、
    前記出力ステップは、前記動作データ設定ステップにおいて設定された前記データに基づいて、前記出力セレクタを有効または無効にする
    ことを特徴とする請求項8に記載のプログラム。
  10. パラメータを前記論理回路に設定するパラメータ設定ステップをさらに備え、
    前記演算ステップは、前記パラメータ設定ステップにおいて設定された前記パラメータに応じた論理演算を前記論理回路に行わせる
    ことを特徴とする請求項8に記載のプログラム。
PCT/JP2014/004673 2014-09-11 2014-09-11 入出力制御装置、入出力制御方法、及びプログラム WO2016038645A1 (ja)

Priority Applications (6)

Application Number Priority Date Filing Date Title
DE112014006947.7T DE112014006947T5 (de) 2014-09-11 2014-09-11 Ein-/Ausgabesteuereinrichtung, Ein-/Ausgabesteuerverfahren und Programm
JP2016546539A JP6176407B2 (ja) 2014-09-11 2014-09-11 入出力制御装置、入出力制御方法、及びプログラム
KR1020177004669A KR101781323B1 (ko) 2014-09-11 2014-09-11 입출력 제어장치, 입출력 제어 방법, 및 프로그램
CN201480081523.1A CN106662853B (zh) 2014-09-11 2014-09-11 输入输出控制装置、输入输出控制方法以及存储程序的存储器
US15/501,268 US9971332B2 (en) 2014-09-11 2014-09-11 Input/output control device, input/output control method, and non-transitory computer-readable medium for selective activation of logical circuits
PCT/JP2014/004673 WO2016038645A1 (ja) 2014-09-11 2014-09-11 入出力制御装置、入出力制御方法、及びプログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/004673 WO2016038645A1 (ja) 2014-09-11 2014-09-11 入出力制御装置、入出力制御方法、及びプログラム

Publications (1)

Publication Number Publication Date
WO2016038645A1 true WO2016038645A1 (ja) 2016-03-17

Family

ID=55458438

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/004673 WO2016038645A1 (ja) 2014-09-11 2014-09-11 入出力制御装置、入出力制御方法、及びプログラム

Country Status (6)

Country Link
US (1) US9971332B2 (ja)
JP (1) JP6176407B2 (ja)
KR (1) KR101781323B1 (ja)
CN (1) CN106662853B (ja)
DE (1) DE112014006947T5 (ja)
WO (1) WO2016038645A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10175673B2 (en) 2015-04-06 2019-01-08 Mitsubishi Electric Corporation Programmable controller system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3912823B1 (en) * 2020-03-25 2023-02-15 Kyocera Corporation Interface circuit and heat history control method
CN115061534A (zh) * 2022-05-09 2022-09-16 厉雷刚 无时钟异步电路、数据同步输出的方法、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05334083A (ja) * 1992-05-28 1993-12-17 Fuji Electric Co Ltd 多分岐命令の処理方式
JPH0869355A (ja) * 1994-08-26 1996-03-12 Matsushita Electric Works Ltd アナログ/デジタル変換装置
JP2008310536A (ja) * 2007-06-13 2008-12-25 Omron Corp 安全リモートi/oターミナル
JP2009069864A (ja) * 2007-09-10 2009-04-02 Mitsubishi Electric Corp プログラマブルコントローラ

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3849765A (en) * 1971-11-30 1974-11-19 Matsushita Electric Ind Co Ltd Programmable logic controller
US5237652A (en) * 1990-11-30 1993-08-17 Mcmanus Kirby L Programming system for programmable logic controller
JPH0876820A (ja) * 1994-09-05 1996-03-22 Hitachi Ltd プロセス入出力制御装置
US5754823A (en) 1995-02-23 1998-05-19 Datalogic, Inc. Configurable I/O system using logic state arrays
US6058448A (en) * 1995-12-19 2000-05-02 Micron Technology, Inc. Circuit for preventing bus contention
KR100202706B1 (ko) * 1996-10-05 1999-06-15 이종수 피엘씨 리모트 시스템의 기동시간 동기화 및 비상상태 출력 제어방법
JPH10240315A (ja) * 1997-03-03 1998-09-11 Star Tec:Kk プログラマブルロジック調節器
US6028809A (en) * 1997-06-20 2000-02-22 Altera Corporation Programmable logic device incorporating a tristateable logic array block
US6107825A (en) * 1997-10-16 2000-08-22 Altera Corporation Input/output circuitry for programmable logic devices
US7200448B2 (en) * 2001-11-27 2007-04-03 Rockwell Automation Technologies, Inc. System and method for function block execution order generation
TW594454B (en) * 2003-03-27 2004-06-21 Delta Electronics Inc Expander of automated apparatus and its interface control chip
JP2005275938A (ja) 2004-03-25 2005-10-06 Toshiba Corp コントローラシステムおよびメカトロニクス機器用コントローラ
EP1632825B1 (en) * 2004-09-03 2008-10-29 Derek Ward Improvements in or relating to programmable logic controller and related electronic devices
JP4450737B2 (ja) 2005-01-11 2010-04-14 富士通株式会社 半導体集積回路
DE602006017460D1 (de) * 2005-03-14 2010-11-25 Omron Tateisi Electronics Co Programmierbares Steuersystem
ATE551641T1 (de) * 2008-07-03 2012-04-15 Belimo Holding Ag Stellglied für hvac-systeme und verfahren zum betrieb des stellglieds
AT509310B1 (de) * 2009-12-16 2015-10-15 Bachmann Gmbh Verfahren zum betrieb einer speicherprogrammierbaren steuerung (sps) mit dezentraler, autonomer ablaufsteuerung
JP5424486B2 (ja) * 2010-02-18 2014-02-26 ルネサスエレクトロニクス株式会社 半導体集積回路
DE112015006067T5 (de) * 2015-01-28 2017-10-12 Mitsubishi Electric Corporation Intelligentes Funktionsmodul und speicherprogrammierbares Steuerungssystem

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05334083A (ja) * 1992-05-28 1993-12-17 Fuji Electric Co Ltd 多分岐命令の処理方式
JPH0869355A (ja) * 1994-08-26 1996-03-12 Matsushita Electric Works Ltd アナログ/デジタル変換装置
JP2008310536A (ja) * 2007-06-13 2008-12-25 Omron Corp 安全リモートi/oターミナル
JP2009069864A (ja) * 2007-09-10 2009-04-02 Mitsubishi Electric Corp プログラマブルコントローラ

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10175673B2 (en) 2015-04-06 2019-01-08 Mitsubishi Electric Corporation Programmable controller system

Also Published As

Publication number Publication date
JP6176407B2 (ja) 2017-08-09
CN106662853A (zh) 2017-05-10
US9971332B2 (en) 2018-05-15
DE112014006947T5 (de) 2017-05-24
CN106662853B (zh) 2018-08-31
JPWO2016038645A1 (ja) 2017-04-27
KR101781323B1 (ko) 2017-09-22
KR20170024125A (ko) 2017-03-06
US20170220020A1 (en) 2017-08-03

Similar Documents

Publication Publication Date Title
JP6205588B1 (ja) モータ制御装置のカスタマイズ方法、およびモータ制御装置
JP6176407B2 (ja) 入出力制御装置、入出力制御方法、及びプログラム
US8346378B2 (en) Programmable controller
WO2013128578A1 (ja) 制御装置および制御装置の制御方法
US10146200B2 (en) Apparatus and method for updating operating system in programmable logic controller
JP2006280090A (ja) インバータ装置
KR101913919B1 (ko) 프로그래머블 컨트롤러 시스템, 프로그래머블 컨트롤러 및 표시 장치
JPWO2012070128A1 (ja) システム設計装置
JP6191625B2 (ja) インバータ制御装置およびその周辺装置
JP2007241744A (ja) モーションコントローラとその指令方法
KR101782252B1 (ko) Plc 시스템의 고정주기 운전 방법
JP6146277B2 (ja) インバータ制御装置およびその周辺装置
JP2019087118A (ja) 車載制御装置
JP2002014707A (ja) I/oユニット及びプログラマブルコントローラ
JP6319631B2 (ja) 電力変換装置
JP2012196071A (ja) 電力変換器
JP2007280376A (ja) プログラマブル・コントローラ
WO2014168055A1 (ja) チューニング支援装置およびチューニングシステム
JP4340870B2 (ja) プログラマブルコントローラ
JP5143600B2 (ja) ハードウェアロジック部を有するplc
JP6464211B2 (ja) プログラマブルコントローラ
JP2010204737A (ja) プログラマブルコントローラの制御システムおよびプログラマブルコントローラの制御プログラム実行方法
JP2020028723A5 (ja)
JP2015148864A (ja) 情報処理装置
KR20150132927A (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: 14901454

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016546539

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15501268

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20177004669

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 112014006947

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14901454

Country of ref document: EP

Kind code of ref document: A1