6ES7313-5BG04-0AB0 SIMATIC S7-300, CPU 313C, COMPACT CPU WITH MPI, 24 DI/16 DO, 4AI, 2AO 1 PT100, 3 FAST COUNTERS (30 KHZ), INTEGRATED 24V DC POWER SUPPLY, 128 KBYTE WORKING MEMORY, FRONT CONNECTOR (2 X 40PIN) AND MICRO MEMORY CARD REQUIRED |
西門子CPU313C(6ES7313-5BG04-0AB0)是西門子S7-300CPU緊湊型CPU平均電壓是24Vzui高上限電壓是28.8Vzui低下限電壓是19.2V
外形尺寸:120mm*125mm*130mm
上海翰粵是西門子工控及自動化產品*分銷商咨詢!
:鄭轅鴻(銷售工程師)
:
(): 傳真():
:zx2013888 :www.hanyue.cc
:
現場CPU 313C(313-5BG04-0AB0),只帶一個MPI通訊口,現在想用PC從PLC里讀取一些數據,PC端的軟件是我自己編寫的。
目前的思路是:
在PC側加一塊CP5611卡,裝上step7軟件,通過MPI建立與PLC的通訊,把我要的數據讀到PC側,再把這些數據存到TXT文檔或者其他文檔中,zui后我自己的軟件去讀取TXT的數據,來達到我想要的功能,不知道這個思路可不可行?
回答
OPC方式
安裝SimaticNet軟件,組態PC站添加OPC Server,高級語言編寫OPC客戶端程序訪問OPC服務器
Prodave MPI
這個軟件包提供DLL供高級語言調用訪問PLC
Libnodave功能同Prodave的第三方免費軟件
Overview
- 帶集成數字量和模擬量輸入/ 輸出的緊湊型CPU
- 滿足工廠對高處理性能和相應時間的要求
- 帶技術功能
CPU 運行需要 SIMATIC 微存儲卡 (MMC)。
造成的原因是我的CPU313C,不小心碰到了128KB的卡,CPU就報警,SF紅燈亮起,無論如何RUN燈不亮。看了下是說OB121錯誤,然后新建了一個OB121空的,下載到PLC中去,這個時候,紅燈還是亮,但RUN燈可以點亮了。
完整的解決措施是什么呢?現在我的機子還在帶紅燈運行哦,老火得很
Diagnostic buffer of module CPU 313C
Order No./ Des cription Component Version
6ES7 313-5BF03-0AB0 Hardware 2
- - - Firmware V 2.6.9
Boot Loader Firmware expansion A 0.21.0
Rack: 0
Slot: 2
Event 1 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
07:58:39:837 pm 11/24/12
Event 2 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
07:58:39:831 pm 11/24/12
Event 3 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
07:58:39:826 pm 11/24/12
Event 4 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
07:58:39:820 pm 11/24/12
Event 5 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
07:58:39:815 pm 11/24/12
Event 6 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
07:58:39:810 pm 11/24/12
Event 7 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
07:58:39:805 pm 11/24/12
Event 8 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
07:58:39:798 pm 11/24/12
Event 9 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
07:58:39:789 pm 11/24/12
Event 10 of 10: Event ID 16# 2522
Area length error when reading
Global DB, word access, Access address: 74
Requested OB: Programming error OB (OB121)
Priority class: 1
Internal error, Incoming event
西門子CPU313C訂貨號:6ES7313-5BG04-0AB0