hexagon logo

Newb question: Understanding DMIS language and common logic, format etc

I'm a darn good CNC programmer or so I've been told but now I must learn instead of how to speak NC machine language to speak the dmis language. Right now if I was in the land of dmis I wouldn't know how to ask where the restroom was. I can see that on the front end of dmis...the gui side...its a lot of drag and drop so to say with things and behind that sits the code that I have to learn. Now...I have an encyclopedia of dmis commands-codes. I know that just like NC code, some of the codes are used all the time, some almost all of the time, and some rarely. This is where I want to start...getting a handle on the commonality of the commands. I need a heads up on common newb pitfalls to avoid. Proper (or the more common) format and logical layout for sure.

Links to tutorial videos would be good. Links to sample programs that have descriptions of what this and that do would be very appreciated too. Cheat sheets!!! Man...do I need all the cheat sheets that I can get.

Thanks a lot in advance folks. I hope that this is the beginning of a not too painful experience....Slight smile

My email is daniel@daniel-mickey.com so please fill my inbox with any helpful goodies!!
  • cant express how important it is to get to a LEVEL 1 TRAINING class to start out on the right foot.
  • cant express how important it is to get to a LEVEL 1 TRAINING class to start out on the right foot.



    You wouldn't happen to have that in a powerpoint presentation would you?
  • cant express how important it is to get to a LEVEL 1 TRAINING class to start out on the right foot.


    +1

    At some degree I would say the there is no point in teaching the DMIS lingo, if you don't understand the purpose of it in the first place. But then on the other hand I'm not sure what kind of advantage you have with CNC Programming, whereas I have heard they are kind of similar in a way. Best bet, do like Schlag said......get to LEVEL 1 TRAINING. There you will have a better understanding of what and why you are doing what you are doing to start with. Then you will better understand the "cheat sheets". HTH
  • Okay sounds good. But now i'm afraid that the LEVEL 1 TRAINING is a special class that I cant afford...unfortunately. Any suggestions on getting the level 1 training in a video or something?
  • Okay sounds good. But now i'm afraid that the LEVEL 1 TRAINING is a special class that I cant afford...unfortunately. Any suggestions on getting the level 1 training in a video or something?


    Your company should send you to the training. They also will pay for it. There really are no REAL videos on it. Just refresher videos for people that had the training and might need a refresher because they have been away from the CMM for some length of time, and might be a little rusty. If they had the level training online as a video then everyone could do it that way and they wouldn't make money. Unless you had to pay to watch the video. Tell your company that you need to go to the training class.
  • I'm a darn good CNC programmer or so I've been told but now I must learn instead of how to speak NC machine language to speak the dmis language. Right now if I was in the land of dmis I wouldn't know how to ask where the restroom was. I can see that on the front end of dmis...the gui side...its a lot of drag and drop so to say with things and behind that sits the code that I have to learn. Now...I have an encyclopedia of dmis commands-codes. I know that just like NC code, some of the codes are used all the time, some almost all of the time, and some rarely. This is where I want to start...getting a handle on the commonality of the commands. I need a heads up on common newb pitfalls to avoid. Proper (or the more common) format and logical layout for sure.

    Links to tutorial videos would be good. Links to sample programs that have descriptions of what this and that do would be very appreciated too. Cheat sheets!!! Man...do I need all the cheat sheets that I can get.

    Thanks a lot in advance folks. I hope that this is the beginning of a not too painful experience....Slight smile

    My email is daniel@daniel-mickey.com so please fill my inbox with any helpful goodies!!



    Hello and welcome to the forum!
    Full disclosure: I work for Hexagon. I also teach the training classes. I also have a bit of CNC experience, enough to speak the language.
    I'll give you some advice, but first I have to lay down some ground rules:

    1) This post and this entire forum are for advice, not training. You really do need to come to the Level 1 training. It's a 1-week class where we try to cram 2 years of experience into your head.

    2) You need to sit down with The Powers That Be who assigned you to the CMM and explain to them that the cost of the class is pennies compared to the costs of shipping bad parts, scrapping good parts, and crashing the CMM - all of which are regular occurences among un-trained CMM jockeys. We see this all the time. Did they take the floor sweeper or office flunkie and throw them on the CNC without training? Nope, and the CMM is the same way.

    OK,
    The most important thing to wrap your head around is this:
    On a CNC, the XYZ coordinate space is firmly locked into place by large chunks of steel and expensive bearings.
    The only thing you can change about it is the zero point for each axis, right?
    On a CMM we decide the orientation of the XYZ coordinate space. We will spin it any way we need to, and we need to spin it to match the needs of the part being checked. Also we can put the zero point anywhere, even outside the working space. We call this "alignment' and it is the single most important aspect of CMM work.

    Think about a mill and a block of metal.
    What's step 1? Clean the chips off the table and stone the bottom of the block. Why? Because all horizontal motion must be parallel to that table and block bottom, all vertical motion must be perpendicular to the table and bottom, and if it's crooked then our cuts are crooked and our work is scrap.
    Step 2? Run your indicator along the master edge of the block and tap it with a deadblow hammer to true it up parallel to machine travel. Why? Because all horizontal motion must be not-crooked to that master edge.
    Step 3 is running your edge finder on the zero corner of course.
    And when you're done cutting and take the finished part to a granite plate to check it with a height gage, you set it up with the master edge and zero corner on the granite to check your work.

    We do the same thing with the CMM.
    We "Level" to the master flat surface of the workpiece as step 1.
    We "Rotate" to the master edge as step 2.
    We "Origin" to set our zero point as step 3.
    Then we run the probe back and forth, up and down, watching the digital XYZ readout to make sure we did it right. That's alignment.

    But before you can even begin any of that, you need to know how to calibrate a probe. Without calibration a CMM is a random number generator, not a measuring device.

    The next important thing is unique to PC-DMIS.
    This code is not text. You can copy it and paste it to text, but you can't paste it back into PC-DMIS. The code on the screen it is a live interface that takes every input you make and instantly calculates it's ramifications. You can fix or ruin an entire program with a couple of clicks.
    Also the code is not lines of text, it's actually a grid of fields. Each block of code contains a number of fields, some of which you can edit and others you cannot. You can edit them live on the screen, or right-click on the code block and choose "Edit" to access a more user-friendly dialog box for that item.
    Where you put your cursor on the screen determines the "current" state of the program. Put it before a chunck of code and the machine thinks that code is in the future and has not happened yet. Put the cursor after that chunk of code and now the machine has it in it's memory.
    PC-DMIS is based on the DMIS standard for measuring devices but is far more expansive and complex, with many neat and helpful additions. However it is NOT straight DMIS language. That book you have won't help you write PC-DMIS programs very much. For that you need to explore the drop-down menus that allow you to create lines and blocks of code. It's 99% canned routines that you put into place with their details edited to suit your instance. Very little is typed in by hand, although that can be a shortcut.

    So to begin, go to training.


  • 2) You need to sit down with The Powers That Be who assigned you to the CMM and explain to them that the cost of the class is pennies compared to the costs of shipping bad parts, scrapping good parts, and crashing the CMM - all of which are regular occurences among un-trained CMM jockeys. We see this all the time. Did they take the floor sweeper or office flunkie and throw them on the CNC without training? Nope, and the CMM is the same way.



    +1000

    I would print this statement out and give it to them while you explain it to them. This way it does not look like you must made it up. Or better yet just show them this WHOLE thread. That should get through to them.
  • Hello and welcome to the forum!
    Full disclosure: I work for Hexagon. I also teach the training classes. I also have a bit of CNC experience, enough to speak the language.
    I'll give you some advice, but first I have to lay down some ground rules:

    1) This post and this entire forum are for advice, not training. You really do need to come to the Level 1 training. It's a 1-week class where we try to cram 2 years of experience into your head.

    2) You need to sit down with The Powers That Be who assigned you to the CMM and explain to them that the cost of the class is pennies compared to the costs of shipping bad parts, scrapping good parts, and crashing the CMM - all of which are regular occurences among un-trained CMM jockeys. We see this all the time. Did they take the floor sweeper or office flunkie and throw them on the CNC without training? Nope, and the CMM is the same way.

    OK,
    The most important thing to wrap your head around is this:
    On a CNC, the XYZ coordinate space is firmly locked into place by large chunks of steel and expensive bearings.
    The only thing you can change about it is the zero point for each axis, right?
    On a CMM we decide the orientation of the XYZ coordinate space. We will spin it any way we need to, and we need to spin it to match the needs of the part being checked. Also we can put the zero point anywhere, even outside the working space. We call this "alignment' and it is the single most important aspect of CMM work.

    Think about a mill and a block of metal.
    What's step 1? Clean the chips off the table and stone the bottom of the block. Why? Because all horizontal motion must be parallel to that table and block bottom, all vertical motion must be perpendicular to the table and bottom, and if it's crooked then our cuts are crooked and our work is scrap.
    Step 2? Run your indicator along the master edge of the block and tap it with a deadblow hammer to true it up parallel to machine travel. Why? Because all horizontal motion must be not-crooked to that master edge.
    Step 3 is running your edge finder on the zero corner of course.
    And when you're done cutting and take the finished part to a granite plate to check it with a height gage, you set it up with the master edge and zero corner on the granite to check your work.

    We do the same thing with the CMM.
    We "Level" to the master flat surface of the workpiece as step 1.
    We "Rotate" to the master edge as step 2.
    We "Origin" to set our zero point as step 3.
    Then we run the probe back and forth, up and down, watching the digital XYZ readout to make sure we did it right. That's alignment.

    But before you can even begin any of that, you need to know how to calibrate a probe. Without calibration a CMM is a random number generator, not a measuring device.

    The next important thing is unique to PC-DMIS.
    This code is not text. You can copy it and paste it to text, but you can't paste it back into PC-DMIS. The code on the screen it is a live interface that takes every input you make and instantly calculates it's ramifications. You can fix or ruin an entire program with a couple of clicks.
    Also the code is not lines of text, it's actually a grid of fields. Each block of code contains a number of fields, some of which you can edit and others you cannot. You can edit them live on the screen, or right-click on the code block and choose "Edit" to access a more user-friendly dialog box for that item.
    Where you put your cursor on the screen determines the "current" state of the program. Put it before a chunck of code and the machine thinks that code is in the future and has not happened yet. Put the cursor after that chunk of code and now the machine has it in it's memory.
    PC-DMIS is based on the DMIS standard for measuring devices but is far more expansive and complex, with many neat and helpful additions. However it is NOT straight DMIS language. That book you have won't help you write PC-DMIS programs very much. For that you need to explore the drop-down menus that allow you to create lines and blocks of code. It's 99% canned routines that you put into place with their details edited to suit your instance. Very little is typed in by hand, although that can be a shortcut.

    So to begin, go to training.


    when you say go training how do you know which one to go to? I am also the new kid on my block at my company with a my own and only CMM (Sheffield endeavor 3), I had a tech from hexagon come down and teach me the basics. I received a certificate for PC-Dmis for CMMs 101.... now I have been looking into classes but I don't know if I need to go for pc-dmis pro or cad++...Also since I have the certificate I really don't know if I need to go level 1 or advance into level 2. I Really want to learn how to loop and learn vb script or cypress enable script but don't know which one. A lot of random questions I know but it's hard to ask for guidance when you don't know anyone in this field of work. Very time consuming teaching myself and trying to figure out the next step so please I will take all the advice I can get.
  • You wouldn't happen to have that in a powerpoint presentation would you?

    Honestly the powerpoint would be useless, it only makes sense if you've gone to training.

    Get thee to Level 1 now before thou maketh an expensive mistaketh.

    It's cheap compared to the cost of a broken probehead Wink
  • when you say go training how do you know which one to go to? I am also the new kid on my block at my company with a my own and only CMM (Sheffield endeavor 3), I had a tech from hexagon come down and teach me the basics. I received a certificate for PC-Dmis for CMMs 101.... now I have been looking into classes but I don't know if I need to go for pc-dmis pro or cad++...Also since I have the certificate I really don't know if I need to go level 1 or advance into level 2. I Really want to learn how to loop and learn vb script or cypress enable script but don't know which one. A lot of random questions I know but it's hard to ask for guidance when you don't know anyone in this field of work. Very time consuming teaching myself and trying to figure out the next step so please I will take all the advice I can get.


    If you're not sure which level to go to.....go to level 1.....if you're not sure which one from the list you want to learn, loop, vb script, or cypress enable script.....then you must not be comfortable enough with the basics and just want to jump into trying something more advanced. Stick with LEVEL 1 till your REALLY comfortable, then try to start learning more advanced stuff.