588,284 active members*
5,526 visitors online*
Register for free
Login
Results 1 to 13 of 13
  1. #1
    Join Date
    Apr 2010
    Posts
    0

    Touch off plate problem

    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.

  2. #2
    Join Date
    Nov 2005
    Posts
    496
    yhmm well push the 'touch-off' button

    You give us little to go by at this point.
    post your config files please.

  3. #3
    Join Date
    Jun 2010
    Posts
    178
    Are you in MDI mode?

  4. #4
    Join Date
    Nov 2005
    Posts
    496
    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

  5. #5
    Join Date
    Apr 2010
    Posts
    0
    Little OT: Thanks for swift replies and happy new year! :banana:

    Quote Originally Posted by chester88 View Post
    yhmm well push the 'touch-off' button

    You give us little to go by at this point.
    post your config files please.
    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.

    Quote Originally Posted by lukewarm View Post
    Are you in MDI mode?
    Yes, I am.

    Quote Originally Posted by chester88 View Post
    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
    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 .
    Attached Files Attached Files

  6. #6
    Join Date
    Nov 2005
    Posts
    496
    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

  7. #7
    Join Date
    Nov 2005
    Posts
    496
    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.

  8. #8
    Join Date
    Apr 2010
    Posts
    0
    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
    Attached Files Attached Files

  9. #9
    Join Date
    Nov 2005
    Posts
    496
    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

  10. #10
    Join Date
    Apr 2010
    Posts
    0
    I corrected the files like you suggested. Now I get these different errors. :drowning:
    Attached Files Attached Files

  11. #11
    Join Date
    Dec 2005
    Posts
    601
    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

  12. #12
    Join Date
    Apr 2010
    Posts
    0
    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.
    Attached Files Attached Files

  13. #13
    Join Date
    Nov 2005
    Posts
    496
    Your ladder program is blank.

    try this one

    Wow u don't have much luck do you

Similar Threads

  1. Z axis touch plate
    By spalm in forum Mach Software (ArtSoft software)
    Replies: 5
    Last Post: 10-08-2011, 07:03 AM
  2. Touch off plate
    By rich_cree in forum Benchtop Machines
    Replies: 2
    Last Post: 06-03-2010, 06:05 PM
  3. Need help with Z axis touch off plate
    By Ed Lang in forum Techno CNC
    Replies: 3
    Last Post: 04-15-2010, 03:58 PM
  4. electronic touch-off plate
    By project5k in forum Benchtop Machines
    Replies: 5
    Last Post: 02-25-2009, 08:20 PM
  5. Touch Off Plate
    By gunlocators in forum Benchtop Machines
    Replies: 4
    Last Post: 10-07-2008, 07:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •