Thai Hotspot Network Co.,Ltd.
84 หมู่ 5 บ้านสระบัว ต.ลาดตะเคียน อ.กบินทร์บุรี จ.ปราจีนบุรี 25110

ลุงเปี๊ยก    มือถือ/LINE/พร้อมเพย์    0818462316

เฟซบุ๊ค : Thai-Hotspot-Network   (แผนที่..คลิก )

ผู้ผลิต-จำหน่าย-ติดตั้ง สายอากาศ WiFi แบบ Slotted Waveguide (SlotWave) คุณภาพระดับโลกหนึ่งเดียวของไทย
บริการตัดต่อสายไฟเบอร์ออฟติค, ทำเทสรีพอร์ต, การหาจุดระยะสายขาด ด้วยเครื่อง Fusion Splicer และ OTDR

ว่าที่ลูกค้าทุกท่านโปรดทราบ เราผลิต/จำหน่ายสินค้า 2 รายการดังต่อไปนี้เท่านั้น คือ สายอากาศ WiFi และ หูยึด NS 300/1000 เท่านั้น นอกเหนือจากนี้ไม่ต้องโทรมาค๊าบ... ข้อมูลอื่นๆที่อาจทำให้ท่านสับสน เนื่องจากผมนำมาใส่ใว้เพื่อเตือนความจำหรือเป็นความรู้เท่านั้นไม่ได้นำมาขาย โปรดอ่านให้ดีก่อนค๊าบบบบบ..       ข่าวดี..!!!...สายอากาศแบบ Slotted Waveguide ย่าน 5GHz. ขณะนี้อยู่ในช่วงผลิตเพื่อทดสอบ หลังจากปรับปรุงแก้ไขพร้อมเมื่อไร เราจะผลิตเพื่อจำหน่ายแบบเป็นทางการ

กระทู้เมื่อเร็วๆ นี้

หน้า: 1 2 3 [4] 5 6 7 8 ... 10
31

กำหนด การสอบ การอบรมและสอบ เพื่อรับประกาศนียบัตรพนักงานวิทยุสมัครเล่นขั้นต้น ประจำปี 2563




www.nbtc.go.th/Business/กิจการวิทยุสมัครเล่น 2563/1

www.nbtc.go.th/Business/กิจการวิทยุสมัครเล่น 2563/2





กำหนดการสอบ การอบรมและสอบเพื่อรับประกาศนียบัตรพนักงานวิทยุสมัครเล่นขั้นต้น ประจำปี 2563 (ฉบับที่ 1)




1.




2.




3.







กำหนดการสอบ การอบรมและสอบเพื่อรับประกาศนียบัตรพนักงานวิทยุสมัครเล่นขั้นต้น ประจำปี 2563 (ฉบับที่ 2)




4.




5.




6.









ที่มา....
www.gpsteawthai.com/index.php/topic,7187


33


เคสนี้เป็นการดัดแปลงเอาสายอากาศที่มีอัตราขยายดีและกึ่งทิศทางไปแทนสายอากาศคู่ตัว Access Point หรือตัวเราเตอร์ wifi ที่ติดตัวมาสั้นๆ เพื่อเอาคุณสมบัติที่ดีนี้ไปเกาะ wifi เพื่อนบ้านที่อยู่ไกลมากแล้วมาส่งต่ออีกที เราเคยเกาะกันถึงระยะ 800 เมตร แต่ช่วงนั้นรีบทำงานจนไม่มีเวลาเก็บข้อมูลและภาพ เพราะน้องฝนมามืดตรึบ ขนาดพันเทปละลายที่ขั้วสายอากาศยังแทบไม่ทันครับ...5555
34

งานยิงสัญญาณ WiFi แบบใช้วิธีทวนสัญญาณ (Repeater) ระยะไกล
สำหรับบ้านที่ห่างไกลเน็ต โดยใช้สายอากาศสลอทเวฟไกด์ SWG 24-051 ที่เราผลิต



งานยิงสัญญาณ WiFi แบบใช้วิธีทวนสัญญาณ (Repeater) ระยะไกล สำหรับบ้านที่ห่างไกลเน็ต

    เนื่องจากบ้าน 2 หลัง ไกลปืนเที่ยง ไม่มีไฟฟ้า ไม่มีประปา ไฟฟ้าได้จากแผงโซล่าเซลเก็บในแบ็ตฯเอาไว้จ่ายไฟยามค่ำคืน และไร้สัญญาณเน็ต เพราะไม่มีเสาไฟฟ้าให้สายเน็ตเกาะมา ครั้นจะใช้เน็ตมือถือก็อ่วมค่าแพ็กเก็ต

    ก็มาปรึกษาผมว่าทำยังไงจะมีเน็ตใช้ชั่วคราวไปก่อน (จนกว่าสายเน็ตส่วนตัวจะเข้ามาได้) ถ้าไปขอเค้าใช้ บ้านใกล้สุดก็ร้านกาแฟฟาร์มเฮา ผมก็เปิดแผนที่กูเกิ้ลวัดระยะทางซึ่งอยู่ในระยะประมาณ 400 เมตร

    ผมเลยตอบไปว่าระยะเท่านี้ถ้าจะใช้จริงๆ ก็สามารถไปขอความอนุเคราะห์เกาะสัญญาณ และช่วยค่าใช้จ่ายเค้า จากนั้นหนึ่งในสอง สว.ก็ตุรัดตุเหร่ (เดินทาง)ไปคุยกับป้า (แฟนลุงสมหมาย) เพื่อขออนุญาตเกาะสัญญาณ คุณป้าท่านใจดีก็ให้ความอนุเคราะห์อนุญาต

    ทุกอย่างผ่านหมด ผมก็จัดการขนอุปกรณ์ต่างๆเพื่องานนี้ใส่รถไปจัดการให้ ก็สมประสงค์ตามเจตนา โดยใช้สายอากาศตัวเล็กสุดที่ผมผลิตเองแบบสลอทเวฟไกด์ รุ่น SWG 24-051 (แบบ 5 รูสลอท ยาว 90 ซม.) และตัวเราเตอร์ไวไฟยี่ห้อทั่วไปที่ทำรีพีทเตอร์ได้  ไปยึดบนจุดชมวิวบ้านลุงชาญสิทธิ ในจุดที่ไม่สูงมากเพื่อไม่ให้เป็นเป้าล่อฟ้าผ่าอุปกรณ์เสียหาย

    ทำกันอยู่ประมาณ 2 ชั่วโมงก็จบข่าว สัญญาณที่เทสสปีดได้ ประมาณ 5-10 Mbps ถือว่าไอเคแล้ว สำหรับการขอเกาะแบบไม่ได้เข้าไปปรับแก้ค่าเราเตอร์ตัวเดิม ซึ่งเราก็ไม่อยากไปยุ่งเดี๋ยวจะเกิดมีปัญหาตามหลังมา และจะไม่เข้าใจกันเสียเพื่อนบ้านไปปล่าวๆ

    เพราะถ้าเกาะสัญญาณกันจริงๆ แบบสปีดได้สูงๆ ต้องไปเซ็ตค่าตัวเราเตอร์หลักต้นทางด้วยครับ เช่นค่า ชาแนลไวด์/ค่าลีสไทม์ และ...

    ซึ่งเคสลักษณะนี้ท่านทั้งหลายมาแวะ มาคุย มาปรึกษาได้ครับ เรามีอุปกรณ์ไปทดสอบสัญญาณให้ท่านฟรี ถ้าระยะทางไกลๆ ช่วยค่าน้ำมันด้วยเน้อครับ




ไซต์งานตัวอย่าง จะอยู่ด้านใต้สุดของเว็บหรือตรงนี้ก็ได้

www.thaihotspotnetwork.com/index.php/topic,421

www.thaihotspotnetwork.com/index.php/topic,433

www.thaihotspotnetwork.com/index.php/topic,461









01. พิกัดปลายทางคือบ้านโคกหมาจอก บ้านของ 2 สว. (2 ผู้เฒ่า)  13.850306, 101.662528

https://goo.gl/maps/g7nn7GAowXUFN9VVA


คือจุดติดตั้งสายอากาศเพื่อไปขอเกาะสัญญาณ WiFi เพื่อนบ้านที่ห่างไป 400 เมตร แล้วมาจ่ายอีกทอดนึง ให้สังเกตุว่ามันสูงจากพื้นดินแค่ 4 เมตร เท่านั้น ตัวนี้ทั้งไปขอเกาะและจ่ายเน็ตด้วยในตัว จึงใช้สายอากาศแค่ต้นเดียว







02. จุดยึดสายอากาศและอุปกรณ์เราเตอร์ WiFi ใส่กล่องกันน้ำอยู่ใต้สายอากาศ โดยหันหน้าไปด้านขวาเพราะต้นทางเน็ตมาทางนั้น







03.  นี่ครับยึดสายอากาศง่ายๆแบบนี้แหละ







04.  ไปยืนบนจุดติดตั้งชุดสายอากาศ จะเห็นร้านกาแฟฟาร์มเฮาอยู่ไกลๆ โน่น







05. ตัวเราเตอร์ WiFi ที่เซ็ตให้ทำงานแบบรีพีทเตอร์และกระจายสัญญาณ WiFi เสร็จสรรพในตัวเองอยู่ในกล่องกันน้ำ ยึดด้านใต้สายอากาศ







