จำหน่าย IOTService คู่มือตั้งค่า UART RS232 RS485 Serial Server ครบทุก Parameter

คู่มือตั้งค่า UART RS232/RS485 ใน IOTService Serial Server ครบทุก Parameter

การตั้งค่า UART ให้ถูกต้องเป็นสิ่งสำคัญที่สุดในการใช้งาน Serial Server หากค่า UART ไม่ตรงกับอุปกรณ์ปลายทาง จะทำให้ข้อมูลเพี้ยนหรือสื่อสารไม่ได้เลย บทความนี้รวบรวมทุก Parameter ที่ต้องรู้พร้อมคำอธิบายละเอียด

Interface UART ที่รองรับ

Interface คำอธิบาย ระยะทางสูงสุด จำนวน Node
RS232 Point-to-Point, สายไม่กี่เส้น 15 เมตร 2 (1-to-1)
RS485 Half-Duplex Multi-drop, ใช้สาย 2 เส้น 1200 เมตร 32
RS485 Full-Duplex 4 สาย, ส่งรับพร้อมกัน 1200 เมตร 32

Baud Rate — ความเร็วการสื่อสาร

Baud Rate การใช้งานทั่วไป
9600 PLC, Meter, Sensor ทั่วไป (ค่า Default ที่พบมากที่สุด)
19200 Modbus RTU ความเร็วสูง
115200 Console Port, Debug Interface, GPS Module
38400 Barcode Scanner, Printer

Data Format — รูปแบบข้อมูล

รูปแบบที่พบมากที่สุดในอุตสาหกรรม: 8N1 = Data Bits 8, Parity None, Stop Bits 1

Parity คำอธิบาย ใช้เมื่อ
None (N) ไม่มีการตรวจสอบ ทั่วไป (ใช้บ่อยสุด)
Even (E) จำนวน 1 bit เป็นเลขคู่ ระบบที่ต้องการ Error Detection
Odd (O) จำนวน 1 bit เป็นเลขคี่ Protocol บางชนิด

Flow Control

  • None — ไม่มี Flow Control เหมาะสำหรับ RS485 Modbus RTU
  • RTS/CTS — Hardware Flow Control เหมาะสำหรับ RS232 ความเร็วสูง

Packet Size และ Timeout Setting

IOTService รองรับการตั้งค่า Packet Length และ Packet Timeout เพื่อควบคุมการ Packetize ข้อมูล Serial เป็น TCP Packet ช่วยลด Latency และเพิ่ม Throughput

Parameter แนะนำ
Packet Length 0 (ไม่จำกัด) หรือตามขนาด Frame ของ Protocol
Packet Timeout 10–50ms สำหรับ Modbus RTU

UART Configuration | English Summary

Proper UART configuration is critical for Serial Server operation. IOTService supports RS232 and RS485 (half/full-duplex) with baud rates from 300 to 921600 bps. The most common industrial setting is 9600-8N1 (Modbus RTU). Configure packet size and timeout to optimize TCP packetization for low-latency communication. Always match UART settings exactly with the connected serial device.

📥 ดาวน์โหลด IOTService พร้อมคู่มือ UART Configuration ที่ VR Automation

🛒 สนใจซื้อ Serial Server Hi-Flying พร้อม IOTService?

VR Automation จำหน่าย Serial Server, PLC, HMI, Inverter, Servo Motor ครบวงจร

📧 [email protected]  |  🌐 vrautomation.co.th

📥 ดาวน์โหลด IOTService
📞 ติดต่อขอใบเสนอราคา

ใส่ความเห็น

อีเมลของคุณจะไม่แสดงให้คนอื่นเห็น ช่องข้อมูลจำเป็นถูกทำเครื่องหมาย *