Plc debug что это за папка

от admin

6 типов файлов, которые можно удалить с телефона, если не хватает памяти

Рано или поздно любой владелец смартфона сталкивается с тем, что встроенное хранилище, а также установленная SD-карта забиваются под завязку. Возможно, даже облачное хранилище не выручает — чисто технически крайне сложно выцедить все файлы, которые можно переместить туда. Зато вас всегда выручит файловый менеджер телефона: с его помощью в системе всегда можно найти файлы, которые можно смело удалять с телефона и не бояться за его работоспособность. Более того, эти файлы нужно стирать не раз в год, а как можно чаще.

6 типов файлов, которые можно удалить с телефона, если не хватает памяти. Вот несколько типов файлов, которые я удаляю сам и вам советую. Фото.

Вот несколько типов файлов, которые я удаляю сам и вам советую

Для того, чтобы удалить файлы с телефона, нужно установить любой сторонний файловый менеджер. Можно использовать Total Commander или любой другой, что вам привычнее.

Protected Image — что это

Protected Image — что это. Любите делать скриншоты? А они могут копироваться еще и в защищенную папку. Фото.

Любите делать скриншоты? А они могут копироваться еще и в защищенную папку

В списке файловой системы у вас будет большое количество папок. Одна из них — «Protected Image», созданная для того, чтобы пользователи смартфонов могли помещать в специальное секретное хранилище изображения и другие файлы. Фишка в том, что на некоторых смартфонах туда копируются сделанные снимки экрана и видео без вашего ведома.

Из-за этого там автоматически могут оказываться дубликаты, поэтому данная папка может растягиваться до нескольких гигабайтов, но обнаружить подлог крайне сложно. Так что, если не пользуетесь этим защищенным хранилищем, обязательно проверяйте его, чтобы не забивать память смартфона.

Как очистить кэш на Андроид

Как очистить кэш на Андроид. Папок с кэшем очень много. Через поиск их можно найти и удалить. Фото.

Папок с кэшем очень много. Через поиск их можно найти и удалить

Читатели нашего Телеграм-чата регулярно интересуются, как очистить кэш смартфона. Безусловно, можно воспользоваться программами-оптимизаторами, которые автоматически найдут системный мусор, или отслеживать этот процесс вручную. Но даже у самых внимательных владельцев всегда найдется с десяток кэшированных файлов, которые лучше удалить во благо смартфона.

Для этого в файловом менеджере вам необходимо ввести название «cache», после чего открыть раздел. Вне зависимости от того, насколько тщательно вы следите за своим смартфоном, в этой папке может быть от пары сотен мегабайт до нескольких гигабайт системного мусора, который можно смело удалять, не боясь последствий.

Что такое thumb в телефоне

Что такое thumb в телефоне. Миниатюры можно смело удалить с телефона. Фото.

Миниатюры можно смело удалить с телефона

После обновления системы нужно проверить смартфон на наличие thumb-файлов, так как в Android 12 многие видеоплееры стали сохранять эскизы просмотренных видео в память. Как вы поняли, thumbnails — это папка для хранения миниатюр фотографий или видеофайлов, которые отображаются в галерее в виде эскизов.

Система создает для них сжатые варианты для предпросмотра и ускорения загрузки файла. Чем больше медиафайлов в вашем телефоне, тем сильнее забивается память и тормозит система. Тем более, стоит удалить содержимое папки, если вы не запрещали смартфону создавать миниатюры — так будет только лучше!

Debug log на Android

Debug log на Android. Debug Log — папка с отчетами об ошибках. Фото.

Debug Log — папка с отчетами об ошибках

Любое умное устройство, будь то смартфон, смарт-часы, планшет или компьютер, создает текстовый файл об успешных или ошибочных операциях приложений. Он нужен для поиска причины зависания программы, но хоть и носит информативный характер, но иногда достигает каких-то невероятных размеров.

При этом таких файлов могут быть десятки, а то и сотни. Обычно они хранятся в папке «BugReportCache» и их можно смело удалять без вреда для смартфона. Чтобы понять, какой файл весит больше всего, нужно выбрать сортировку по размеру файла, после чего удалить самые крупные или все сразу.

Можно ли удалять файлы EXO

Можно ли удалять файлы EXO. Обычно файлы хранятся в этой папке, но у смартфонов на разных версиях ОС ситуация может отличаться. Фото.

Обычно файлы хранятся в этой папке, но у смартфонов на разных версиях ОС ситуация может отличаться

Не так давно приложение YouTube на Android стало кэшировать в два раза больше данных, в результате чего многие пользователи заметили острую нехватку памяти даже на новых смартфонах. Все дело в файлах с расширением .exo — это файлы видеоконтента, которые используются YouTube на Android.

Воспроизвести его отдельно нельзя, так как файл является частью ролика. Он формируется из нескольких частей, поэтому их можно открыть с помощью VLC или Mozilla Firefox. Кроме того, на смартфонах Motorola он отвечает за обработку данных, но его можно смело удалять, чтобы очистить память.

ZIP файлы на Андроид

ZIP файлы на Андроид. ZIP-папки обычно остаются после скачивания прошивок и приложений. Фото.

ZIP-папки обычно остаются после скачивания прошивок и приложений

Если часто скачиваете какие-либо приложения, прошивки или другие данные, то в смартфоне часто оказываются ZIP-файлы — сжатые папки с контентом для удобного хранения. Кроме того, их удобно передавать целиком, закинув туда все необходимые данные.

ZIP на компьютере и смартфоне — одно и то же, поэтому открываются без дополнительных приложений. Среди них может оказаться приложение, которое вы уже установили на телефон, но сам установщик остался. Просто введите «zip» в поисковой строке файлового менеджера, после чего удалите эти файлы — сэкономите несколько гигабайт.

Эти типы файлов можно смело удалять с телефона, но перебарщивать не стоит — лучше избавляться от самых крупных, а мелкие можно оставить — от них не будет вреда. Зачастую оптимизаторы не видят эти файлы, поэтому нужно время от времени проверять их вручную. А еще лучше, если после чистки вы перезагрузите смартфон: о том, как это сделать разными способами, читайте в нашей статье!

Debug Dump Files — что это такое и можно ли удалить?

Приветствую друзья! Не все файлы можно удалять в Windows. Да, есть временные файлы, которые называются temp-файлы, для них даже существует специальная папка Temp (%temp%). Еще есть log-файлы, в которых содержится информация о работе программы, как об успешных операциях, так и об ошибках. А еще есть файлы, которые содержат много специфичной информации именно об ошибке — сегодня о таких мы поговорим.

Debug Dump Files — что это такое?

Служебные файлы, созданные отладчиком Windows. Содержат данные об условиях, при которых произошла ошибка/сбой.

Отвечу коротко — если компьютер работает нормально, без глюков — можно спокойно удалить. Но даже если есть глюки — 95% что эти файлы так и останутся бесполезными.

Файлы нужны только для анализа, чтобы понять причину ошибки/сбоя. То есть сами по себе они лежат без дела, но могут понадобиться, если вы захотите узнать почему произошла ошибка или сбой. Обычно в этом нужно разбираться, чтобы изучить файл, также могут быть нужны специальные программы для анализа.

Debug Dump Files это что-то вроде снимка системы на момент ошибки. Могут иметь расширение *.dmp, они могут быть скрытыми, в них может быть также содержимое оперативной памяти на момент ошибки.

Например при ошибке синий экран — тоже создается дамп-файл, анализ которого можно выполнить в утилите BlueScreenView:

Но опять же — провести анализ, выявить причину может только опытный пользователь.

Debug Dump Files — можно ли удалить?

Как мы уже выяснили — да. Только не стоит удалять вручную, лучше это дело доверить встроенному компоненту очистки системы.

Чтобы удалить Debug Dump Files, а также другие мусорные данные:

  1. Зажмите Win + R, появится окошко Выполнить, вставьте команду cleanmgr и нажмите ОК.
  2. Далее выберите системный диск. Удалить можно сначала на системном, а потом на других.
  3. Появится окошко Очистка диска. Потом нажимаете Очистить системные файлы (если такая кнопка есть).
  4. В списке Удалить следующие файлы вы можете отметить все пункты галочками — ничего опасного не удалится.
  5. Галочками отметили — нажимаем ОК. Начнется удаление. Внимание! Иногда оно занимает много времени, при этом может ПК грузить, будет казаться что зависло, но на самом деле нужно просто подождать.

Также очистку диска можно выполнить из свойств диска — правой кнопкой по диску (в окне Мой компьютер) > свойства > на вкладке Общие будет кнопка Очистка диска:

Это Windows 7, в Windows 10 должно быть все примерно так, но почему-то лично у меня этой кнопки нет. Но команда cleanmgr при этом работает.

Собственно окошко с вкладкой, где можно выбрать что удалять:

Поверьте — встроенная чистилка мусора пожалуй самая безопасная из всех чистилок. Точно к ошибкам не приведет.

Иногда Debug Dump Files могут занимать прилично много места, поэтому конечно их стоит удалить:

Также, если я не ошибаюсь, то в CCleaner есть аналогичная опция — Memory Dumps и возможно что это тоже самое что и Debug Dump Files:

Но если вы неопытный пользователь, то советую вам чистить систему только встроенным инструментом (cleanmgr).

Описание некоторых пунктов из очистки

  1. Временные файлы установки — которые были созданы во время установки софта. Например это могут быть данные, которые были распакованы из архива при установке, это частая ситуация. Вообще установщик ПО после установки программы должен чистить после себя мусор, но к сожалению это не всегда происходит.
  2. Старые файлы программы Chkdsk — потерянные фрагменты файлов, которые были созданы во время работы команды Chkdsk. Можно удалить. Что за команда Chkdsk? Например выключили свет внезапно. Некоторые данные не успели записаться на диск полностью в итоге данные стали повреждены. Чтобы все это исправить — автоматически может запуститься команда Chkdsk при включении ПК, которая при своей работе может создавать служебные файлы. Когда проверка Chkdsk выполнилась, то эти служебные файлы уже не нужны, поэтому их можно удалить.
  3. Предыдущие установки Windows — при установке Windows, предыдущая система может быть скопирована в специальную папку Windows.old, которая может занимать прилично места. Если вам не нужна предыдущая ваша Windows, то конечно эти данные можно удалить.
  4. Файлы дампа памяти для системных ошибок — информация о том при каких условиях произошли ошибки/сбои ПО или системы. Может быть нужна при анализе, чтобы выяснить почему произошла ошибка, такой анализ вряд ли сможет сделать обычный пользователь. В целом если ПК работает стабильно и без глюков — эти данные не нужны.
  5. Файлы, выброшенные обновлением Windows — как я понимаю это копии файлов, которые были обновлены на новые версии при обновлении Windows. То есть это системные файлы прошлой версии, они уже не используются системой, так как при обновлении были заменены на более новые версии.
  6. Пользовательские архивы отчетов об ошибках — файлы, которые используются для отчетов об ошибках и поиска решений. Как понимаю — возможно просто информация об ошибках, которые возникали в софте который вы используете.
  7. Файлы журнала обновлений Windows — данные, которые могут быть использовании при решении проблем с обновлениями.

Скажу честно — при очистке я ставлю галочки везде и еще никогда не было с этим проблем. Даже CCleaner и то считается безопасной чистилкой, что тогда стоит говорить про встроенный инструмент.

Plc debug что это за папка

Какие файлы можно удалить из папки Debug?

  • Вопрос задан более трёх лет назад
  • 4175 просмотров
  • Facebook
  • Вконтакте
  • Twitter
  • Facebook
  • Вконтакте
  • Twitter

Nipheris

  • Facebook
  • Вконтакте
  • Twitter

Plc debug что это за папка

  1. Удаляем все файлы aria-debug-****.log в папке C:\\Users\\Имя пользователя\\AppData\\Local
  2. В диспетчере задач (win+R команда taskmgr)отключаем все процессы Microsoft OneDriveSetup и OneDrive
  3. Удаляем все файлы в папке C:\\Users\\Имя пользователя\\AppData\\Local\\Microsoft\\OneDrive\\setup\\logs
  4. Запускаем редактор реестра windows (win+R команда regedit) и меняем атрибут по адресу HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Group Policy Objects\\Machine\\Software\\Policies\\Microsoft\\Windows\\OneDrive на 1 (если его нет можно создать с типом dword)
    ———————————————————————————————
  1. Удаляем все файлы aria-debug-****.log в папке C:\\Users\\Имя пользователя\\AppData\\Local
  2. В диспетчере задач (win+R команда taskmgr)отключаем все процессы Microsoft OneDriveSetup и OneDrive
  3. Удаляем все файлы в папке C:\\Users\\Имя пользователя\\AppData\\Local\\Microsoft\\OneDrive\\setup\\logs
  4. Если компьютер обновлялся идем в C:\\Users\\Имя пользователя\\AppData\\Local\\Microsoft\\OneDrive и запускаем OneDriveStandaloneUpdater.exe
    Если компьютер не обновлялся или искомого файла нет то скачиваем установщик по адресу https://go.microsoft.com/fwlink/p/?LinkId=248256
  • windows
  • microsoft
  • windows10
  • aria-debug
  • aria-debug-9828
  • OneDrive
  • Назад
  • Вперед

Debug Dump Files — что это такое и можно ли удалить?

Debug Dump Files — что это такое?

Но опять же — провести анализ, выявить причину может только опытный пользователь.

Debug Dump Files — можно ли удалить?

  1. Зажмите Win + R, появится окошко Выполнить, вставьте команду cleanmgr и нажмите ОК.
  2. Далее выберите системный диск. Удалить можно сначала на системном, а потом на других.
  3. Появится окошко Очистка диска. Потом нажимаете Очистить системные файлы (если такая кнопка есть).
  4. В списке Удалить следующие файлы вы можете отметить все пункты галочками — ничего опасного не удалится.
  5. Галочками отметили — нажимаем ОК. Начнется удаление. Внимание! Иногда оно занимает много времени, при этом может ПК грузить, будет казаться что зависло, но на самом деле нужно просто подождать.

Это Windows 7, в Windows 10 должно быть все примерно так, но почему-то лично у меня этой кнопки нет. Но команда cleanmgr при этом работает.

Поверьте — встроенная чистилка мусора пожалуй самая безопасная из всех чистилок. Точно к ошибкам не приведет.

Но если вы неопытный пользователь, то советую вам чистить систему только встроенным инструментом (cleanmgr).

  1. Временные файлы установки — которые были созданы во время установки софта. Например это могут быть данные, которые были распакованы из архива при установке, это частая ситуация. Вообще установщик ПО после установки программы должен чистить после себя мусор, но к сожалению это не всегда происходит.
  2. Старые файлы программы Chkdsk — потерянные фрагменты файлов, которые были созданы во время работы команды Chkdsk. Можно удалить. Что за команда Chkdsk? Например выключили свет внезапно. Некоторые данные не успели записаться на диск полностью в итоге данные стали повреждены. Чтобы все это исправить — автоматически может запуститься команда Chkdsk при включении ПК, которая при своей работе может создавать служебные файлы. Когда проверка Chkdsk выполнилась, то эти служебные файлы уже не нужны, поэтому их можно удалить.
  3. Предыдущие установки Windows — при установке Windows, предыдущая система может быть скопирована в специальную папку Windows.old, которая может занимать прилично места. Если вам не нужна предыдущая ваша Windows, то конечно эти данные можно удалить.
  4. Файлы дампа памяти для системных ошибок — информация о том при каких условиях произошли ошибки/сбои ПО или системы. Может быть нужна при анализе, чтобы выяснить почему произошла ошибка, такой анализ вряд ли сможет сделать обычный пользователь. В целом если ПК работает стабильно и без глюков — эти данные не нужны.
  5. Файлы, выброшенные обновлением Windows — как я понимаю это копии файлов, которые были обновлены на новые версии при обновлении Windows. То есть это системные файлы прошлой версии, они уже не используются системой, так как при обновлении были заменены на более новые версии.
  6. Пользовательские архивы отчетов об ошибках — файлы, которые используются для отчетов об ошибках и поиска решений. Как понимаю — возможно просто информация об ошибках, которые возникали в софте который вы используете.
  7. Файлы журнала обновлений Windows — данные, которые могут быть использовании при решении проблем с обновлениями.

