以滿足客戶的需求為宗旨 , 以誠為本 , 精益求精,歡迎來電質詢高品質西門子產品!
上海非俗工控自動化設備有限公司(西門子代理商)
聯系人 :瞿章明(銷售工程師)
手機 :132 1743 0013 (24小時銷售技術服務)
商務QQ :275 0130 146
聯系電話 :132 1743 0013
傳真(FAX) :021-67895837
微信 :132 1743 0013
先將模式開關設置為RUN,然后撥動連接在輸入點I0.0上開關,即可看到輸出點點亮了。至此,表明我們的程序和PLC運行一切正常。
如果想在編程軟件上監控輸入點和輸出點的狀態,可以點擊狀態表
打開狀態表后,在地址欄中輸入需要監控的地址,如下所示:
之后點擊監控即可:
正常監控后就可以在當前值中看到相應的數值:
開關未按下時的狀態
開關按下后的狀態
從以上的筆錄,我們可以看出S7-200PLC是一款簡單易學的控制設備。當然,PLC還有通訊、PID控制、運動控制等等很多功能,我們可以在本網站中的相關介紹中一步一步的對其進行學習和了解。相信不需要很長時間,您也可以成為S7-200PLC的使用高手!
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">在實際應用中,經常需要通過DP總線獲取6SE70變頻器和6RA70直流調速器的內部數據,如:輸出的電壓、電流、電機實際轉速等。由于6RA70直流調速器與6SE70變頻器使用相同的DP通訊板卡—CBP2板,因而它們在PLC側的組態和編程方法基本一致(具體實現方法請參考下載中心文檔A0049,《驅動通訊基礎》),在實際應用中僅發送的控制字稍有不同。為了獲取6SE70變頻器和6RA70直流調速器的內部數據,可以使用過程數據PZD。
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">
1使用PZD傳送裝置內部數據
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">1.1 6SE70中的實現方法與常用連接器
根據《6SE70使用大全V3.4使用大全》功能圖125,參數P734.01~P734.16為變頻器發送給DP主站的16個PZD字的參數化接口。P734.01默認值為K0032,代表通過第一個PZD將狀態字1發送的DP主站。同理若要求用第3個PZD將變頻器輸出電流值傳給DP主站,則 P734.03 = K0022(Output Amps);這樣在DP主站側所接收的第3個PZD的數值就是變頻器輸出電流。如圖1.1所示,可以通過參數r735.01到.16來從變頻器側讀數所發送的數值。
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">
圖1.1 6SE70過程數據PZD參數化接口
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">常用連接器號:
KK0020 實際速度
K0023 輸出電壓
K0025 直流母線電壓
K0030 控制字1
K0031 控制字2
K0032 狀態字1
K0033 狀態字2
(更多內容請參考《6SE70使用大全V3.4使用大全》連接器表)
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">1.2 6RA70中的實現方法與常用連接器
根據《 6RA70 系列V3.1全數字直流調速裝置中文說明書》功能圖Z110,參數U734.01~U734.16為調速器發送給DP主站的16個PZD字的參數化接口。如圖1.2:默認的U734.01=K0032(狀態字1),U734.02=K0167(實際轉速),U734.04=K0033(狀態字2),若想要用第5個PZD將調速器器輸出實際電樞電壓絕對值傳給DP主站,則 U734.05 = K0291;這樣在DP主站側所接收的第5個PZD的值就是實際電樞電壓絕對值。
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">
圖1.2 6RA70 過程數據PZD參數化接口
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">常用連接器號:
K0107 6 個電流波頭的平均值
K0118 電樞電流給定絕對值
K0265 勵磁電流調節器輸入的實際值
K0030 控制字1
K0031 控制字2
K0032 狀態字1
K0033 狀態字2
(更多內容請參考《 6RA70 系列V3.1全數字直流調速裝置中文說明書》連接器表)
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">
2注意事項:
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">2.1雙字的傳送
傳送雙字時,需要注意必須連續將兩個PZD都設置為同樣的KK連接器才能完整傳送32位的雙字。如6SE70變頻器從第5個PZD開始傳送實際頻率KK0148到DP主站,則需設置P734.05 = KK0148, P734.06 = KK0148;否則僅能將雙字KK0148的高16位傳送過去。
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">2.2使用16個PZD
5種PPO類型中,PPO5可以支持最多的10個PZD, CBP2板通訊支持最多16個PZD。若想組態做多于10個PZD的通訊可以選擇DP從站時使用”MASTERDRIVES MASTER CBP2 DPV1”,這樣就可以繼續選擇PPO類型,最高支持16個PZD。此種方法最多可以組態40個字節的輸入和40個字節的輸出,總數不能超過80個字節。
seline;color:#333333;"="" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; line-height: 30px; font-size: 13px; color: rgb(64, 64, 64); font-family: Arial, Helvetica, sans-serif; text-indent: 0px; white-space: normal; background-color: rgb(255, 255, 255);">
圖2.1 16個PZD的組態畫面
電源模塊
6ES7 407-0DA02-0AA0 電源模塊(4A)
6ES7 407-0KA02-0AA0 電源模塊(10A)
6ES7 407-0KR02-0AA0 電源模塊(10A)冗余
6ES7 407-0RA02-0AA0 電源模塊(20A)
6ES7 405-0DA02-0AA0 電源模塊(4A)
6ES7 405-0KA02-0AA0 電源模塊(10A)
6ES7 405-0RA01-0AA0 電源模塊(20A)
6ES7 971-0BA00 備用電池