✓ Compatible Configuration
Standard switches can be safely used in combination with both 5V and Vmot-main switches.
The completed YAML example will be placed in the Documentation section.
It can be connected to a regular switch or button. Such accessories have no polarity distinction and only possess on/off functionality. They can be connected to normally closed or normally open circuits.
:low to define the trigger logic (for either NO or NC configuration).:pu (pull-up) to work properly.
If you want to use GPIO.26 as a general-purpose input, you need to select the corresponding function on the GPIO.26 function switch. For details, please refer to the relevant pinout and jumpers config section.
motor0: limit_neg_pin: gpio.39:low
control: safety_door_pin: NO_PIN reset_pin: gpio.39:low
probe: pin: gpio.2:pu:low toolsetter_pin: NO_PIN check_mode_start: true hard_stop: false
A 5V powered switch offers higher precision than a standard switch. Please follow these connection and configuration steps carefully.
:low to configure for normally open (NO) trigger:low to configure for normally closed (NC) trigger
motor0: limit_neg_pin: gpio.39 limit_pos_pin: gpio.36:low
Switches powered by Vmot-main voltage (6V to 24V) offer higher precision than 5V switches. These are commonly used in industrial applications. The input circuit sources current from SW-VCC: it leaves the board through the Signal terminal, so your sensor must pull that terminal down to GND. You must therefore use an NPN (sinking / open-collector) sensor, in either NO (Normally Open) or NC (Normally Closed) form. A PNP (sourcing) sensor cannot trigger these inputs.
:low to configure for type of trigger:low to configure for type of triggerOn boards made before July 2026, connect a resistor of 2.2kΩ or higher in series with the signal terminal when using a 24V supply. Boards made after July 2026 already carry this resistor on the board.
Please refer to the technical manual provided by the specific product for wiring. Sometimes they refer to VCC as V+ and GND as V-.
motor0: limit_neg_pin: gpio.39 limit_pos_pin: gpio.36:low
Understanding Mixed Usage Requirements
Standard switches can be safely used in combination with both 5V and Vmot-main switches.
5V and Vmot-main switches cannot be used together in the same system.