yhmm well push the 'touch-off' button
You give us little to go by at this point.
post your config files please.
Hi folks, my name is Raffaele and I'm from Naples.
I have recently encountered a problem with EMC2, concerning the touch off plate. I searched throughout the forum but only found a 2008's thread which could be helpful to me. I said "could" because I couldn't understand much since I'm new to the EMC2 world. The problem is this:
How do I make the touch off plate start? I downloaded different configurations from the topic I mentioned above but none of them would work.
yhmm well push the 'touch-off' button
You give us little to go by at this point.
post your config files please.
Are you in MDI mode?
raf61
You should ask your questions on the original thread so everyone doesn't have to search for it!.
What version of EMC are you using?
There are some changes that must be made for different versions that might stop it from working. AFAIR
Little OT: Thanks for swift replies and happy new year!
I pushed it but nothing happened.
I'm using one of the configurations I found in the 2008's thread. It is attached at this post.
Yes, I am.
I didn't post in the original thread because I thought it would be considered "necro-ing", seeing as it is relatively old. I'm sorry about that.
My version of EMC2 is 2.4.6 .
I haven;t found time to thoroughly check but have noticed the MDI commands are missing from the INI file
MDI_COMMAND = G38.2 Z-3 F16
MDI_COMMAND = G92 Z0.25
MDI_COMMAND = G0 Z1
MDI_COMMAND = G0 X-2 Y1
should be added under the heading [HALUI]
Chris M
if your using EMC 2.4.6
I think you need to change a pin name in the custom_hal file:
net in_pos motion.motion-inpos => classicladder.0.in-02
to
net in_pos motion.in-position => classicladder.0.in-02
It will show an error measge if this is true.
in the classicladder program the old timers may need the E and C pins tied together.
Looks like you used a very old sample.
Thank you, Chester. I added those lines in the Halui section but it still doesn't work. I'm guessing the problem is in the postgui file.
If I run MIRKO without custom_postgui, EMC2 starts up and I get the touch off panel on the right of the screen. If I add the postgui file, I get an error screen, which I attached.
EDIT: I just read your post below. I changed the line, but the error I get is: custom_postgui.hal:7: Pin 'classicladder.0.in-00' does not exist
add these line to the custom_hal file.
loadrt classicladder_rt
addf classicladder.0.refresh servo-thread
loadusr -w classicladder --nogui touch_off_buttons.clp
I corrected the files like you suggested. Now I get these different errors.![]()
Your error file points to two problems:
custom_postgui.hal:5: Warning: File contains DOS-style line endings.
custom_postgui.hal:16: Pin 'halui.mdi-command-00' does not exist
For the first problem use the utility dos2unix. It's done on the command line. To find out the options for using that utility, type man dos2unix
For the second error, you need to addf the halui.mdi-command-00 to your custom_postgui.hal file.
Mark
Thank you, with the latest edits the software starts up.
The X-Y Zero button now works; the Z-axis Touchoff button is still not working.