กว่า 70% ของเครื่องจักร Automation ในโรงงานชลบุรีและระยองใช้ระบบ Pneumatic (ลมอัด)เป็นตัว Actuator เพราะสะอาด ปลอดภัย และราคาถูก PLC ไม่ได้ต่อตรงกับกระบอกลม แต่ใช้ Solenoid Valve เป็นตัวกลาง บทความนี้อธิบายหลักการทำงาน Wiring และวิธี Troubleshoot ระบบ Pneumatic + PLC แบบช่าง
ปัญหาที่พบบ่อยของระบบ Pneumatic + PLC
- กระบอกลม (Cylinder) ไม่เคลื่อนที่ทั้งที่ PLC สั่ง ON — สาเหตุหลายอย่าง ต้องตรวจทีละจุด
- กระบอกลมเคลื่อนที่ช้ากว่าปกติ — Flow Control Valve ตั้งไว้ต่ำหรืออุดตัน
- กระบอกลมกระตุก ไม่เคลื่อนที่สม่ำเสมอ — ลมไม่สม่ำเสมอ หรือ Cylinder Seal เสื่อม
- เครื่องจักรหยุดทุกครั้งที่เปิดเครื่อง — Pressure Switch ตัดเพราะแรงดันลมยังไม่ถึง Setpoint
- Solenoid Valve ดัง Buzzing เสียงดัง — Coil กินไฟมากเกินหรือ 24VDC ต่ำกว่า Spec
หลักการทำงาน Pneumatic + PLC
Single Acting Cylinder (1 Solenoid)
PLC Output Y ส่ง 24VDC → Solenoid Valve Coil ได้รับไฟ → Valve เปิดให้ลมเข้า Cylinder → Piston ยืดออก เมื่อ PLC ตัด Output → สปริงดัน Piston กลับ เหมาะงานที่ต้องการ Fail-safe (ถ้าไฟดับ Cylinder กลับบ้านเอง)
Double Acting Cylinder (2 Solenoid)
ใช้ 5/2 Way Valve (หรือ 5/3 Way) มี 2 Solenoid ควบคุมทั้งยืดและหด PLC Output Y0 → Solenoid A → Cylinder ยืด, PLC Output Y1 → Solenoid B → Cylinder หด ความเร็วสม่ำเสมอกว่า Single Acting เหมาะงาน High Speed หรือที่ต้องการ Back Pressure
Sensor ยืนยันตำแหน่ง Cylinder
ทุก Cylinder ควรมี Reed Switch หรือ Proximity Sensor ที่ปลายทั้งสอง (Home + Forward) เพื่อยืนยันตำแหน่งก่อน PLC สั่งขั้นตอนถัดไป ถ้าไม่มี Sensor ยืนยัน ให้ใช้ Timer แทน แต่ไม่ Reliable เท่า
Wiring ระหว่าง PLC Output กับ Solenoid Valve
- NPN Transistor Output (Source): ขา COM ต่อ +24V, ขา Output ต่อ Solenoid Positive, Solenoid Negative ต่อ 0V
- NPN Transistor Output (Sink): ขา COM ต่อ 0V, ขา Output ต่อ Solenoid Negative, Solenoid Positive ต่อ +24V
- Relay Output: ต่อผ่าน Relay Contact ควรใส่ Fuse ป้องกัน
- ควรใส่ Diode (Freewheeling Diode) ขนาน Solenoid Coil เพื่อป้องกัน Back-EMF ทำลาย Output Module
วิธี Troubleshoot Cylinder ไม่ทำงาน Step-by-Step
- ตรวจ LED ที่ PLC Output Module — ถ้า LED ไม่ติดเมื่อควรสั่ง ON = ปัญหาที่ PLC Logic หรือ Program ไม่สั่ง Output
- วัด Voltage ที่ Output Terminal ของ PLC — วัดระหว่าง Output Terminal กับ COM ควรได้ 24VDC ขณะ ON
- ถ้า PLC Output มีไฟ ตรวจที่ Solenoid Coil ต่อ — วัด Voltage ที่ขา Coil ของ Solenoid Valve ควรได้ 24VDC
- วัด Resistance ของ Solenoid Coil — Coil ปกติมีค่า 15–30Ω ถ้าวัดได้ OL (∞) = Coil ขาด ต้องเปลี่ยน
- ตรวจแรงดันลม — วัดที่เกจหน้า Valve ควรได้ 4–6 Bar ถ้าต่ำกว่า = Compressor หรือสายลมรั่ว
- Force Output ด้วย PLC Software — ใช้ GX Works3 หรือ TIA Portal Force Y Output = ON โดยตรง ถ้า Cylinder ยังไม่เคลื่อน = ปัญหาที่ Valve หรือ Cylinder ไม่ใช่ Program
- กดปุ่ม Manual Override บน Solenoid Valve — Solenoid Valve SMC, FESTO มีปุ่ม Manual Override ลองกดเพื่อทดสอบ Valve แยกจาก Electrical
ตาราง: อาการ → สาเหตุ → วิธีแก้ Pneumatic
| อาการ | สาเหตุที่น่าจะเป็น | วิธีแก้ |
|---|---|---|
| Cylinder ไม่เคลื่อน LED ไม่ติด | PLC Program ไม่สั่ง Output | ตรวจ Ladder Logic, ตรวจ Interlock |
| Cylinder ไม่เคลื่อน LED ติด | Solenoid Coil ขาด, Valve ค้าง, ลมไม่พอ | วัดแรงดัน Coil, วัด Resistance Coil |
| Cylinder เคลื่อนแต่กลับไม่ได้ | Solenoid B ไม่ทำงาน (Double Acting) | ตรวจ Y Output ของ Solenoid B |
| Cylinder เคลื่อนช้า | Flow Control ตั้งน้อย หรือ Filter อุดตัน | ปรับ Flow Control, ล้าง Filter |
| Cylinder สั่น/กระตุก | ลมไม่สม่ำเสมอ, FRL มีปัญหา | ตรวจ FRL Unit, ตรวจ Air Compressor |
| เครื่องหยุดตอนเปิดเครื่อง | Pressure Switch ยังไม่ OK | รอ Compressor สะสมลม หรือปรับ Setpoint |
การเดินสาย Sensor ตำแหน่ง Cylinder
| ประเภท Sensor | ใช้กับ Cylinder | Output Type | Wiring |
|---|---|---|---|
| Reed Switch (Magnetic) | Metal Cylinder มีแม่เหล็กใน Piston | Contact (Dry) | ต่อกับ PLC Input +24V/COM |
| Inductive Proximity (NPN) | Metal Target บน Piston Rod | NPN Open Collector | Brown=24V, Blue=0V, Black=PLC Input |
| Inductive Proximity (PNP) | Metal Target บน Piston Rod | PNP Source | Brown=24V, Blue=0V, Black=PLC Input |
ควรเรียกผู้เชี่ยวชาญเมื่อไหร่?
- Force Output แล้ว Cylinder ยังไม่เคลื่อนที่ — Mechanical หรือ Valve มีปัญหา
- ต้องการออกแบบ Pneumatic Circuit ใหม่สำหรับเครื่องจักร
- ต้องการ Program Sequence ที่มี Position Confirmation ครบทุก Step
สรุป
ระบบ Pneumatic + PLC Troubleshoot ได้ง่ายถ้าทำทีละขั้น เริ่มจาก LED → Voltage → Coil → ลม → Manual Override การมี Sensor ยืนยันตำแหน่ง Cylinder ทุกตัวทำให้ระบบ Reliable มากขึ้น Xeniel Automation รับออกแบบและแก้ปัญหาระบบ Pneumatic + PLC สำหรับโรงงานในชลบุรีและระยอง
ระบบ Pneumatic มีปัญหา? Xeniel แก้ได้ทันที
Xeniel Automation รับ Troubleshoot และออกแบบระบบ Pneumatic + PLC ทุกประเภท ออนไซต์ด่วนชลบุรีและระยอง
ปรึกษาฟรีทาง LINE โทร 098-965-3845