06. ตัวเราเตอร์ WiFi ที่เซ็ตให้ทำงานแบบรีพีทเตอร์และกระจายสัญญาณ WiFi เสร็จสรรพในตัวเองอยู่ในกล่องกันน้ำ ยึดด้านใต้สายอากาศ







07. เปิดดูด้านในกล่อง







08. เปิดดูด้านในกล่อง







09.  เห็นอะไรชัดๆ ไม่มีอะไรมากกว่านี้ครับ







10.  แบบชัดๆ เป็นเราเตอร์ทั่วๆ ไป ที่มีสายอากาศในตัว แต่ผมโมฯมันใหม่โดยไปซื้อชุดสายต่อแบบหางหนูที่มีขายบนเว็บเส้นละ 50 บาท แบบมีขั้วต่อ SMA มาด้วย 2 เส้น แล้วจัดการดังที่เห็น เพื่อใช้สายอากาศภายนอกได้







11.







12.  งานนี้เราใช้สายอากาศ WiFi ที่เราผลิตเองรุ่นนี้เลย SWG 24-051 ยาวแค่ 90 ซม. เล็กพริกขี้หนู







13.  จุดนี้ยืนถ่ายที่ระยะห่าง 200 เมตร







14.  และถ่ายย้อนไปที่ต้นทางเน็ต ที่ระยะห่าง 200 เมตรเท่ากัน

พิกัดต้นทาง (ร้านกาแฟฟาร์มเฮา)   13.847500, 101.660500

https://goo.gl/maps/5k9JwCREdRoZX9ra9








14.  มาดูภาพมุมสูงจากดาวเทียม คือจุดที่เรายืนถ่ายภาพอีกจุดนึง







16.   จากข้อ 14. เราถ่ายกลับไปที่บ้านปลายทางของเน็ตที่ระยะ 310 เมตร เรายืนจุดนี้รับสัญญาณ WiFi จากบ้านที่เห็นไกลๆได้สะบาย







17.  หันไปด้านขวามือ คือจุดต้นทางของเน็ตที่ระยะห่าง 120 เมตร เป็นร้านกาแฟฟาร์มเฮา ร้านกาแฟที่โด่งดังที่สุดในย่านนี้ เรารับสัญญาณที่นี่ได้เป็นบางครั้ง







18.  ภาพอธิบายขอบเขตสัญญาณ WiFi ของร้านกาแฟ (วงกลมสีเหลือง) ว่าไปได้ไกลแค่ไหนที่อยู่ในระยะเล่นเน็ตได้ และให้ดูแนวเส้นสีส้มคือสัญญาณของสายอากาศของเราที่มาขอเกาะ WiFi ร้านกาแฟ พร้อมกับจ่ายสัญญาณย้อนกลับมาที่ร้านกาแฟได้ จะเห็นว่าสัญญาณมันไม่ได้เป็นวงกลมหรือวงโค้ง แต่เว้าๆ แหว่งๆ ไปกับแนวป่า นั่นหมายถึงสัญญาณ WiFi ตามกฏหมายบังคับใช้กำลังส่งมันต่ำมากไม่เกิน 200 มิลลิวัตต์ ทำให้ทะลุทะลวงแนวป่าได้ไม่มาก ซึ่งมันไม่สามารถไปเทียบกำลังส่งของระบบโทรศัพท์เคลื่อนที่ ที่มีกำลังส่ง 60,000 มิลลิวัตต์ได้เลย เห็นตัวเลขกำลังส่งแล้วใช่มั๊ย นี่แหละมันเทียบกันไม่ได้







19.







20.







21.  ภาพเปรียบเทียบสัญญาณที่รับได้  อ่านความหมายที่ผมอธิบายบนภาพให้ดี ตีความให้ออกทุกตัวอักษรนะครับ เช่น บรรทัดสุดท้ายนี่คือของจริง ว่าท่านที่พกไอโฟนจะรับสัญญาณ WiFi ได้ไม่ดีเท่าแอนดรอยด์ ถ้าเป็นศัพท์ที่ใช้ในวงการสื่อสารเค้าเรียกว่า "เครื่องหูตึง" หมายถึงภาครับส่งมันออกแบบไว้ไม่ดีเท่าแอนดรอยด์

หลายคนสงสัยว่าทำไมเป็นแบบนี้ เอาชัดๆนะครับผมจะอธิบายเป็น2ระบบให้ชัดๆ

1. ชิปที่ใช้รับ/ส่งสัญญาณ WiFi เทคโนโลยีของใครของมัน
    1.1  แอนดรอยด์ ทุกยี่ห้อ ใช้ชิปที่ผลิตโดย กูเกิ้ล
    1.2  ไอโฟน ใช้ชิปที่ผลิตโดย แอปเปิ้ล

2. ชิปที่ใช้รับ/ส่งสัญญาณมือถือ ถ้าเป็น GSM ใช้เทคโนโลยีของ ควอคอมป์
    ** เช่น มือถือทุกเครื่องในโลกนี้ที่เป็นระบบ GSM ใช้ชิปที่ผลิตด้วยเทคโนโลยีของ ควอคอมป์ หมดครับ
        หรือระบบ 3G, 4G, 5G ทุกเครื่องก็มาใช้ชิปที่ผลิตโดยผู้คิดค้นเทคโนโลยีนั้นๆ หมดครับ คุณไม่มีสิทธิแตกแถวไปผลิตชิปใช้เอง เพราะเป็นลิขสิทธิที่ผู้คิดค้นเค้าไม่ยินยอม

       ลองถามช่างซ่อมมือถือได้เลย จะเป็นเครื่องยี่ห้ออะไรก็แล้วแต่ ถ้าภาครับ/ส่งมือถือเสีย ใช้ชิปเบอร์เดียวกันครับ แม้เครื่องยี่ห้อโหลยโท่ยราคาถูก ก็ใช้ชิป GSM ตัวเดียวเบอร์เดียวกะเครื่องราคาหลักแสนครับ

ฉะนั้นชิบแอนดรอยด์เช่นกัน จะยี่ห้อไหนราคาเท่าไร ก็ใช้ชิบแอนดรอยด์เบอร์เดียวกันครับ ชัดเจนนะครับ







22.  อันนี้ขยายภาพให้ดูจากภาพบน ว่าความแรงเท่านี้ เรารับสัญญาณได้และส่งสัญญาณกลับไปหาตัวรับต้นทางได้ แต่โปรแกรมในตัวชิปไม่ยอมให้เราเล่นได้ เพราะมันมีผลต่อชื่อเสียงของเค้า เช่น สปีดช้ามาก เด๋วคนปากใวจะไปด่าประมาณว่ามือถือยี่ห้อบ้ารัยว๊ะโหล่ยโท่ยช้าอิ๋บอ๋าย เค้าจึงเขียนโปรแกรมใส่ชิปไว้สะเลย ว่าถ้าคุณภาพสัญญาณลักษณะจากนี้ไปให้เป็นมาตรฐานว่าไม่สามารถเล่นได้ ตอบง่ายๆแบบนี้แหละ

เคยมีช่างและนักวิชาการหลายคนมาเถียงผม ว่า มันรับได้แต่ส่งไม่ถึง ผมถามย้อนกลับคำเดียว ถ้าส่งกลับไม่ถึงแล้วมันโชว์ระดับได้ยังไง อึ้งเลย







23.  ให้ดูว่าที่ระยะ 310 เมตร เราเกาะสัญญาณ WiFi จาก SSID ชื่อ Mr.Nikorn.......  ได้ตลอดนะครับ







24.  ให้ดูว่าที่ระยะ 310 เมตร เราเกาะสัญญาณ WiFi จาก SSID ชื่อ Mr.Nikorn.......  ได้ตลอดนะครับ
แต่ระยะ 120 เมตรจากร้านกาแฟฟาร์มเฮาเราเกาะไม่ได้ เนื่องจากสัญญาณที่รับได้อ่อนมาก







25.  ให้ดูว่าที่ระยะ 310 เมตร เราเกาะสัญญาณ WiFi จาก SSID ชื่อ Mr.Nikorn.......  ได้ตลอดนะครับ







26.  ให้ดูว่าที่ระยะ 310 เมตร เราเกาะสัญญาณ WiFi จาก SSID ชื่อ Mr.Nikorn.......  ได้ตลอดนะครับ





จบบทความครับ



35

Mach3 USB 4 Axis 100KHz.
เลขกำกับบอร์ด BSMCEO4U-PP

ต่อเนื่องจากกระทู้นี้
www.thaihotspotnetwork.com/index.php/topic,600







https://buildyourcnc.com/Item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

Introduction:
This USB Controller will run Mach3 through a standard USB port on a PC. Sold and shipped next day or quicker from the United States. Warranty and support available.

Description:
If you're tired of needing a parallel port and an outdated PC to run Mach3, this is the solution you've been waiting for! Our newest interface board runs through any standard USB port for communication. You simply need to install the card's plugin for Mach3 and follow the setup instructions.

Note: We are an authorized Mach3 distributor. Please purchase an official Mach3 license to run Mach3. If you use a counterfeit license, you will not be able to receive support for this product.

Package Includes: Mach3 USB Board and USB Cable

Manual and Driver Downloads Click On Links to Download or View

