NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC pyVCP PYVCP format help

Welcome, Guest
Username: Password: Remember me

TOPIC: PYVCP format help

Re:PYVCP format help 11 Aug 2011 15:38 #12440

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4139
  • Thank you received: 141
  • Karma: 130
piasdom wrote:
Thanks, so where do i add this number ? on my net connection in posthal?
I guess so.
The administrator has disabled public write access.

Re:PYVCP format help 31 Aug 2011 07:42 #12872

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
i'm trying to get a feed-override 'number' pyvcp. i have that working but wonder
if i can get it to show 100% instead of 1.00%. i tried setp mult2 but no change.
is this possible, or am i barking at the wrong tree ?



Thanks
kenneth
The administrator has disabled public write access.

Re:PYVCP format help 31 Aug 2011 08:16 #12873

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4139
  • Thank you received: 141
  • Karma: 130
You probably need to set the limits of the slider as 0 and 100 in the XML file, then pass the result through a mult2 with one input setp-ed to 0.01 before passing it to the feed-override pin. (sort-of the inverse of what you have, assuming that the PyVCP element is the controller/output, not an indicator.
The administrator has disabled public write access.

Re:PYVCP format help 31 Aug 2011 09:02 #12875

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
isn't that a 'scale' not a 'number' tag. i don't want to adjust the override,
but just display it. or am i wrong ?



Thanks
kenneth
The administrator has disabled public write access.

Re:PYVCP format help 31 Aug 2011 09:49 #12876

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4139
  • Thank you received: 141
  • Karma: 130
OK, in that case...
You need to make sure you are using the halui output pin, halui.feed-override.value
www.linuxcnc.org/docview/html/gui_halui.html#r1_2_4
The netting that to one input of a mult2, setp-ing the other, and wiring the output to the PyVCP ought to work.
The administrator has disabled public write access.

Re:PYVCP format help 31 Aug 2011 09:52 #12877

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
well, i had this. but it was still 1.00%



setp mult2.1.in0 100
net over-ride mult2.1.in0 halui.feed-override.value
net per_over pyvcp.override_percent mult2.1.out
The administrator has disabled public write access.
Time to create page: 1.122 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.