Tool Board ID Read View
- Get CANBus UUID
- RS232 ID acquisition
-
Before searching for the ID, use an XT30 cable to connect the tool board to the UTOC or a motherboard flashed with bridge firmware; below is a reference wiring diagram.
-
Please check whether the DIP switch is set to the corresponding position.
Loading...
Before starting, completely turn off the printer and disconnect the power supply, and also disconnect any USB connections that may power the CAN nodes. Do not plug or unplug wiring harnesses, adjust the terminal resistors, or touch terminals while the power is on.
The “power-off measurement” here does not mean disconnecting the CAN wires. During measurement, the CAN wires and all nodes on the bus should remain connected in their normal operating configuration; otherwise, what is measured may only represent a single node or a single terminating resistor, which cannot represent the entire CAN bus.
Set the multimeter to the resistance range, and measure the resistance between CAN-H and CAN-L:
| Reference Reading | Judgment and Handling |
|---|---|
approximately 60Ω Normal, usually indicating that there is one at each physical end of the bus. 120Ω Terminal resistor | |
Approximately 120Ω Usually only one termination resistor is active; please enable the termination resistor at the other physical end according to the product wiring diagram. | |
Approximately 40Ω Usually three terminal resistors are active; please disable the redundant terminal resistors according to the product wiring diagram. |
The above values are for reference only; multimeter accuracy, probe contact, and wiring harness condition can all cause measurement errors. The key to judgment is which range the reading is close to, as well as the trend of reading changes after adjusting the terminal resistor; it is not required to match the values in the table exactly.
CANBus UUID Acquisition
Preparation
- Toolboard Status: Ensure the toolboard has been flashed with
Klipper-canfirmware or is inKatapult-canmode - Important Note: This tutorial is only for searching toolboard IDs, not for mainboard IDs
- Connection Requirement: The toolboard must be connected to one of the following devices:
UTOCmodule- A mainboard flashed with
USB Bridge CANfirmware
- Power Requirement: Some mainboards cannot detect the toolboard when powered only through USB. Completely power off the machine first, then connect a supported
12V-24Vlow-voltage supply according to the mainboard documentation. Power it on again before searching for the toolboard ID - Final Connection: The above devices need to be connected to the host machine
CAN Network Configuration Requirements
- Default Configuration: This tutorial assumes the host machine has already configured the CAN network
- Fly Users: If using a Fly host running the Fly-FAST system, CAN is configured by default (1Mbps rate)
- First-time Use: Please be sure to read the tutorial below first: CAN Configuration Tutorial
Connecting via SSH
- Log in to SSH over the network (do not use serial login)
- Ensure the host machine is properly connected to the CAN network devices
Searching for CAN ID
- Search command for standard host machines
~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
- Search command for FLY host machines
python3 ~/klipper/scripts/canbus_query.py can0
Explanation of Search Results
- Note: The mainboard ID has already been configured into Klipper in previous documentation, so the mainboard's
CANIDcannot normally be found during a search - Quick Verification Method: If confirmation is needed, first disconnect the CAN connection cable between the mainboard and the toolboard, then re-run the search
- After executing the search command, the following situations may occur:
| Result Displayed | Status Description | Next Steps |
|---|---|---|
Application: Klipper | Device has Klipper firmware flashed | The ID can be used directly |
Application: CANBOOT or Katapult | Device is in Bootloader mode | Klipper firmware must be flashed before use |
Total 0 uuids found | No devices found | Please check the following issues: 1. Whether the CAN network configuration is correct 2. Whether the CAN baud rate is consistent (default 1Mbps) 3. Whether this ID is already in use in the configuration (if so, comment it out, save, power off, and restart) |
If a device ID is already configured in printer.cfg, it will not appear in the search results. To search again, please:
- Comment out that device ID in the configuration file
- Save the configuration and restart Klipper
- Power off and restart all devices
Configuring the CAN Device ID
1. Locate the Configuration File
Based on the web interface being used, find the printer.cfg configuration file:
Fluidd Loading... | Mainsail Loading... |
2. Add Device Configuration
Add the toolboard configuration to printer.cfg:
[mcu toolboard]
canbus_uuid: <fill in the queried ID here>
toolboardis the name of the toolboard; modify it according to the actual situation- For a mainboard ID, the configuration section should be
[mcu] - In normal configurations, the mainboard uses
[mcu], and the toolboard uses[mcu toolboard]
3. Save and Restart
- Click the SAVE & RESTART button in the top right corner
- The system will automatically save the configuration and restart Klipper
All IDs appearing in this documentation are examples only; the actual IDs differ from board to board. Please modify and fill in the ID based on what you actually obtain.
-
Before searching for the ID, use an XT30 data cable to connect the tool board to the UTOR or G2T. Below is the reference wiring diagram.
-
Please note whether the DIP switch is set to the corresponding position.
Loading...Search Toolboard RS232 ID
Precautions
Important Preparation- Firmware Requirements:
The toolboard must be flashed with RS232 firmware, otherwise communication is not possible. - Mandatory Common Ground:
⚠️ Before connecting the toolboard, ensure that the toolboard and the motherboard share the same GND (using the same24V/12Vpower supply is sufficient).
RS232 Precautions
- Except for D8, D8PRO, and C8P, which support the RS232 interface, other motherboards do not support the RS232 interface.
- Motherboards that do not support RS232 need to use
G2TorUTORfor connection.
Search for RS232 ID
- Open a browser and enter the IP address of the host computer in the address bar. For example, if my host computer IP is
192.168.101.179, simply enter it and press Enter.
Loading...- Open the WEB interface of the host computer. In the configuration options on the left sidebar, find:
- For fluidd:
{…}, click it to findprinter.cfg
Loading...- For mainsail:
Machine, click it to findprinter.cfg
Loading...- Click on
printer.cfgto enter, then clickDEVICESin the upper right corner.
Loading...Loading...- Click
SERIAL, then refresh.
- Refresh in fluidd
Loading...- Refresh in mainsail
Loading...- Copy the ID by clicking the arrow indicated.
- In fluidd, confirm if
ch341-uartexists, then clickPath_by_hardware. This is the RS232_ID.
Loading...- In mainsail, confirm if
CH341-UARTexists, then clickPath_by_hardware. This is the RS232_ID.
Loading...Note- When using
UTORto connect the toolboard, there are usually twoRS232_IDs. Try each one.
Fill in the Toolboard RS232 ID
-
Below is a reference configuration.
Note- In the configuration below,
toolboardrefers to the toolboard name. If you have a different name, replace it accordingly.
Danger[mcu toolboard]serial: <Replace here with the ID you just found>baud: 250000restart_method: command- To add the toolboard's
ID, it must be[mcu toolboard]followed byserial:and the toolboard ID you found.
- Below is a reference configuration.
- Please note that this tutorial is for searching and configuring the toolboard ID. Normally, the toolboard should already be properly connected to the motherboard.
- The motherboard must be
[mcu], and the toolboard must be[mcu toolboard]. - Click
SAVE & RESTARTin the upper right corner to automatically save and restart Klipper.
- In the configuration below,
DangerNote: All IDs appearing in this document are examples. The actual ID of each motherboard is different. Please fill in the ID you actually obtained.
- Firmware Requirements: