GladeVCP

More
19 Sep 2011 12:51 #13290 by psha
Replied by psha on topic Re:GladeVCP
HAL Label. See docs for description of format field

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

More
19 Sep 2011 12:57 #13291 by piasdom
Replied by piasdom on topic Re:GladeVCP
T'anks !







kenneth

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

More
19 Sep 2011 14:16 #13294 by piasdom
Replied by piasdom on topic Re:GladeVCP
do i need another fie(python or something) to link pins ?
i'm trying to link halui.jog.0.plus in glade. i have them in my posthal.hal
file and emc starts but the buttons don't do anything.(they do react to being
clicked).



Thanks
kenneth

p.s. if so, just tell me and i'll go areading.

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

More
19 Sep 2011 16:28 - 19 Sep 2011 16:55 #13302 by piasdom
Replied by piasdom on topic Re:GladeVCP
also, i have a gladevcp.Estop_led connected to a gladevcp hal_toggle button
in my posthal.hal halui.estop.is-activated.

in glade;
is on = no
LED on color = green
LED off color = light gray
LED is green in glade panel

in axis;
start led is green
clicked turns to light gray
power btn is disabled till i click estop.

so in glade it's off(suppose to be light gray)
in axis it's works as it should(starts off- light gray)


Thanks
kenneth


if i change the colors to opposite, it changes to work correctly.(but opposite in glade)
Last edit: 19 Sep 2011 16:55 by piasdom.

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

More
19 Sep 2011 16:57 #13307 by piasdom
Replied by piasdom on topic Re:GladeVCP
Attachments:

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

More
19 Sep 2011 17:19 #13308 by piasdom
Replied by piasdom on topic Re:GladeVCP
i think i have what estop does backwards. it's on when axis starts ?
i was thinking it was off.





Thanks
kenneth

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

More
20 Sep 2011 03:56 #13322 by psha
Replied by psha on topic Re:GladeVCP
Yes, estop (software) is active when EMC starts. If you have hardware button it may be different.
Regardning jog pins - probably as usual you've messed pin names

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

More
20 Sep 2011 10:26 - 20 Sep 2011 10:44 #13323 by piasdom
Replied by piasdom on topic Re:GladeVCP
what do i use to get bit ? trying to use a script with a MDI command.
a hal label has float,s32 and u32. trying to view the count.
net view-m123 halui.mdi-command-05 == gladevcp.view-m123



Thanks
kenneth



/home/mill/emc2-dev/configs/MyFolder/postguiglade.hal:53: Signal 'reset-m123' of type 'bit' cannot add pin 'gladevcp.MDI_count' of type 's32'
/usr/bin/gladevcp:263: GtkWarning: GdkWindow 0x4600029 unexpectedly destroyed
Last edit: 20 Sep 2011 10:44 by piasdom.

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

More
20 Sep 2011 11:09 #13324 by psha
Replied by psha on topic Re:GladeVCP
Count of what? There are no bit-labels but I can hardly imagine use case for them.
For bit pins use leds, for float or number - labels.

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

More
20 Sep 2011 12:14 - 20 Sep 2011 12:15 #13325 by piasdom
Replied by piasdom on topic Re:GladeVCP
sorry, didn't explain it too well i guess. i'm trying to use a MDI to call a script counter.(attached)
in pyvcp i have halui.mdi-command-05 pin in the hal configuration. this is connected to
MDI_COMMAND = M123 in my axis. every time emc gets to m123, it increases the count..
i want a pin/signal to show the count.


Thanks
kenneth

File Attachment:

File Name: M123.txt
File Size:0 KB
Attachments:
Last edit: 20 Sep 2011 12:15 by piasdom.

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

Moderators: mhaberlerHansU
Time to create page: 0.166 seconds
Powered by Kunena Forum