Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 08:41:04 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
VB and the development of wizards
macropump & LCD
Pages:
1
Go Down
« previous
next »
Author
Topic: macropump & LCD (Read 1347 times)
0 Members and 1 Guest are viewing this topic.
gfosdike
Active Member
Offline
Posts: 9
macropump & LCD
«
on:
December 17, 2010, 11:45:04 AM »
Hello all,
I'm using the macropump script to display information on my LCD screen on my pendant.
Does anyone know if it's possible to make the axis letter blink when it's selected?
The line of code below show the Z axis userlabel. If I could either make the letter blink or just appear when selected it would be great!
SetUserLabel (103,"Z" & Format (GetDro(2), "+000.0000;-000.0000"))
Am I trying to ask the impossible, any thoughts?
regards
Gary
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: macropump & LCD
«
Reply #1 on:
December 17, 2010, 07:17:42 PM »
hmmm try this:
'macropump.m1s
BlinkControl = GetUserDRO(1700) 'every 5 counts (1/2 seconds) it shows or hides the "Z"
if BlinkControl >= 0 and BlinkControl < 5 then
SetUserLabel (103,"Z" & Format (GetDro(2), "+000.0000;-000.0000"))
BlinkControl = BlinkControl + 1
SetUserDRO(1700, BlinkControl)
end if
if BlinkControl >= 5 and BlinkControl < 10 then
SetUserLabel (103," " & Format (GetDro(2), "+000.0000;-000.0000"))
'NOTE the "Z" has been replaced with a space character " "
BlinkControl = BlinkControl + 1
SetUserDRO(1700, BlinkControl)
end if
if BlinkControl > 9 then
SetUserDRO(1700, 0)
end if
'scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
gfosdike
Active Member
Offline
Posts: 9
Re: macropump & LCD
«
Reply #2 on:
December 21, 2010, 06:09:19 PM »
Thanks Scott, that's given me something to work with!
One other thing you might be able to give me some advise on if you would'nt mind?
I would like to be able to display what jog mode I'm in via my LCD, as already have what Axis and Jog increments are active on screen.
"If GetOEMLED(117) = 1 then" will get me Velocity active and I then get stuck on how to display the text "Velocity" on the LCD.
What other code would be needed to display diferent text depending what Jog mode I'm in?
I hope this makes sense!
Regards
Gary
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: macropump & LCD
«
Reply #3 on:
December 22, 2010, 10:06:04 AM »
Look at Peter Holmanns modio pendant, he shows how he talks to his LCD via macro pump........
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
gfosdike
Active Member
Offline
Posts: 9
Re: macropump & LCD
«
Reply #4 on:
December 22, 2010, 07:16:32 PM »
Many thanks for pointing me in the right direction Scott, I'm up and running!
Logged
germil
Active Member
Offline
Posts: 6
Re: macropump & LCD
«
Reply #5 on:
March 08, 2011, 07:05:30 AM »
How can i get some another dat to lcd 4x20 like that
X position; X,Y,Z or A for JOG
Y position; X1, X10, X100 Multiplier
Z position; XX.000 SPINDLE SPEED
A position; ESTOP/OK
Or
X position; Y position; (in one line)
Z position; A position; (in one line)
Can you give me an exsample of VB code to do that?
Thank you.
regards,
Milan
Logged
wayne.b
Active Member
Offline
Posts: 4
Re: macropump & LCD
«
Reply #6 on:
April 03, 2011, 05:48:00 AM »
G'day Milan
Has any helped you out with VB code.?
Cheers
wayneb
Logged
germil
Active Member
Offline
Posts: 6
Re: macropump & LCD
«
Reply #7 on:
April 06, 2011, 04:34:31 PM »
Thanks for asking, but no, not yet.
Logged
Tony Bullard
Active Member
Offline
Posts: 83
Re: macropump & LCD
«
Reply #8 on:
April 15, 2011, 03:40:44 PM »
Quote from: poppabear on December 17, 2010, 07:17:42 PM
hmmm try this:
'macropump.m1s
BlinkControl = GetUserDRO(1700) 'every 5 counts (1/2 seconds) it shows or hides the "Z"
if BlinkControl >= 0 and BlinkControl < 5 then
SetUserLabel (103,"Z" & Format (GetDro(2), "+000.0000;-000.0000"))
BlinkControl = BlinkControl + 1
SetUserDRO(1700, BlinkControl)
end if
if BlinkControl >= 5 and BlinkControl < 10 then
SetUserLabel (103," " & Format (GetDro(2), "+000.0000;-000.0000"))
'NOTE the "Z" has been replaced with a space character " "
BlinkControl = BlinkControl + 1
SetUserDRO(1700, BlinkControl)
end if
if BlinkControl > 9 then
SetUserDRO(1700, 0)
end if
'scott
Pretty clever Scott, having the macropump frequency do the timing. I like it!
Tony
Logged
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...