Tool Board ID Reading and Viewing
- CANBus UUID Retrieval
- RS232 ID Retrieval
-
Before searching for the ID, connect the tool board to a UTOC or a mainboard flashed with bridge firmware using an XT30 data cable. Refer to the wiring diagram below.
-
Please ensure the DIP switch is set to the correct position.
Loading... -
Ensure that the resistance between CAN H and CAN L, measured with a multimeter while powered off, is around
60Ω. If it is120Ω, turn on the120ΩDIP switch. If it is around40Ω, turn off the DIP switch.Loading...Complete Guide to CAN Toolboard Setup
Preparations
Important Prerequisites- Toolboard Status: Ensure the toolboard is flashed with
Klipper-canfirmware or is inKatapult-canmode. - Important Note: This tutorial is only for searching Toolboard IDs, not for Mainboard IDs.
- Connection Requirements: The toolboard must be connected to one of the following devices:
- A
UTOCmodule. - A mainboard flashed with
USB Bridge CANfirmware.
- A
- Final Connection: The above device must be connected to the host computer.
CAN Network Configuration Requirements
- Default Configuration: This tutorial assumes the host computer's CAN network is already configured.
- Fly Users: If using a Fly host computer running the Fly-FAST system, CAN is configured by default (rate: 1Mbps).
- First-time Users: Please read the tutorial below first: CAN Configuration Tutorial
Connect via SSH
- Log in to SSH over the network (do not use serial port login).
- Ensure the host computer is properly connected to the CAN network device.
Search for CAN ID
- Search command for standard host computers:
~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0 - Search command for FLY host computers:
python3 ~/klipper/scripts/canbus_query.py can0
Search Result Explanation
CANID- Important Note: The mainboard ID has already been configured in Klipper in previous documentation. Under normal circumstances, the mainboard's
CANIDcannot be found via search. - Quick Verification Method: If confirmation is needed, first disconnect the CAN cable between the mainboard and the toolboard, then re-run the search.
- After executing the search command, the following situations may occur:
Result Display Status Description Next Steps Application: KlipperDevice is flashed with Klipper firmware. This ID can be used directly. Application: CANBOOTorKatapultDevice is in Bootloader mode. Needs to be flashed with Klipper firmware before use. Total 0 uuids foundNo devices found. Please check the following:
1. Is the CAN network configured correctly?
2. Is the CAN rate consistent? (Default: 1Mbps)
3. Is this ID already used in the configuration? (Need to comment it out, save, power off, and restart.)Loading...About Duplicate IDsIf a device ID is already configured in
printer.cfg, it will not appear in the search results. To search for it again, please:- Comment out that device ID in the configuration file.
- Save the configuration and restart Klipper.
- Power off and restart all devices.
Configure CAN Device ID
1. Locate the Configuration File
Find the
printer.cfgconfiguration file based on the web interface you are using:Fluidd
Click theicon in the left navigation bar, then find{...}printer.cfg.Loading...Mainsail
ClickMachinein the top navigation bar, then findprinter.cfg.Loading...2. Add Device Configuration
Add the toolboard configuration to
printer.cfg:[mcu toolboard]
canbus_uuid: <Enter the ID found here>Configuration Notestoolboardis the toolboard name; please modify it according to your actual situation.- For a mainboard ID, the configuration section should be
[mcu]. - In a normal configuration, the mainboard uses
[mcu], and toolboards use[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.
Loading...NoteAll IDs appearing in this document are examples. The actual ID for each mainboard is different. Please modify and fill in the ID based on what you actually obtain.
- Toolboard Status: Ensure the toolboard is flashed with
- Before searching for the ID, connect the tool board to a UTOR or G2T using an XT30 data cable. Refer to the wiring diagram below.
- Please ensure the DIP switch is set to the correct position.
Loading...
Searching for the RS232 ID of the Toolboard
Important Notes
Important Preparations- Firmware Requirement:
The toolboard must be flashed with the RS232 firmware; otherwise, communication will not be possible. - Mandatory Common Ground:
⚠️ Before connecting the toolboard, ensure its GND is connected to the mainboard's GND (using the same24V/12Vpower supply will achieve this).
RS232 Notes
- Only the D8, D8PRO, and C8P mainboards support the RS232 interface. Other mainboards do not support RS232.
- For unsupported mainboards, use
G2TorUTORfor connection.
Searching for the RS232 ID
- Open a browser, enter the host's IP address in the address bar (e.g., if the host IP is
192.168.101.179, type it and press Enter).
Loading...- Open the host's WEB interface. In the left sidebar configuration options, find:
- For fluidd:
{…}, click to enter, then findprinter.cfg.
Loading...- For mainsail:
Machine, click to enter, then findprinter.cfg.
Loading...- Click
printer.cfg, then clickDEVICESin the top right corner.
Loading...Loading...- Click
SERIAL, then refresh.
- Refreshing in fluidd.
Loading...- Refreshing in mainsail.
Loading...- Copy the ID. Click the indicated arrow to copy.
- In fluidd, check if
ch341-uartexists, then clickPath_by_hardware. This is the RS232_ID.
Loading...- In mainsail, check if
CH341-UARTexists, then clickPath_by_hardware. This is the RS232_ID.
Loading...Note- When connecting the toolboard using
UTOR, twoRS232_IDs often appear. Try each one.
Configuring the Toolboard RS232 ID
-
Below is a reference configuration.
Note- In the configuration below,
toolboardrefers to the toolboard name. If it has a different name, replace it accordingly.
Danger[mcu toolboard]
serial: <Replace here with the ID you just queried>
baud: 250000
restart_method: command- When adding the toolboard
ID, it must be[mcu toolboard]followed byserial:and then the toolboard ID you found.
- The following is a reference configuration.
- Please note this tutorial is for toolboard ID search and configuration, assuming it is already properly connected to the mainboard.
- The mainboard is always
[mcu], and the toolboard is[mcu toolboard]. - Click
SAVE & RESTARTin the top right corner. This will automatically save and restart Klipper.
- In the configuration below,
DangerNote: All IDs appearing in this document are examples. The actual ID for each mainboard is different. Please use the ID you actually obtained. ::
- Firmware Requirement: