Simotion web server
simotion項目設計和調試過程中,web server功能越來越常用。例如Project generator生成的FBAxis, winder, print等項目都使用web server做為調試面板。web server替代了傳統HMI的一部分功能。
軟件:
- Step7 V5.6 HF1
- Scout 5.1,包含Simosim5.1
- Simotion project generator V1.4
參考資料:
-
Simotion project generator: ID: 51339107
https://support.industry.siemens.com/cs/document/51339107 -
Simotion IT application frame
https://support.industry.siemens.com/cs/document/109748953
例如 Print standard 的web server界面

下面以生成FBaxis功能為例,介紹如何激活web server。
FBaxis是用於軸控制的一個接口程序
Part1:使用Project generator生成項目
1)生成新的Pgen(project generator)項目,選擇控制器

2)選擇FBaxis功能

3)創建軸

4)生成項目

Part2 : 使用Simosim運行生成的項目
1)使用Scout打開項目,電機Simosim圖標

2)Simosim只能使用SimotionD 的x127接口,該接口的默認地址是169.254.11.22

3)模擬器只能使用Device方式訪問

4)設置PG/PC接口,模擬器網卡選擇 simosim tcp/ip-1

5)Device方式訪問的地址設置為169.254.11.22

6)運行模擬器,Ping網卡和模擬器的地址
網卡 169.254.11.10
模擬器 169.254.11.22
7)增加中斷響應空程序,在線,下載,運行

Part3 配置web server
1)路徑 \card\USER\SIMOTION\HMI\FILES
2)從鏈接2中下載application frame,解壓后,拷貝到FILES文件夾
https://support.industry.siemens.com/cs/document/109748953
3)從project generator生成的項目中,拷貝application到CF卡的FILES文件夾

4)通過瀏覽器訪問web-server, 進入user area - user - interbranch - AxisFB
同時可以使用Trace功能監控軸的運動