нужна ли папка debug в C:windows/debug антивирусник ругается что там есть вирусы

Саму папку оставь
а вот файлы из этой папки можешь удалить

Plc debug что это

One stepper technology remote programming RPLC-03A module.

To debug the PLC with the network port download mode, prepare a network cable; to debug the PLC with the serial port download mode, prepare a DB9 serial cable of the corresponding brand.

One PLC that needs to be debugged (network port or serial port download is acceptable).

A mobile phone that can provide a hotspot

One laptop (PLC programming software has been installed).

Basic principles of realization

The principle is as shown in the figure above. Through the network and the Internet, engineers can access the serial port or network port of the RPLC03A module. Users can understand that the serial port of the RPLC03A module is the serial port of the engineer’s computer, and the network port of the RPLC03A module is the network port of the engineer’s computer. The computer’s serial port or network port is connected to the PLC. Of course, the PLC can be programmed and debugged. It is no different from the PLC connected to the computer locally. The networking mode of RPLC03A module is WIFI networking, which can use mobile phone hotspots. This avoids the problem of traffic costs caused by inserting a 4G card, and the WIFI network is more stable than 4G. When there is no WIFI network on site, you can use a 4G router to convert 4G to WIFI, so that as long as one 4G router, all the RPLC03 modules on the site can be connected to the 4G router’s WIFI to surf the Internet, greatly reducing the cost.

Читать:
Как решать уравнение с параметром а

Construction and configuration steps

On-site construction

Network port PLC, connect RPLC03A module and PLC with network cable;

Serial port PLC, connect the RPLC03A module to the PLC with a serial cable

Field module networking configuration

Setting up the module is very simple, just configure the name and password of the WIFI hotspot that can connect to the Internet into the RPLC03A module.

Computer configuration

On the computer side where the engineer is located, the computer must be able to access the Internet. After installing the stepper technology software, enter the ID and password of the RPLC03A module to be connected to remotely connect to the module, so that the serial port or network port of the remote RPLC03A module becomes the computer’s A serial or network port.

After completing the above construction and configuration, you can open the PLC programming software, and program and debug the PLC just like you usually do on-site programming. Is it easy to use?

Remote programming and debugging

After completing the above setup and configuration, PLC programming and debugging are the same as when you are on-site PLC programming and debugging. The serial port or network port of the remote RPLC03A module is already the serial port or network port in your programming computer, and you are just like the PLC before you. The same, just do what you need to do. Haha

to sum up:

According to my experience, this solution, using the RPLC03A module, is very simple to use, very stable during programming, and the speed is completely sufficient. After the test, it was found that the serial port PLC and Siemens serial port download methods are not supported. Other brands, such as Mitsubishi, Omron, Xinje, Delta, and Panasonic. . . And so on, all support; PLC, Siemens, Mitsubishi, Omron, Xinje, Delta, Panasonic that use network port download. . . Full support, no unsupported ones have been found so far, and the network port touch screen is also supported, and the function is still very powerful.

PS: The only fly in the ointment is that it does not support PLC and touch screen in USB download mode.

PLC Debugging

Whether you are working with a PLC program that you didn’t write, or creating a PLC program on an unfamiliar platform, errors are bound to occur. Often times, debugging a program involves running it on a live PLC or using “practice” PLC hardware, both of which are time consuming and expensive.

PLC debugging software allows you to use ladder language-based debugging tools to troubleshoot hardware problems. Working hand in hand with PLC simulation, PLC debugging software can be used to test and debug PLC programs in minutes without the need for expensive hardware or equipment downtime.

FasTrak’s PLC Debugging Solutions

FasTrak has over 30 years of experience providing PLC programming and debugging solutions to a wide variety of industries. PLC debugging capability is included or available in the following FasTrak products:

[SOLVED] plc_debug and a possible windows bug?

Okay so recently my computer has started having booting issues. I created a very long post about this yesterday if you would like to go to my page to read it. I have had no issues with my pc up until a few weeks ago. I was just browsing files and found a new folder I have not seen before labeled plc_debug.

