Multiple mode communication interface for expansion device and PLC host and method for operating the same
AssigneeDelta Electronics, Inc.
InventorHung-Chih Wu
Life of this patent
Estimating the term…
Abstract
A multiple mode communication interface for expansion device and PLC host and method for operating the same. The expansion device includes a microprocessor, a memory unit and a communication interface. The communication interface includes a function setting connection module with multiple function setting to connect the host or the expansiondevice of previous stage or next stage and is used for setting required I/O connection number. In initialization stage, the host determines the type and capacity of the expansion device by a judgment module of the communication interface, and sends a code to the expansion device. The expansion device allows or blocks the data sent from the host and accesses the data stored in the memory unit.
Claims17
A multiple mode communication interface for expansion device and PLC host, comprising
- a host comprising
- a communication interface comprising an integrated circuit and a connection module with a plurality of function settings;
- a microprocessor electrically connected to the communication interface;
- at least one expansion device comprising:
- a microprocessor;
- a memory unit electrically connected to the microprocessor;
- a communication interface comprising an integrated circuit and a connection module with a plurality of function settings;
- wherein the communication interface of the expansion device is connected to the host or the next expansion device, the connection module in the communication interface of the expansion device sets I/O expansion pin to allow the host for connecting to the expansion device, the expansion device automatically allow or block the data from the host and access data stored in the memory unit according to a positioning value output from the host.
A method for multiple mode communication interfacing for expansion device and PLC host, comprising steps of:
- setting expansion type, capacity and code for expansion device through a hardware mode setting connection module of a communication interface;
- forming a serial connection between a host and expansion devices by connecting the host and the previous-stage expansion device and next--stage expansion device through a previous-stage connection module and a next-stage connection module in the communication interface;
- setting I/O expansion number and pins through a first setting connection module and a second setting connection module;
- the host performing initialization step to judge the expansion type and capacity of the expansion device connected to the host and a normal connection with the expansion device by reading a signal from a judgment module;
- the host and an adjacent expansion device converting a code for sending to the expansion device;
- the expansion device automatically allowing or blocking the data sent from the host.
A method for multiple mode communication interfacing for expansion device and PLC host, comprising steps of:
- setting expansion type, capacity and code for expansion device through a hardware mode setting connection module of a communication interface;
- forming a serial connection with address line, data line and addressing line between a host and expansion devices by connecting the host and the previous-stage expansion device and next-stage expansion device through a previous-stage connection module and a next-stage connection module in the communication interface;
- forming a host mode output setting by connecting a first setting connection module and a second setting connection module of the communication interface to an output end of a memory unit;
- the host performing initialization step to judge the expansion type and capacity of the expansion device connected to the host and a normal connection with the expansion device by reading a signal from a judgment module;
- the host and an adjacent expansion device converting a code for sending to the expansion device;
- the expansion device automatically allowing or blocking the data sent from the host;
- the expansion device judging data accessing with the memory unit with reference to code and forming register path mode for bi-directional data exchange;
- and
- the host accessing temporary data in the memory unit through serial communication interface, and the expansion device accessing temporary data in the memory unit through host mode.
A method for multiple mode communication interfacing for expansion device and PLC host, comprising steps of:
- setting expansion type, capacity and code for expansion device through a hardware mode setting connection module of a communication interface;
- forming a serial connection with address line, data line and addressing line between a host and expansion devices by connecting the host and the previous-stage expansion device and next-stage expansion device through a previous-stage connection module and a next-stage connection module in the communication interface;
- forming a host mode output setting and a slave mode output setting by connecting a first setting connection module and a second setting connection module of the communication interface to two output ends of a memory unit;
- the expansion device performing a chip addressing step in power on;
- the host performing initialization step to judge the expansion type and capacity of the expansion device connected to the host and a normal connection with the expansion device by reading a signal from a judgment module;
- the host and an adjacent expansion device converting a code for sending to the device;
- the expansion device automatically allowing or blocking the data sent from the host;
- the expansion device judging data accessing with the memory unit with reference to code and forming register path mode for bi-directional data exchange;
- and
- the host accessing temporary data in the memory unit through serial communication interface, and the expansion device accessing temporary data in the memory unit through host mode.
Dependencies are inferred from the claim text.