2014年12月30日星期二

what Consist CPU?

Command control logic to complete the instruction fetch, instruction and execution analysis instruction. Timing control logic to provide necessary control signals for each instruction in chronological order. General clock timing signal is the most basic, is the time base of the entire machine, called the machine speeds. The time required to execute an instruction called an instruction cycle, different instruction cycles may be different. Is generally easy to control, according to the nature of the operation and control of the different nature of the instruction, the instruction cycle will be divided into several stages, each stage is a CPU cycle. Early cpu modules memory with little difference in speed, so the plc cpu cycles and memory access cycle is generally the same, and later, with the development of CPU speed has now a lot faster than memory, CPU cycles so often defined as memory access a fraction of the cycle.

Bus control logic circuit is a plurality of features and services for information passage. Generally divided on the CPU in terms of the internal bus and CPU external bus outreach, the external bus is sometimes also called the system bus, the front side bus (FSB) and so on.

An interrupt is a computer due to an abnormal event, or some event occurs randomly require immediate treatment, cause the CPU to suspend execution of the program now, switch to another service program to deal with this incident, processed and then return to the original program process. Interrupts generated by the internal machine, we call it a trap (internal interrupt), caused by an external device interrupts called external interrupts.

2014年12月29日星期一

CPU constitution


Sequence and data, PLC is an integral unit.
In the user view, unnecessarily detailed analysis of the internal circuit of the CPU, but each part is working mechanism should be enough to understand. The controller CPU CPU work, by its reading instruction, interpretation and execution of instructions instruction. However, the pace of work is controlled by the oscillation signal. Operator for digital or logic operations, working under the command of the controller. Intermediate result registers involved in computing, and storage operations, it also means a unitary controller deer Bru ao lt;? Br> CPU speed and memory capacity are important parameters for the PLC, which determines the operating speed of the PLC, IO number and software capacity etc., thus limiting the control scale.

2014年12月25日星期四

CPU constitution


CPU is the core of the plc cpu, functions as the nerve center, each PLC have at least one plc modules, which functions according to the program given to the PLC system to receive and store user programs and data, by way of scanning the input collected by the field device sent state or data, and stored in the specified register, while the diagnostic power and internal circuit PLC working condition and programming syntax errors. After entering the run, one by one to read the instructions from the user program memory, then the task was analyzed by Directive generate appropriate control signals to command associated control circuitry