I opened the folder to find what looks like a log of every system reboot I have had the last few weeks since the issue started to occur. I did a quick google search to se what a plc debug was and I found that others have been having this issue the last several weeks as well. I’m not too sure but I read this could be a windows bug or an Asus armory crate bug. Other peoples computers have been getting the same errors and system reboots.

I now am starting to believe my pc issues is something to do with the latest windows update or maybe a bug somewhere else because it just now randomly started having these issues when I have done nothing out of the ordinary. Still I advice you go read my post from yesterday to see the issues I have been experiencing with my computer every time I go to boot it.

Here is the debug log that was found in my plc_debug folder as of Sunday, May 8th. I’m not sure what I’m reading so maybe someone else can help me out. Is this a possible windows update glitch that’s causing my PC issues?

================ Sun May 8 22:01:45 2022 ================
[FanCtrlSvc] Reg02 = 0x0, Reg03 = 0x0
[FanCtrlSvc] >> Enter Make
[FanCtrlSvc] fanctrl size = 11
[FanCtrlSvc] i=0, name: CPU Fan, pin_type=2
[FanCtrlSvc] >> Enter ScanSIOFan
[FanCtrlSvc] version=100, BiosId:4070010, bank:2, Name:CPU Fan
[FanCtrlSvc] << Leave ScanSIOFan
[FanCtrlSvc] i=1, name: Chassis Fan 1, pin_type=2
[FanCtrlSvc] >> Enter ScanSIOFan
[FanCtrlSvc] version=100, BiosId:4070070, bank:1, Name:Chassis Fan 1
[FanCtrlSvc] << Leave ScanSIOFan
[FanCtrlSvc] i=2, name: Chassis Fan 2, pin_type=2
[FanCtrlSvc] >> Enter ScanSIOFan
[FanCtrlSvc] version=100, BiosId:4070060, bank:3, Name:Chassis Fan 2
[FanCtrlSvc] << Leave ScanSIOFan
[FanCtrlSvc] i=3, name: Chassis Fan 3, pin_type=2
[FanCtrlSvc] >> Enter ScanSIOFan
[FanCtrlSvc] version=100, BiosId:4070050, bank:8, Name:Chassis Fan 3
[FanCtrlSvc] << Leave ScanSIOFan
[FanCtrlSvc] i=4, name: High Amp Fan, pin_type=2
[FanCtrlSvc] >> Enter ScanSIOFan
[FanCtrlSvc] version=100, BiosId:4070040, bank:9, Name:High Amp Fan
[FanCtrlSvc] << Leave ScanSIOFan
[FanCtrlSvc] i=5, name: Water Pump+, pin_type=2
[FanCtrlSvc] >> Enter ScanSIOFan
[FanCtrlSvc] version=100, BiosId:4070030, bank:a, Name:Water Pump+
[FanCtrlSvc] << Leave ScanSIOFan
[FanCtrlSvc] i=6, name: AIO Pump, pin_type=2
[FanCtrlSvc] >> Enter ScanSIOFan
[FanCtrlSvc] version=100, BiosId:4070020, bank:b, Name:AIO Pump
[FanCtrlSvc] << Leave ScanSIOFan
[FanCtrlSvc] i=7, name: Extension Fan 1, pin_type=1
[FanCtrlSvc] >> Enter ScanEcFan
[FanCtrlSvc] Fan: Extension Fan 1
[FanCtrlSvc] << Leave ScanEcFan
[FanCtrlSvc] i=8, name: Extension Fan 2, pin_type=1
[FanCtrlSvc] >> Enter ScanEcFan
[FanCtrlSvc] Fan: Extension Fan 2
[FanCtrlSvc] << Leave ScanEcFan
[FanCtrlSvc] i=9, name: Extension Fan 3, pin_type=1
[FanCtrlSvc] >> Enter ScanEcFan
[FanCtrlSvc] Fan: Extension Fan 3
[FanCtrlSvc] << Leave ScanEcFan
[FanCtrlSvc] i=10, name: PSU Fan, pin_type=1
[FanCtrlSvc] >> Enter ScanEcFan
[FanCtrlSvc] Fan: PSU Fan
[FanCtrlSvc] << Leave ScanEcFan
[FanCtrlSvc] << Leave Make

Productivity 2000 Series PLC Debug Mode

Productivity 2000 Series PLC Debug Mode

