ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Using the Else/Else_End Command in PC DMIS | PC-DMIS Tech Tips - CMMXYZ

Автор: CMMXYZ

Загружено: 2021-03-09

Просмотров: 2332

Описание: PC-DMIS Tech Tip: This short video demonstrates how to use the Else/End_Else command in PC-DMIS. Using this command allows you to write a program with 2 different execution options.

Hey, so, in this video, I'm going to show you how to use the else end else command. So, I'll quickly show you where to find that in the menu. It's under insert, flow control command, controlled pairs. And there it is right there. So, else end else.

Okay, so, let's take a look at my program. So, what I'm doing here is auto-calibration, but I have to auto-calibrate commands. So, my goal is to execute either one or the other. So, it's always gonna execute one depending on the answer to a question.

So, the question is, has the calibration sphere moved? So, if the answer is no, it will execute the first command. You can see it there between the if and the end if. And what I've done to the auto-calibrate command is programmed it to say qualification tool moved =no. So, I've just answered that question ahead of time.
So, the beauty of the else end else command is that, if the first question fails, it will do the other command in between the else and the end else.

So, you can see in my second auto Calibri command, I have answered the question, "Yes, the qualification tool has moved." So, two similar commands with one important difference. So, one thing to note about the ELSE_END_ELSE command is it's required to come immediately after the END IF command. So, I can't just space it out and put it somewhere else in the program. It has to be attached, it has to come right after the END IF. Okay, so let's run the program, and I'll go through both scenarios.

Okay, so, we'll just answer this operator comment, okay, to begin auto-calibration. Okay, so, here's my yes, no question. Has the calibration sphere moved? So, I'll answer yes. So, now the operator is prompted to take a manual hit to locate. And this is the command that's in between the ELSE and the END_ELSE statement.
Okay, so you can see it there. My second auto-calibrate command.

So, let's run it again. And I'll answer... So, click OK first. And here I'll answer no. So, you can see there, I'm just simulating, calibrating the probe. So, this is actually the first auto-calibrate command in my program. Okay, so, I'll just click OK to exit. So, looking at the code, you can see in my second execution, the IF statement is true. So, because it's true, it executes the first auto-calibrate command with the qualification tool moved =no, so it just goes ahead and calibrates.

Okay, so that's about it. I just wanted to show you a good use of the ELSE_END_ELSE command. It was actually not that hard, but extremely useful in a situation like this. So, I hope you found that useful. Thanks for joining me, and we'll see you next time.

About CMMXYZ
We are North America's foremost independent measurement solutions provider. We sell new and used coordinate measuring machines, provide measuring services, upgrade and repair your systems.

CMMXYZ - Coordinate Measuring Machines - http://www.cmmxyz.com/
Get the latest on Twitter -   / cmmxyz  
Follow CMMXYZ on LinkedIn -   / cmmxyz  
Learn more about CMMXYZ on our blog - https://blog.cmmxyz.com/blog
Subscribe to our YouTube Channel -    / cmmxyzvideo  

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Using the Else/Else_End Command in PC DMIS | PC-DMIS Tech Tips - CMMXYZ

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

1. PC-Dmis Tutorial: Lập chương trình đo trong Pc – Dmis

1. PC-Dmis Tutorial: Lập chương trình đo trong Pc – Dmis

CMMXYZ Tech Tips

CMMXYZ Tech Tips

Как запоминать ВСЕ с помощью Obsidian.md и Zettelkasten

Как запоминать ВСЕ с помощью Obsidian.md и Zettelkasten

Tę mapę nienawidzą władze Rosji

Tę mapę nienawidzą władze Rosji

Министр «выгнал как собак» сторонниц Лукашенко: подробности / МВД Беларуси удивило всех: в чем дело

Министр «выгнал как собак» сторонниц Лукашенко: подробности / МВД Беларуси удивило всех: в чем дело

LINUX ДЛЯ САМЫХ МАЛЕНЬКИХ

LINUX ДЛЯ САМЫХ МАЛЕНЬКИХ

Iterative Alignment in Polyworks | CMMXYZ Tech Tips

Iterative Alignment in Polyworks | CMMXYZ Tech Tips

Компоненты и принцип работы мобильных сетей

Компоненты и принцип работы мобильных сетей

Ukrainian Deep House 24/7 — Music for Work, Travel & Relax

Ukrainian Deep House 24/7 — Music for Work, Travel & Relax

ЗЕЛЕНСКОМУ СРОК - ДО ЛЕТА ЗАКОНЧИТЬ! Арти ГРИН - ГОТОВЬТЕСЬ! НАЧАЛО ВОЙНЫ ДИВЕРСИЙ!

ЗЕЛЕНСКОМУ СРОК - ДО ЛЕТА ЗАКОНЧИТЬ! Арти ГРИН - ГОТОВЬТЕСЬ! НАЧАЛО ВОЙНЫ ДИВЕРСИЙ!

Прекратите платить «налог на хранение данных» от Apple — сделайте это вместо этого (Руководство п...

Прекратите платить «налог на хранение данных» от Apple — сделайте это вместо этого (Руководство п...

Panika w Moskwie. Front SIĘ POSYPAŁ. Plan Putina UPADŁ. Desant wszedł na tyły Rosjan.

Panika w Moskwie. Front SIĘ POSYPAŁ. Plan Putina UPADŁ. Desant wszedł na tyły Rosjan.

1 Hour of Dark Abstract Height Map Pattern Loop Animation | QuietQuests

1 Hour of Dark Abstract Height Map Pattern Loop Animation | QuietQuests

Gemini 3.1 Pro just made Antigravity 10x more powerful… (it’s wild)

Gemini 3.1 Pro just made Antigravity 10x more powerful… (it’s wild)

Wystąpienie Prezydenta RP podczas odprawy kadry MON i Sił Zbrojnych RP

Wystąpienie Prezydenta RP podczas odprawy kadry MON i Sił Zbrojnych RP

Qwen3-coder-next -- НОВЫЙ ТОП ИИ ЛОКАЛЬНО, БЕСПЛАТНО И БЕЗЛИМИТНО! CLI, сравнение кодинг агентов

Qwen3-coder-next -- НОВЫЙ ТОП ИИ ЛОКАЛЬНО, БЕСПЛАТНО И БЕЗЛИМИТНО! CLI, сравнение кодинг агентов

Итог четырёх лет войны и пять поводов для надежды | Потери, экономика, моральный упадок

Итог четырёх лет войны и пять поводов для надежды | Потери, экономика, моральный упадок

NQ Bookmap Live | NQ Futures | NASDAQ Futures | Liquidity | Heatmap | Live Trading

NQ Bookmap Live | NQ Futures | NASDAQ Futures | Liquidity | Heatmap | Live Trading

Kto wygrywa wojnę? Ukraina przechodzi do ofensywy? Straty rosną — płk Piotr Lewandowski i Zychowicz

Kto wygrywa wojnę? Ukraina przechodzi do ofensywy? Straty rosną — płk Piotr Lewandowski i Zychowicz

Te skecze przejdą do historii! - Kabaret Moralnego Niepokoju - Wielki Test o Historii i Skojarzenia

Te skecze przejdą do historii! - Kabaret Moralnego Niepokoju - Wielki Test o Historii i Skojarzenia

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]