Logo Logo en
  • iRidi Pro
    Основные компоненты
    • Приложение i3 Pro
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (устаревшая версия)
    Java Script в iRidi
    • Руководство
    • Справочник
    • Примеры
    • JS драйвера
    другие
    • Личный Кабинет
    • iRidium Cloud
    • iRidium Transfer
    • Push-уведомления
    • Лучшая практика
    Лицензирование
    • Лицензирование и передача проекта
    • Оффлайн-лицензирование
    • Активация iRidi Pro Server
  • Продукты
    i3 lite
    • Приложение i3 lite
    • Регистрация и лицензирование
    • Сервер
    • Модули
    KNX Home Server
    • Приложение i3 KNX
    • KNX Home Server
    BUS77 HOME SERVER
    • Приложения Bus77 Home и Bus77 Lite
    • Bus77 Home Server
    Решения
    • BYOD - решение для гостиниц
    • Портал жителя - решение для МКД
    iRidi SCADA
    • iRidi SCADA
  • Bus77
    НАСТРОЙКА BUS77
    • Основы Bus77
    • Приложения Bus77 Home и Bus77 Lite
    • Работа с драйвером Bus77 в iRidi Studio
    • Настройка шины Bus77 в iRidi Studio
    ПРОТОКОЛ BUS77
    • Характеристики CAN (Bus77)
    • Описание протокола
    • Исходники на GitHub
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
  • Поддерживаемое оборудование
    Драйверы
    • Список драйверов
    • ProAV драйвера
    • AV & Custom Systems
    • JS драйвера
    • Сторонние драйвера и фриланс
    Протоколы и интерфейсы
    • Голосовое управление
    • 1-Wire
    • BACnet IP
    • Bus77
    • KNX
    • KNX IP BAOS
    • Weinzierl kBerry
    • Microsoft Exchange
    • Modbus
    • MQTT
    • NFC
    • ODBC
    • Onvif
    • SIP
    • SNMP
    • Wake On Lan
    • Z-Wave
    • ZigBee
    Производители
    • AMX
    • AVCiT
    • Beckhoff ADS
    • Biamp Tesira
    • Bluesound
    • Casambi
    • BSS Harman
    • Clipsal
    • ControlArt 7Port
    • Crestron
    • DigiBird
    • Domintell
    • Duotecno
    • EIDE
    • EPSNET
    • Global Cache
    • HDL Buspro
    • Helvar
    • IEAST
    • INELS BUS
    • INELS Wireless
    • Intesis
    • Kleger
    • Kramer VIA
    • Kramer 3000
    • Larnitech
    • Legrand Netatmo
    • LG TV
    • Lutron
    • Lutron Homeworks QS
    • MyHome
    • Nest
    • Novastar
    • Panasоnic PTZ
    • Philips Dynalite
    • PJLink
    • Satel
    • SamsungTV
    • Sonos
    • Somfy
    • SpinetiX
    • Televic Conference
    • TIS
    • Tion
    • URRI
    • Velbus
    • Velocio
    • Vinteo
    • WyreStorm
    • WiiM
    • Xicato
    • Yamaha
    • ZONT
    • Z-Wave.me
    Протестированное оборудование
    • Панель HDL S57
    • Панель HDL S10
    • SIP-домофон
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • Оборудование iRidi

    Серверы
    • HS Сервер
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • Спецификация контроллеров UMC
    • Настройка контроллера UMC C2
    • Настройка контроллера UMC C3
    • Настройка контроллера HDL IntelliCenter 2 (UMC C4)
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Панели управления
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
    • Differences
