โ 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 and are available in PNP or NPN types. Their functionality is similar to NO (Normally Open) or NC (Normally Closed) configurations, providing open/closed output states.
:low to configure for type of trigger:low to configure for type of trigger
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.