【正文】
a form to it in a piece of and continuous address that the data of the inner part delivers the other party, we, the PLC of the other party passes to read data in the watch to carry on the operation. If the data that data in the watch is a to establish generally, that is just the general data transmission, for example today of oil price rise, I want to deliver the price of the oil price to lose the oil ally on board, that is the share of the data。And the PLC emergence also became the epochmaking topic, adding the vivid software control through a very and stable hardware, making the automation head for the new high tide.The PLC biggest characteristics lie in: The electrical engineering teacher already no longer electric hardware up too many calculationses of cost, as long as order the importation that the button switch or the importation of the sensors order to link the PLC up can solve problem, pass to output to order the conjunction contact machine or control the start equipments of the big power after the electric appliances, but the exportation equipments direct conjunction of the small power can.PLC internal containment have the CPU of the CPU, and take to have an I/ O for expand of exterior to connect a people39。PLC technique discussion and future developmentAlong with the development of the ages, the technique that is nowadays is also gradually perfect, the petition plays more more strong。s address and saving machine three big pieces to constitute, CPU core is from an or many is tired to add the machine to constitute, mathematics that they have the logic operation ability, and can read the procedure save the contents of the machine to drive the homologous saving machine and I/ Os to connect after pass the calculation。 But take data in the watch for an instruction procedure that controls the PLC, that had the difficulty very much, for example you have to control onet do other works.When you are reading the book, you hear someone knock on door, you stop to start up of affair, open the door and bine to continue with the one who knock on door a dialogue, the telephone of this time rang, you signal hint to connect a telephone, after connecting the telephone through, return overdo e together knock on door to have a conversation, after dialogue plete, you continue again to see your book, this kind of circumstance we are called the interruption to it, it has the authority, also having sex of have the initiative, the PLC had such function .Its characteristics lie in us and may meet the urgently abrupt affairs in the operation process of the equipments, we want to stop to start immediately up of work, the whereabouts manages the more important affair, this kind of circumstance is we usually meet of, PLC while carry out urgent mission, total will keep the current appearance first, for example the address of the procedure, CPU of tired add the machine data etc., be like to to stick down which the book that we see is when we open the door the page or simply make a mark, because we treat and would still need to continue immediately after book of see the behind. The CPU always does the affair that should do according to our will, but your mistake of give it an affair, it also would be same to do, this we must notice.The interruption is not only a, sometimes existing jointly with the hour several inside break, break off to have the preferred Class, they will carry out the interruption of the higher Class according to person39。PLC的內(nèi)部包含了具有中央處理器的CPU,并帶有外部I/O口擴(kuò)展的I/O接口地址和存儲(chǔ)器三大塊組成,CPU的核心是由一個(gè)或者多個(gè)累加器組成,它們具有邏輯的數(shù)學(xué)運(yùn)算能力,并能讀取程序存儲(chǔ)器的內(nèi)容通過(guò)計(jì)算后去驅(qū)動(dòng)相應(yīng)的存儲(chǔ)器和I/O接口;I/O口將內(nèi)部累加器和外部的輸入和輸出系統(tǒng)連接起來(lái),并將相關(guān)的數(shù)據(jù)存入程序存儲(chǔ)器或者數(shù)據(jù)存儲(chǔ)器中;存儲(chǔ)器可以將I/O口輸入的數(shù)據(jù)存入存儲(chǔ)器中,并在工作時(shí)調(diào)轉(zhuǎn)到累加器和I/O接口上,存儲(chǔ)器分程序存儲(chǔ)器ROM和數(shù)據(jù)存儲(chǔ)器RAM,ROM可以將數(shù)據(jù)永久的存入存儲(chǔ)器中,而RAM只能作為CPU計(jì)算時(shí)臨時(shí)計(jì)算使用的緩沖空間。HMI的前景可以說(shuō)十分的看好。信息輸送的形式有單工位、半雙工位和全雙工位的分別。我們?cè)诎l(fā)送數(shù)據(jù)的時(shí)候可以是一位一位的發(fā)送給對(duì)方,也可以8位8位的將數(shù)據(jù)發(fā)送到對(duì)方,一位和8位區(qū)別也就是我們所說(shuō)的串口發(fā)送數(shù)據(jù)和并口發(fā)送數(shù)據(jù)。這種中斷中的中斷也就形成了中斷嵌套。PLC還具有高級(jí)計(jì)數(shù)器的功能,當(dāng)我們?cè)诮邮芤恍└咚俚臄?shù)據(jù)時(shí),這里所說(shuō)的高速是在在微秒級(jí)的數(shù)據(jù),比如條碼掃描機(jī)在不斷的掃描數(shù)據(jù),數(shù)據(jù)處理器DSP計(jì)算的高速信號(hào)等,我們就要采用到高級(jí)計(jì)數(shù)器來(lái)幫助我們進(jìn)行計(jì)數(shù)。更高層次的發(fā)展需要我們不斷的努力來(lái)取得。PLC的發(fā)展已經(jīng)從單一的模式進(jìn)入了通信的網(wǎng)絡(luò)時(shí)代,并同其它的工控網(wǎng)板和I/O卡板輕易的進(jìn)行共享。有一點(diǎn)可以說(shuō)明的是我們一般會(huì)把急停按鈕的外部中斷升至最高級(jí)別,從而保證安全。CPU總是按照我們的意愿去做應(yīng)該做的事情,但你錯(cuò)誤的給它一件事情,它也會(huì)同樣的去做,這一點(diǎn)我們必須注意。而異步是應(yīng)用范圍最廣泛的,這得益于它的技術(shù)難度相對(duì)要小、同時(shí)不需要配制專門的時(shí)鐘信號(hào)、它的特點(diǎn)在于,它的數(shù)據(jù)是間隔性的,離散性的發(fā)送和接受,當(dāng)CPU太忙的時(shí)候可以停頓性去工作,在硬件上也減少了難度,同時(shí)數(shù)據(jù)的丟失相對(duì)要少,我們可以通過(guò)數(shù)據(jù)的檢測(cè)來(lái)觀察我們發(fā)送的數(shù)據(jù)是否有錯(cuò)誤,像奇偶法、累加法和八位效驗(yàn)法等,都可以用來(lái)幫助我們檢測(cè)發(fā)送的數(shù)據(jù)是否有錯(cuò)誤發(fā)生,通過(guò)反饋來(lái)進(jìn)行辨別。PLC的數(shù)據(jù)傳送只是將內(nèi)部的數(shù)據(jù)傳送到對(duì)方的一塊連續(xù)的地