最近有幾隻擴充功能被chrome鎖起來了,記錄一下如何處理!
2016年2月19日 星期五
S7-300透過MPI連結S7-200
剛好有案子需要使用S7-300向S7-200捉取資料
透濄MPI的通訊埠,S7-300可以直接向S7-200捉取資料,不需要再S7-200上另外編寫程式,程式直接寫在S7-300上即可,透過SFC67(X_GET)與SFC68(X_PUT)即可完成資料的傳送。
官方也列出了每種型號支援的連線數
S7-300的部份
The table below gives you information about the maximum number of connections available for S7 basic communication in the S7-300 CPUs.CPU |
Max. number of connections for
S7 basic communication |
CPU 312, CPU 312C | 2 |
CPU 313 | 4 |
CPU 313C, CPU 313C-2DP, CPU 313C-2PtP | 4 |
CPU 314 | 8 |
CPU 314C-2DP, CPU 314C-2PtP | 8 |
CPU 315 | 8 |
CPU 315-2DP, CPU 315F-2DP | 12 |
CPU 315-2PN/DP, CPU 315F-2PN/DP | 14 |
CPU 316 | 8 |
CPU 316-2DP | 8 |
CPU 317-2DP, CPU 317F-2DP | 30 |
CPU 317-2PN/DP, CPU 317F-2PN/DP | 30 |
CPU 318-2DP | 30 |
CPU 319-3PN/DP, CPU 319F-3PN/DP | 30 |
CPU 614 | 8 |
S7-400的部份
The table below gives you information about the maximum number of connections available for S7 basic communication in the S7-400 CPUs.
CPU
|
Max. number of connections for
S7 basic communication |
CPU 412-1 < FW V5.0
| 14 |
CPU 412-1 from FW V5.0
| 30 |
CPU 412-2DP < FW V5.0
| 14 |
CPU 412-2DP from FW V5.0
| 30 |
CPU 413-1
| 14 |
CPU 413-2DP
| 14 |
CPU 414-1
| 30 |
CPU 414-2DP
| 30 |
CPU 414-3DP
| 30 |
CPU 414-3PN/DP
| 30 |
CPU 416-1
| 42 |
CPU 416-2DP, CPU 416F-2DP
| 42 |
CPU 416-3DP
| 42 |
CPU 416-3PN/DP, CPU 416F-3PN/DP
| 42 |
CPU 417-4
| 42 |
詳情可參考西門子官方說明
How does data communication work between S7-300/S7- 400 and S7-200 via MPI using S7 basic communication?
這裡可以下載範例程式
System Software for S7-300/400 System and Standard Functions ID:1214574
或可以升級成Profibus通訊 (來源:bob的網站)
如果使用者想要有更快的通訊速度,可將S7-300升級到PROFIBUS DP,S7-200外掛EM277。關於S7-200 EM277的用法,請連結到 ID: 1109582
---
參考資料 鮑伯的PLC事件
2015年8月17日 星期一
2015年8月7日 星期五
2015年7月9日 星期四
從電腦移除wajam廣告
https://support.norton.com/sp/zh/tw/home/current/solutions/v104105967_EndUserProfile_zh_tw
2015年7月5日 星期日
2015年4月7日 星期二
Windows 7 當 NTP Server 時間伺服器
1. 在"服務" 的視窗 (管理工具) 將 “Windows Time" 此服務停止
2. 點擊"開始">>"執行" 輸入 “regedit" 開啟登入編輯程式,因為要修改下列兩項機碼值
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Config -> AnnounceFlags = 5 (修改為5)(預設為a)a=電腦時間;5=CMOS時間
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpServer -> Enabled = 1. (修改為1)(預設為0)
3. 重新啟動 “Windows Time" 的服務
這樣就可以把此Windows 7 的機器當做時間伺服器了
P.S 如果不成功可以檢查一下防火牆的設定
訂閱:
文章 (Atom)