銷售精制面板6AV6648-0BE11-3AX0
上海斌勤電氣技術(shù)有限公司(西門子合作伙伴)
聯(lián)系人 :康 奎(業(yè)務(wù)經(jīng)理)發(fā)布
地 址:上海市松江區(qū)三新北路1800弄(松江商務(wù)電子園區(qū))24號樓5005室
產(chǎn)品 規(guī)格:【德國原裝,全新正品】
產(chǎn)品 質(zhì)量:【品質(zhì)保證,假一罰十】
產(chǎn)品 價格:【薄利多銷,行業(yè)最低】
產(chǎn)品 貨期:【庫存銷售,現(xiàn)買現(xiàn)賣】
西門子是全球較大的電氣化公司自1872年進(jìn)入中國以來卓越的解決方案和產(chǎn)品堅持不懈地對中國的發(fā)展提供佺面支持,目前西門子在中國已經(jīng)有6家分公司如:蘇州電器、南京電機(jī)、上海、武漢、大連、成都西門子在中國已擁有64個辦事處,2014年西門子在中國的銷售額就高達(dá)720億人民幣不包括(中國香港,中國澳門,中國臺灣)的銷售額。
歡迎您前來詢價.100分的服務(wù).100分的質(zhì)量.100分的售后.100分的發(fā)貨速度
大量現(xiàn)貨 24小時在線服務(wù) 18621061383 給您意想不到的折扣
【希殿電氣】專業(yè)代理西門子電線電纜,PLC、接觸器、軟啟動器、中間繼電器、觸摸屏,變頻器,自動化產(chǎn)品等佺系列產(chǎn)品。一律為全新原包裝,貨真價實(shí),質(zhì)量有保證
博大精深,同心致遠(yuǎn)
西門子一級 西門子特邀
我公司經(jīng)營西門子全新原裝現(xiàn)貨PLC;S7-200S7-300 S7-400 S7-1200 觸摸屏,變頻器,6FC,6SNS120 V10 V60 V80伺服數(shù)控備件:原裝進(jìn)口電機(jī)(1LA7、1LG4、1LA9、1LE1),國產(chǎn)電機(jī)(1LG0,1LE0)大型電機(jī)(1LA8,1LA4,1PQ8)伺服電機(jī)(1PH,1PM,1FT,1FK,1FS)西門子保內(nèi)全新原裝產(chǎn)品‘質(zhì)保一年。一年內(nèi)因產(chǎn)品質(zhì)量問題免費(fèi)更換新產(chǎn)品;不收取任何費(fèi)。歡迎致電咨詢。您的滿意將是我們最大的成功。
SIEMENS 數(shù)控 伺服
SINUMERIK:801、802S 、802D、802D SL、810D、840D、611U、S120
及伺報電機(jī),力矩電機(jī),直線電機(jī),伺服驅(qū)動等備件銷售
S7-300 集成PN口作客戶端與S7-300/400/1200/1500的 S7 單邊通信(STEP7)
S7 協(xié)議是 SIEMENS S7系列產(chǎn)品之間通訊使用的標(biāo)準(zhǔn)協(xié)議,其優(yōu)點(diǎn)是通信雙方無論是在同一 MPI 總線上、同一 PROFIBUS 總線上或同一工業(yè)以太網(wǎng)中,都可通過 S7 協(xié)議建立通信連接,使用相同的編程方式進(jìn)行數(shù)據(jù)交換而與使用何種總線或網(wǎng)絡(luò)無關(guān)。S7 通信按組態(tài)方式可分為單邊通信和雙邊通信,單邊通信通常應(yīng)用于以下情況:
-
通信伙伴無法組態(tài) S7 連接
-
通信伙伴不允許停機(jī)
-
不希望在通訊伙伴側(cè)增加通信組態(tài)和程序
本文檔簡要介紹在STEP7 V5.5環(huán)境下,S7-300 集成PN口的CPU基于工業(yè)以太網(wǎng)的S7單邊通信的組態(tài)步驟,用于實(shí)現(xiàn)與S7-300/400/1200/1500 CPU之間的S7 通信。
1、硬件與軟件條件
設(shè)備
|
數(shù)量
|
訂貨號
|
注釋
|
CPU 315-2 PN/DP
|
2
|
6ES7317-2EH14-0AB0
|
V3.2
|
表 1主要硬件列表
設(shè)備
|
數(shù)量
|
訂貨號
|
注釋
|
STEP 7 Professional V5.5
|
1
|
6ES7511-1AK00-0AB0
|
V1.8
|
CPU 1212C
|
1
|
6ES7212-1AE40-0XB0
|
V4.2
|
表 2軟件環(huán)境
2、組態(tài)配置
2.1 通過如下的步驟配置編程電腦的IP地址:
選擇電腦的“ 控制面板 > 網(wǎng)絡(luò)和共享 > 本地連接>屬性”打開 Internet Protocol Version 4(TCP/IPv4),設(shè)置PC的 IP 地址,本例中為192.168.0.131。
圖1.設(shè)置PC地址
2.2 在STEP7 中組態(tài)315-2PN/DP CPU,雙擊X2卡槽,再點(diǎn)擊屬性按鈕以設(shè)置IP地址。(具體步驟請參見文檔:CPU硬件組態(tài)入門)
圖2.S7-300硬件組態(tài)
圖3.PN-IO屬性
2.3 設(shè)置好IP地址后(本例中為192.168.0.1),點(diǎn)擊New按鈕添加一條子網(wǎng)Ethernet(1),如果已經(jīng)存在子網(wǎng),也可選中該子網(wǎng)直接點(diǎn)OK按鈕即可。
圖4.添加IP地址和子網(wǎng)
2.4 點(diǎn)擊快捷菜單中的Configure Network按鈕進(jìn)入Netpro視圖。
圖5.點(diǎn)擊Configure Network按鈕
2.5 在Netpro視圖的CPU上點(diǎn)右鍵選擇Insert New Connection添加新連接。
圖6.添加新連接
2.6 通訊伙伴選擇非指定(Unspecified),通訊類型選擇S7 connection。
圖7.選擇通信伙伴和通信類型
2.7 點(diǎn)擊OK后在彈出的屬性窗口中勾選單端組態(tài)(Establish an active connection),并填寫通信伙伴的IP地址,注意Local ID編號,本例保持默認(rèn)值1。點(diǎn)擊詳細(xì)按鈕。
圖8.S7連接屬性
2.8 在地址詳細(xì)信息對話框中填寫通信伙伴CPU的機(jī)架號和槽號,如通信伙伴是S7-300/400 CPU則槽號為2,如通信伙伴是S7-1200/1500 CPU則槽號為1。點(diǎn)擊OK。
圖9.S7地址詳細(xì)
2.9 選中CPU,先編譯再下載
圖10.編譯下載
注:如不熟悉下載方法,可參考如下鏈接:
http://www.ad.siemens.com.cn/productportal/Prods/published\Soft\Soft_3.5\Soft_3.5.html
2.10 下載完成后,可點(diǎn)擊“激活連接狀態(tài)”按鈕,查看連接狀態(tài),如下圖所示,則表示組態(tài)的連接已經(jīng)成功建立。
圖11.連接已建立
2.11 如果出現(xiàn)如下圖所示的情況,則說明連接沒有建立,請檢查網(wǎng)線的連接、IP地址等。
圖12.連接未建立
3、編寫PLC程序,調(diào)用通訊塊
3.1 組態(tài)連接建立成功后,需要調(diào)用通訊功能塊PUT和GET進(jìn)行數(shù)據(jù)交換。S7-300用于通訊連接的功能塊位于標(biāo)準(zhǔn)庫中,如下圖所示:
圖13.PUT GET指令位置
3.2調(diào)用PUT指令,本例中本地S7-300 CPU將DB10.DBB0開始的10個字節(jié)寫入通信伙伴CPU 的DB11.DBB0開始的10個字節(jié)中。
圖14.PUT指令
參數(shù)
|
說明
|
REQ
|
上升沿觸發(fā),一次上升沿發(fā)送一次數(shù)據(jù)
|
ID
|
連接ID(參看圖8)
|
ADDR_1
|
指向伙伴CPU接收地址區(qū)域
|
SD_1
|
指向本地CPU發(fā)送地址區(qū)域
|
DONE
|
發(fā)送完成(上升沿)
|
ERROR
|
有故障發(fā)生(上升沿)
|
STATUS
|
故障代碼
|
表 3 PUT管腳說明
3.3調(diào)用GET指令,本例中將通信伙伴CPU的DB20.DBB0開始的10個字節(jié)讀入到本地S7-300 CPU的DB21.DBB0開始的10個字節(jié)中。
圖15.GET指令
參數(shù)
|
說明
|
REQ
|
上升沿觸發(fā),一次上升沿讀取一次數(shù)據(jù)
|
ID
|
連接ID(參看圖8
|
ADDR_1
|
指向伙伴CPU發(fā)送地址區(qū)域
|
RD_1
|
指向本地CPU接收地址區(qū)域
|
DONE
|
接收完成(上升沿)
|
ERROR
|
有故障發(fā)生(上升沿)
|
STATUS
|
故障代碼
|
表 4 GET管腳說明
3.4 S7-300 CPU做S7通訊的客戶端時,伙伴CPU無需組態(tài)編程,準(zhǔn)備好相應(yīng)的數(shù)據(jù)區(qū)即可,如本例中的DB10和DB20。如果伙伴方是S7-1200(固件版本V4.0以上)或是S7-1500 CPU,需要在CPU屬性的連接機(jī)制中勾選"允許來自遠(yuǎn)程對象的PUT/GET通信訪問",如下圖所示:
圖16.連接機(jī)制
6FC5203-0AB00-0AA0 6FC5203-0AF20-0AA0 6FC5203-0AF11-2AA0
6FC5203-0AB10-0AA0 6FC5203-0AF20-0AA1 6FC5203-0AF12-0AA1
6FC5203-0AB10-0AA1 6FC5203-0AB00-0AA0 6FC5203-0AF20-0AA0
6FC5203-0AB11-0AA0 6FC5203-0AB10-0AA0 6FC5203-0AF20-0AA1
6FC5203-0AB11-0AA1 6FC5203-0AB10-0AA1 6FC5203-0AB00-0AA0
6FC5203-0AB11-0AA2 6FC5203-0AB11-0AA0 6FC5203-0AB10-0AA0
6FC5203-0AB12-0AA0 6FC5203-0AB11-0AA1 6FC5203-0AB10-0AA1
6FC5203-0AB12-0AA1 6FC5203-0AB11-0AA2 6FC5203-0AB11-0AA0
6FC5203-0AB13-0AA0 6FC5203-0AB12-0AA0 6FC5203-0AB11-0AA1
6FC5203-0AB13-0AA1 6FC5203-0AB12-0AA1 6FC5203-0AB11-0AA2
6FC5203-0AB13-0AA2 6FC5203-0AB13-0AA0 6FC5203-0AB12-0AA0
6FC5203-0AB20-0AA0 6FC5203-0AB13-0AA1 6FC5203-0AB12-0AA1
6FC5203-0AB20-0AA1 6FC5203-0AB13-0AA2 6FC5203-0AB13-0AA0
6FC5203-0AB20-1AA0 6FC5203-0AB20-0AA0 6FC5203-0AB13-0AA1
6FC5203-0AB21-0AA0 6FC5203-0AB20-0AA1 6FC5203-0AB13-0AA2
6FC5203-0AB50-0AA0 6FC5203-0AB20-1AA0 6FC5203-0AB20-0AA0
6FC5203-0AB50-0AA1 6FC5203-0AB21-0AA0 6FC5203-0AB20-0AA1
6FC5203-0AB50-0AA2 6FC5203-0AB50-0AA0 6FC5203-0AB20-1AA0
6FC5203-0AB51-0AA0 6FC5203-0AB50-0AA1 6FC5203-0AB21-0AA0
6FC5203-0AB51-1AA0 6FC5203-0AB50-0AA2 6FC5203-0AB50-0AA0
6FC5203-0AB51-2AA0 6FC5203-0AB51-0AA0 6FC5203-0AB50-0AA1
6FC5203-0AB51-3AA0 6FC5203-0AB51-1AA0 6FC5203-0AB50-0AA2
6FC5203-0AC00-0AA0 6FC5203-0AB51-2AA0 6FC5203-0AB51-0AA0
6FC5203-0AC00-0AA1 6FC5203-0AB51-3AA0 6FC5203-0AB51-1AA0
6FC5203-0AC00-0AA2 6FC5203-0AC00-0AA0 6FC5203-0AB51-2AA0
6FC5203-0AC00-1AA0 6FC5203-0AC00-0AA1 6FC5203-0AB51-3AA0
6FC5203-0AC00-1AA1 6FC5203-0AC00-0AA2 6FC5203-0AC00-0AA0
6FC5203-0AC01-0AA0 6FC5203-0AC00-1AA0 6FC5203-0AC00-0AA1
6FC5203-0AC01-1AA0 6FC5203-0AC00-1AA1 6FC5203-0AC00-0AA2
6FC5203-0AC01-2AA0 6FC5203-0AC01-0AA0 6FC5203-0AC00-1AA0
6FC5203-0AC01-3AA0 6FC5203-0AC01-1AA0 6FC5203-0AC00-1AA1
6FC5203-0AC02-0AA0 6FC5203-0AC01-2AA0 6FC5203-0AC01-0AA0
6FC5203-0AC10-1AA0 6FC5203-0AC01-3AA0 6FC5203-0AC01-1AA0
6FC5203-0AC51-0AA0 6FC5203-0AC02-0AA0 6FC5203-0AC01-2AA0
6FC5203-0AC55-0AA0 6FC5203-0AC10-1AA0 6FC5203-0AC01-3AA0
6FC5203-0AD10-0AA0 6FC5203-0AC51-0AA0 6FC5203-0AC02-0AA0
6FC5203-0AD10-1AA0 6FC5203-0AC55-0AA0 6FC5203-0AC10-1AA0
6FC5203-0AD11-0AA0 6FC5203-0AD10-0AA0 6FC5203-0AC51-0AA0
6FC5203-0AD12-0AA0 6FC5203-0AD10-1AA0 6FC5203-0AC55-0AA0
6FC5203-0AD21-0AA0 6FC5203-0AD11-0AA0 6FC5203-0AD10-0AA0
6FC5203-0AD21-0AA1 6FC5203-0AD12-0AA0 6FC5203-0AD10-1AA0
6FC5203-0AD21-1AA1 6FC5203-0AD21-0AA0 6FC5203-0AD11-0AA0
6FC5203-0AD21-2AA1 6FC5203-0AD21-0AA1 6FC5203-0AD12-0AA0
6FC5203-0AD21-3AA1 6FC5203-0AD21-1AA1 6FC5203-0AD21-0AA0
6FC5203-0AD21-4AA1 6FC5203-0AD21-2AA1 6FC5203-0AD21-0AA1
6FC5203-0AD22-0AA0 6FC5203-0AD21-3AA1 6FC5203-0AD21-1AA1
6FC5203-0AD22-0AA1 6FC5203-0AD21-4AA1 6FC5203-0AD21-2AA1
6FC5203-0AD22-1AA1 6FC5203-0AD22-0AA0 6FC5203-0AD21-3AA1
6FC5203-0AD22-2AA1 6FC5203-0AD22-0AA1 6FC5203-0AD21-4AA1
6FC5203-0AD23-0AA0 6FC5203-0AD22-1AA1 6FC5203-0AD22-0AA0
6FC5203-0AD23-0AA1 6FC5203-0AD22-2AA1 6FC5203-0AD22-0AA1
6FC5203-0AD24-0AA0 6FC5203-0AD23-0AA0 6FC5203-0AD22-1AA1
6FC5203-0AD25-0AA0 6FC5203-0AD23-0AA1 6FC5203-0AD22-2AA1
6FC5203-0AD25-1AA0 6FC5203-0AD24-0AA0 6FC5203-0AD23-0AA0
6FC5203-0AD26-0AA0 6FC5203-0AD25-0AA0 6FC5203-0AD23-0AA1
6FC5203-0AD27-0AA0 6FC5203-0AD25-1AA0 6FC5203-0AD24-0AA0
6FC5203-0AD27-1AA0 6FC5203-0AD26-0AA0 6FC5203-0AD25-0AA0
6FC5203-0AD28-0BF0 6FC5203-0AD27-0AA0 6FC5203-0AD25-1AA0
6FC5203-0AD28-0BG0 6FC5203-0AD27-1AA0 6FC5203-0AD26-0AA0
6FC5203-0AD28-0BH0 6FC5203-0AD28-0BF0 6FC5203-0AD27-0AA0
6FC5203-0AD28-0BJ0 6FC5203-0AD28-0BG0 6FC5203-0AD27-1AA0
6FC5203-0AD28-0BK0 6FC5203-0AD28-0BH0 6FC5203-0AD28-0BF0
6FC5203-0AD28-3CL0 6FC5203-0AD28-0BJ0 6FC5203-0AD28-0BG0
6FC5203-0AD28-4BA0 6FC5203-0AD28-0BK0 6FC5203-0AD28-0BH0
6FC5203-0AD28-4BB0 6FC5203-0AD28-3CL0 6FC5203-0AD28-0BJ0
6FC5203-0AD28-4BJ0 6FC5203-0AD28-4BA0 6FC5203-0AD28-0BK0
6FC5203-0AD28-4BK0 6FC5203-0AD28-4BB0 6FC5203-0AD28-3CL0
6FC5203-0AD28-4BL0 6FC5203-0AD28-4BJ0 6FC5203-0AD28-4BA0
6FC5203-0AD28-4BM0 6FC5203-0AD28-4BK0 6FC5203-0AD28-4BB0
6FC5203-0AD28-5AA0 6FC5203-0AD28-4BL0 6FC5203-0AD28-4BJ0
6FC5203-0AD28-5AB0 6FC5203-0AD28-4BM0 6FC5203-0AD28-4BK0
6FC5203-0AD28-5AC0 6FC5203-0AD28-5AA0 6FC5203-0AD28-4BL0
6FC5203-0AE00-0AA0 6FC5203-0AD28-5AB0 6FC5203-0AD28-4BM0
6FC5203-0AE00-1AA0 6FC5203-0AD28-5AC0 6FC5203-0AD28-5AA0
6FC5203-0AF00-0AA0 6FC5203-0AE00-0AA0 6FC5203-0AD28-5AB0
6FC5203-0AF00-0AA1 6FC5203-0AE00-1AA0 6FC5203-0AD28-5AC0
6FC5203-0AF01-0AA0 6FC5203-0AF00-0AA0 6FC5203-0AE00-0AA0
6FC5203-0AF02-0AA0 6FC5203-0AF00-0AA1 6FC5203-0AE00-1AA0
6FC5203-0AF02-0AA1 6FC5203-0AF01-0AA0 6FC5203-0AF00-0AA0
6FC5203-0AF03-0AA0 6FC5203-0AF02-0AA0 6FC5203-0AF00-0AA1
6FC5203-0AF04-0AA0 6FC5203-0AF02-0AA1 6FC5203-0AF01-0AA0
6FC5203-0AF04-1BA0 6FC5203-0AF03-0AA0 6FC5203-0AF02-0AA0
6FC5203-0AF05-0AA0 6FC5203-0AF04-0AA0 6FC5203-0AF02-0AA1
6FC5203-0AF05-0AB0 6FC5203-0AF04-1BA0 6FC5203-0AF03-0AA0
6FC5203-0AF05-1AB0 6FC5203-0AF05-0AA0 6FC5203-0AF04-0AA0
6FC5203-0AF05-1AB0 6FC5203-0AF05-0AB0 6FC5203-0AF04-1BA0
6FC5203-0AF07-0AA0 6FC5203-0AF05-1AB0 6FC5203-0AF05-0AA0
6FC5203-0AF08-0AA0 6FC5203-0AF05-1AB0 6FC5203-0AF05-0AB0
6FC5203-0AF08-0AB0 6FC5203-0AF07-0AA0 6FC5203-0AF05-1AB0
6FC5203-0AF08-0AB2 6FC5203-0AF08-0AA0 6FC5203-0AF05-1AB0
6FC5203-0AF08-1AB0 6FC5203-0AF08-0AB0 6FC5203-0AF07-0AA0
6FC5203-0AF08-1AB2 6FC5203-0AF08-0AB2 6FC5203-0AF08-0AA0
6FC5203-0AF10-1AA0 6FC5203-0AF08-1AB0 6FC5203-0AF08-0AB0
6FC5203-0AF10-2AA0 6FC5203-0AF08-1AB2 6FC5203-0AF08-0AB2
6FC5203-0AF10-2AA1 6FC5203-0AF10-1AA0 6FC5203-0AF08-1AB0
6FC5203-0AF11-1AA0 6FC5203-0AF10-2AA0 6FC5203-0AF08-1AB2
6FC5203-0AF11-2AA0 6FC5203-0AF10-2AA1 6FC5203-0AF10-1AA0
6FC5203-0AF12-0AA1 6FC5203-0AF11-1AA0 6FC5203-0AF10-2AA0
銷售精制面板6AV6648-0BE11-3AX0