GP-Pro Ex-Basic Training
GP-Pro Ex-Basic Training
V4.x
Basic Training
Training Center
Contents
Processor Operation
Reports
Sensors
Input
Output
Commands
Actuators
System
ProcessRedundant
System
Engineering
Station
Asset
Management
Servers System
Operator Clients
Hot-Standby Safety
PAC Controller PAC Controlle
r
Plant Floor HMI
Distributed I/O
Remote I/O
Driv Motor
e Protection
Motor
Starter Energy Remote Site
Smart Instrumentation Monitoring iPMCC
for Industry
Mining, Minerals &
Machinery Food & Beverage Water & Wastewater Oil & Gas
Metals
EcoStruxure™ Architecture
Apps,
Analytics &
Services AVEVA Software*
End-to-end Cybersecurity
Engineering Asset Performance Machine Augmented Profit Advisor Control Advisor Asset Advisor Power Advisor Resource
Planning & Operations Monitoring and Control Advisor Operator Advisor
Advisor
Edge
Control
Magelis PacDrive EcoStruxure Modicon EcoStruxure EcoStruxure EcoStruxure EcoStruxure SCADA EcoStruxure
IIoT Box & Machine Expert Control Expert Hybrid DCS Foxboro DCS Triconex Safety Systems Power Monitoring
Industrial PC System Expert
Connected
Products
Magelis, Proface Harmony Sensors Field Devices TeSys Altivar Preventa Lexium Okken & Blokset iPMCC
HMI & RFID
• Cost Efficiency
PLC Centric
HMI Centric
#1 no. of drivers.
Communicate many devices
Maintain variety of
controllers by HMI
(Pre-set screen)
เมือเครืองมีปัญหา
Buzzer ทีดังขึนมาหรือ
lamp สีแดงไม่สามารถ
บอกสาเหตุได้เลย
เฉพาะช่างทีมีความ
ชํานาญเท่านันจึง
สามารถเข้าใจ ladder ได้
เข้าใจสาเหตุ
ของปั ญหาทันที
PLC
เก็บข้อมูลได้แต่
นํามาดูไม่ได้
Address Data
D100 35.4
D101 50
D102 33.8 Temperature Controller Power Meter
D103 52
D104 32.1
D105 49
สามารถนําข้อมูลมาแสดงผล สามารถนํามาแสดง
หน้าจอซึงสามารถเข้าใจได้โดยง่าย เป็ นกราฟได้
อาจมีคนรู เ้ ท่าไม่ถึงการมาเปลียน
ค่าต่างๆได้
สามารถเซฟข้อมูลเป็ น
CSV file ลง SD Card
หรือ USB ได้
แสดงหรือซ่อน เปลียนสี
เคลือนทีแนวตังแนวนอน หมุน
Copyright©2012 Pro-face. All rights reserved. 21
Logic
Software ตัวเดียวเขียนได้
ทังหน้าจอและ ladder
diagram
PC
Wait a little to
Touch control
Wait a little to
Touch
control
(Commercial Product)
Trigger
Confirm
Recovery
Used as 2-point
touch operation Used as HOME,
Screen Change,
Start, Stop, Reset,
Speed setting, etc.
Used as Alarm alert
Field Level
HMI Production
Instruction
No need to
change Screen
Data nor PLC
Only by transferring setting file (.npx file) to HMI, data
Program!
collection and product instruction can be done. It is
easy for End Users to implement the system.
Able to automatically collect data from the devices such as PLC in a variety of
formats such as Excel. As production information can be collected in real-time
basis, the collected data can be utilized for analysis.
Able to import
logging data taken
periodically by given
cycle in a format such
as CSV.
Data Collection
Save Format:
CSV, Excel, Access,
Oracle, SQL Server
Log data
in SRAM
or SD/CF SRAM
HMI
The data such as work instruction and production plan created in office can
directly be transmitted to production site.
Create recipe
data in Excel.
Save Format:
CSV, Excel, Access,
Oracle, SQL Server
HMI
As the data of the devices connected by Pro-Server EX can be send each other, it
is possible to copy PLC1 Data to PLC2, PLC3…
HMI HMI
User Programs
API OPC
Temp.
Temp. Controllers Company A’s PLC Company B’s PLC Controller etc.
Reader
OPC Client
OPC Server
Enterprise Network
Ethernet
HMI
Field Network
PLC
Hardware
Copyright©2012 Pro-face. All rights reserved. 42
Pro-Server EX Summarized
I/O HMI PC
Future
* Possible to save clock future ,logging function , alarm history, Recipe (Sampling)
Copyright©2012 Pro-face. All rights reserved. 57
GP4000M
<Side view>
DIN
Rail
Front Rear
Copyright©2012 Pro-face. All rights reserved. 58
GP4000M
• Set the Function Block to Ladder by Drag and Drop with easy operation.
• When the FB is double clicked, then the FB becomes editable.
• FB can be protected by password.
• FB can Import/Export from other PC.
• FB has to reduce memory when you use any same FB on your Ladder
SP-5500TP SP-5400WA
SP-5B10
10.4” 7” wide (Power Box: Real Time OS)
(800 x 600) (800 x 480)
SP-5600TP
SP-5500WA
SP-5B40
(Open Box: WES7+WinGP)
SP-5700TP
SP-5600WA
Information
SP5000 PS4000
Industrial
New Market Panel
Computer
GP4000T
GP4000W/M High-End
Standard HMI
HMI
GP4100
Small
HMI
Performance
Fixed IP address
xxx.xxx.xxx.xxx
RemoveLeave display
on cabinet
↓
Insert
Cable???
Settings???
Settings???
Transfer
project into
touch panel
USB Mini-B
Develop Commercial Cable
project on PC
2 เลือก “New”
กดปุ่ ม “OK”
3
1
เลือก Series และ
Model ของจอ
กดปุ่ ม “Next”
2
Serial Number
Revision
MIT
OMR เลือนลงด้านล่าง
SIE Copyright©2012 Pro-face. All rights reserved. 77
3. Device/PLC Setting
1
เลือกยีห้อของ
Device / PLC
ตัวอย่าง
ต้องการต่อจอ Proface กับ
PLC ยีห้อ Mitsubishi
Series : MELSEC Q
CPU : Q00JCPU
ชื อ Driver ของ
Device / PLC
เลือกยีห้อของ
1 Device / PLC
Copyright©2012 Pro-face. All rights reserved. 80
3. Device/PLC Setting
ตัวอย่าง
ต้องการต่อจอ Proface กับ
PLC ยีห้อ OMRON
Series : SYSMAC C
CPU : CPM2A
เลือกยีห้อของ
1 Device / PLC
ตัวอย่าง
ต้องการต่อจอ Proface กับ Driver ของ
PLC ยีห้อ SIEMENS Device / PLC
Series : S7-300
CPU : CPU313
ตรวจสอบรุ่ น, CPU
และชนิดการสื อสาร
2
เลือกจอ และ
ชนิ ดการสื อสาร
ตรวจสอบรุ่ น, CPU
และชนิ ดการสื อสาร
2
1
เลือกจอ และ
ชนิดการสื อสาร
1 โดยกดที Link
ตรวจสอบรุ่ น, CPU 2
และชนิดการสื อสาร
Copyright©2012 Pro-face. All rights reserved. 92
4. Connection Cable
2 1A คือสายสําเร็จรู ป
ต่อกับ COM1
1 เลือกจอและ
การสื อสาร 1B คือสายสําเร็ จรู ป +
Online Adapter
ต่อกับ COM2
1C คือสายPROFIBUS +
Conversion Adapter
ต่อกับ COM2
1C คือสายPROFIBUS +
Conversion Adapter
ต่อกับ COM2
หลังจากเลือกยีห้ อ,
Driver และ Port ตรงกับ
Device/PLC
ทีต่อใช้งานเรี ยบร้อยแล้ว
“Device/PLC”
ตังค่าการสื อสารระหว่าง
จอ HMI กับ Device / PLC
1 โดยค่าทีต้องให้ความสําคัญคือ
2 - SIO Type
- Speed
- Data Length (7 or 8)
- Parity (None/EVEN/ODD)
- Stop Bit (1 or 2)
- Flow Control
“Device/PLC”
ตังค่าการสื อสารระหว่าง
จอ HMI กับ Device / PLC
1 โดยค่าทีต้องให้ความสําคัญคือ
2 - SIO Type
- Speed
- Data Length (7 or 8)
- Parity (None/EVEN/ODD)
- Stop Bit (1 or 2)
- Flow Control
“Device/PLC”
ตังค่าการสื อสารระหว่าง
จอ HMI กับ Device / PLC
1 โดยค่าทีต้องให้ความสําคัญคือ
2 - SIO Type
- Speed
- Data Length (7 or 8)
- Parity (None/EVEN/ODD)
- Stop Bit (1 or 2)
- Flow Control
กด “New Screen” 3
1 Menu Bar
2 Operation
State Bar
3 Tool Bar
Editing Area
4 Work Space
5 Function Bar
6 Status Bar
Copyright©2012 Pro-face. All rights reserved. 107
Software Environment
Menu Bar
Project
Edit
View
Common Setting
Draw
Parts
Screen
Help
System Settings
Common Settings
Address Color
Project Window
3
2
Copyright©2012 Pro-face. All rights reserved. 113
Software Environment
Auto-hide Feature
Clicking the push pin icon right above in the work space, the whole work
space will be iconized on the left and you can keep the editing area wide.
If you click the icon, the work space will be displayed.
Ctrl+…
Shift+…
Copyright©2012 Pro-face. All rights reserved. 115
Development Process
1 กด “Simulation” หรื อ
กด F12
1
ทดสอบการแสดงผล และ
ปุ่ มกดต่างๆ ว่าถูกต้องตาม
เงือนไขหรื อไม่ ถ้าไม่
ให้กลับไปแก้ไขใน
โปรแกรมแล้วจําลองการ
ทํางานดูใหม่ จนกว่าจะ
ถูกต้องตามเงือนไข จากนัน
ให้บนั ทึกและ Transfer
ไปยังจอ HMI ต่อไป
Copyright©2012 Pro-face. All rights reserved. 118
Development Process
1 กด “Save”
ระบุชือ File
แล้วกด “Save”
2
กด “OK”
3
2 เลือก IP ของจอทีต้องการ
Transfer project
กด “OK”
3
กด“Close”
เมือสิ นสุ ดการ Transfer
1
กด “OK”
3
กด“Close”
เมือสิ นสุ ดการ Transfer
1
สายเชือมต่ออ้างอิงจาก user
manual ตามยีห้อและรุ่ นของ PLC
• Object
– Text
– Line
– Rectangular
– Circle
– Picture
• Parts
– Lamp
– Switch [Interlock & Delay function]
– Change screen switch
– Multiple function switch
Omron
Mitsubishi
Menu
1
Text
2
Line
3
Rectangular
4
Circle
5
Image (picture)
Copyright©2012 Pro-face. All rights reserved. 132
Object: Text
1
(2) Edit Text
2
Double-click the placed text.
2) Font Type: Select a font from Standard Font], [Stroke Font], and [Image Font].
Text Size: Select a text size. The setting ranges are different depending on the font
type.
Display Language: Select a display language from [ASCII],[Japanese], [Chinese (Traditional)],
[Chinese (Simplified)], [Korean], [Cyrillic Alphabet], and [Thai].
Text Attribute: Set a text attribute. The settings are different depending on the font type.
Direction: Select a display direction of the text either [Vertical] or [Horizontal].
Alignment: The text is aligned center when [Vertical] is selected.
Drag
2
2) Drag the range of the rectangle.
Drag
1
3) Shadow: Specify whether to display or to
hide the shadow.
Direction: Select a shadow direction to display. 2
Color: Select a color of the shadow.
Shadow Distance: Select a shadow width from 1 to 16. 4
3
2
2) Drag the range of the circle/oval.
1
4
5) Double click on image, setting image properties. (Original Size or Ratio, compress)
• Object
– Text
– Line
– Rectangular
– Circle
– Picture
• Parts
– Lamp
– Switch [Interlock & Delay function]
– Change screen switch
– Multiple function switch
Lamp
Switch
The Lamp feature monitors changes of addresses in a device/PLC and shows the
changes as a lamp.
Bit Address
000.00 000.00
X000 X000
ขันตอน
4.1 Lamp
Step 1 : การสร้ าง Lamp
การสร้ างและการใช้ งาน Lamp Step 2 : การตังค่ า
(รูป, สี , ป้ ายชื อ)
4.2 Switch
Lamp
เป็ นพาร์ ท ทีใช้สาํ หรับแสดงสถานะ bit address ของ PLC เพือเป็ นการ
มอนิเตอร์สถานะปั จจุบนั ของเครื องจักรและอุปกรณ์ต่างๆ เช่น ดูวา่ วาล์วมี
สถานะเป็ นเช่นไร (ทํางานอยูห่ รื อไม่ และ มีสถานะเป็ นเปิ ด หรื อ ปิ ดอยู)่
ทังนีอาจใช้พาร์ทรู ปหลอดไฟ หรื อ รู ปอุปกรณ์ โดยใช้สีทีต่างกันเพือแสดง
สถานะทีแตกต่างกัน เป็ นต้น
When Bit
0000.00 is on
When Bit
000.00 is off
1 การสร้ าง Lamp
1.1) คลิก [Lamp] ไอคอนที Tool bar
1.1
1.2) ที Part Toolbox เลือก Switch ทีต้องการแล้วลากมาวางบน Base Screen (Drag &Drop)
Drag & Drop
1.2
เปิ ด “Coordinate” 4
2
กําหนดความ กว้าง, ยาว 5
ลากมาวางตรง เลือกชนิด 3
5 ตําแหน่งทีต้องการ
Double click
3
Click
คลิกเพือระบุแอ็ดเดรส
เลือก Properties ใน
2
Workspace
on
Click
off
12 เลือกสถานะ Switch
กด “OK”
14
ขันตอน
4.1 Lamp
Step 1 : การสร้ าง Switch
การสร้ างและการใช้ งาน Lamp Step 2 : การตังค่ า
(รูป, สี , ป้ ายชื อ)
4.2 Switch
Switch
เป็ นพาร์ ท ทีใช้สาํ หรับส่ งคําสังเพือเปลียนแปลงสถานะของ bit หรื อ word
address ของ PLC เพือเป็ นการสังให้เครื องจักรและอุปกรณ์ต่างๆ เปลียนแปลง
สถานะ เช่น สังปิ ดหรื อเปิ ดวาล์ว หรื อสังให้ Logic ของ PLC เริ มทํางานใน
sub-routine ทีกําหนดไว้เป็ นตัน ทังนีการกําหนด address จะต้องมีความ
สอดคล้องกับลอจิคโปรแกรมใน PLC ด้วย
1.2
เปิ ด “Properties”
3
Copyright©2012 Pro-face. All rights reserved. 162
Parts: Switch
การสร้ าง Switch จาก Parts Toolbox
เลือก Parts
2
เลือกชนิด
3
ลากมาวางตรง
5
ตําแหน่งทีต้องการ
Setting bit
action
2.2
พิมพ์หมายเลขหน้า
ระบุหมายเลขหน้า
การระบุแอ็ดเดรสและตังชนิดของ switch
Double Click
เพือตังค่าการใช้งาน
3
เลือก “Bit Switch”
4
เปิ ด “Color”
6
เปิ ด “Label”
กําหนดรู ปแบบตัวอักษรของ
ข้อความ
8 เลือกสถานะ Switch
กด “OK”
10
X X
X X
X X
• Parts
– Data display
– Word switch
– Data display with Keypad input
– Multiple function switch
Data display
Word Switch
Omron basis
Mitsubishi basis
1.2
เปิ ด “Coordinate”
4
2 5
กําหนดความ กว้าง, ยาว
วาง Data Display ลงบน Base ให้กบั Data Display หรื อ
screen ตรงตําแหน่งทีต้องการ ใช้ Mouse เพือปรับขนาด
เปิ ด “Properties”
2.1
Setting
Data Type
2.2
2
เลือก Numeric Display
3
กําหนด Word Address
4
8 9
จํานวนหลักในการแสดงผล ตําแหน่งจุดทศนิยม
2
เลือก Allow Input
ถ้าต้องการป้ อนค่า
ผ่าน Keypad
กด “OK”
6
Copyright©2012 Pro-face. All rights reserved. 188
Parts: Data Display
กดไอค่อน Data Display บน Tool Bar
1
เปิ ด “Coordinate”
4
2 5
กําหนดความ กว้าง, ยาว
วาง Data Display ลงบน Base ให้กบั Data Display หรื อ
screen ตรงตําแหน่งทีต้องการ ใช้ Mouse เพือปรับขนาด
การตังค่าใน Properties
เปิ ด “Properties”
2
เลือก Date/Time Display
ตังค่ารู ปแบบการแสดงผล
ตังค่ารู ปแบบการแสดงผล
เปิ ด “Coordinate”
4
2 5
กําหนดความ กว้าง, ยาว
วาง Data Display ลงบน Base ให้กบั Data Display หรื อ
screen ตรงตําแหน่งทีต้องการ ใช้ Mouse เพือปรับขนาด
การตังค่าใน Properties
เปิ ด “Properties”
8 9
กําหนด Word Address เลือก Allow Input
ถ้าต้องการป้ อนค่าผ่าน Keypad
ขึนอยูก่ บั จํานวนตัวอักษรทีตังไว้ใน
“Display characters” 12
11
ตังค่ารู ปแบบตัวอักษร 12
ตังค่ารู ปแบบการแสดงผล
14
ตังค่ารู ปแบบการแสดงผล
ขันตอน
5.1 Data display
Step 1 : การสร้ าง Data display
การสร้ างและการใช้ งาน Data Display Step 2 : การตังค่ า
(รูป, สี , ป้ ายชื อ)
5.2 Word Switch
Word Switch
เป็ นพาร์ท ทีใช้สาํ หรับส่งคําสังเพือเปลียนแปลงค่า เวิร์ดแอ็ดเดรสของ PLC
เพือเป็ นการเปลียนแปลงค่าพารามิเตอร์ ของเครื องจักรและอุปกรณ์ต่างๆ เช่น
การเปลียนแปลงค่า Set point ของ อุณหภูมิ, ความดัน, อัตราการไหล, ความเร็ว
รอบการหมุน โดยอาศัยปุ่ มกด (ให้มีค่าเท่ากับค่าทีต้องการ, ให้มีการเพิมค่า,
หรื อให้มีการลดค่าตามทีเราต้องการ)
Double Click
เพือตังค่าการใช้งาน
เลือก “Word Switch” 3
4
กําหนด
“Word Address”
เลือก “Bit Action”
5
ทีกระทํากับ Word Address
-Write Data: เขียนค่าคงที
-Add Data: เพิมค่าคงที
-Subtract Data: ลดค่าคงที
6
-Digit Addition: เพิมหลัก
กําหนดค่าคงที
-Digit Subtraction: ลดหลัก
-Operation:คํานวณทางตรรก
Copyright©2012 Pro-face. All rights reserved. 198
Parts: Word Switch
• Alarm function
– Register alarm and setting
– Alarm display
– Save Alarm information into USB/SD card
Alarm function
เป็ นฟังก์ชนสํ
ั าหรับแจ้งเตือนถึงสภาวะการทํางานทีไม่ปกติของเครื องจักรเพือให้ทราบว่า
มีปัญหาอะไร, เกิดขึนทีไหน, และจะแก้ไขอย่างไร ซึงจะมีการเฝ้าระวังและบันทึกเหตุการณ์
ทีเครื องจักรอยูใ่ นสถานะการทํางานทีไม่ปกติ
โดยการติดตามสถานะเปิ ด-ปิ ด (on-off) ของ bit หรื อ word address ของ PLC เช่น เมือบิต
แอดเดรสของสถานะโอเวอร์ โหลดมอเตอร์ มีสถานะเป็ นเปิ ด (on) ก็ให้ทาํ การบันทึกวัน/เวลา
ทีบิตเปลียนสถานะจาก ปิ ดไปเป็ นเปิ ด (Trig time) พร้อมทังแสดงข้อความเตือน, บันทึกเวลา
เมือมีการรับทราบสัญญาณแจ้งเตือน (Acknowledge time) และบันทึกเวลาทีบิตดังกล่าว
เปลียนสถานะจาก เปิ ดไปเป็ นปิ ด (Recovery time)
Copyright©2012 Pro-face. All rights reserved. 202
What’s new?
Alarm register
Alarm display
• Alarm history
• Alarm log
• Alarm active
• Bit alarm
• Word alarm
• Alarm linkage
• Alarm blocks on single alarm display
Alarm setting
Alarm registration
Alarm registration
Alarm registrations
เป็ นการตังค่าการใช้ alarm เพือระบุบิตหรื อเวิร์ด แอดเดรสของ PLC ทีใช้มอนิเตอร์ สภาวะ
การทํางานทีไม่ปกติ พร้อมทังป้อนข้อความทีจะให้แสดงทีมีเหตุการณ์เกิดขึน ทังนีสามารถ
จัดการหมวดหมู่ของการแจ้งเตือนได้ 8 กลุ่ม (block1 ถึง block8) ซึงในแต่ละ block เราสามารถ
กําหนดชนิดของ alarm ได้ 3 ชนิดคือ history, log และ active
นอกจากนียังสามารถกําหนดการใช้งานการแจ้งเตือนแบบ Banner คือเมือมี alarm เกิดขึนก็
จะแสดงข้อความวิงทีหน้าจอเพือบอกการแจ้งเตือนในทุกๆหน้าจอจนกว่าจะกลับสู่ สถานะ
ปกติ 208
Copyright©2012 Pro-face. All rights reserved.
Alarm Function
1.1 Common Setting
เปิ ด “Alarm”
3 เลือก “Common”
2
รู ปแบบการบันทึกเวลา
2 เลือก “Bit Monitoring”
ตามทีตังค่าไว้ใน Common
1
เลือก “Common”
Enable Banner
2
3
เลือก “Banner”
Alarm display
2 เลือกหมายเลข Block
ทีต้องการแสดง
3
2
กําหนดสี ของ Triggered,
Acknowledged และ Recovered
แสดงขอบตาราง
2
หากข้อความยาวเกิน
ตารางให้แสดงเป็ นตัววิง กําหนด Search/Sort address
อย่าสับสนกับ Banner ใน
ส่ วนของการตังค่า Alarm
Copyright©2012 Pro-face. All rights reserved. 221
Alarm Function
2.2 Alarm Display Setting
1 เปิ ดหน้า “Switch”
กด “OK”
3
Copyright©2012 Pro-face. All rights reserved. 222
Alarm Function
ตัวอย่ างการแสดงผลของการใช้ สี และปุ่ มกด
เวลารวมตังแต่
จํานวนทีเคย Trigger จนกระทัง
เกิด Alarm Recovery
Recover
Acknowledge
Trigger
Alarm Banner
0-65535
• The Alarm History data is saved under the [Alarm] folder in the
external storage with the following file name:
เลือกหน่วยความจํา
เปิ ดใช้งานการบันทึก 4 SD Card / USB Storage
ข้อมูลลงใน 5
หน่ วยความจําภายนอก
6
กําหนด Control Word Address
4
-ใช้เลือกรู ปแบบ output ของวัน
เดือนปี ที save ลงไฟล์
- ค่า default เป็ น yy/mm/dd ซึ ง
1 อาจทําให้คอมพิวเตอร์บางเครื อง
อ่านวันเวลาใน CSV file ผิดได้
ให้เปลียนตามทีคอมพิวเตอร์
ของเราตังเอาไว้
Copyright©2012 Pro-face. All rights reserved. 227
Save Alarm into USB/SD card
ตัวอย่าง
เมือต้องการบันทึก Alarm Block 1
สร้าง Data Display ลงใน หน่วยความจําภายนอก
สําหรับ Control Word ให้ใส่ เลข 5 ลงใน Control Word
For Windows 7:
C:\ProgramData\Pro-face\GP-Pro EX 4.0\Simulator
Note
LAN
USB
LAN
เลือก IP Address ของจอ ทีเราจะ
Download project file
คลิก OK เพือเริ ม
ระบุ IP Address ของจอ ทีเราจะ
Download project file
Download project file
Upload
1
4
6
4
3
3
1
Copyright©2012 Pro-face. All rights reserved. 239
Transfer Project File
ทําการค้นหาไฟล์ตามทีอยู่
C:\Program Files\Common Files\Pro-face Shared\EXTools
2. Not using PC
• USB Memory
• CF-Card/ SD-Card
Note