Programmable controller
First Claim
1. A programmable controller having a serial port for serial communication, comprising:
- a switching unit that switches the serial port in any one of a first state, a second state, and a third state, the first state being a state in which a general-purpose communication protocol which establishes communication in accordance with a specification of a partner equipment can be processed, the second state being a state in which a computer link-only protocol which establishes communication based on a fixed specification can be processed, and the third state being an idle state, wherein the switching unit switches the serial port to the first state by a command that initializes the serial port in a program for the general-purpose communication protocol when the serial port is in the idling state, to the second state when the serial port receives a signal from external equipment for starting the communication using the computer link-only protocol, to the idling state, upon the serial port being in the first state, by a command that closes the serial port in the program for the general-purpose communication protocol, and to the idling state, upon the serial port being in the second state, after the communication with the external equipment using the computer link-only protocol is completed.
1 Assignment
0 Petitions
Accused Products
Abstract
A programmable controller having one or more serial ports (6) for serial communication is characterized by including a switching unit that properly uses the serial port (6) in a first state in which a general-purpose communication protocol which establishes communication in accordance with a specification of a partner equipment can be processed, a second state in which a computer link-only protocol which establishes communication based on a fixed specification can be processed, and a third idling state. The switching unit switches the serial port (6) into the first state by a command that initializes the serial port (6) in a program for the general-purpose communication protocol when the serial port (6) is in the idling state, the switching unit switches the serial port (6) into the second state when the serial port (6) receives a signal from external equipment for starting the communication using the computer link-only protocol. When the serial port (6) is in the first state, the serial port (6) is switched to the idling state by a command that closes the serial port (6) in the program for the general-purpose communication protocol, and when the serial port (6) is in the second state, the serial port (6) is switched to the idling state after the communication with the external equipment using the computer link-only protocol is completed.
7 Citations
4 Claims
-
1. A programmable controller having a serial port for serial communication, comprising:
a switching unit that switches the serial port in any one of a first state, a second state, and a third state, the first state being a state in which a general-purpose communication protocol which establishes communication in accordance with a specification of a partner equipment can be processed, the second state being a state in which a computer link-only protocol which establishes communication based on a fixed specification can be processed, and the third state being an idle state, wherein the switching unit switches the serial port to the first state by a command that initializes the serial port in a program for the general-purpose communication protocol when the serial port is in the idling state, to the second state when the serial port receives a signal from external equipment for starting the communication using the computer link-only protocol, to the idling state, upon the serial port being in the first state, by a command that closes the serial port in the program for the general-purpose communication protocol, and to the idling state, upon the serial port being in the second state, after the communication with the external equipment using the computer link-only protocol is completed. - View Dependent Claims (2, 3, 4)
Specification