deckle studio
Open the editor
Behavioural mixed-signal modelSS-5GLendstop_ss5gl

End stop: lever microswitch Omron SS-5GL (SPDT)

Mechanical end stop for a CNC machine, 3D printer or plotter: a subminiature lever microswitch (Omron SS-5GL, 0.49 N, 50 mΩ, 5 A at 14 VDC) on the frame, pressed by the carriage at the end of its travel. Wire COM to GND and NO to an input with pull-up (reads LOW at the end), or NC for a fail-safe stop (a broken wire reads like a pressed switch). In the simulation it watches the axis of a motor: enter the motor (e.g. M1), its travel per turn (GT2 belt on a 20-tooth pulley: 40 mm, T8 lead screw: 8 mm), where the carriage starts and where the switch sits. Without a motor, set "Pressed" by hand.

COMNONCSS-5GL
Schematic symbol

Key data

Category
Switches
Simulation model
Behavioural mixed-signal model
Manufacturer part number
SS-5GL
Reference prefix
S
Pins
3
Land pattern
JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
endstop
Supply pins
COM / COM

Pins 3

PinNameUse
COMCOMPassive pinContact: carries a signal or supply wire
NONOPassive pinContact: carries a signal or supply wire
NCNCPassive pinNot connected: leave open

Parameters 6

Motor of the axismotor
Default–

Reference of the motor that moves the carriage (e.g. M1); empty: the switch follows "Pressed"

Travel per motor turnmmPerRev
Default40 mm

GT2 belt, 20-tooth pulley: 40 mm; T8 lead screw: 8 mm

Carriage at startstart
Default10 mm
Switch positionat
Default0 mm
End of the axisend
Defaultmin
minmax

min: pressed at or below the switch position, max: at or above

Pressedpressedlive
Defaultoff

Without a motor: the lever by hand

PCB

Connector / off-boardJST_XH_B3B-XH-A_1x03_P2.50mm_Vertical

end stop off-board on a 3-pin JST XH connector (1 COM, 2 NO, 3 NC)