iRidium iPad example of autorization

Iridium
This video example shows the authorization solution for PLC110 (OWEN) from iPad with preinstalled Iridium Mobile (iRidium Mobile).
The authorization is created as follows: the variable (Integer) bound to buttons and variables in the PLC are linked by the Modbus TCP driver. When you press the enter buttons, this variable is set to a number, and when released, it is reset to zero.

The controller writes a sequence of input numbers to an array of values ​​and compares with an array of key values. If the combination converges, then it generates an event by which an event is generated to call a pop-up window or any other action.

In accordance with this event, the iRidium Mobile script understands which pop-up
the window must be opened (Greetings to Vyacheslav). Thus, we inform the user that the correct user is logged in.

Further exit to the control frame.In total, 4 variables are used:
Increment: INT; (* Running yellow fireflies on password screen *)
Increment1: INT; (* Running triangles on main frame *)
Password: WORD; (* Send the logged in user code to the panel *)
MW0: WORD; (* Command-codes of buttons when entering a password *)

PLC code:

Password input algorithm

Panel code (you will need to replace the extension with * .irpz):

  Code Iridium Mobile

Simular LINK

#iRidiumMobile, #password, #PLC, #authorization, #smarthome

Russian version
Array
(
    [ID] => 73
    [IBLOCK_ID] => 1
    [NAME] => iRidium iPad (autorization)
    [IBLOCK_SECTION_ID] => 
    [IBLOCK] => Array
        (
            [ID] => 1
            [~ID] => 1
            [TIMESTAMP_X] => 14.10.2021 23:54:30
            [~TIMESTAMP_X] => 14.10.2021 23:54:30
            [IBLOCK_TYPE_ID] => EN
            [~IBLOCK_TYPE_ID] => EN
            [LID] => s2
            [~LID] => s2
            [CODE] => articles
            [~CODE] => articles
            [API_CODE] => 
            [~API_CODE] => 
            [NAME] => Articles
            [~NAME] => Articles
            [ACTIVE] => Y
            [~ACTIVE] => Y
            [SORT] => 10
            [~SORT] => 10
            [LIST_PAGE_URL] => /articles/
            [~LIST_PAGE_URL] => /articles/
            [DETAIL_PAGE_URL] => /articles/#ELEMENT_CODE#.html
            [~DETAIL_PAGE_URL] => /articles/#ELEMENT_CODE#.html
            [SECTION_PAGE_URL] => 
            [~SECTION_PAGE_URL] => 
            [CANONICAL_PAGE_URL] => https://lapshinvr.com/articles/articles.html
            [~CANONICAL_PAGE_URL] => https://lapshinvr.com/articles/articles.html
            [PICTURE] => 
            [~PICTURE] => 
            [DESCRIPTION] => 
            [~DESCRIPTION] => 
            [DESCRIPTION_TYPE] => html
            [~DESCRIPTION_TYPE] => html
            [RSS_TTL] => 24
            [~RSS_TTL] => 24
            [RSS_ACTIVE] => Y
            [~RSS_ACTIVE] => Y
            [RSS_FILE_ACTIVE] => N
            [~RSS_FILE_ACTIVE] => N
            [RSS_FILE_LIMIT] => 
            [~RSS_FILE_LIMIT] => 
            [RSS_FILE_DAYS] => 
            [~RSS_FILE_DAYS] => 
            [RSS_YANDEX_ACTIVE] => N
            [~RSS_YANDEX_ACTIVE] => N
            [XML_ID] => 
            [~XML_ID] => 
            [TMP_ID] => 
            [~TMP_ID] => 
            [INDEX_ELEMENT] => Y
            [~INDEX_ELEMENT] => Y
            [INDEX_SECTION] => N
            [~INDEX_SECTION] => N
            [WORKFLOW] => N
            [~WORKFLOW] => N
            [BIZPROC] => N
            [~BIZPROC] => N
            [SECTION_CHOOSER] => L
            [~SECTION_CHOOSER] => L
            [LIST_MODE] => 
            [~LIST_MODE] => 
            [RIGHTS_MODE] => S
            [~RIGHTS_MODE] => S
            [SECTION_PROPERTY] => N
            [~SECTION_PROPERTY] => N
            [PROPERTY_INDEX] => N
            [~PROPERTY_INDEX] => N
            [VERSION] => 1
            [~VERSION] => 1
            [LAST_CONV_ELEMENT] => 0
            [~LAST_CONV_ELEMENT] => 0
            [SOCNET_GROUP_ID] => 
            [~SOCNET_GROUP_ID] => 
            [EDIT_FILE_BEFORE] => 
            [~EDIT_FILE_BEFORE] => 
            [EDIT_FILE_AFTER] => 
            [~EDIT_FILE_AFTER] => 
            [SECTIONS_NAME] => 
            [~SECTIONS_NAME] => 
            [SECTION_NAME] => 
            [~SECTION_NAME] => 
            [ELEMENTS_NAME] => Элементы
            [~ELEMENTS_NAME] => Элементы
            [ELEMENT_NAME] => Элемент
            [~ELEMENT_NAME] => Элемент
            [REST_ON] => N
            [~REST_ON] => N
            [EXTERNAL_ID] => 
            [~EXTERNAL_ID] => 
            [LANG_DIR] => /
            [~LANG_DIR] => /
            [SERVER_NAME] => lapshinvr.com
            [~SERVER_NAME] => lapshinvr.com
        )

    [LIST_PAGE_URL] => /articles/
    [~LIST_PAGE_URL] => /articles/
    [SECTION_URL] => 
    [CANONICAL_PAGE_URL] => https://lapshinvr.com/articles/iridium-ipad-autorization.html
    [SECTION] => Array
        (
            [PATH] => Array
                (
                )

        )

    [IPROPERTY_VALUES] => Array
        (
            [ELEMENT_PREVIEW_PICTURE_FILE_NAME] => iridium ipad (autorization)
            [ELEMENT_META_TITLE] => iRidium Mobile with authorization PLC
            [ELEMENT_META_KEYWORDS] => iridium-ipad-autorization, iRidium Mobile
            [ELEMENT_META_DESCRIPTION] => This video shows an example of the decision on authorization PLC Owen with iPad in Smart Home (iRidium Mobile). Authorization is created as follows: when you press the input button
            [ELEMENT_PAGE_TITLE] => iRidium iPad example of autorization
            [SECTION_META_TITLE] => Automation articles 
            [SECTION_META_KEYWORDS] => Automation, Articles 
            [SECTION_META_DESCRIPTION] => I met something worthy of attention during the work. It is difficult to assess the necessity of posting this or that article, I tried to clean up the obvious garbage
            [SECTION_PAGE_TITLE] => Here I published articles that may be useful to someone in the production of work
        )

    [TIMESTAMP_X] => 17.10.2021 11:33:42
    [META_TAGS] => Array
        (
            [TITLE] => iRidium iPad example of autorization
            [BROWSER_TITLE] => iRidium Mobile with authorization PLC
            [KEYWORDS] => iridium-ipad-autorization, iRidium Mobile
            [DESCRIPTION] => This video shows an example of the decision on authorization PLC Owen with iPad in Smart Home (iRidium Mobile). Authorization is created as follows: when you press the input button
        )

    [PREVIEW_TEXT] => This video shows an example of the decision on authorization PLC Owen with iPad in Smart Home (iRidium Mobile).
Authorization is created as follows: when you press the input button the password is changed the variable MW0 by a predetermined value. PLC collects these event code and places these values ​​in a clipboard.
When the value coincides with the set, there is a record in the variable Password. In accordance with this value iRidium Mobile script understands a popup the window should be open (Vyacheslav Greeting). This tells the user
he entered. Further, access to the control frame. [PREVIEW_PICTURE] => Array ( [ID] => 474 [TIMESTAMP_X] => Bitrix\Main\Type\DateTime Object ( [value:protected] => DateTime Object ( [date] => 2021-10-17 11:33:42.000000 [timezone_type] => 3 [timezone] => Europe/Moscow ) ) [MODULE_ID] => iblock [HEIGHT] => 288 [WIDTH] => 383 [FILE_SIZE] => 207794 [CONTENT_TYPE] => image/png [SUBDIR] => iblock/f2e [FILE_NAME] => iridium_ipad_autorization.png [ORIGINAL_NAME] => iridium-ipad-autorization.png [DESCRIPTION] => Iridium Mobile [HANDLER_ID] => [EXTERNAL_ID] => be11a9ca7016be212ecd22fa72d28b18 [~src] => [SRC] => /upload/iblock/f2e/iridium_ipad_autorization.png [UNSAFE_SRC] => /upload/iblock/f2e/iridium_ipad_autorization.png [SAFE_SRC] => /upload/iblock/f2e/iridium_ipad_autorization.png [ALT] => iRidium iPad (autorization) [TITLE] => iRidium iPad (autorization) ) [DETAIL_PAGE_URL] => /articles/iridium-ipad-autorization.html )
Ваш комментарий добавлен

Возврат к списку