iRidium mobile web-site
Содержание
    Инструменты‌
    • Сведения о странице
    • Постоянная ссылка
    • Версия для печати
    • Спецстраницы
    • Связанные правки
    • Ссылки сюда
    Login / Create Account
    Материал из for iRidium developers
    Перейти к: навигация, поиск
    Эта страница является переводом страницы IRidium studio 2019 Routines. Перевод выполнен на 58%.

  • iRidium studio 2019
  • Routines
  • Содержание

    • 1 Routines
      • 1.1 Routines: conditions, actions
      • 1.2 Activating Routine from Control Panel
      • 1.3 Setting Editable Routines
        • 1.3.1 Use of Editable Routines in a Project

    Routines

    A routine is automatically launched when a certaiin event happens: data are received from equipment, or a scheduled event happens

    Routines work only on iRidium server


    Routines work with two types of schedules Advanced and Simple:

    • Advanced are advanced (basic) schedules. Advanced schedules allow to set in the studio the following parameters beforehand: the time and date of event start and end, and the repetition period of an event. Advanced schedules also work with TimeTable item.
    • Simple - are simplified schedules. Simple schedules allow to work with editable routines from a launched panel proejct.

    Read a detailed description of settings and work with schedules here.

    Routines12.png

    The routines window contains the following settings up:

    • Name - routine name;
    • Description - description;
    • Active (Active on Server) - turn on / off the routine on the server;
    • Edit from panel - turn routines editing on / off from the control panel.


    Routines: conditions, actions

    Routines work is based on event logic:

    • Condition for routine work (WHEN) is an event that caused commands, set in THEN, to be done, but only in case conditions set in BUT ONLY IF are fulfilled.
      • Feedback is a driver variable. It works once, them moment a variable changes from the current value to the one set in the condition. The next assignment of the same variable value does not cause the condition to work (it must be reset and assigned again).
      • Operation is comparison operators -:
        • Start/Finish - a routine is acitated by the start/finish of a schedule (Advanced),
        • Timer - a routine is activated by the start or finish of a schedule (Simple),
        • == - a routine is actiated if Feedback = Value.
      • Value is a feedback value that activates a routine.
      • Edit - editing an event in a panle project (except schedules of "Advanced" type).
      • Public name is the name of an event (to display in a panel project).
    • Actions when a routine works (THEN) are all commands set in THEN, they will be done one after another starting with the top of the list.
      • Feedback - commands that are done:
        • Send number - send a number,
        • Send text - send text,
        • Send data - send data in 16-bit format,
        • Send token - send a token,
        • Delay - a delay,
        • Script call - activation of a script function.
      • Edit - editing actions in a panel project (except Send data, Script call and Send tag).
      • Public name - th name of an action (to display in a panel project).
    • Excluding conditions (BUT ONLY IF) - if they are not done, commands in THEN won't work. If there are several conditions, all of them must be done.
      • Feedback - a driver variable or a schedule (must be equal to a set value).
      • Operation - comparison operators:
        • ==, !=, <, >, <=, >= - comparison of values in a channel with set values,
        • Active / Inactive - activation of a schedule of Advanced type.
      • Value - a value to compare with Feedback.
      • Edit - editing conditions for channel values in a panel project.
      • Public name - the name of a condition (to display in a panel project).


    Routines when.png WHEN
    Routines then.png THEN
    Routines ButOnlyIf.png BUT ONLY IF


    Activating Routine from Control Panel

    A Routine can be started from a control panel by pressing a button .
    To set it, do the following:

    1 Create a pair virtual channel + virtual tag in a server project for each routine.

    Routines5.png

    2 Set data exchange between a virtual channel and a corresponding tag.

    Routines6.png

    3 Set the change of a virtual tag as a condition to activate a routine in the settings of a Routine.

    Routines11.png

    4 Synchrinize a panel and a server project, assign a virtual channels to a graphic item (button).

    5 Send a value to a corresponding virtual channel by pressing button in a panel project.


    Setting Editable Routines

    Editable routines are routines created in iRidium Studio, which parameters can be edited by an end-user in a launched project.

    1 Create a required number of server routines in a server project and set parameters ( that later on can be edited from a panel proejct).
    Editable routines work only with schedules of Simple type.

    2 Synchronize a server project with a panel one with the help of iRidium Server driver.

    3 Drag'n'drop onto an item in a panel project a command that calls an interface to edit a routine.

    Routines2.png

    Use of Editable Routines in a Project

    To edit server routines in a panel project, it's required to press a button to which a command on opening an editor window was assigned (p.3 Setting editable routines). The editor window will appear on the screen:

    Routines3.png

    The editor window allows to:

    • activate or deactivate a parameter or the whole routine (Enable),
    • change a comparison operator (==, <, > etc.),
    • change a parameter value or the time of routine activation,
    • Reset a routine to default settings (Set Default Routine Settings).
    Routines4.png
    Источник — «https://dev.iridi.com/index.php?title=IRidium_studio_2019_Routines/en&oldid=140573»
    Категория:
    • Studio2019
    About us
    Company
    Team
    History
    Philosophy
    Rewards
    Partnership
    Our partner
    Partnership Programs
    Apply for partnership
    products
    iRidium pro
    iRidium lite
    iRidium gate
    iRidium server
    Loads
    iRidium pro
    iRidium lite
    Other version
    Marketing materials
    Support
    On-line courses/Video
    Recommended equipment
    Other version
    iRidium pro
    Documentation
    FAQ
    Forum
    iRidium lite
    Documentation
    Forum
    Projects
    Standart projects
    Smart buildings
    Smart house
    Special solution
    Find a dealer
    News
    Youtube
    Twitter
    VK
    Logo
    contact@iridi.com
    +7 (499) 322-73-29

    Privacy policy