Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: manmeran on August 25, 2009, 04:41:39 AM
-
I have decision to show DRO information on LCD screen by using microcontroller and modbus
I have studied PDF files of MODBUS protocol
& also I have enough knowledge about microcontroller AVR.
Please explain me the structure of this job by using brain
-
I know that the exchange must send the requested slave to master then master response
How can this communication explained by the brain between master(pc) & slave?
-
http://www.artsoftcontrols.com/MachCustomizeWiki/index.php?title=Axis_DROs_and_other_info._on_ModIO_LCD
please help me.
-
I was successful
-
Very good! :)
Brett
-
How extracts the axis DRO information from Mach3 without ModIO? Or where I can read about it?
-
you should use macro and Serial protocol
Something like this:
Call sendserial ("X" &Left(GetDRO(0),InStr(1,GetDRO(0),".")+3))
Amir
-
Is it possible to tell more in detail and with examples?
-
If you have dominate to microcontroller, you can easily display the output of this code on the lcd .
Output of this code is "" for example : X2.532 ""
Amir
-
What OEMCode for Currenl line DRO and for cycle jog step DRO?
-
GetDRO(816) '=Curr Line Number DRO
GetDRO(828) '=Jog Inc DRO
Remember what you are sending is a character string of many characters depending on the LCD display.
So you will have to send them all at once and format them the way you want to display them.
-
Thank you very much!
It works!
http://www.youtube.com/watch?v=EowAdao4ERg&feature=player_embedded#
-
That's slicker than S**t, I like, now how do I get or make one?
Except I'd need two, including one for a 5 or 6 Axis display.
Good job.
-
very nice
Amir
-
I wish to add LCD display to my project ShuttleRU.
http://www.machsupport.com/forum/index.php/topic,14270.0.html