The productivity suite programming software has a debug mode. This will allow you to view and control the rung execution on your ladder logic code. These programming tools allow you to troubleshoot, find, and correct errors in the PLC programming logic.
We will be adding a couple of rungs to our exiting start-stop circuit we created last time in our productivity 2000 PLC. Using the debug mode we will explain the scan of the PLC and use these tools to sequence the logic. Let’s get started.

Productivity 2000 Series PLC Sample Program

Last time we created a start-stop circuit for our first program.
PLC Ladder Logic Sample ProgramThe first simulator input switch would turn on the first output. This output would then seal the input switch so the output could remain on even when the switch turns off. The second switch of the simulator input was normally closed and would stop the output.
PLC Ladder Logic Sample ProgramWe will add the following two rungs to our existing program and transfer them to the productivity 2000 PLC controller. Switch 3 will control the second output using a normally open (NO) contact on rung 2. Rung 3 will use the normally open (NO) contact to also control the same second contact.
You can download this simple program here. Save and download the ladder logic code to the PLC. We can then monitor the logic online.

Productivity CPU Scan Time

“Get CPU Scan Time” is used to view the amount of time it takes for the CPU to execute one scan.
Productivity 2000 Series PLC Debug ModeSelect “Get CPU Scan Time” from the main menu | CPU.
Productivity 2000 Series PLC Debug ModeThe average scan time is 0.1 milliseconds. This means that in one second the productivity 2000 PLC CPU will scan 10000 times.
This cyclic scan consists of reading inputs, executing the program, diagnostics, and communication, and updating outputs. The speed of the scan time is too quick to troubleshoot our logic. This is why we will use the debug mode of the productivity suite programming software.

Accessing Debug Mode in Productivity Suite

To enable Debug Mode the CPU must be Online and the CPU Mode Switch must be in the RUN position. The stop mode must be activated through the software.
PLC Ladder Logic Sample ProgramStop mode can be activated in three different ways. It can be selected on the main menu icon or through the main menu | CPU | Stop. You can also select it under the control CPU in the application tools. Once the PLC is stopped, debug mode can be enabled.
PLC Ladder Logic Sample ProgramDebug mode can be accessed in three different ways. You can select the main menu icon or through the main menu | CPU | Debug. Under the control CPU in the applications tools, you will also be able to select debug.
Productivity 2000 Series PLC Debug ModeOnce you have selected debug mode several icons will now be available for selection. This toolbar will help you troubleshoot your ladder logic program code.
The ladder editor window will also show additional indicators.
PLC Ladder Logic Sample ProgramThe arrow icon (>) indicates the current step or rung location that you are debugging. The box icon beside each step or rung allows you to set up breakpoints. Clicking on the box will allow you to put an X in the box. This will allow you to run your ladder logic up to that point and stop.

Productivity Debug Toolbar

The debug toolbar is only available in the debug mode of the controller. It has several tools that will aid in troubleshooting the ladder logic PLC program code.
Execute Outputs Icon – If you do not select this option, you can step through the code without turning on any outputs (Safe Mode).
Productivity 2000 Series PLC Debug ModeSingle Step Icon – Single Step allows you to manually step from rung to rung and monitor results.
Run 1 Scan Icon – Run 1 Scan lets you cycle through your entire project once then stop for evaluation.
Run To BP Icon – Run to BP (Breakpoints) allows the option to execute up to a specified point then halt.
Stop Icon – Stop lets you stop any active debug process.
Productivity 2000 Series PLC Debug ModeShow all Breakpoints Icon – Show all Breakpoints gives you a list of all rungs with active breakpoints selections in a debug breakpoints window.
Clear all Breakpoints Icon – Clear all Breakpoints will deselect all selected breakpoints.
Go to Current Rung Icon – Go to Current Rung will automatically go to the current rung while in Debug Mode.
Watch the video below to see the different debug icons in action with our productivity 2000 PLC.

Productivity 2000 PLC Program Debugging

