[Weintek] วิธีการ Change Base Screen ผ่าน PLC บน HMI Weintek

KPT-Supporter
KPT-Automation
Published in
2 min readApr 24, 2020

“ โดยปกติการเปลี่ยน Base Screen สามารถเปลี่ยนได้ด้วยการใช้ Function Key แต่ก็สามารถเปลี่ยนจาก PLC Address ได้เช่นกัน ”

PLC Control เป็นฟังก์ชันสำหรับรับค่าจาก PLC มาสั่งการหน้าจอ HMI Weintek โดยมีคำสั่ง Change window สำหรับเปลี่ยน Base Screen

การเปลี่ยน Base Screen โดยใช้ PLC Control

เชื่อมต่อ PLC กับหน้าจอ HMI Weintek

ตัวอย่าง เชื่อมต่อ PLC Koyo SJ Ethernet Series

1. ที่แถบเมนู Object >> PLC Control

2. คลิกปุ่ม New…

3. เลือก Device PLC >> กำหนด Attribute Type เป็น Change window
4. กำหนด PLC trigger address ที่ใช้เปลี่ยน ฺbase screen

เมื่อกดปุ่ม OK หน้าต่าง PLC Control Object จะแสดงคำสั่งที่เซตไว้

ทดสอบการเปลี่ยน Base Screen โดยใช้ PLC Control

  • Screen 1 >> Base Screen 10
  • Screen 2 >> Base Screen 11
  • Screen 3 >> Base Screen 12

1. Write Value 11 ลงใน PLC word address : V2000

2. คลิกปุ่ม Write Value

หน้าต่าง Base Screen 1 >> Base Screen 2

เพียงเท่านี้ก็สามารถเปลี่ยน Base Screen จาก PLCได้ตามต้องการ ~

--

--