USB Motion Driver Link 1

USB Motion Driver Link 2

Mach3 Configuration File RIGHT CLICK AND SELECT "SAVE AS"

Setup Instructions

Step 1: Installing Mach3: You will need to purchase a Mach3 license and download the software. If you already have a licensed copy of Mach3, skip this step.

Step 2: Download the USB Motion Driver RnRMotion.dll from the link above and copy and paste the file into your Mach3 Plugins folder Example: "C:/Users/ProgramFiles/Mach3/Plugins"

Step 3: Make sure you board is connected to the PC via USB cable. It should automatically recognize the USB device.

Step 4: Open Mach3 and you should be prompted to select a driver. Select the "RnRMotionController" and check "Don't ask me again". This will allow your board to communicate with Mach3.

Step 5: Download the XML Mach3 Config File above by right clicking on the link and selecting "save as". Save the Mach3Mill.xml file in your Mach3 root folder.







Note: An additional power source is required for the limit switches and spindle portion of the board.

Functional Overview:

RNR Universal USB Motion Card is designed for Mach3 software. Its functions and features are as follows:

- Supports up to 4-axis linkage control. The 4th axis can be set as the slave axis.

- The output pulse is 100K. The minimum error interpolation algorithm is high processing accuracy.

- USB interface, suitable for any netbook with USB interface, laptop, desktop and tablet PC compatible computers

- No driver Designed to be better compatible with various hardware and software environments (supports WinXP and WIN7 systems). We have tested it with Windows 10 systems and it seems to work fine.

- Supports automatic homing (return to zero)

- Slave axis auto-levels at homing

- Supports automatic tool setting

- Supports emergency stop input

- Support limit switch access

- Support spindle control (PWM mode and relay mode)

- Provide 4 channels with optocoupler isolated digital signal input

- Provide up to 12 digital signal inputs

- Provide 4 channels with optocoupler isolated relay output

- Support handwheel Interface

- Interference design, imported industrial components, high reliability








01. Wiring Diagram








02. Diagram of the Mach3 USB Controller:

Red Terminals - Step and direction signals to connect to stepper motor drivers.

Yellow - USB Connector

Brown - Status LED

Blue - Input/Output Terminals

Green - Hand wheel connector



Controller board dimensions:

Mounting dimensions are 69.85 mm in the short side and 73.66 mm in the long side.

Overall board dimensions are 77.47 mm on the short side and 81.28 mm on the long side.


First Use:

For the first time the user of the RNR motion control card will need to make some necessary settings. First, install the Mach3 software and remember where the Mach3 software is installed. Copy the Plugins RnRMotion.dll file to the Mach3 Plugins folder.

Connect one end of the USB cable to the RNR universal motion control card and the other end to a computer. This product adopts the drive-free design. The Windows system can automatically detect the RNR universal motion control card and does not require the user to additionally install the device driver. If you click on the device driver installation icon on the bottom right of the desktop, you will see a pop up window dialog box that should show "RNR ECO MOTION 2.0".

For the first time, the RNR universal motion control card is connected, the system detection takes about 10 seconds. After the system correctly detects the RNR motion control card, the blue LED will light up. In this way, we know that the RNR universal motion control card can be used.








03. Next, start the Mach3 software. When Mach3 software is started, a pop-up control dialog selection screen will appear.

Select [RnR motion control card -ECO-V2.0] After the above operation, we can use Mach3 software to control our machine tools and other automatic equipment.

Pulse output:

Connection (step / servo) motor driver RNR motion control card can control 4 motors, respectively named X

axis, Y axis, Z axis, and A axis. Each axis motor control signal has a 2: command pulse signal

P four-axis (a signal corresponding to the "XP", "YP", "ZP" and "AP" and the direction signal D a four-axis (signal corresponds to the "XD ", "YD", "ZD" and "AD"). The motor driver signal Interface usually has a single-ended or differential mode.








04. Differential Mode:

For the of the motor to drive in a differential manner, wire the RNR motion control card as

shown in the image.








05. Single-Ended:

Interface to the single-ended motor driver usually has two forms. The most common type is that one end of its internal signal isolation optocoupler is connected to the internal 5V power supply. This kind of driver input interface is the same as the RNR motion controller card wiring in this image.


Addition Information on the driver signals and the 5v terminal:

RNR motion control card pulse output ports includes a pair of power output 5V terminals (5V, GND), this provides for 5V DC power supply terminals for the motor driver input interface for wiring. No special requirements, please avoid introducing other power lines on this interface. When an axis direction of movement with the expected direction of motion during reverse operation, the motor output can be altered [(Motor Outputs)] in direction) interface [Mach3Dir Low Active Item to reverse the direction of motion. When a shaft of the motor running, sounds very harsh, the output pulse polarity is not required with the motor driver phase reversed. you can try [(Motor Outputs)] Mach3 changes in configuration interface the [Pulse Low Active (active low pulse)] option to change the output illustrating Pulse polarity.








06. Note that the RNR motion control card output signal is "1" (high level) at this time , the motor driver optocoupler output signal is "0"; RNR motion control card the output signal is "0" (low when level),the motor driver optocoupler output signal is "1." Therefore, the Mach3 must be Motor Outputs in configured as Low Active. Configuration methods: Select Menu [Set (Config)], select [port / pin pin (Ports and Pins)], select Motor output (Motor Output)] p, modified as in the image.








07. Another form of motor controller in single-ended mode, signal isolation optocoupler with one end of the internal connected to the internal power ground. This kind of driver input interface is the same RNR as the wiring diagram of the motion control card in this image.








08. Slave Axis Setting:

Some mechanical devices adopt the gantry structure which may need a dual motor drive. RNR motion control card may be provided as a slave axis, it can be

specified with the A axis stepper motor to move the gantry. along with the X axis stepper motor.

To set the A axis as a slave axis:

Select the Mach3 menu [(Config)], select [(Slave Axis)], You will see a dialog box as shown in the image

The A axis becomes the slave axis of the X axis. When the X axis moves, the A axis will X move synchronously. When the X-axis performs a home operation, the A-axis is automatically balanced (see the Automatic Homing section).








09. Input Signals:

RNR universal motion control card provides four optocoupler isolated signal inputs. As needed,a user can flexibly be defined as input signals the signal on the knife, homing signal, stop signal, the limit switch signal input or user-defined input signal. The signal input circuit of the RNR all-round motion control card is shown as in the image.

The user should connect the COM+ terminal to an externally supplied positive 24V of the 24V DC power supply should be DC power supply; the negative terminal connected to the COM- terminal. When the IN1..IN4 terminal is negative terminal of the 24V power supply shorted to the, the loop is closed and the corresponding input signal is logic "1"; the IN1..IN4 terminal is open and the corresponding input signal is logic "0".








10. This is a simple sketch of how the limit switches should be connected to the Mach3 USB board. You will need an additional power supply to power this portion of the board. 24V is not necessary. A 12 volt source coming from a PC power supply or AC adapter should suffice.








11. Wiring for the input signal

The signal input terminal is often connected to the proximity switch, mechanical limit switch or a photoelectric switch. The image shows the wiring for a proximity switch OMRON proximity switch TL-Q5MC2 (TL-Q5MC2 DC 3-wire, the NPN type, the power supply voltage DC12-24V,collector open output)








12. Photoelectric switches are often used as limit switches or origin/home switches by photoelectric RG150-8(light emitting diode photoelectric switch RG150-8 maximum current 50mA, NPN type open collector output.), For example, RNR versatile motion control card photoelectric switch wiring: in the image








13. Photoelectric switches are normally open and when the optical gap is blocked, the photoelectric switch is turned off. Therefore, the signal input terminal is always logic "1" and becomes logic "0" when blocked. This is contrary to typical limit switch operation. For this configuration, we must configure the corresponding input terminal to [Active Low via Mach3 software]. The configuration method is: select the menu [Config], select [Ports and Pins], and then select [Input Signals] Page, as shown in the image.

It is assumed that the user will connect the photoelectric switch to the IN1 terminal as the X-axis limit switch. At this point, you should check the Active Low of X++ and X-.








14. Emergency Stop Button

When the user presses the [Emergency Stop] button during processing, the machining process will be terminated immediately. This eliminates accidents the first time they occur. For safety reasons, we strongly recommend that you add an external input (IN1..IN4) terminal to the emergency stop button. The Emergency stop button wiring diagram as shown in the image.








15. Assume that the user connects the emergency stop button to the IN1 terminal. Accordingly, we need in to make configuration Mach3 software. The configuration method is: Select [Config], select [Ports and Pins], and select [Input Signals] page. Pull down the scroll bar, find the line with the name [Signal] [EStop],line of the Estop line check the [Enable], and set the Port # to 3. Port 3 is set means that the signal is processed by the RNR motion control card. Other port numbers indicate that this signal is not related to the RNR motion control card. Setting the Pin Number to "1" means that this signal is connected to the IN1 of the RNR Motion Control Card terminal. After the configuration is

complete, click OK.

Try running some G-Code and press the emergency stop button on the terminal IN1. Observe that the machine will stop.








16. Limit

When the limit switch is activated, the machining process will terminate immediately. This can effectively prevent the tool from moving outside the work area and cause danger. This is the same effect as pressing the emergency stop button. Therefore, we recommend that users connect limit switches. In order to only use a single input terminal, all of the switches can be wired in NO (Normally Open) configuration to the same signal input terminal. Limit switches are wired as shown in the image.








