#linuxcnc-devel | Logs for 2014-11-28

Back
[07:16:15] <dgarr> jepler: any objections to ? http://www.panix.com/~dgarrett/stuff/0001-axis.py-new-pin-axisui.resume_inhibit.patch
[07:40:30] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/moveoff 1adf3d6 06linuxcnc 10(5 files in 3 dirs) moveoff.comp: put demo gui script in scripts/ * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=1adf3d6
[07:40:31] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/moveoff 0bca1a8 06linuxcnc 10(10 files in 2 dirs) moveoff_gui: support external writers * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=0bca1a8
[09:43:09] <jepler> + if resume_inhibit == 1:
[09:43:18] <jepler> don't compare bits to 1, just write if resume_inhibit:
[09:43:25] <jepler> .. like you did a bit further down
[09:43:36] <jepler> I didn't look at the art
[09:43:41] <jepler> seems fine, I assume this is to do with moveoff
[09:43:50] <jepler> a sample config with moveoff will hook this pin up?
[12:45:41] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/moveoff 06e5229 06linuxcnc 10scripts/moveoff_gui moveoff.comp; checks for axis specifiers * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=06e5229
[12:45:42] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/moveoff 674ab5e 06linuxcnc 03share/axis/images/resume_inhibit.gif 10share/axis/tcl/axis.tcl 10src/emc/usr_intf/axis/scripts/axis.py axis.py: new pin axisui.resume_inhibit * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=674ab5e
[12:45:42] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/moveoff 808b4e6 06linuxcnc 10configs/sim/axis/moveoff/moveoff.hal 10configs/sim/axis/moveoff/moveoff_demo2.ini 10scripts/moveoff_gui moveoff_gui: inhibit resume if parent gui allows * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=808b4e6
[18:19:48] <zeeshan> is there anyway to use libmodbus to talk in ascii mode? =/
[18:20:06] <zeeshan> ive been trying to use freemodbus but there is no proper documentation
[18:20:09] <zeeshan> so its impossible to use.
[18:25:11] <zeeshan> https://answers.launchpad.net/libmodbus/+question/74711
[18:25:12] <zeeshan> hmm
[18:25:15] <zeeshan> this guy made a wrapper
[18:54:22] <cradek> often the documentation for a free software project is written only in C
[18:54:49] <cradek> in other words, your only approach may be to try figuring out the source, and adding what you need
[18:55:58] <zeeshan> i have a working rtu driver
[18:56:04] <zeeshan> i just need to convert it to ascii mode
[18:56:30] <zeeshan> two of the vfds use rtu or ascii
[18:56:36] <zeeshan> but one of the vfds uses ascii only .. so lame!
[18:57:28] <micges> zeeshan: what lcnc driver you're using?
[18:57:53] <zeeshan> its what kwallace wrote originally
[18:57:57] <zeeshan> i modified it to work w/ my vfd
[18:58:04] <zeeshan> mvx9000rtu.c
[18:58:49] <zeeshan> im gonna attempt to use that wrapper
[18:58:52] <zeeshan> and see if itll work :)
[18:59:25] <zeeshan> i have a really noob question
[18:59:34] <zeeshan> is there anyway to load up a c hal component outside of linuxcnc
[18:59:35] <zeeshan> in a terminal
[18:59:46] * zeeshan is using terminal with the cnc mill computer
[19:00:20] <zeeshan> and then manuall change states manually how you can in the gui
[19:00:34] <micges> zeeshan: use halrun
[19:00:42] <micges> it's command line for hal
[19:00:50] <zeeshan> awesome
[20:00:11] <zeeshan> even or odd parity?
[20:00:19] <zeeshan> *whats the difference between running even or odd parity
[20:00:30] <zeeshan> its an option, but i was wondering if theres any advantages
[20:09:50] <kwallace2> Often you don't get a choice because the two or more devices have to agree on the setting and you may end up with only one setting in common.
[20:10:44] <kwallace2> I have no idea if there is a performance difference, but my guess is it doesn't matter.
[20:51:45] <zeeshan> ah
[20:51:52] <zeeshan> i got it to finally work
[20:52:04] <zeeshan> but its flooding halrun with: ERROR Slave device or server failure (-4)
[20:52:11] <zeeshan> despite it being able to communicate :)
[22:30:20] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/moveoff df250c2 06linuxcnc 10src/hal/components/moveoff.comp moveoff.comp: bugfix and clarify some varnames in lim3() * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=df250c2
[22:53:54] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/moveoff 9b399e3 06linuxcnc 10src/hal/components/moveoff.comp moveoff.comp: bugfix and clarify some varnames in lim3() * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=9b399e3
[23:21:52] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/moveoff debabd5 06linuxcnc 10configs/sim/axis/moveoff/moveoff_demo1.txt 10configs/sim/axis/moveoff/moveoff_demo2.txt 10configs/sim/axis/moveoff/moveoff_demo3.txt moveoff.comp: update .txt files * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=debabd5