12
Technical Document Revision 1.0 October, 2008 www.cermate.com PLC Connection Guide TN504D Saia PCD3.M5540 PCD3.M3120 驅動程式設定說明 Driver Name: C31003 Revision Record Revision Date Content Owner

PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

Technical Document

Revision 1.0

October, 2008

www.cermate.com

PLC Connection Guide

TN504D

Saia PCD3.M5540及 PCD3.M3120驅動程式設定說明

Driver Name: C31003

◎Revision Record

Revision Date Content Owner

Page 2: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 2 of 12 www.cermate.com

前言

此技術文件用於說明當使用 PanelMaster 觸控屏時,如何與控制器正確進行連線以及相關

設置需要注意的事項。

適用於 Saia PCD 系列,本文件以 Saia PCD3.M5540及 PCD3.M3120實測。

適用於 PM 1.1.53 版本或更新版本。

說明:

1. 觸控屏軟體設置要點:

1.1 連線設定:

Page 3: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 3 of 12 www.cermate.com

1.2 通訊參數設定: (相關參數設置需要與控制器一致)

Page 4: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 4 of 12 www.cermate.com

1.3 下表顯示人機介面能夠使用的字元件/位置:

說明

1:

因 Saia的浮點數與標準浮點數不同,所以若要使用浮點數,請選用

RFn及 DBFm.n。

說 明 2:

RTIME為唯讀,其格式為 BCD正整數,各位置分別定義如下: 位置 定義 數值 RTIME0 秒 0 - 59 RTIME1 分 0 - 59 RTIME2 時 0 - 23 RTIME3 日 1 - 31,視月份而定 RTIME4 月 1 - 12 RTIME5 年 年份 RTIME6 星期幾 0為星期日

1 - 6分別為星期一到星期六 RTIME7 每年的第幾週 1 - 52

Page 5: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 5 of 12 www.cermate.com

1.4 下表顯示人機介面能夠使用的位元件/位置:

1.5 時鐘設定:

如欲設定時鐘,請在專案管理員中,雙擊時鐘,即可顯示屬性,設定可參考下圖。

Page 6: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 6 of 12 www.cermate.com

2. 在控制器需要設置要點:

2.1 在 Saia的控制程式中

雙擊 Hardware如上,即可出現設定畫面如下:

Page 7: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 7 of 12 www.cermate.com

設定前一定要先按“Upload”鍵(如上所示),先上載 PLC目前設定資料。

2.2 設定 S-Bus:

2.2.1 勾選 S-Bus Support,否則將無法使用 S-Bus。

2.2.2 在 S-Bus Station Number中輸入欲設定的站號,預設是 0。

2.2.3 如要控制多台 PLC,請分別設定各 PLC的站號,連線範例如下圖所示。

Page 8: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 8 of 12 www.cermate.com

2.3 設定 Serial:

2.3.1勾選 Serial S-Bus Port,否則將無法使用 Serial S-Bus Port。

2.3.2在 Serial Port : 中輸入要和觸控屏連線的 Port號碼,

0=COM/PGU(這個 port 在 PCD3.M3120沒有提供) ,

1= F121 module, 2=RS485 D; /D。

2.3.3設定 Baud Rate及 S-Bus Mode: Data。

2.3.4設定完成後要按“Download”鍵,將設定輸入 PLC中。即完成 PLC設置。

Page 9: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 9 of 12 www.cermate.com

2.4 設定 Gateway: 如果觸控屏需要透過一台主 PLC接多台副佔 PLC,就需要設置

Gateway(如下圖所示)。

2.4.1若要使用,則勾選 Serial S-Bus Master Gateway。

2.4.2在 Serial Port中輸入要用來做 Gateway的 Port,並設定 Baud Rate及 S-Bus Mode:

Data。

2.4.3 設定完成後要按“Download”鍵,將設定輸入 PLC中。

Page 10: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 10 of 12 www.cermate.com

接線圖 (HMI與 Saia PCD3接線圖)

3.1 F121 RS232 Module

PV COM 2 9-PIN D-Sub Female Saia F121 RS232 Module

2 RS232 RXD ------------- 1 Tx

3 RS232 TXD ------------- 2 Rx

5 GND ------------- 0 PGND

7 RS232 RTS ------------- 4 CTS ─┐

8 RS232 CTS ------------- 3 RTS │

7 DSR ─┘

PV COM 1 9-PIN D-Sub Male Saia F121 RS232 Module

2 RS232 RXD ------------- 1 Tx

3 RS232 TXD ------------- 2 Rx

5 GND ------------- 0 PGND

7 RS232 RTS ------------- 4 CTS ─┐

8 RS232 CTS ------------- 3 RTS │

7 DSR ─┘

Page 11: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 11 of 12 www.cermate.com

3.2 RS 485

PV COM2 5-PIN Male Saia RS 485-terminator switch

1 (TXD+) ------------------------------- /D (RS 485 RxD/TxD-P)

4 (TXD-) ------------------------------- D (RS 485 RxD/TxD-N)

5 SG

3.3 COM/PGU Port0

PV COM 2 9-PIN D-Sub Female Saia COM/PGU Port0

2 RS232 RXD ------------- 3 TXD

3 RS232 TXD ------------- 2 RXD

5 GND ------------- 5 GND

7 RS232 RTS ------------- 8 CTS ─┐

8 RS232 CTS ------------- 7 RTS │

6 DSR ─┘

~Thank You~

Page 12: PLC Connection Guide - Cermate · 2.3.1勾選Serial S-Bus Port,否則將無法使用Serial S-Bus Port。 2.3.2在Serial Port : 中輸入要和觸控屏連線的Port號碼, 0=COM/PGU(這個port

TN504D-C0

Page 12 of 12 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]