Skip to content

Commit f2fbf1e

Browse files
committed
pncconf - change spindle stepgen enable from spindle-enable to machine-is-on
Originally the stepgen enable pin was connected to spindle-enable. This cause instant stops in the spindle speed when the spindle is turned off or a speed of 0 is set. By connecting the stepgen enable to machine-is-on allows use of the stepgen acceleration limits to control the spindle accel/decel
1 parent ac2b96a commit f2fbf1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/emc/usr_intf/pncconf/build_HAL.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ def get(s): return self.d[let + s]
14331433
print("setp " + steppinname + ".direction.invert_output true", file=file)
14341434
if let == "s":
14351435
print(file=file)
1436-
print("net spindle-enable => " + steppinname + ".enable", file=file)
1436+
print("net machine-is-on => " + steppinname + ".enable", file=file)
14371437
print("net spindle-vel-cmd-rps => "+ steppinname + ".velocity-cmd", file=file)
14381438
if not encoderpinname and not resolverpinname:
14391439
print("net spindle-vel-fb-rps <= "+ steppinname + ".velocity-fb", file=file)

0 commit comments

Comments
 (0)