17. The assumption here is that the limit switch connected to the terminals IN1, then the configuration is as follows: Click Config, select (Ports and Pins), and then select (Input Signals). Pull down the scroll bar and find the [Signal] name [X++ (X axis positive limit)], [X--(X axis negative limit position)], [Y++ (Y axis positive limit position)], [Y--( Y-axis negative limit)], [Z ++ (Z-axis positive limit)] and other lines, the Enable [check]the {port # (port) is set to 3], the [Pin number (pin number)] is provided Is "1". As shown in the image.

Note that if the selected limit switch is a photoelectric switch, since the photoelectric switch is normally open, reference should also be a content of "input terminal wiring", the corresponding [active low (active low)]checked. In addition, when wiring, the switches are not connected in parallel, but instead should be

connected in series








18. The Automatic Return to the Origin or Homing

RNR motion control card supports the automatic return to origin function of each axis. The automatic return to each axis origin consists of four consecutive stages.

First stage is based on the set direction, with G0 (axis's rapid traverse) rate the percentage as given by the [Speed%] parameter in Mach3 towards the origin until it touches the origin switch;

Second stage: G0 rate from the origin switch, is set to fall back from the stop;

Third stage: the rate of movement at a rate of 1/10 of the first stage, gradually toward the moving origin,the origin until the touch switch stops with touches the origin switch at a very slow rate to ensure the accuracy of the origin;

Fourth Stage: In the same stage as the second stage, it will stop at the G0 rate after going back to the set distance. This ensures that the axis completely leaves the origin switch.

As described in the "limit switch setting" in the previous section, in order to use only one input terminal, the origin switches of the four axes can be connected in parallel and share one input signal terminal (IN1..IN4).








19. Mach3 software must be configured accordingly for the parallel normally open wiring configuration. It is assumed that the origin or home switch is connected to the IN2 terminal. The configuration method is: at the menu [Config], select [Ports and Pins], and then select the [Input Signals] page. Pull down the scroll bar to find the [Signal] names [X Home (X-axis home switch)], [Y Home (Y-axis home switch)], [Z Home (Z-axis home switch)], [A Home (A-axis origin) Switch)], select [Enable] to select [Port #] as "3" and [Pin Number] as "2". As shown in the figure:








20. Homing rate configuration method

Select the menu (Config), select (Homing / Limits) in [motor homing / Soft Limits)] (Motor Home / interface, find the line where the axis is located. Modify by changing[Speed %] the value. For example, we expect to perform with 50% of the G0 (Axis Rapid Move) rate homing, then set [Speed %] to "50". When returning to the origin, the direction of the axis movement is related to the position of the origin switch. If the origin switch is mounted on one end of the negative axis of the shaft, the [Home Neg] item should be checked. If the origin point switch is installed on one end of the positive axis of the shaft, [Home Neg] should be crossed as shown in the image








21. The second and fourth phases of the automatic return to origin process are the back-off phase after returning to the origin. Set distance fallback method is: select the menu (Config), select (Config Plugins).

In the pop-up window, find the [RnR Motion Control Card-ECO-V2.0] line and click [CONFIG] to display the [RNR Universal Motion Control Card Parameter Settings] dialog box.








22. In the Return to Zero setting box, change the back-off distance for each axis. As shown in the image, change the axes to "0.8". In this way, the return distance is "0.8" units when you return to the origin. Also, click the pull off checkbox to enable the pull off. Setup is completed, do not forget to click [Save].


The Automatic Origin Homing of Axis with Slave Axis

The axis and its corresponding axis of the slave axis must be equipped with a home switch, and the origin slave axis and the origin switch of the switch of its corresponding axis should be connected from the two signal input terminals. Here assumed is that the slave axis A-axis is the X axis, the X axis is mounted a home switch, A shaft is home switch mounted. When the X-axis performs a home operation, in the first stage, both the X-axis and the A-axis move toward the origin. The axis that first hits the origin switch will stop moving, and the other axis will continue to move until it touches the origin switch. The third stage is similar to the first stage. In this way, the two axes are balanced when they are automatically returned to the origin.








23. The automatic tool setting

RNR motion control card supports the automatic tool setting function. In Mach3, automatic tool setting can be used to automatically measure and compensate the tool length, position the workpiece, find the center of the workpiece, and find the center point of the workpiece. To use the automatic tool setting, an RNR universal motion controller card needs a signal input terminal (IN1..IN4) to be attached to the tool setter. This setter is also called a Z-Axis touch plate. The nature of the tool holder is a micro switch. Therefore, the self-made touch plate is very simple. Two wires, a connecting tool or edge finder, a connection to a single-sided printed circuit board or a connected workpiece. When the tool or edge finder hits circuit board the copper layer or metal workpiece, the line is turned on and the tool setting signal input is completed.

Select an input signal at an input signal terminal IN1..IN4 signal as a touch plate.








24. Assuming the input signal is selected as a terminal IN1 signal input tool. The setting method in Mach3 is: select [Config], select [Ports and Pins], and then select [Input Signals] page. Find the line where [Signal] is [Probe], check the [Enable] item, modify [Port #] to "3", and modify [Pin Number] to "1".

In Mach3, the specific tool setting process is accomplished through VBScript script code. VBScript script code requires the user to write according to the actual situation. Many VB scripts can be found on the internet. You will need to customize the code for your application.








25. Automatic Tool Clearing

Automatic tool clearing function helps the user to remove the tool length and workpiece thickness, and the Z defines the zero coordinate of axis to the machining surface of the workpiece. Mach3 does not provide automatic zeroing for the script code. We need to program the automatic tool zeroing function. Programming steps: Select menu (Operator) and select (Edit Button Script), and then find the (Program Run) screen, click (Auto Tool Zero) button.








26. As shown in the figure, Mach3 will pop up the scripting window, as shown in the

image.

Delete the original script code in the window and replace it with code that will work for your application.








27. The Handwheel Interface

RNR motion control card provides a handwheel interface to the user-supplied handwheel. Note that the handwheel interface has a withstand voltage of 5V, so only connect DC 5V powered handwheels. When the handwheel interface input exceeds 5V, it will cause damage to RNR's motion control card.

Below Each pin is described as follows:

- 5V positive and 5V negative: DC 5V power supply is available, which can be used to supply power to the handwheel

- X-axis, Y-axis, Z-axis, A-axis : a shaft connected to the hand wheel switch, used to select the desired axis jog

- A and B: connecting the hand wheel encoder outputs A and B

- X10: handwheel rate 10 times magnification

- X100: handwheel The rate100x

Enhancement handwheel interface is compatible with Weihong system handwheels.

WeiHong handwheel 15 Plug pin numbers. Weihong Handwheel Pin Definitions Connect to Handwheel Interface

1 VCC,L+ 5V Positive

2 A - A

3 B - B

4 Empty

5 Empty

6 X1

7 X10 - X10

8 X100 - X100

9 4 Axis - A Axis

10 Empty

11 COM Terminal, 0V,L - 5V Negative

12 Empty

13 Z Axis - Z Axis

14 Y Axis - Y Axis

15 X Axis - X Axis








28. Mach3 Handwheel Setting

Connecting the handwheel, the Mach3 must be set to enable handwheel jogging. Setup method: Select Menu [Set (Config)], select (Ports and Pins), select (Encoder / MPG "s) page, the [MPG # 1} [Enable] is checked, as shown in the image.

Press [OK] to save the setting








29. Press [Tab] on the keyboard to call out the Mach3 Handwheel control.

Click the [Jog Mode] button to switch the jog mode to [MPG (Handwheel)] mode and tap [Alt A] to switch the X axis selection as shown above. Gently rotate the handwheel encoder to see if it can control X-axis movement.








30. Handwheel Interface as an Extended Input Signal

If you do not need to connect a handwheel, you can use the handwheel interface as extra input signals. The handwheel conector will provide 8 more input signals, and with the previous 4 signal inputs IN1..IN4, will provide a total of 12 input signals.

The signal input hand wheel interface correspond to the terminals of the following:

- X axis: IN5

- Y axis: IN6

- Z Axis: IN7

- A axis: IN8

- X10: IN9

- X100:IN10

- A:IN11

- B:IN12

Note: IN5..IN12 handwheel input terminal does not support the interface corresponding to the limit or homing position, tool setting, only as a regular input of the switch used (typically used as a connection control panel). wiring signal input to the X-axis, for example, we need the X-axis access to Input signal internal Interface schematic principle handwheel As follows:








31. When the signal input switch is closed and shorted to ground, the logic signal "1" is input to the X axis. We select the Mach3 menu [Config] and select [Ports and Pins] and then select the [Input Signals] page. Drag the scroll bar to find the line where [Signal] is [Input #1],[Enable] select, and change [Port #] to For "3", change the [Pin Number] to "5" so that the Mach3 input signal [Input #1] corresponds to the input of the handwheel X. Select the








32. Look at the Diagnostics page of Mach 3. When you close the X axis external switch, you will see Input 1] Display turns green.








33. Output Signals

RNR motion control card provides four optocoupler isolated outputs. An output terminal adopt Darlington ULN2003, capable of driving an external relay or indicator. Drive capacity is 60mA. Wiring of output signal to relay.

COM+ and COM- of the signal output terminal block respectively connect the positive and 24V DC power supply negative poles of the. The output terminals OUT1..OUT4 are connected to the relay coil via a current limiting resistor (relay the other end of the coil is connected to the positive terminal of the 24V power supply). Wherein the resistance of the current limiting resistor based on requested relay.


Spindle Motor Control

Mach3 supports spindle motor control. Mach3 offers three spindle motor control methods.

The first is relay mode. Mach3 outputs control signals through two signal output terminals.

The second is the PWM mode. In this mode, Mach3 through the signal output outputs the PWM signal with a certain duty cycle output terminal that will create a (DC) spindle motor speed control.

The third method is the pulse method, which is mainly used to control the servo motor. The RNR motion control card does not support this mode.








34. Spindle Control in Relay Mode

The relay mode, the spindle motor drive signal output terminal using two relay switches on or off to achieve reversing the spindle motor. Suppose we need the signal output terminal OUT1 to drive the motor forward rotation relay and the signal output terminal OUT2 to drive the motor reversal relay. In Mach3, select the menu [Config], select [Ports and Pins], and select the [Spindle Setup] in the popup dialog page. In (Relay Control) box, ensure that (disabled Spindle relays) is not checked; in [clockwise output # (Clockwise Output)] Fill "1"; counterclockwise in [ Output # (CCW Output) and fill in "2".

Press [OK] button to save the settings. The user can connect the indicator OUT1 and OUT2 (refer to the previous section) for debugging. When the program "M3" is executed, OUT1 output signal will be seen; when the program "M4" is executed, the OUT2 output signal will be seen; when the program "M5" is executed, the OUT1 and OUT2 are turned off. Use the MDI page to enter the M3, M4 and M5 codes.








35. PWM Mode

Suppose we need to output PWM (pulse width modulation) signal on terminal OUT3 to drive the spindle motor power supply relay, motor speed adjustment is achieved. In Mach3: Select [Config], select [Ports and Pins], and select [Spindle Setup] page in the popup dialog box. In the Motor Control box, check Use Spindle Motor Output and select PWM Control.

[Use spindle motor output] is checked, Mach3 will automatically enable the spindle motor output pin. Click OK when the pop-up happens that will say "Spindle Motor has now been enabled. Ensure you set its pinouts.








36. Next, select the Motor Outputs tab. At the line where [Signal] is [Spindle], check [Enable], modify [Step Port] to "3", modify [Step Pin#] to "3", and specify OUT3 as Is the output terminal of the PWM.

Press [OK] button to save. Connect the indicator (refer to the previous section) to OUT3 for debugging. When the program "M3"executed is, OUT3 output signal can be seen








37.  In Mach3's [Program Run] page, click on the green [Spindle Speed] bar in [and change the value of [SRO%] to be less than [100%].

In this case, it can be observed OUT3 external indicator starts blinking in the diagnostics page (PWM output signal).








38. The Output of Other Signals

The signal terminal can be assigned to output pins OUT1..OUT4 in Mach3 from the script and can be manipulated in Mach3. For example, we need to assign OUT4 to Mach3's [OUTPUT#1]. Setting method: Select [Config], select [Ports and Pins], and select [in the popup dialog box Output Signals] page. Find the line where [Signal] is [Output #1], check [Enable], modify [Port #] to "3", and modify [Pin Number] to "4". When the changes are made, click OK to save.





36
ขอบคุณกระทู้นี้สำหรับการตั้งค่า Zero tool

https://www.bloggang.com/m/viewdiary.php?id=paa&month=03-2010&date=17&group=3&gblog=1



อ้างถึง
ส่วนนี่คือ VB script code ที่ใช้ ฝังลงไปกับ ปุ่ม "Auto Tool Zero" ครับ

*** มีการแทรกภาษาไทยลงไปเพื่อ อธิบาย ในบางส่วน เวลา Copy ไปลงก็ตัดออกก็ได้นะครับ ***

อ้างถึง
#################################################
' ให้เครดิตกับ -> Z เป็นศูนย์แมโครโดย Scott Worden - การสร้าง Timber Lake (และเคล็ดลับ "Probe Var" เล็กน้อยจาก Brian ;-)
'แก้ไขครั้งล่าสุดสำหรับภาษาไทยโดยธัญญาบุญศิริ (12/09/2552)

CurrentFeed = GetOemDRO(818)     'อ่านค่า Feed rate ปัจจุบันที่เครื่องใช้อยู่
PlateThickness = 16.1     'ความหนาของแผ่น PCB ที่ใช้อาจจะไม่เท่ากันทุกแผ่นฉะนั้นโปรดวัดและแก้ไขในส่วนนี้ (เอาเวอร์เนียวัดเอานะครับจะได้ชัวร์หน่อย)
ProbeFeed = 20     'ความเร็วในการเลื่อนแกน Z ลงมาแตะ Plate ค่านี้เหมาะสมดีแล้ว หรืออยากแต่งให้เร็วขึ้นก็ตามแต่ความเหมาะสมของแต่ละเครื่องครับ

Code "G90 F" &ProbeFeed

If GetOemLed (825)=0 Then     'ทำการตรวจสอบสัญญาณ Probe ว่าเป็น logic LOW อยู่หรือไม่, ถ้าไม่จะโดดลงไปทำคำสั่งถัดไป
Code "G4 P5" 'Time to get to the z-plate      'กำหนดการหน่วงเวลาไว้ 5 วินาที (คำสั่ง DWELL) ก่อนจะกระโดดไปทำคำสั่งถัดไป
Code "G31Z-5 F" &ProbeFeed     'กำหนดให้ใช้ Probe ในการเลื่อนไปเรื่อยๆในแนวแกน Z ไปยังพิกัดที่ระบุ ในที่นี้คือ -5 นั่นคือค่าระยะสูงสุด หากพ้นระยะนี้ จะถือว่าสิ้นสุดโปรแกรม
While IsMoving()     'แกน Z จะเลื่อนไปเรื่อย..จนกระทั่ง Mach3 ทำการตรวจสอบตำแหน่งของแกน Z ว่าถึง limit ที่ตั้งไว้หรือยัง หรือว่าสัญญาณที่ขา Probe มีการ Active แล้ว
Wend
Code "G4 P0.25"     'หน่วงเวลาประมาณ 0.25 วินาที
ZProbePos = GetVar(2002)     ' ทำการอ่านค่าจาก Registry ของ Mach3 ซึ่งจากเอกสารระบุว่าถ้าต้องการอ่านค่าแกน Z ให้ใช้ Adress 2002 (X=2000,Y=2001,Z=2002,A=2003,B=2004,C=2005
Code "G0 Z" &ZProbePos     'สั่งให้แกน Z เลื่อนไปยังตำแหน่งที่อ่านค่าได้จาก Registry
While IsMoving ()     'รอจนกระทั่งแกน Z หยุดเลื่อน นั่นคือแกน Z ไปหยุดยังตำแหน่งที่ตรวจพบใน Reigstry แล้ว
Wend
Call SetDro (2, PlateThickness)     'ตั้งตำแหน่งแกน Z โดยนำค่าความหนาของแผ่น PCB เพิ่มลงไปด้วย
Code "G4 P0.5"     'หน่วงเวลาไปอีก 0.5 วินาทีเพื่อให้ DRO set ค่าใหม่ลงไป
Code "G0 Z10.0"     'ยกแกน Z ขึ้นไปยังตำแหน่ง save แกน เพื่อทำการนำ Probe ออกมาก่อน
Code "(Z axis is now zeroed)"     'แสดงข้อความใน Mach3 เพื่อบอกว่าสิ้นสุดการตั้งแกน Z โดยสมบูรณ์
Code "F" &CurrentFeed     'กลับไปใช้ค่า Feedrate เดิมก่อนที่จะทำการตั้งค่าให้แกน Z
Else
Code "(Z-Plate is grounded, check connection and try again)" 'Z-Plate มีสายดินตรวจสอบการเชื่อมต่อแล้วลองอีกครั้ง this goes in the status bar if aplicable
Exit Sub
Exit Sub
End If

#################################################

Caution : ก่อนใช้งานปุ่ม "Auto Tool Zero" ทุกครั้ง ให้ทำการเลื่อนแกน Z เพื่อให้ดอกกัดไปอยู่ใกล้ Plate ให้ได้มากที่สุด (กะระยะเผื่อเอาไว้ซัก 2 -3 มม.) จากนั้นให้กดปุ่ม Reset แกน Z ให้เป็นค่า 0.000 ก่อนนะครับ เพื่อเป็นการบอกให้โปรแกรมรู้ว่าให้เริ่มต้นจากจุดนี้ เพราะเราได้ตั้งค่าระยะในการวัดสูงสุดเอาไว้ที่ -5 เท่านั้นหากแกน Z สูงเกินไปแล้วยังเลื่อนลงมาไม่ทันจะแตะโดนเพลท มันก็จะไม่เกิดอะไรขึ้นครับ ค่าที่ได้จะไม่ถูกต้อง

สุดท้าย ลองไปทำเล่นใช้กันดูนะครับย่นเวลาได้เยอะมากในการเปลี่ยนดอกกัดใหม่หรืเริ่มต้นการกัด......ทดสอบโปรแกรมและทำวงจรไว้ให้แล้ว...ผ่านครับ เอาไปใช้กันได้เลย

ต่อไปอาจจะมีการดัดแปลง Probe ไปใช้งานในรูปแบบอื่นเช่น.....การหาจุดกึ่งกลางวงกลมกรณีใช้การเจาะรูทำ mark จุดในการกัดชิ้นงาน 2 หน้า, การหาขอบของชิ้นงานโดยใช้ Probe ซึ่งวงจรนี้ใช้ได้หมดอย่างที่ว่ามา ...หรือเอาไปใช้ในการ Scan วัตถุเพื่อไปสร้าง Code (หรือเรียกง่ายๆคือเป้นการ Copy วัตถุ 3 มิติไปทำใหม่อีกชิ้นว่างั้น ซึ่ง PRobe อาจจะต้องเปลี่ยนรูปแบบวิธีซักหน่อยแต่ วงจรคงเดิม) แต่ไปเปลี่ยนในเรื่องของโปรแกรมครับ.....ถ้ามีเวลาจะมาลงให้ทำใช้งานกันอีกน่ะครับ



38
การติดตั้งไดร์เวอร์ USB


อ้างถึง
  Download

  Driver Mach3 USB 4 Axis 100KHz. Smooth Stepper Motion Controller

  Link 1

  Link 2

  ลิ้งนี้มีครบเลย Driver+Manual





1. ตรวจสอบการมองเห็นบอร์ด USB ด้วยการเข้าไปที่
   1.1 กดรูปสัญญลักษณ์ Windows (ข้างปุ่ม Alt)
   1.2 จะมีช่องค้นหาโผล่ขึ้นมา ให้ป้อนคำว่า Device Manager แล้วกด Enter





2. จะมีหน้าต่างนี้โชว์เอาเม้าส์คลิกที่คำว่า Human Interface Device แล้วเอาสาย USB เสียบระหว่างบอร์ดและคอมพิวเตอร์ ท่านจะเห็นคำว่า USB Input device โชว์เพิ่มมา ลองทดสอบปลดสายออกเจ้าตัวที่เพิ่มมาจะหายไป แสดงว่าคอมพิวเตอร์เรามองเห็นบอร์ดโดยสมบูรณ์ แต่ไดร์เวอร์ยังติดต่อกันไม่ได้

3. ปลดสาย USB ออกจากระบบก่อน

4. ขั้นตอนต่อไป คือ ลงโปรแกรม Mach3 ให้เสร็จ หรือท่านลงไปก่อนแล้ว ให้ปิดโปรแกรมไปก่อน

5. จากนั้นให้เชื่อมต่อสาย USB ระหว่างกล่องควบคุมและคอมพิวเตอร์
 
6. คัดลอกไฟล์ไดร์เวอร์ เช่น NcUsbPod.dll หรือ RnRMotion.dll
 
7. ไปวางที่โฟเดอร์ C:MAC3 / PlugIns




 
8. จากนั้นเปิดโปรแกรม Mach3 ขึ้นมา จะมีหน้าต่างป็อปอัพโผล่ขึ้น
 
9. ให้คลิกเลือก บรรทัดที่มีคำว่า USB (ชื่อไดร์เวอร์ที่ท่านเอาไปวางในข้อ 7.)
 
10. จากนั้นคลิกที่ปุ่ม Reset ในโปรแกรม Mach3 ไฟแสดงสถานะบนบอร์ดจะติดค้าง
 
11. เสร็จสิ้นการติดตั้งบอร์ด Mach3 USB Motion




<a href="https://www.china-cncrouter.com//downfile/2017082118281126761.pdf" target="_blank">https://www.china-cncrouter.com//downfile/2017082118281126761.pdf</a>

39

Manual

Inverter
SUNFAR E550-4T0040

ขนาด 4 Kw. รองรับระบบ 1 เฟส 220V และ 3 เฟส 380V






<a href="http://www.thaihotspotnetwork.com/Themes/image-topic/topic-600/Manual-SUNFAR-E550-4T0040.pdf" target="_blank">http://www.thaihotspotnetwork.com/Themes/image-topic/topic-600/Manual-SUNFAR-E550-4T0040.pdf</a>









01.






02.






03.






04.






05.






06.






07.






08.






09.






10.






11.






12.






13.






14.






15.






16.






17.






18.






19.






20.






21.


40

Mini cnc กับการติดตั้งบอร์ด Mach3 USB Controller
แทนบอร์ดแบบ Port Parallel ที่ล้าสมัย


www.gpsteawthai.com/index.php/topic,7600.0.html


อ้างถึง
เนื่องจากมีการเปลี่ยนบอร์ดใหม่ จึงจำเป็นต้องเก็บข้อมูลการตั้งค่าการต่อสายไว้ดูอ้างอิง
การติดตั้งไดร์เวอร์ usb  คลิกตรงนี้ ไม่ได้หมูแบบเซียนไอทีเน็ตเวิร์คคิดนะครับ เดี๋ยวจะหาว่าไม่บอก...!!??






    งานเลี้ยงย่อมมีวันเลิกลา เช่นกัน เทคโนโลยีการส่งข้อมูลระหว่างคอมพิวเตอร์ไปหาเครื่อง cnc ก็ต้องมีการพัฒนาจากการส่งข้อมูลจากพอร์ทขนานแบบเก่าไปสู่แบบ USB











1. เนื่องจากการรับส่งข้อมูลพอร์ทขนาน (พอร์ทปริ้นเตอร์) 25 Pin มันมีในคอมพิวเตอร์รุ่นเก่า และการส่งข้อมูลที่ทำได้สมบูรณ์มีเฉพาะรุ่นเท่านั้น หรือต้องเข้าไปปรับแต่งในวินโดว์ค่อนข้างมาก ทำให้ไม่สะดวกต่อการทำงาน ซึ่งคนดูแลต้องแม่นในการแก้ไขปรับแต่ง

    ซึ่งการส่งข้อมูลแบบนี้ ที่บอร์ดอินเตอร์เฟซไม่ต้องมีวงจรอะไรเลย จากคอมพิวเตอร์ส่งอะไรมา ระบบสมองกลของ cnc ก็รับแล้วไปแปลงค่าทำงานได้เลย

2. ต่อมาก็มีการพัฒนามาสู่แบบ USB และมีผู้ผลิตคิดค้นการส่งข้อมูลบอร์ดและไดร์เวอร์ให้ทำงานด้วยกันได้แบบน่าจะสมบูรณ์ที่สุดในยุคปัจจุบัน






ให้ภาพด้านล่างมันเล่าเรื่องละกันเนอะ...ฮา








01. เจ้าบอร์ดพอร์ทขนาน หรือบอร์ด Port Parallel สีเขียวๆนั่นแหละครับ บนนั้นมันไม่มีอะไรนอกจากลายวงจรมาหาขั้วต่อสายไปใช้งาน ไอ้แสบนี่แหละครับเจ้าปัญหา เพราะคนเขียนโปรแกรมสั่งการให้เครื่อง CNC มันทำงาน มันดันสั่งให้มาโผล่ที่พอร์ทนี้ ซึ่งพอร์ทนี้เดิมๆ มันเอาไว้ต่อกับเครื่องปริ้นเตอร์ (รุ่นเก่าๆ) ไอ้นี่แหละที่จะถูกถอดทิ้ง






02.






03.






04. หม้อแปลงไฟฟ้าขนาดใหญ่ 3 ลูก

    1. ลูกขวาสุดที่แขวนผนัง ลูกใหญ่ขนาดชามข้าว แปลงไฟจาก 220V. ลงมาเหลือ 75VAC เพื่อเอาไปจ่ายให้ไดเวอร์สเต็ปมอเตอร์ ในการทำหน้าที่ขยับแต่ละส่วนไปมา

    2. ตัวซ้าย 2 ตัวติดกัน มันใหญ่ขนาดแกลลอนน้ำมันเครื่อง 5 ลิตร แปลงไฟ 220V ขึ้นไปเป็น 400V แล้วทำการขนานกันเพื่อให้ได้กระแสสูงกว่า 10A แล้วไปจ่ายให้เครื่องอินเวอร์เตอร์แปลงเป็น 3 เฟส แล้วจ่ายต่อไปยังมอเตอร์ใหญ่สุด คือมอเตอร์สปินเดิ้ลที่มีกำลังถึง 3.3 Kw. ที่ทำหน้าที่กัดชิ้นงาน





05. ก็ต้องมาหาข้อมูลว่าเจ้าพอร์ทขนาน หรือ Port Parallel นี้ในแต่ละขาของมันหน้าที่ทำงานของมันแบบไหน รับ/ส่งอะไรออกขาไหน ต้องมีข้อมูลให้แม่น ไม่งั้นเวลาตัดเปลี่ยนงานจะงอก






06. นี่แหละครับ ผมต้องมานั่งไล่วงจรมันทั้งระบบ ไม่ใช่หมูๆนะครับ เพราะเครื่อง cnc ของผมมันไม่ใช่เครื่องขนาดเล็กหิ้วย้ายไปไหนง่ายๆแต่มันใหญ่และมีน้ำหนักเป็นตันนะครับ โต๊ะกว้าง 160 ซม. ยาว 280 ซม. (พื้นที่ทำงานบนโต๊ะ 120 ซม. x 240 ซม.) โครงสร้างเป็นเหล็กกล่องหนา 8 มม. ไอ้ความใหญ่นี่แหละ มันจึงไล่ระบบไฟฟ้าไม่ใช่ง่ายๆ เพราะสายควบคุมมันยาวขดไปมาบนรางกระดูกงูกว่า 20 เมตร ไหนจะมีระบบสายน้ำมันหล่อลื่น สายน้ำหล่อเย็นสารพัด

เห็นสายต่อไม่กี่เส้นแค่นี้แหละ แต่ระบบที่รออยู่ปลายสายพวกนี้ถือว่ามันอัจฉริยะมาก คำสั่งที่มันรับจากคอมพิวเตอร์แล้วส่งผ่านไปแต่ละส่วนของเครื่องจักรให้ทำงานสัมพันธ์กัน ยืนดูเครื่องมันทำงานแล้วทึ่งมาก

และการส่งสัญญาณแบบขนานนี่แหละบางคำสั่งมันไม่ยอมทำงานหรือเพี้ยนไปเลย ในกรณีที่เครื่องคอมพิวเตอร์เป็นพวกค่ายยี่ปุ่นแปลกแต่จริง นี่แหละปัญหาของคนมีเครื่อง cnc เลยหล่ะ

อ้างถึง
Parallel Port หรือพอร์ตขนาน เดิมเรียกว่า Printer Port เนื่องจากจะมีการนำพอร์ตขนาน มาใช้งานติดต่อกับเครื่องพรินเตอร์เป็นหลักโดยที่พอร์ตขนานนั้น สามารถให้ความเร็วในการส่งผ่านข้อมูลได้รวดเร็วกว่าพอร์ตอนุกรม และยังสามารถส่งข้อมูลขนาน 8 บิตออกไปได้โดยตรง


พอร์ตขนานของเครื่องคอมพิวเตอร์ประกอบ ด้วยสัญญาณทั้งหมด 25 เส้นสัญญาณ (DB25) โดยสัญญาณจะแบ่งออกได้เป็น 3 กลุ่มใหญ่ๆ ตามลักษณะหน้าที่ของสัญญาณ ประกอบด้วย
1) Data Register (Data bus) จำนวน 8 เส้น     (ขา 2-9)
2) Control Register จำนวน 4 เส้น                  (ขา 1,14,16,17)
3) Status Register จำนวน 5 เส้น                   (ขา 10-13,15)

Data Register (Data bus) จะมีอยู่ 8 ขา ตั้งแต่ขาที่ 2 ถึงขาที่ 9 บางทีมักถูกเรียกว่า Data Register ซึ่ง Register ตัวนี้จะส่งค่าได้อย่างเดียว ไม่สามารถรับค่าได้

Status Register เป็นพอร์ตที่อ่านได้อย่างเดียวไม่สามารถเขียนข้อมูลได้ พอร์ตนี้จะมีสัญญาณเข้าอยู่ 5 สัญญาณ (ขา 10-13,15) และสัญญาณ IRQ กับสัญญาณสงวนไว้อีกสองบิต โดยสัญญาณ Busy จะ Active Low
ลักษณะ การทำงานของแต่ละบิตใน Status Register มี ดังนี้

- Bit7 Busy เมื่อ Active หมายถึงพรินเตอร์จะไม่รับข้อมูล
- Bit6 nAck เมื่อ Active หมายถึงพรินเตอร์พร้อมที่จะทำงาน (Active Low)
- Bit5 Paper End เมื่อ Active หมายถึงพรินเตอร์ไม่มีกระดาษ
- Bit4 Select เมื่อ Active หมายถึงเลือกพรินเตอร์
- Bit3 nError เมื่อ Active หมายถึงพรินเตอร์เกิดข้อผิดพลาด (Active Low)
- Bit2, Bit1, Bit0 ไม่ใช้

Control Register เป็น พอร์ตที่ใช้ในการควบคุมพรินเตอร์ สัญญาณในกลุ่มนี้จะ Active Low ยกเว้นสัญญาณ Initialize เท่านั้นที่ไม่ถูก Invert ลักษณะการทำงานของแต่ละบิตใน Control Register มีดังนี้

- Bit3 nSelect Printer เมื่อ Active หมายถึงเลือกพรินเตอร์
- Bit2 nInitialize เมื่อ Active หมายถึงรีเซ็ตพรินเตอร์
- Bit1 nAuto Feed เมื่อ Active หมายถึงพรินเตอร์กระทำ Line Feed
- Bit0 nStrobe เมื่อ Active หมายถึงการบอกให้พรินเตอร์ทราบว่ามีข้อมูลเข้ามาแล้ว







07. จากข้อ6 สัญญาณบางขาก็ส่งผ่านมาหาบอร์ดนี้ เพื่อส่งต่อสัญญาณไปหาจุดอื่น บอร์ดนี้จะเห็นว่าเป็นส่งผ่านสัญญาณทางแสงนะครับ เพื่อไม่ให้ระบบไฟฟ้าเชื่อมถึงกัน เป็นไปได้ว่าต้องการลดสัญญาณรบกวน ที่จะไปทำให้เครื่องจักรทำงานไม่ราบเรียบ ซึ่งผมก็จะต้องไล่วงจร และเขียนวงจรขึ้นมาใหม่ เพื่อดูว่ามันรับ/ส่งสัญญาณกันแบบไหน (ใครที่จะใช้บอร์ดนี้ อุปกรณ์ทั้ง 3 วงจร เหมือนกัน แค่สลับที่กัน ดูตามภาพด้านบนได้เลย )

   พอเปลี่ยนมาใส่บอร์ดแบบ USB ก็มีแนวโน้มว่าจะปลดบอร์ดนี้ทิ้งไป เพราะไล่วงจรดูแล้วบนบอร์ดใหม่มันมีอุปกรณ์พวกนี้วางใส่มาให้แล้ว จึงหมดความจำเป็น






08.1 ไอ้บอร์ดแดงนี่แหละครับ ที่จะมาแทนในภาพข้อ 6 บอร์ดนี้มันจะส่งสัญญาณมาแบบ USB ทำให้ข้อจำกัดต่างๆมันหมดไป และเราก็สามารถใช้คอมพิวเตอร์สั่งการได้แทบทุกยี่ห้อ

การสั่งการจากคอมพิวเตอร์ เราจะมีการติดตั้งโปรแกรมควบคุมเครื่องจักรชื่อ Mach3 เข้าไป และทำการเซ็ตป้อนค่าของสเต็บมอเตอร์แต่ละตัว/แต่ละขนาด แม้ขนาดวงพูลเล่สายพานยังต้องป้อนให้ระบบรู้ เพราะค่าทุกอย่างระบบควบคุมมันจะเอาไประมวลผลว่า เช่น ให้เครื่องวิ่งไปบนราง  50.95 ซม. ระบบสั่งการมันจะสั่งให้มอเตอร์หมุนกี่รอบ แบบนี้ครับ มันต้องเป๊ะ เรียกว่าความผิดพลาดวัดกันเป็นระดับไมโครมิล แบบนั้นเลย

ไฟเลี้ยงบอร์ดมาจาก 2 ส่วน คือ

1. ไฟเลี้ยง 5 โวลท์ มาจากสาย USB
เอาไปเลี้ยงไอซีชิป U1 และ ไอซี U2C และไอซีตัวหลังนี้จะเป็นตัวสั่งการแกน X,Y,Z,A โดยผ่านโมดูลไดร์เวอร์สเต็ปมอเตอร์ก็จะมีตัวโฟโต้คับเปิ้ลขวางอยู่ ถ้าบอร์ดทำงานจะมีไฟแสดงสีแดง LD1 กระพริบโชว์

2. ไฟเลี้ยงบอร์ด 24 โวลท์ ที่ขา 24V (+) และ DCM (-)
ตรงนี้ส่วนมากเอาไปเลี้ยงพวกโฟโต้คับเปิ้ลเบอร์ EL357N และไอซี U2B เอาง่ายๆคือครึ่งด้านซ้ายของบอร์ดจะใช้ไฟนี้ไปเลี้ยง

พูดง่ายๆบอร์ดนี้มันค่อนข้างป้องกันตนเองจากแรงดันภายนอกไม่ให้มาทำอันตรายซีพียู U1 ที่เป็นหัวใจของมันได้เลย โดยจะมีตัวโฟโต้คับเปิ้ลมาต่อขวางในทุกส่วนที่ไปเชื่อมโยงกับจุดอื่น


อ้างถึง
  Download

  Driver Mach3 USB 4 Axis 100KHz. Smooth Stepper Motion Controller

  Link 1

  Link 2

  ลิ้งนี้มีครบเลย Driver+Manual

การติดตั้งไดร์เวอร์   คลิกตรงนี้








08.2






08.3






08.4






09. นี่ครับ สายสัญญาณที่ต่อจากบอร์ดแดง (USB MOTIN CARD) มันไปไหนบ้าง ของจริงวุ่ยวายกว่านี้เยอะครับ

อ้างถึง
สำหรับสำหรับพอร์ทสื่อสารเดิมแบบ Parallel รุ่นเก่า (พอร์ทปริ้นเตอร์) พอร์ทสื่อสารมันใช้เลข 1 ครับ

การ์ดคอนโทรล Mach3 USB 4 Axis 100KHz. รุ่นนี้ พอร์ทสื่อสารมันใช้เลข 3 (ย้ำว่าเลข3) ไอ้เลขพอร์ทนี่แหละที่ผมงมโข่งเดามั่วอยู่ 5 วัน มันไม่ยอมทำงาน แต่ลองใส่ 0-9 มันทำงานที่เลข 3 แต่ไม่ได้คิดว่าต้องป้อนเลข 3 ทุกจุด

ฉะนั้นภาพตั้งแต่ 18-30 ใช้งานตรงไหนให้ใส่เลข 3 ที่ช่อง Port #, Step port หรือ Dir Port

ส่วนช่องที่มีคำว่า ..Pin.. ของ Input หรือ Output ใส่เลข 1-4 ที่เราต่อใช้งาน







10. นี่ครับ สายสัญญาณที่ต่อจากบอร์ดแดง (USB MOTIN CARD) มันไปไหนบ้าง ของจริงวุ่ยวายกว่านี้เยอะครับ






11. รูปแบบการต่อสายไปหาตัวไดร์เวอร์สเต็ปมอเตอร์






12. รูปแบบการต่อสายไปหาตัวไดร์เวอร์สเต็ปมอเตอร์ ซึ่งเจ้าสเต็บมอเตอร์จะรับสัญญาณไปจากคอมพิวเตอร์ว่าแกนของตนเองจะวิ่งเดินหน้า/ถอยหลังระยะเท่าไร การสั่งงานมันจะส่งสัญญาณไฟฟ้าแบบพัลส์ครับ






13. นี่ครับรูปร่างเจ้าตัวไดร์เวอร์มอเตอร์แบบสเต็ป เครื่องจักรทำงานผิดพลาดหรือเที่ยงตรงก็ฝากความหวังไว้ที่เจ้านี่แหละครับ ถ้ารับคำสั่งมาแล้วว่าให้เคลื่อนที่  0.8 มิล แต่พ่อเล่นวิ่งไป 0.98 มิล ถือว่างานงอกแล้วครับ แต่ใช่ว่าจะไปโทษเจ้านี่อย่างเดียวไม่ได้ ต้องดูด้วยว่าเราป้อนข้อมูลตัวมันให้โปรแกรมควบคุมถูกต้องหรือปล่าว

(On ขา 3, 7, 8)






14.






15. รูปแบบการต่อสายไฟไปหาสเต็ปมอเตอร์แต่ละแบบ






16. รูปแบบการต่อสายไฟไปหาสเต็ปมอเตอร์แต่ละแบบ






17. หลังจากต่อสายต่างๆ ตรวจทานให้แน่ใจว่าไม่มีอะไรผิดพลาด เราก็มาดูการป้อนค่าในแต่ละส่วนของโปรแกรม Mach3 ที่ใช้ควบคุมเครื่องจักร บางเงื่อนไขเป็นค่าจากโรงงานเราไม่จำเป็นต้องไปยุ่ง






18. นี่แหละครับ ตั้งแต่ภาพนี้เป็นต้นไปให้ดูคำว่า Step pin นั่นคือขาควบคุมที่มาจาก ข้อ 6 นั่นแหละครับ ว่าเราเอามาสั่งงานที่ไหน หน้าที่ของมันทำอะไร






19.






20.






21.






22.






23.






24.






25.






26.






27.






28.






29.






30.






31.






32.






33.






34.






35.






36.






37.






38.






39.






40.






41.






42.






43.






44.  การตั้งค่า Steps per คือค่าของจำนวนพัลส์ที่ทำให้มอเตอร์สเต็ปหมุน 1 รอบ (เครื่องของใครของมันนะครับ)
       X = 178
       Y = 178
       Z = 320
            (จะเยอะสักนิดเพราะมีพูลเล่ ทดรอบตัวใหญ่)





ส่วนภาพบางภาพเราจะไม่อธิบายนะครับว่าหมายถึงอะไร เพราะเราบอกแล้ว เราทำอะไว้ช่วยจำครับ ก่อนที่จะรื้อระบบมัน และอีกอย่างเอาไว้ดู ว่าครั้งนึงเราเคยรื้อมันด้วยตัวเอง




เนื่องจากการเปลี่ยนระบบครั้งนี้ ทำให้เราได้ข้อมูลการเซ็ตตั้งค่าอะไรเยอะมาก และอีกไม่นานผมจะสั่งชุดคิทขนาดเล็กมาประกอบเอาไว้ทำงานเล็กๆ เช่น กัดป้ายโลหะติดหน้าอก ทำของชำร่วย สารพัด







หน้า: 1 2 3 [4] 5 6 7 8 ... 10
ผู้ผลิต-จำหน่าย สายอากาศ WiFi แบบ Slotted Waveguide (SlotWave) & ดูแลและวางระบบสื่อสารโทรคมนาคม     ด้วยประสบการณ์ในการวางระบบโทรคมนาคมไทยและเพื่อนบ้านกว่า 30 ปี ในการการันตีผลงาน

ซื้อสินค้า/โอนเงิน
ติดต่อเรา
บริษัท ไทยฮอตสปอต เน็ตเวิร์ค จำกัด     ลุงเปี๊ยก  โทร: 081-8462316,     LINE/พร้อมเพย์: 0818462316
โอนเงิน   ธนาคารไทยพาณิชย์    สาขาตลาดมีนบุรี    ชื่อบัญชี: บริษัท ไทยฮอตสปอตเน็ตเวิร์ค จำกัด     เลขที่บัญชี: 468-055-814-2
(ภ.พ.20 )       แผนที่ GPS N13.83862 E101.66021       เฟซบุ๊ค  เฟซบุ๊ค Thai-Hotspot-Network
                 
ตัวอย่างไซต์งาน
บางส่วนที่ใช้สายอากาศเราไปติดตั้ง
วัดป่าภูหายหลง อ.ปากช่อง | โรงเรียนบ้านองหลุ กาญจนบุรี | สำรวจสถานที่ รีสอร์ท เดอะเทอเรส เขาค้อ | ติดตั้งจริง เดอะเทอเรส รีสอร์ท เขาค้อ 1 | เดอะเทอเรส รีสอร์ท เขาค้อ 2 | โรงเรียนบ้านคลองยาง อ.บ่อทอง ชลบุรี | สำรวจสถานที่ วิทยาลัยเทคนิคพิจิตร | โรงแรมแกรนด์วิล บางเลน (ไปช่วยติดตั้ง) | งานติดตั้งที่ บริษัท เลิศมงคลเพิ่มทรัพย์ จำกัด (แหลมฉบัง) | งานติดตั้งที่บ้านลุงโต้ง (วังทับไทร จ.พิจิตร) | ติดตั้งทดสอบเสาอากาศรุ่น SWG 24-181 ด้วย Router wifi ของ 3bb | กำลังรอนัดเข้าไปสำรวจและติดตั้งอีกมากมายไซต์งาน |
ตัวแทน-พันธมิตร
ที่นำงานผลิตของเราไปจำหน่าย หรือใช้วางระบบ
บริษัท อัพบา เซลส์ แอนด์ เซอร์วิสเซส จำกัด | บริษัท โปรเฟสชั่นแนล พีเอบีเอ็กซ์ จำกัด | บริษัท โฮมเทค เอ็นจินีโอ คอนโทรล จำกัด (เชียงใหม่) | บริษัท บัดดี้ เทเลคอม จำกัด | บริษัท หาญส์ยุคล อินเตอร์ จำกัด | หจก.เอ็มแอนด์ที อุบลเซอร์วิส (อุบลราชธานี) | บริษัท นาซ่าอิเล็คทรอนิคส์ และการสื่อสาร จำกัด (ระยอง) | บริษัท วี เอ็ม เอ็ม จำกัด (ถ.พระราม 2) | (ปากช่อง-วังน้ำเขียว) คุณหนุ่ย 093-6925961 | (ชลบุรี) คุณอนันต์ 081-8088851, 086-3427044 | คุณสมใจ เพชรใส 087-0382432 | (สระบุรี) คุณสนอง ภู่เพชร 089-0867172 | (พิจิตร อ.สากเหล็ก) ลุงโต้ง 081-4747302 | (พิจิตร อ.สามง่าม) คุณยอดชาย 081-8421643 | คุณธนา (Thana Satsutthi)
ระบบขนส่ง
ติดตามสถานะพัสดุ
ติดตามสถานะพัสดุ Kerry | บริษัทไปรษณีย์ไทยจำกัด | ติดตามสถานะพัสดุ EMS ไปรษณีย์ไทย | ติดตามสถานะพัสดุ Ninja Van | NTC รับส่งพัสดุด่วน | TP Logistics | J&T Express | Flash Express | ติดตามพัสดุ DHL | ขนส่ง Shopee Express | ขนส่ง Best Express |
ลิ้งค์ทั่วไป เว็บลิ้งค์แปลงไฟล์ต่างๆ | ตรวจผลสลาก.. | speedtest.adslthailand.com | แปลงไฟล์ pdf เป็น ?? | กสทช./กิจการวิทยุสมัครเล่น | ฟังเพลง (ในเว็บ) | ทีวีออนไลน์ | Shopee.com | หมากรุกออนไลน์ playok, meemodel-makrook |