Date: 29.09.2014 File:MICRO_12D.1 SIMATIC S7 Siemens AG 1997. All rights reserved. Information and Training Center Knowledge for Automation Специальные.

Презентация:



Advertisements
Похожие презентации
Date: File:Micro_11D.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Текстовый дисплей.
Advertisements

Date: File:PRO1_09E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Функции тестирования.
Date: File:MICRO_04D.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Конфигурация.
Date: File:UPPROG_08E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Функции тестирования.
Date: File:Micro 06D.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Логические.
Date: File:MICRO_05D.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Редактирование.
Date: File:PRO1_15E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Документирование,
Date: 11/30/98 File:MICRO_08D.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Символика.
Date: File:PRO1_05E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Редактирование.
Date: File:PRO1_04E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Конфигурация.
SIMATIC HMI Siemens AG All rights reserved.© Information and Training Center Knowledge for Automation Date: File:SWINCC06E.1 V5.00 Отображение.
Date: File:PRO1_08E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Символика.
Date: File:UPPROGE.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Символьные обозначения.
Date: File:System_Schd_10. 1 SIMATIC HMI Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Планировщик.
Date: File:PRO1_02E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation SIMATIC Manager.
Date: File: PRO1_17E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Решения (Вариант.
Date: File:PRO1_13E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Организационные.
Date: File:PRO1_04r.1 SIMATIC ® S7 Siemens AG Все права защищены. SITRAIN Training for Automation and Drives Настройки контроллера.
Date: File:PRO1_12E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Устранение дефектов.
Date: File:System_VBSc_8.1 SIMATIC HMI Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Гибкость.
Транксрипт:

Date: File:MICRO_12D.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Специальные команды Q0.4 I0.0 Секунды

Date: File:MICRO_12D.2 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Упражнение Таблица для хранения 10 аналоговых величин

Date: File:MICRO_12D.3 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Встроенные часы S7–200 используют только две последние цифры года, поэтому 2000 год будет представлен как 00 (переход от 99 к 00). Все даты и величины времени представлены в формате BCD Чтение и установка часов Чтение часов Включение установки в ручной или автоматический режим в 7.00

Date: File:MICRO_12D.4 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Команды работы с таблицей 120 AAV0 SM Событие 21 SM1.4 Этот бит включается, когда когда команда добавления к таблице приводит к переполнению таблицы. Используемое число записей Таблица для хранения 10 аналоговых величин Таблица из 10 записей Чтение аналоговой величины Сохранение аналоговой величины в таблице Переполнение таблицы

Date: File:MICRO_12D.5 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation INT 0 Аналоговая величина в таблице RETI Событие 21 TON IN PT T CT Секунды Программа MAIN вы- заполняется циклически До прерывания от события Событие Описание CT = PV Текушее значение счетчика равно предустановленному Прерывание циклической программы

Date: File:MICRO_12D.6 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Чтение аналоговой величины Сохранение аналоговой величины Переполнение таблицы TANK IN zeit SM Каждые мс = 10 с должно возникать событие 21. Инструкция связывания прерывания (ATCH) ассоциирует прерываю- шее событие (21) с обработчиком прерываний номер INT_0 (T32_Interrupt). Команды прерываний Прерывание 21, если CT=PT Разрешение прерываний Связь прерывания 21 от таймера 32 при CT=PT с номером T32_Interrupt

Date: File:MICRO_12D.7 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Цикл FOR / NEXT &VB500 Average_Value Laddr ENMTab_Over Laverage VAV & VB500 передает в подпрограмму адрес VB500 # Laddr содержит адрес VB500 * Laddr принимает содержание VB500 Цикл FOR/NEXT Конец цикла

Date: File:MICRO_12D.8 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Q I I CPU 224 SIEMENS SF RUN STOP ML+ 1L+1M I0.0 Упражнение

Date: File:MICRO_12D.9 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Q0.0 Время цикла = 100 мс SBR_0 cvalue ENSM0.1 cycle_time 100 Q0.4 Impuls nozzle EN I1.2 P Импульсный выход (PTO) Установить выходы и период Генерация импульсов Открытие форсунки

Date: File:MICRO_12D.10 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Конвейерные режимы работы PTO Q Событие 19 Обработка события: Запись параметров для следующего сегмента в SM, команда PLS Односегментный режим Многосегментный режим Q Число сегментов Данные первого сегмента Данные второго сегмента Таблица профилей

Date: File:MICRO_12D.11 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Конфигурация скоростных счетчиков 50 SBR 0 cvalue ENSM0.1 cycle_time 100 HSC0 SMD38 начальное значение SMD42 установленное значение ATCH Обработчик прерываний (INT 1) с событием 12 HDEF Высокоскоростной счетчик Режим 0 Вверх/вниз на 1 с внутренним управлением направлением SM37.3 счет вверх SM37.6 запись нового текущего значения в HSC0 SM37.7 бит разрешения HSC0: 1 = разрешение SMB37 F8 Присоединить прерывание Текушее значение HSCO в SMD38 предустановленное в SMD42 Установить выходы и период

Date: File:MICRO_12D.12 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation PLS Impuls EN I1.2 ven Q0.4 P Событие Описание HSC0 CV = PV CV Активация скоростных счетчиков Открытие форсунки (nozzle) Генерация импульсов Событие Запрет

Date: File:MICRO_12D.13 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Упражнение I I CPU 224 SIEMENS SF RUN STOP ML+ 1L+1M 0 255

Date: File:MICRO_12D.14 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Широтно-импульсная модуляция (PWM) Q0.1 Время цикла 255 мс Ширина импульса SMW80 SMB77 Бит Значение обновление времени цикла 1 обновление ширины импульса 3 база времени: = 1 мс/отсчет 6 выбранный режим: 0 = PTO; 1 = PWM 7 разрешение SMB77 Temp Чтение новой ширины импульсов Сравнение новой и старой ширины Сохранение новой ширины SMW78

Date: File:MICRO_12D.15 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation