黄瓜视频在线免费观看_黄瓜小视频在线观看网址_在线观看黄瓜视频_黄瓜无码高清APP视频

鄭州變頻器維修銷售廠家

公司logo

16年專注于河南變頻器維修銷售
變頻器行業(yè)誠信企業(yè)、質(zhì)量、服務(wù)

全國咨詢熱線155-155-98858

技術(shù)資訊

技術(shù)資訊
當(dāng)前位置:首頁 > 新聞動態(tài) > 技術(shù)資訊

S7-300的n個常見問題解答之四

發(fā)布時間:2019-08-01 10:44:36來源:

S7-300的n個常見問題解答之四
61:為什么在FM350-1中選24V編碼器,啟動以后,SF燈常亮,FM350-1不能工作?
   要檢查一下,首先在軟件組態(tài)中要選擇編碼器類型(為24V),再檢查一下,FM350-1側(cè)面的跳線開關(guān),因?yàn)槿笔〉拈_關(guān)設(shè)置為5V編碼器,一般用戶沒有設(shè)置,開機(jī)后,SF燈就會常亮。另外,還可以看看在線硬件診斷,可以看看錯誤產(chǎn)生的原因,是否模板壞了。
  
  62: FM350-1的鎖存功能是否能產(chǎn)生過程中斷?
   FM350-1的鎖存功能是不能產(chǎn)生過程中斷,但是可以產(chǎn)生過零中斷。
   FM350-1的裝載值必須為零,隨者鎖存功能的執(zhí)行(DI的上升沿開始),當(dāng)前的計(jì)數(shù)值被儲存到另一地址然后置為初始值零,產(chǎn)生過零中斷,在OB40中可以讀出中斷并相應(yīng)的鎖存值。 鎖存值也可以從FM350-1的硬件組態(tài)地址的前4個字節(jié)中讀出。
  
  63: 在FM350-1中,怎樣觸發(fā)一個比較器輸出?
   FM350-1中自帶的輸出點(diǎn)具有快速性、實(shí)時性,不必要經(jīng)過CPU的映像區(qū)處理。輸出點(diǎn)一般對應(yīng)于比較器,首先在硬件組態(tài)中定義比較器輸出類型,如:輸出值為1或?yàn)槊}沖輸出,然后在程序中設(shè)置比較值。在FM350-1中,地址在通訊DB(UDT生成)塊中為18(比較值1)、22(比較值2),類型為DINT,然后激活輸出點(diǎn)28.0(DQ0)、28.1(DQ1),這樣比較器就可以工作了。
  
  64:在FM350-2中,工作號的作用是什么?
   工作號是S7-300CPU與FM進(jìn)行通訊的任務(wù)號,每次的交換數(shù)據(jù)只是部分?jǐn)?shù)據(jù)交換,而非全部數(shù)據(jù),這樣可以減少FM的工作負(fù)載,工作號又分寫工作號和讀工作號,例如在FM350-2中指定DB1為通訊數(shù)據(jù)塊,如果把寫工作號12寫入到DB1.DBB0中,把200寫入到DB1.DBD52中,再調(diào)用FC3寫功能,這樣第一個計(jì)數(shù)器的初始值為200,這里工作號10的任務(wù)號是寫第一個計(jì)數(shù)器的初始值,DB1.DBB0為寫工作號存入地址,DB1.DBD52為第一個計(jì)數(shù)器裝載地址區(qū),同樣讀工作號100為讀前4路,101為讀后4路計(jì)數(shù)器,讀工作號存入地址為DB1.DBB2。 但寫任務(wù)不能循環(huán)寫,只能分時寫入。
  
  65:如果對于4-20 mA模擬量輸入模塊來說,小于4 mA后轉(zhuǎn)換的數(shù)字量是多少?
   如果小于4ma,那么將會是輸出負(fù)值,例如 -1對應(yīng)的是3.9995mA,而1.185 mA 時,這個數(shù)值是-4864 (10進(jìn)制)但是如果小于1.185mA,如果禁止斷線檢測,這個值是8000(16進(jìn)制)如果有斷線檢測,會變成7FFF(16進(jìn)制)。
  
  66:怎樣對模擬量進(jìn)行標(biāo)準(zhǔn)化和非標(biāo)準(zhǔn)化?
   可以使用以下功能塊:
   1.在塊FC164中,x和y都是整數(shù)。
   2. FC165中x是整數(shù),y是實(shí)數(shù)。
   3. FC166中x是實(shí)數(shù),y是整數(shù)。
   4. FC167中x和y都是實(shí)數(shù)。
  
  67:S7系列PLC之間比較經(jīng)濟(jì)的通訊方式是什么?
   MPI通訊是S7系列PLC之間一種比較經(jīng)濟(jì)、數(shù)據(jù)量比較小的一種通訊,需要做連接配置的站通過GD通訊,GD通訊適合于S7-300之間,S7-300、S7-400、MPI之間一些固定數(shù)據(jù)的通訊。不用作連接的MPI通訊適用于S7-300之間、S7-300與400之間、S7-300/400與S7-200 系列PLC之間的通訊,建議在OB35(循環(huán)中斷100ms)中調(diào)用發(fā)送塊,在OB1(主循環(huán)組織塊)調(diào)用接收塊。
  
  68:整個系統(tǒng)掉電后,為什么CPU在電源恢復(fù)后仍保持在停止?fàn)顟B(tài)?
   整個系統(tǒng)由一個DP主站S7-300/400以及從站組成。而從站通過一個主開關(guān)被切斷了電源。由于內(nèi)部的CPU電壓緩沖器,CPU 仍繼續(xù)運(yùn)行大約50ms到100ms。此階段里 CPU 識別出所連接的從站的故障。如果沒有編程OB86和OB122的話,CPU 就會因?yàn)檫@些有故障的從站而繼續(xù)保留在停止?fàn)顟B(tài)。
  
  69:在點(diǎn)到點(diǎn)通信中,協(xié)議 3964(R)和RK 512 之間的區(qū)別是什么?
   這兩個協(xié)議的主要區(qū)別在于消息報頭和響應(yīng)消息的不同。使用RK 512,提供有比較高的數(shù)據(jù)完整性,程序 3964(R) 當(dāng)傳送信息數(shù)據(jù)時,程序 3964(R)將控制字符(安全層)添加到信息數(shù)據(jù)上。這些控制字符激活通信伙伴,檢查數(shù)據(jù)是否全部接收,是否無錯誤。
  
  70:當(dāng)一個DP從站出故障,如何在輸入的過程映像被清成“0”以前保存它們?
   當(dāng)一個DP從站出故障時,OB86(通過S7-300/400)被調(diào)用??捎孟铝蟹椒ā氨4妗陛斎氲倪^程映像:
   1. 把從站的所有輸入循環(huán)地復(fù)制到一個獨(dú)立的區(qū)里。
   2.如果從站出問題,則 OB86 被啟動。在此 OB 里你可設(shè)一個標(biāo)志位來可防止進(jìn)一步的循環(huán)復(fù)制操作。
   3. 當(dāng)從站返回總線后,你把 OB86 里的標(biāo)志位復(fù)位。
71:對模擬量模塊而言,如何處理未使用的通道?
    如果模塊帶有MANA : 短接所有的未使用通道的M-到 MANA ,如果可能,連接MANA 到接地極,把模塊的測量模式設(shè)置為: 0 - 20/ + -20mA. ,短接未使用的COMP+/COMP-. IC+ / IC-可以保持懸空。
    如果模塊不帶有 MANA : 把所有未使用的通道M-連接到使用通道的M-.等在輸入端UCM > 2.5V 時,連接所有未使用的 M-到cpu的接地或系統(tǒng)的接地. 把模塊的測量模式設(shè)置為: 0 - 20/ + -20mA. ,短接未使用的COMP+/COMP-. IC+ / IC-可以保持懸空。
    對于SM 331-7NF10-0AB0模塊在4通道模式:禁止未用的通道,這些輸入端懸空即可
    對于Ex模塊SM 331-7RD:未使用的通道可以保持懸空。
72:上位機(jī)與plc進(jìn)行通訊,硬件都需要哪些?
  可以參照下圖:
  


  
  73:CP5511/5611 診斷測試后產(chǎn)生錯誤代碼,代碼的含義是什么?
  0x0300 Cannot find module:
  Please check whether the CP5511 is installed and slotted properly.
  Check the interrupt and address assignments. Information on further procedures is available also in the STEP 7 Online Help under "Setting the PG/PC Interface", in the paragraph on "Checking the interrupt and address assignments". More information is also available in the STEP 7 Readme file ("Start > SIMATIC > Product notes"), in section 4.4.1 under "Built-in MPI onboard and the MPI PC module -> Setting interrupts and addresses".
  
  0x0312 Incorrect configuration parameters:
  Deinstall the CP5511 and reinstall it again. For this you click the "Select" button in the PG/PC interface (Fig. 1). Mark the CP5511 with the cursor in the right window (Fig. 3). Then click the "Deinstall" button. Now, (after restarting STEP 7) you can mark the CP5511 in the left window and click the "Install" button. For this activity you need to have administrator rights to your PC (see STEP 7 Readme file, section 3.1).
  
  0x0313 Baud rate does not correspond with network or incorrect interrupt:
  Check the transfer speed (Baud rate) in the PG/PC interface and in the hardware configuration. The Baud rate must not be greater than the Baud rate that is supported by the slowest user. The PROFIBUS addresses configured in the hardware configuration must match the addresses of the system configuration.
  Check the interrupt and address assignments. Information on further procedures is available in the STEP 7 Online Help under "Setting the PG/PC interface", in the paragraph on "Checking the interrupt and address assignments" (Index: Check interrupt assignment). More information is also available in the STEP 7 Readme file ("Start > SIMATIC > Product notes"), in section 4.4.1 under "Built-in MPI onboard and the MPI PC module -> Setting interrupts and addresses".
  
  0x0316 Hardware ressource already busy:
  If this error message occurs after the installation of the CP5511 in "Setting PG-PC interface
  
  0x031a Cannot find any active PB/MPI network:
  Activate the function "PG/PC is the only master on the bus" in the Properties of the PG/PC interface (see Fig. 4). This disables an additional safety function against bus faults. You get to this mask via the "Properties" button - see Fig. 1. The requirement is that the interface parameters used are set to "CP5511(MPI)".
  
  0x0318 Interrupt occupied:
  This message appears in most cases in Windows NT. In the BIOS of your computer change the "PnP" setting to "No". You get to the BIOS of your computer by restarting your PC and hitting the F2 key.
  
  0x031b Synchronization error:
  Please check the bus parameters on the bus. These must match the bus parameters configured in the hardware configuration.
  Check the installation of the bus cable.
  
  0x031c AMPRO2 system error:
  Activate the function "PG/PC is the only master on the bus" in the Properties of the PG/PC interface (see Fig. 4).
  Please check whether all the terminators for the PROFIBUS network are connected properly.
  It is also possible that the STEP 7 drivers are not installed or have been deleted or that an incorrect driver has been installed. In this case we recommend sending the CITAMIS.str file to Customer Support for checking.
  Another possible cause might be that the hardware is defective.
  
  0x0320 Cannot find DLL/VXD as file:
  On your PC please find the file specified in the Windows Explorer via "Tools > Find > Files/Folders". Either the file is not on your computer or it is found twice. Please rename the file in the Windows system directory and then restart Windows.
  In the Registry, the references to the files are missing. Access to the required parameters from the Registry is not possible. Perhaps you don't have the required access rights or the system database is damaged.
  The drivers are not compatible with the operating systems.
  
  
  73:哪些軟件里含有CP5511,CP5512,CP5611,RS232 PC-Adapter 的驅(qū)動?
   如果安裝了相應(yīng)的軟件后包含“Set PG/PC Interface …”組件,那么這些軟件都含有CP5511,CP5512,CP5611,RS232 PC-Adapter 的驅(qū)動,只需在“Set PG/PC Interface …”->“Select…”->選擇相應(yīng)的驅(qū)動,然后“Install-->”即可。
  具體的軟件有Step7,Step7 MicroWin,Simatic Net,WinCC,Protool,F(xiàn)lexible,PCS7。
  
  74:當(dāng)試圖通過TeleService建立PRODAVE MPI和樣列程序之間的通訊時,為什么會出現(xiàn)出錯消息4501?
   調(diào)制解調(diào)器沒有響應(yīng),并產(chǎn)生了出錯消息4501。在這個情況下,工作站的規(guī)范不正確。 在TeleService對話框中檢查工作站的名稱和工作站(standort)規(guī)范。此處可能有個不正確的缺省設(shè)刪除“station”(“standort”)域中的缺省名,或輸入正確的工作站名。那么就可以使用調(diào)制解調(diào)器在PRODAVE MPIY和TeleService之間建立連接。
  
  75:是否可以將數(shù)據(jù)塊的當(dāng)前值作為初始值從AS傳送到項(xiàng)目中?
   可以。從AS中“ONLINE,打開相關(guān)數(shù)據(jù)塊(DB).使用軟盤圖標(biāo)“OFFLINE”保存DB.
  通過“File > Generate Source”在DB中產(chǎn)生STL源代碼. 通過手動操作將BEGIN和END_DATA_BLOCK行之間的當(dāng)前值與相應(yīng)的聲明(初始值)逐行 連接起來,從而得到下列聲明語句:
  
   STRUCT
   wordVar : WORD := W#16#ABCD;
   ...
   END_STRUCT ;
   編譯STL源代碼。
  
  76:在通訊任務(wù)中,在哪些OB中必須調(diào)用SFB?
   在啟動型OB(如用于S7-300的OB100和用于S7-400的OB100和OB101)和循環(huán)模式OB(OB1)中,必須調(diào)用數(shù)據(jù)通訊或程序管理(把PLC切換到STOP或RUN)所需的所有SFB。 OB100是啟動型OB,并在重新啟動CPU時運(yùn)行。例如,在該OB中,用標(biāo)記M1.0和M0.1來釋放第一個通訊觸發(fā)器。
  
  77:怎樣編程間接訪問一個ARRAY類型變量的元素?
   一個位、字節(jié)或者字符域的尺寸是按照字節(jié)限制排列的