Back
[12:57:15] <norbert__> I have a problem with the python Interface to linuxcnc. I need to find out the actual feed value, meaning the F275 or similar command. If you check status.settings documentation says you should get current interpreter settings for spindle speed and feed rate, but that is not correct, because you do not get the current values, you get the values the interpreter has read allready, so the read ahead values. OK then I tried current_vel,
[12:57:17] <norbert__> but that gives you the velocity including override values and not the commandesd feed. Then I tried status.command to get the currently executed command and check from there, but you get only the last value, because of read ahead! This is not what I want, I want to get feed as it is handled for the spindle, status.spindle_speed returns the spindle speed value without the override. So how toi get the F value of the actual handled code
[12:57:18] <norbert__> line, not read ahead All has to be done in python.
[13:11:29] <KGB-linuxcnc> 03Norbert Schechner 052.6 81305e1 06linuxcnc 10(5 files in 2 dirs) gmoccapy_1_5_1_2 - bug in hal pin updating, new spindle handling * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=81305e1
[13:12:16] <KGB-linuxcnc> 03Norbert Schechner 052.7 a0d3711 06linuxcnc Merge branch '2.6' into 2.7 * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=a0d3711
[13:12:55] <KGB-linuxcnc> 03Norbert Schechner 05master 8173dd3 06linuxcnc 10src/emc/usr_intf/pncconf/pncconf.py Merge branch '2.7' * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=8173dd3
[13:31:30] <norbert__> I posted my question also on the developers mailing list.
[13:41:16] <micges> norbert__: I think you can use value from motion.requested-vel hal pin
[13:50:52] <norbert__> micges: That is exactly the value I want, thanks! But how do I connect to that pin with python? I do not want all users to be forced to make a additional connection in there hal file.
[13:55:13] <norbert__> micges: Oh I just found out, that it is not completely correct, as If I go to MDI and give F600 the pin will remain 0 I would like to see than a value of 10
[13:58:49] <KGB-linuxcnc> 03Norbert Schechner 052.6 3e3677f 06linuxcnc 10src/emc/usr_intf/gmoccapy/gmoccapy.glade 10src/emc/usr_intf/gmoccapy/gmoccapy.py 10src/emc/usr_intf/gmoccapy/release_notes.txt gmoccapy_1_5_1_3 - added a clock and date label * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=3e3677f
[13:59:12] <KGB-linuxcnc> 03Norbert Schechner 052.7 016c6b3 06linuxcnc Merge branch '2.6' into 2.7 * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=016c6b3
[13:59:45] <KGB-linuxcnc> 03Norbert Schechner 05master c3ec78e 06linuxcnc Merge branch '2.7' * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=c3ec78e