PYVCP format help

More
26 Apr 2011 11:46 #9331 by andypugh
Replied by andypugh on topic Re:PYVCP format help
Have a look in the HAL config window to see if any pins have the relative coordinates.
It is quite possible that they don't, as those are "soft" values that only matter to the interpreter.

Please Log in or Create an account to join the conversation.

More
26 Apr 2011 12:41 #9333 by piasdom
Replied by piasdom on topic Re:PYVCP format help
halui.axis.0.pos-commanded ... pos-feedback .... pos-relative for each axis

and

axis.0.joint-pos-cmd .. joint-pos-fb for each axis

so i'm guessing i can't do relative ? i've tried
halui.axis.0.pos-relative
but no dif.

Please Log in or Create an account to join the conversation.

More
26 Apr 2011 14:10 - 26 Apr 2011 15:08 #9335 by piasdom
Replied by piasdom on topic Re:PYVCP format help
i found if i use g1 l1 z1 x.125 y.125 its shows the position of axis dro.

(edited) p.s. i don't think it's using the offsets when i use g10. they show in the tool table(what i put in g10 l1 p4)
but don't show while running program. it shows the tool number in the pyvcp offset i made, but zero for offset.
using g43 shows all offsets in the pyvcp panel
Last edit: 26 Apr 2011 15:08 by piasdom.

Please Log in or Create an account to join the conversation.

More
26 Apr 2011 17:40 - 26 Apr 2011 18:14 #9342 by piasdom
Replied by piasdom on topic Re:PYVCP format help
here's the latest of my xml file.for those starting out like me. i have to upload it as an .ini file.
but just rename whatever.xml and there ya go. be sure to place in in
the same folder as your axis .ini file. i'm using emc2.4.6 right now and
not sure how far back it goes in emc venisons, so i know it won't
work in all versions. good luck !

File Attachment:

File Name: MyVCP-ef09...33d4.ini
File Size:10 KB
Attachments:
Last edit: 26 Apr 2011 18:14 by piasdom.

Please Log in or Create an account to join the conversation.

More
26 Apr 2011 18:42 - 26 Apr 2011 18:54 #9344 by piasdom
Replied by piasdom on topic Re:PYVCP format help
in the hal configuration window, i watch xyz's commanded,relative and feedback positions.
aren't they suppose to be different if offset are enabled ? aren't they suppose
to be different some way ? axis view is relative.




in the pic, axis Z is suppose to be zero, as it doesn't move in the file. but the offset is one inch.
isn't it suppose to be zero ?in my hal file for the pyvcp, i'm using
halui.axis.2.pos-relative for z's dro.
Attachments:
Last edit: 26 Apr 2011 18:54 by piasdom.

Please Log in or Create an account to join the conversation.

More
27 Apr 2011 17:22 - 07 Jul 2011 09:51 #9414 by piasdom
Replied by piasdom on topic Re:PYVCP format help
Last edit: 07 Jul 2011 09:51 by piasdom.

Please Log in or Create an account to join the conversation.

More
06 Jul 2011 15:30 #11183 by piasdom
Replied by piasdom on topic Re:PYVCP format help
is there some where i can read about the font in pyvcp ?
as what does the 2 and 14 do to the font. i tried with no 2
or 2 and no 14. scales the font whichever i try. but can't use
pyvcp <font>('Helvetica ,14)</font>
has to be pyvcp <font>('Helvetica ', )</font> ? (i mean has to have the
', )

<font>('Helvetica 2',14)</font>


Thanks
kenneth

Please Log in or Create an account to join the conversation.

More
11 Aug 2011 10:22 #12399 by piasdom
Replied by piasdom on topic Re:PYVCP format help
in the doc it says

The "image_u32" is the same as "image_bit" except you have essentially an unlimited number of images and you "select" the image by setting the halpin to a integer value with 0 for the first image in the images list and 1 for the second image etc.

where do i add the number ? right now it changes to two images. can't find where
to connect 1 2 3 (oh, i have three images) isn't it suppose to change to image one, then
two ........ each time you click? when it gets to the last image, one more click will
start back to the first image ?


Thanks
kenneth

Please Log in or Create an account to join the conversation.

More
11 Aug 2011 11:29 #12404 by andypugh
Replied by andypugh on topic Re:PYVCP format help
piasdom wrote:

isn't it suppose to change to image one, then
two ........ each time you click?


No, it is supposed to change the image whenever the image select pin changes. That is entirely independent of the clicking of the button.

If you want to cycle through the images then you need external hal components that detect the button press, update a value, and send that value to the image-select pin.

Please Log in or Create an account to join the conversation.

More
11 Aug 2011 12:01 #12408 by piasdom
Replied by piasdom on topic Re:PYVCP format help
Thanks, so where do i add this number ? on my net connection in posthal?


Thanks
kenneth

Please Log in or Create an account to join the conversation.

Time to create page: 0.423 seconds
Powered by Kunena Forum