Logo Logo en
  • iRidi Pro
    Major Components
    • i3 pro app
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (old version)
    Java Script in iRidi
    • Guide
    • Handbook
    • Samples
    • JS drivers
    others
    • My Account
    • iRidium Cloud
    • iRidium Transfer
    • Push notifications
    • Best practice
    Licensing policy
    • Licensing and giving ownership rights
    • Offline Licensing
    • iRidi Pro Server Activation
  • Products
    i3 lite
    • i3 lite app
    • Registration and licensing
    • Server
    • Modules
    KNX Home Server
    • i3 KNX app
    • KNX Home Server
    BUS77 HOME SERVER
    • Bus77 Home and Bus77 Lite apps
    • Bus77 Home Server
    Solutions
    • BYOD - solution for hotels
    • PMS - solution for buildings
    iRidi SCADA
    • iRidi SCADA
  • bus77_
    SETTING UP BUS77
    • Bus77 Basics
    • Bus77 Home and Bus77 Lite apps
    • Working with the Bus77 driver in iRidi Studio
    • Configuring the Bus77 in iRidi Studio
    BUS77 PROTOCOL
    • Characteristics of CAN (Bus77)
    • Исходники на GitHub
    Bus77 equipment
    • Bus77 Pro catalog
    • Bus77 Lite catalog
  • Works with
    Drivers
    • List of drivers
    • ProAV Drivers
    • AV & Custom Systems
    • JS drivers
    Protocols and interfaces
    • Voice Control
    • 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
    Manufacturers
    • 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
    Tested equipment
    • HDL S57 panel
    • HDL S10 panel
    • Intercom (SIP)
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • iRidi equipment

    Servers
    • HS Server
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • UMC Controller Specification
    • UMC C2 setting up
    • UMC C3 setting up
    • HDL IntelliCenter 2 (UMC C4) setting up
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Control panels
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    Bus77 equipment
    • Bus77 Pro catalog
    • Bus77 Lite catalog
    • Differences
iRidium mobile web-site
Contents
    Tools‌
    • Page information
    • Permanent link
    • Printable version
    • Special pages
    • Related changes
    • What links here
    Login / Create Account
    From for iRidium developers
    Jump to: navigation, search
    This page is a translated version of the page IRidium studio 2019 Routines and the translation is 58% complete.

  • iRidium studio 2019
  • Routines
  • Contents

    • 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
    Retrieved from "https://dev.iridi.com/index.php?title=IRidium_studio_2019_Routines/en&oldid=140573"
    Category:
    • 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