เมื่อออกแบบระบบ PLC ใหม่หรือ Expand ระบบเดิม คำถามที่วิศวกรต้องตอบให้ได้คือ "ต้องใช้ I/O Module ประเภทไหน จำนวนเท่าไหร่?" การเลือก I/O ผิดทำให้ระบบทำงานไม่ได้ หรือเสียเงินซื้อ Module ที่ไม่จำเป็น บทความนี้อธิบาย I/O Module ทุกประเภทอย่างตรงไปตรงมาพร้อมตัวอย่างการใช้งานจริงในโรงงานชลบุรีและระยอง
I/O Module คืออะไร?
I/O Module คือส่วนที่เชื่อมต่อ PLC กับโลกความเป็นจริง (Field Devices) Input Module รับสัญญาณจาก Sensor เข้า PLC Output Module ส่งสัญญาณจาก PLC ออกไปควบคุม Actuator
ประเภท I/O Module ที่ต้องรู้
1. Digital Input (DI) Module
รับสัญญาณ ON/OFF จาก Sensor, Switch, Proximity Switch, Limit Switch ประเภทย่อย:
- DC Input (NPN/PNP) — รับสัญญาณ 24VDC เหมาะกับ Sensor ทั่วไปในโรงงาน
- AC Input — รับ 100–240VAC เหมาะกับ Limit Switch ที่ใช้ไฟ AC
- High-Speed Counter Input — รับ Pulse ความถี่สูง 100kHz–1MHz สำหรับ Encoder
- Safety Input — รองรับ Dual Channel Safety Circuit สำหรับ E-Stop, Safety Gate
2. Digital Output (DO) Module
ส่งสัญญาณ ON/OFF ไปควบคุม Solenoid, Contactor, Lamp, Buzzer ประเภทย่อย:
- Transistor Output (Sink/Source) — เร็ว ทนทาน อายุยาว เหมาะงาน High-Speed แต่กระแสต่ำ (0.5A ต่อ Point)
- Relay Output — ทน Voltage สูง รองรับ AC Load ได้ แต่ช้ากว่า อายุ Relay Contact จำกัด (~10 ล้านครั้ง)
- TRIAC Output — สำหรับ AC Load โดยตรง ไม่มี Mechanical Contact
3. Analog Input (AI) Module
รับสัญญาณต่อเนื่องจาก Sensor อุณหภูมิ ความดัน Flow, Position ประเภทย่อย:
- 4–20mA Current Input — มาตรฐานที่ใช้กันมากที่สุด ไม่ไวต่อ Noise ตลอดระยะทาง
- 0–10V Voltage Input — ง่าย ถูก แต่ไวต่อ Noise กว่า Current Loop
- RTD/Thermocouple Input — สำหรับ Temperature Sensor โดยตรง
- Strain Gauge / Load Cell Input — High-Resolution สำหรับงาน Weighing
4. Analog Output (AO) Module
ส่งสัญญาณต่อเนื่องไปควบคุม Inverter Speed, Control Valve Position, Heater Power
- 4–20mA Current Output — ควบคุม Inverter, Positioner ผ่าน Current Signal
- 0–10V Voltage Output — ควบคุม Variable Speed Drives บางรุ่น
5. Special Function Module
- Positioning Module (Pulse/Encoder) — ควบคุม Servo หรือ Stepper Motor ด้วย Pulse Train
- Communication Module — PROFIBUS, PROFINET, EtherNet/IP, CC-Link
- Temperature Controller Module — PID Control สำหรับ Heater
วิธีเลือก I/O Module ที่เหมาะสม
| อุปกรณ์ Field | I/O Type ที่ใช้ | ตัวอย่าง |
|---|---|---|
| Proximity Sensor (NPN) | Digital Input DC (Sink) | Inductive Sensor ตรวจ Metal |
| Solenoid Valve 24VDC | Digital Output Transistor | Pneumatic Solenoid, Relay Coil |
| Contactor Coil 220VAC | Digital Output Relay | Main Motor Contactor |
| Temperature Transmitter | Analog Input 4–20mA | Thermocouple + Transmitter |
| Flow Meter (Pulse Output) | High-Speed Counter Input | Turbine Flow Meter |
| Inverter Speed Control | Analog Output 4–20mA | AC Motor Drive |
| Servo Motor | Pulse Output Module | Mitsubishi MR-J4 Servo |
| E-Stop Button | Safety Input Module | Safety Relay Circuit |
ข้อผิดพลาดที่พบบ่อยเมื่อเลือก I/O Module
- เลือก NPN Input แต่ Sensor เป็น PNP — Current ไหลผิดทิศ Sensor ไม่ทำงาน ต้องตรวจ Sensor Spec ก่อน
- ใช้ Relay Output กับ Inductive Load โดยไม่มี Snubber — Relay Contact สึกเร็วมากจาก Back-EMF
- ต่อ Analog Input แบบ 2-wire กับ Module ที่ต้องการ 3-wire — ค่าที่อ่านได้ผิดพลาดทั้งหมด
- ไม่ตรวจ Common/COM ของ Output Group — Transistor Output บาง Module COM เป็น Sink บางตัวเป็น Source ต้องตรวจ Manual
สรุป
การเลือก I/O Module ที่ถูกต้องทำให้ระบบทำงานได้ตั้งแต่วันแรก การลงทุนเวลาทำ I/O List ที่สมบูรณ์ก่อนสั่งซื้อ Hardware ช่วยประหยัดค่าใช้จ่ายและเวลาได้มาก ทีม Xeniel Automation รับออกแบบระบบ PLC และ I/O Selection สำหรับโรงงานในชลบุรีและระยอง
ให้เราช่วยเลือก I/O Module และออกแบบระบบ PLC
Xeniel Automation รับออกแบบระบบ PLC ตั้งแต่ I/O Selection, Panel Design ถึง Programming ครบวงจร บริการโรงงานนิคมชลบุรีและระยอง
ปรึกษาวิศวกรฟรี ทันที!โทร 098-965-3845 | LINE: @xeniel.24
ตาราง I/O Module ที่ใช้บ่อย Mitsubishi FX5U
| Part Number | ประเภท | I/O Count | ใช้กับงาน |
|---|---|---|---|
| FX5-8EX/ES | Digital Input Extension | 8 DI | เพิ่ม DI ทั่วไป |
| FX5-8EY/ES | Digital Output (Relay) | 8 DO | Output แรงดันสูง |
| FX5-8EYT/ES | Digital Output (Transistor) | 8 DO | Output ความเร็วสูง |
| FX5-4AD | Analog Input | 4 AI (0–10V/4–20mA) | Temperature, Pressure Sensor |
| FX5-4DA | Analog Output | 4 AO | Speed Reference, Valve Control |
| FX5-4LC | Temperature Control | 4 Thermocouple | Oven, Heater Control |
วิธีวินิจฉัย I/O Module เสีย
- ดู LED บน I/O Module — ทุก Module มี LED แสดงสถานะ ON/OFF ของแต่ละ Channel
- Force Output ด้วย Software — ใน GX Works3 Device Monitor ลอง Force Y0.0 = ON ดูว่า Output LED ติดไหม
- วัด Voltage ที่ Output Terminal — ถ้า Force แล้ว LED ติดแต่วัดได้ 0V = Terminal หรือ External Circuit มีปัญหา
- วัด Input ที่ Input Terminal — ถ้ามี Signal มาจาก Sensor แต่ X LED ไม่ติด = Input Module หรือ Common อาจมีปัญหา
ควรเรียกผู้เชี่ยวชาญเมื่อไหร่?
- ต้องการ Expand I/O Module ใหม่และต้องแก้ Program
- I/O Module เสียและไม่แน่ใจว่าต้องเปลี่ยนรุ่นอะไร
- ต้องการ Add Analog I/O สำหรับ Temperature หรือ Pressure Control
สรุป
I/O Module ที่เลือกถูกและติดตั้งถูกต้องคือหัวใจของระบบ PLC ที่เชื่อถือได้ เลือก Module ให้เหมาะกับ Sensor ประเภท Voltage/Current และ Speed โรงงานในชลบุรีและระยอง Xeniel ออนไซต์แก้ปัญหา I/O ได้ด่วน
I/O Module มีปัญหา? Xeniel ช่วย Select และติดตั้งให้
Xeniel Automation รับเลือก I/O Module ที่เหมาะสม ติดตั้ง Commission และ Update โปรแกรม บริการชลบุรีและระยอง
ปรึกษาฟรีทาง LINE โทร 098-965-3845