Pro-face | วิธีบันทึก Data (Logging) Sampling เป็นไฟล์ .CSV

” Pro-face HMI รองรับการบันทึก Data Logging (Sampling Data) และส่งออกเป็นไฟล์ .CSV ช่วยให้สามารถตรวจสอบข้อมูลย้อนหลัง วิเคราะห์แนวโน้ม และปรับปรุงกระบวนการผลิต รองรับการเปิดดูผ่าน Excel หรือซอฟต์แวร์วิเคราะห์ข้อมูลอื่นๆได้ “


Part 1 : ตั้งค่า Sampling

1. Common Settings -> แถบ Sampling -> New Sampling Group

2. แถบ Address -> กำหนด Address ที่ต้องการ Sampling

3. แถบ Mode -> กำหนดเงื่อนไขการบันทึก Sampling -> กำหนดจำนวนสูงสุดของ Sampling ต่อ 1 ไฟล์


4. แถบ Display/Save in CSV -> เลือก Display/Save in CSV -> กำหนด CSV Control Word Address

Part 2 : สร้างตาราง Sampling และกราฟ

5. แถบ Parts (P) -> เลือก Sampling Data Display (S)

6. แถบ Basic -> กำหนดจำนวน Row และ Column

7. แถบ Switch -> เลือกปุ่มควบคุมตาราง Sampling


8. แถบ Parts (P) -> เลือก Historical Trend Graph (H)

9. แถบ Graph -> เลือก Channel Settings -> กำหนด Channel ที่ต้องการแสดงและ Max-Min ของกราฟ
10. ทดสอบ Simulation 

Part 3 : บันทึก Sampling เป็นไฟล์ .CSV

11. สร้างปุ่ม Word Switch -> เลือก CSV Control World Address

12. สร้าง Data Display -> เลือก CSV Control World Address + 1 -> กำหนด Allow Input

13. เมื่อกดบันทึก Sampling จะถูกจัดเก็บข้อมูลลงใน USB Disk


สามารถดาวน์โหลดโปรเจคไฟล์ตัวอย่างได้ตามลิงค์นี้ 
https://drive.google.com/drive/folders/1HETdat6KDLkDnJTUMLrwhFmUGIOzhfbx?usp=sharing

K.Satcha