plc connection guide - cermate

20
Technical Document Version 2.0 July, 2014 www.cermate.com PLC Connection Guide TN532D Siemens S7-1200 通訊連線設定說明 Revision Record Revision Date Content Owner V2 2014/07/30 新增西門子軟件 V13 版設定說明。 Irivine V3 2014/12/23 新增固件 4.0 版的設定說明。 Irivine

Upload: others

Post on 04-Oct-2021

26 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PLC Connection Guide - Cermate

Technical Document

Version 2.0

July, 2014

www.cermate.com

PLC Connection Guide

TN532D

Siemens S7-1200 通訊連線設定說明

◎Revision Record

Revision Date Content Owner

V2 2014/07/30 新增西門子軟件 V13 版設定說明。 Irivine

V3 2014/12/23 新增固件 4.0 版的設定說明。 Irivine

Page 2: PLC Connection Guide - Cermate

TND532-C0

Page 2 of 20 www.cermate.com

前言

此技術文件是介紹 PanelMaster 人機介面與 Siemens S7-1200連線之設定,S7-1200為

TCP/IP下載設定,可透過 Hub連接 PC與 PanelMaster 人機介面及 Siemens S7-1200。

Page 3: PLC Connection Guide - Cermate

TND532-C0

Page 3 of 20 www.cermate.com

(1) Seimens S7-1200 參數設定:

(A )S7-1200第一次連線(PLC為新機無 IP時)

Step1 確認電腦的 TCP/IP 為自動獲得 IP。

Step2 選擇 Accessible devices,尋找 MAC address。

找到 MAC address,新機第一次連線時,載入 project tree。

Page 4: PLC Connection Guide - Cermate

TND532-C0

Page 4 of 20 www.cermate.com

Step3 選擇 Online & diagnostics,利用 MAC address 連上 PLC。

Step4 利用 MAC address 連上 PLC,分配 IP位址為 192.168.1.100,子網路遮罩為

255.255.255.0。

Step5 確認 IP已經定義成功。

Page 5: PLC Connection Guide - Cermate

TND532-C0

Page 5 of 20 www.cermate.com

Step6 開啟新的專案。

Step7 選擇正確的型號。

Page 6: PLC Connection Guide - Cermate

TND532-C0

Page 6 of 20 www.cermate.com

Step8 輸入之前的 IP位址為 192.168.1.100,子網路遮罩為 255.255.255.0。

Step9 下載設定資料到 PLC。

Page 7: PLC Connection Guide - Cermate

TND532-C0

Page 7 of 20 www.cermate.com

Step10 選擇正確的 IP,下載。

Page 8: PLC Connection Guide - Cermate

TND532-C0

Page 8 of 20 www.cermate.com

Step11 Go Online。

Step12 查看連線狀況是否正常。

表示連線正確。

Page 9: PLC Connection Guide - Cermate

TND532-C0

Page 9 of 20 www.cermate.com

(B) S7-1200,PLC 已經有 IP 時

Step1 選擇 Accessible devices,先查看 PLC IP 位址。

Page 10: PLC Connection Guide - Cermate

TND532-C0

Page 10 of 20 www.cermate.com

Step2 開啟新的專案。

Step3 選擇正確的型號。

Page 11: PLC Connection Guide - Cermate

TND532-C0

Page 11 of 20 www.cermate.com

Step4 下載設定資料到 PLC。

Page 12: PLC Connection Guide - Cermate

TND532-C0

Page 12 of 20 www.cermate.com

Step5 Go Online。

Step6 查看連線狀況是否正常。

表示連線正確。

Page 13: PLC Connection Guide - Cermate

TND532-C0

Page 13 of 20 www.cermate.com

(C) 如果 PLC軟體是” TIA Portal v13”或更高版本,請依照下述方式設定與 PLC通訊:

1. 在"Data block"上點擊滑鼠右鍵,並選擇 "Properties"(屬性):

Page 14: PLC Connection Guide - Cermate

TND532-C0

Page 14 of 20 www.cermate.com

2. 取消"Optimized block access"核選方塊。

3. 軟體會跳出詢問視窗,請點擊“OK“

Page 15: PLC Connection Guide - Cermate

TND532-C0

Page 15 of 20 www.cermate.com

4. 下載設定到 PLC.

(D) 如果 PLC的固件是 4.0版本,請核選『確認方塊』在『通信機制』,如下圖,然後

再次下載設定到 PLC。

“其他詳細請參閱”SIMATIC STEP 7 使用手冊”

Page 16: PLC Connection Guide - Cermate

TND532-C0

Page 16 of 20 www.cermate.com

(2)HMI 參數設定:

連線連線 1連線屬性

選擇 【連線種類】:直接連線(乙太網路)

選擇 【裝置/伺服器】:

【Siemens AG→ SIMATIC S7(Enternet)】

設定 HMI 的 IP位址為 192.168.1.100,與 S7-1200 的 IP相同。

Page 17: PLC Connection Guide - Cermate

TND532-C0

Page 17 of 20 www.cermate.com

(3)Siemens S7-1200記憶體位址

Bit Devices:

Page 18: PLC Connection Guide - Cermate

TND532-C0

Page 18 of 20 www.cermate.com

Word Devices:

Page 19: PLC Connection Guide - Cermate

TND532-C0

Page 19 of 20 www.cermate.com

接線圖

一般網路線(非跳線)連接即可,建議使用 Hub於系統的連接上。

HMI 端 S7-1200端

EnterNet connect EnterNet connect

TX(+) 1 1 RX(+)

TX(-) 2 2 RX(-)

RX(+) 3 3 TX(+)

4 4

5 5

TX(-) RX(-) 6 6

7 7

8 8

~Thank You~

Page 20: PLC Connection Guide - Cermate

TND532-C0

Page 20 of 20 www.cermate.com

Technical Support Information

中國大陸 QQ專線 : 800014850 www.panelmaster.com.cn / www.cermate.com

資料下載專區 ftp:://mail.cermate.com + User name + Password (欲加入會員需要申請)

合作貼牌聯絡專線: China: 0910011916 / 86-13823788405 [email protected] Taiwan: 886-910011915 [email protected]

Worldwide: 886-910011914 [email protected]

Cermate Technologies (Shanghai) Inc. 屏通科技(上海)有限公司

Phone: +86-21-51758590~2 FAX : +86-21-51758589

E-mail: [email protected]

Shenzhen Cermate Technologies Inc. 屏通科技(深圳)有限公司

Phone: +86-755-83562179, FAX : +86-755-83562294

E-mail: [email protected]

Cermate Technologies Inc. (台湾) 屏通科技股份有限公司 7F-1, No. 168, Lien-Cheng Road, Chung-Ho City, Taipei, Taiwan 235 R.O.C.

Phone: 886-2-22437000 FAX : 886-2-22499933

E-mail: [email protected]