Monitoring our program we can now troubleshoot our ladder logic sample program. Select the execute outputs icon. The physical outputs will be turning on/off. Turn on switch 1.
PLC Ladder Logic Sample ProgramNotice that we are currently on rung 1 of our program. Select the single-step icon.
PLC Ladder Logic Sample ProgramRung 1 of our program gets executed and stops at rung 2. The output in the first rung will now be set to come when the outputs get updated at the end of the scan. Turn on switch 3. Select the single-step icon again.
PLC Ladder Logic Sample ProgramRung 2 of our program gets executed and stops at rung 3. The second output is now also set to come on at the end of the PLC scan. What do you think will happen once we select the single-step icon again?
PLC Ladder Logic Sample ProgramRung 3 of our program gets executed. This turns off the second output. The end of the PLC scan is reached so the program will set the outputs based on our ladder logic conditions. Only the first output is physically on. In PLC ladder logic, the last rung controls the physical output.
PLC Ladder Logic Sample ProgramNow turn off switch 1 and turn on switch 2. We are currently on the first rung of our program as shown by the arrow icon. Select the run 1 scan icon.
Productivity 2000 Series PLC Debug ModeThe PLC will execute one scan of the logic. This results in the output turning off on the first rung. Select a breakpoint on rung 3 by clicking the box with your mouse. This will put an X in the box.
Productivity 2000 Series PLC Debug ModeSelect the run to breakpoint icon.
Productivity 2000 Series PLC Debug ModeThe execution of our PLC logic stopped on rung 3 where we set the breakpoint. Select the show all breakpoints icon.
Productivity 2000 Series PLC Debug ModeThis will display the debug breakpoints window. Highlighting the breakpoint and selecting “Show Breakpoint” will quickly move you around to the different breakpoints set in your program. Select close to close the window.
Productivity 2000 Series PLC Debug ModeSelect the clear all breakpoints icon.
Productivity 2000 Series PLC Debug ModeThe breakpoints will all be cleared. As you can see our one point has now been cleared. This is very helpful in a large program. What happens when we select the run to breakpoint icon when we have no breakpoints set?
Productivity 2000 Series PLC Debug ModeThe arrow showing the step that we are on is faded out. This means that the PLC is cyclically scanning our program. Try testing the logic. Selecting the stop icon will stop the scanning of the logic. The program will stop on the first rung of our ladder logic.
Productivity 2000 Series PLC Debug ModeClose the new task with our existing ladder logic code. Select the go to the current rung icon.
Productivity 2000 Series PLC Debug ModeThis will display the current task and rung. Select the stop icon to go out of debugging mode.
Productivity 2000 Series PLC Debug ModeWatch the video below to see this in operation.

Productivity 2000 Features (P2000)
  • CPU with 5 communication ports
  • OLED message display on the CPU module
  • Plenty of discrete and analog I/O modules
  • Status displays on all discrete I/O modules
  • OLED data display on analog modules
  • P2-RS remote I/O expansion module, or use the Productivity1000 P1-RX remote expansion module to add even lower-cost remote I/O to your system
  • FREE full-featured Productivity Suite software
  • Programming with several ports – USB, Ethernet, Serial
  • Hardware auto-discovery
  • Hot-swappable I/O
  • Choose from three wiring options
  • Slim DIN rail density form factor:
    • hardware – power supply, CPU, and seven modules in only 10-1/2 inches

    Productivity 2000 Series PLC from Automation Direct
    Overview Link (Additional Information on the Unit)
    Configuration (Configure and purchase a system – BOM)
    User Manual and Inserts (Installation and Setup Guides)
    Productivity Suite Overview (Features of the fully functional free software package for the Productivity Family of PLC (PAC) controllers)
    Productivity Suite Programming Software (Free Download Link)
    This software contains all of the instructions and helps files for the Productivity Series.

    If you have any questions or need further information please contact me.
    Thank you,
    Garry

    If you’re like most of my readers, you’re committed to learning about technology. Numbering systems used in PLCs are not difficult to learn and understand. We will walk through the numbering systems used in PLCs. This includes Bits, Decimal, Hexadecimal, ASCII, and Floating Point.

    To get this free article, subscribe to my free email newsletter.

    Use the information to inform other people how numbering systems work. Sign up now.

    The ‘Robust Data Logging for Free’ eBook is also available as a free download. The link is included when you subscribe to ACC Automation.

Related Posts