Professional Documents
Culture Documents
GP-Pro Ex-Advance Training
GP-Pro Ex-Advance Training
GP-Pro Ex-Advance Training
V4.x
Advance Training
Training center
HMI Register
Pro-face South-East Asia Pacific Co., Ltd. Copyright©2012 Pro-face. All rights reserved. Training center
2
REGISTER
X3
(PLC Address)
D1000
(PLC Address)
HMI Address
– USR Area : User can access a whole USR area freely, both bit
and word type.
GP Internal devices
• LS area
• USR area
• It’s the only one area that PLC and HMI can share information to
each other. For example, PLC can change HMI screen or turn off
HMI screen.
Function HMI PLC
Current Screen LS0 D0
Error Status LS1 D1
Clock Data(Current) LS2-LS5 D2-D5
Status LS6 D6
Reserved LS7 D7
Change-to-screen LS8 D8
Display ON/OFF LS9 D9
Clock Data(Set) LS10-13 D10-13
Control LS14 D14
Reserved LS15 D15
Window Control LS16 D16
Window Screen LS17 D17
Window position LS18-LS19 D18-D19
Type
1. Secure by Base screen
2. Secure by Part
B1000
B1010
B1012
B1011
1 Set password
การตังค่ าเพือใช้ งาน Security function
2 Security management switch
การสร้ างปุ่ มเพือจัดการ security (Login-Logout)
3 Security for base screen
• Menu bar
คลิกเพือเพิมรายการ
ID, Password และ Level
Security จะแบ่งตามระดับความ
ปลอดภัย 15 ระดับ โดยระดับที 15
เป็ นระดับความปลอดภัยสู งสุ ด
1 Set password
การตังค่ าเพือใช้ งาน Security function
2 Security management switch
การสร้ างปุ่ มเพือจัดการ security (Login-Logout)
3 Security for base screen
3
Ex 1.1
2
1
1 Set password
การตังค่ าเพือใช้ งาน Security function
2 Security management switch
การสร้ างปุ่ มเพือจัดการ security (Login-Logout)
3 Security for base screen
ระบุระดับความ
ปลอดภัยทีต้องการ
เลือกหมายเลข base screen ทีต้องการ (Security level) ตังแต่
ตังค่า Security 1 ถึง 15
ตังค่าระดับความปลอดภัย
สําหรับ B1011
ให้มีค่าเท่ากับ 3
2
1
สร้างปุ่ มเปลียน
หน้าจอไปยัง B1011 Copyright©2012 Pro-face. All rights reserved. 24
Security
1 Set password
การตังค่ าเพือใช้ งาน Security function
2 Security management switch
การสร้ างปุ่ มเพือจัดการ security (Login-Logout)
3 Security for base screen
ระบุระดับความ
Bit switch
ปลอดภัยทีต้องการ
Command word register
Word
Switch
Data
Entry
ระบุระดับความ
ปลอดภัยทีต้องการ
Copyright©2012 Pro-face. All rights reserved. 27
Security
1 Set password
การตังค่ าเพือใช้ งาน Security function
2 Security management switch
การสร้ างปุ่ มเพือจัดการ security (Login-Logout)
3 Security for base screen
• Work space
(Properties / Animation)
ระบุระดับความ
ปลอดภัยทีต้องการ
Copyright©2012 Pro-face. All rights reserved. 30
Security
1 Set password
การตังค่ าเพือใช้ งาน Security function
2 Security management switch
การสร้ างปุ่ มเพือจัดการ security (Login-Logout)
3 Security for base screen
Online Edit
Online Edit
ระบุระดับความปลอดภัยที
ต้องการ (Security level)
ตังแต่ 1 ถึง 15
ระบุ IP Address
เลือกชนิดของ Alarm
History or log or active
เลือกหมายเลข Block
• Trigger Condition
• Script Expression
1.Trigger Condition
เป็ นตัวกําหนดเงือนไขของแต่ ละ Script ว่ าแต่ ละ Script จะทํางาน
เมือใดหมายความว่าหากเงือนไขของ Script ใดเป็ นจริ ง ตามคําสั งต่ างๆใน
Script นันก็จะทํางาน
2. Script Expression
เป็ นพืนทีสําหรับชุดคําสั งต่ างๆ ในแต่ ละ Script ซึงจะมีรูปแบบ
คล้ายคลึงกับการเขียนโปรแกรมคอมพิวเตอร์ เพือกําหนดคําสั งต่ างๆ และจะ
เขียนเรียงกันไปแยกเป็ นบรรทัดตามลําดับ
Copyright©2012 Pro-face. All rights reserved. 45
D-Script
• Global D-Script
• Project Window
• Menu bar
• D-Script
• Tool bar
Message area
ตรวจสอบความถูกต้องของ
D-Script ในแต่ละบรรทัด
Tool box 4
โดยอัตโนมัติ
Copyright©2012 Pro-face. All rights reserved. 48
D-Script: Trigger Condition
ID no : 00000, Comment : xxxxxxx
Trigger condition
Trigger
1 Input Address
Script Area
2
3
4
Line number
3 5
เขียนชุดคําสังทีต้องการ
3
2
Function name
4
1
B1 B102
เงือนไข
1. ทีหน้า 1 ให้สร้างปุ่ มเปลียนหน้าไปทีหน้า 102
2. ทีหน้า 102 ให้ทาํ การนับเวลาจาก 1-10 วินาที
3. เมือครบ 10 วินาทีให้เปลียนไปหน้าที 1 อัตโนมัติ
// USR1 = USR1 + 1
[w:[#INTERNAL]USR00001] = [w:[#INTERNAL]USR00001] + 1
xxx A B
Text +1 C D
xxx, 8 character
Bit +2 E F
xxx
+3 G H
Word 16 bit
xxx Float 32 bit
xxx
1
2
2
ในกรณี เลือก Sequential ให้
3 ระบุแอดเดรสเริ มต้น (3)
4 และ จํานวนแอดเดรสที
1
5 ต้องการ (5)
3
ในกรณี เลือก Constant Cycle ให้
ระบุ Sampling frequency เพือ
กําหนดความถีในการเก็บข้อมูล
4
ระบุจาํ นวนข้อมูลทีต้องการเก็บ
ตังค่าเพือ Search/Sort
ตังค่ารู ปแบบการแสดงผลของข้อมูลโดยเลือก
ที Column ทีต้องการแล้วเลือก Column Details
โดยสามารถตังค่าได้กบั ทุก Column
18
การตังค่าการคํานวณและรู ปแบบ
การแสดงผลของข้อมูล
(ผลรวม, ค่าเฉลีย, ค่าสู งสุด, ค่าตําสุ ด)
Copyright©2012 Pro-face. All rights reserved. 78
Sampling
ระบุหมายเลข Group
สร้างสวิทช์
จาก Special
Switch
การตังค่า Channel
ระบุหมายเลข Group
2.1
1
2
3 2.2
4 เลือก Channel ทีต้องการ
การตัง
ค่าการ
แสดงผ
ล
1
0-65535
Show CSV
1
For Windows 7:
C:\ProgramData\Pro-face\GP-Pro EX 4.0\Simulator
Transfer Transfer
Internal Memory
Cylinder ON OFF ON
Set Temp. 10 50 90
1
2
2
3
ตัง Recipe ID, Label
และ Security Level
สําหรับสู ตรนันๆ
ชือ Label ของแต่ Data Type Address ปริ มาณข้อมูลที ค่าสู ตรสําหรับ
ละ parameter ของข้อมูล ทีใช้ ต้องการ แต่ละ parameter
Recipe 3
เราสามารถปรับขนาด
ของตารางได้โดยการลาก
ปรับขนาดได้ทนั ที
Copyright©2012 Pro-face. All rights reserved. 106
Enhanced Recipe: Enhanced Recipe List
Transfer
3
1
4
เลือกสูตร
ผลลัพธ์
2
ตรวจสอบ หากต้องการ
แก้ไขค่าให้กดทีค่านันๆ
ได้เลย แล้วกด SAVE
• Restriction
Note: ยังไม่มีฟังก์ชนที
ั ใช้ตรวจสอบความจุของ
Enhanced Recipe หากอยากทราบต้องคํานวณเอง
เท่านัน อย่างไรก็ตามหากมีการใช้งานเกิน ตัว error
check จะฟ้องอยูด่ ี
Zoom in-out
Minimize
close
เลือกเพือใช้งาน
Device Monitor
Minimize view
Copyright©2012 Pro-face. All rights reserved. 124
Part 6
Pro-face South-East Asia Pacific Co., Ltd. Copyright©2012 Pro-face. All rights reserved. Training center
125
Multiple Language
ระบุหมายเลขตาราง ทีจะให้
แสดงผลตอนเริ มต้น
ระบุภาษาทีจะใช้
สําหรับแต่ละ ตาราง
ตังค่าตารางทีจะให้แสดงขณะพัฒนาโปรแกรม
เลือกตารางทีต้องการให้แสดง
จํานวนตัวอักษรจะปรับอัตโนมัติตามจริ งทีพิมพ์
โดยค่าเริ มต้นจะเท่ากับ 10 ตัวอักษร
Copyright©2012 Pro-face. All rights reserved. 130
Multiple Language
พิมพ์ขอ้ ความสําหรับแต่ละตาราง
ด้วยภาษาทีตังไว้
ปุ่ มเปลียนภาษา
USR00030 = 1 USR00030 = 2
6.3 Pass-Through
• Installation
• Supported driver
• Configuration
• Connection of Ladder Logic Program
Pro-face South-East Asia Pacific Co., Ltd. Copyright©2012 Pro-face. All rights reserved. Training center
136
Pass-through
3 Configuration Tool
การใช้ งาน Configuration Tool
กด “Pass Through”
กําหนดตําแหน่งทีจะติดตังโปรแกรม
5
4
กด “Next”
6
กด “Next”
9
กด “OK”
กด “Continue Anyway”
10
11
กด “Next” 12 กด “Next”
2
เปิ ด Option Setting
3
เลือก Use Only USB
กด OK
โปรแกรมตรวจพบการเชือมต่อผ่าน USB
เป็ น Driver รุ่ น QUTE Series CPU Direct
กด OK 5
Icon ของโปรแกรม
Pass Through ขณะใช้งาน
2
เปิ ด Option Setting
กด OK
โปรแกรมตรวจพบการเชือมต่อผ่าน
สายLAN IP: 010.186.132.030
เป็ น Driver รุ่ น QUTE Series CPU Direct
กด OK 5
Copyright©2012 Pro-face. All rights reserved. 148
Pass-through: Configuration Tool
ปิ ด Configuration Tool
เลือก Driver 7
เมือต้องการออกจากโปรแกรม
Icon ของโปรแกรม ให้คลิกขวาที Icon แล้วเลือก
Pass Through ขณะใช้งาน Disconnect all Setting and Exit
8 9
Pro-face South-East Asia Pacific Co., Ltd. Copyright©2012 Pro-face. All rights reserved. Training center
151
Ladder Logic Settings
2
1
เลือกเพือเปิ ดใช้งาน Logic
(Default = Enable)
2
ตังค่า Scan Time
3
ใช้ตรวจสอบ Logic
Capacity ได้
จะขึนเตือนว่า Screen
Area จะหายไป 1MB
INT เป็ น logic ทีทํางานเพียงครังเดียวตอนเปิ ดเครื องหรื อตอนที Logic เปลียนจาก Stop เป็ น Run
เท่านัน โดยเมือ INT logic ทํางานจบแล้วจะไม่มีการทํางานอีก โดยจะไปทํางาน MAIN logic แทน
MAIN เป็ น logic ทีทํางานหลังจากที INIT ทํางานเสร็ จแล้ว และจะทํางานต่อไปเรื อยๆ จนกว่าจะปิ ด
เครื องหรื อ logic เปลียนเป็ น Stop
2
เลือก Subroutines
Double Click
บนเส้น Click
2
เลือกคําสังที
ต้องการ
1
3
Drop down
1 เลือกตัวแปร
2
ทีต้องการ
การสร้างตัวแปรพิมพ์ชือตัวแปรใหม่เข้าไปเลย
พิมพ์ชือตัวแปรใหม่ไป
เลย
1
Pro-face South-East Asia Pacific Co., Ltd. Copyright©2012 Pro-face. All rights reserved. 170
Project Converter
ใช้ในการแปลงโปรเจคไฟล์จากโปรแกรม GP-ProPB
(.prw ซึ งใช้กบั อุปกรณ์รุ่นเก่า) มาเป็ นโปรเจคไฟล์
สําหรับโปรแกรม GP-ProEX (.prx ซึ งใช้กบั อุปกรณ์
รุ่ นปั จจุบนั )
ในกรณีทไม่
ี มโี ปรเจคไฟล์ สํารอง (.prw)
ให้ ทาํ การ upload โปรเจคไฟล์ จากทัชสกรีนก่อน
Copyright©2012 Pro-face. All rights reserved. 171
Project Converter: Installation
1. สังเกตข้อมูลแสดงผลการแปลงไฟล์วา่ มี error
เกิดขึนหรื อไม่
2. เปิ ดโปรเจคไฟล์ทีทําการแปลงแล้ว (.prx) ด้วย
GP-ProEX
3. ตรวจสอบ error โดย error check
4. ทดสอบหน้าจอแสดงผลโดย Simulator เพือดู
ความสมบูรณ์ของโปรแกรม
Pro-face South-East Asia Pacific Co., Ltd. Copyright©2012 Pro-face. All rights reserved. Training center
177
Clock Update Setting
• Customer support
• Repair service
Hot-line : 0-2617-5679
E-mail : support@proface.co.th
Web : www.proface.co.th