See https://forum.linuxcnc.org/32-documents/36121-clarification-of-subroutine-return-data#127424
The documentation section 3 states that O-word subroutines can not return values
Then section 9 describes how values are returned.
http://linuxcnc.org/docs/html/gcode/o-code.html#ocode:subroutines
评论 (2)
#2 – jethornton 于 2019-03-07
fixed in master as well
#1 – jethornton 于 2019-03-01
I fixed 2.7 Documentation just need someone that knows how to merge it to master.