Skip to main content

iRidi for INELS BUS

Tools for creating a visualization interface

The driver controls INELS Bus equipment. Use the sample project to get started:

Tip

download examples:

Description​

iRidi for INELS BUS is a toolkit for creating a home or office control interface based on equipment of the same name. It implements INELS BUS protocol commands.

Connection​

Note
  • Control panels (iOS, Android, Windows, Mac) can control INELS BUS equipment only through a controller. The CU3-01(02)M controller is recommended.

iNelsConnection.png

To work in Studio, you need the channel addresses and types. Export the project file from the IDM3 Central unit editor and open it in a text editor (Notepad++). The file contains devices with their input/output sets and types. Enter these values from the file in the Studio driver to send commands and receive status feedback.

  1. Use the IDM3 Central unit editor to add and configure the devices in the project.

INels_bus1.png

  1. Open the Project tab and open Device manager. Right-click and select Select all for export .

INels_bus2.png

  1. In the main menu, select Create iNELS 3 export file and save the export file.

INels_bus3.png

  1. Open the file in a text editor (Notepad++). Each line contains the module name, its address in the project, the data type, and the address for the command or feedback. To configure tags in iRidi Studio, identify the Type and Address .

INels_bus4.png

Then switch to iRidi Studio and add the iNELS driver.

Adding the driver manually​

  1. Start iRidi Studio and create a new iRidi project.

  2. Open the Devices side panel. Select the INELS BUS driver.

InelsBUS1.png

Specify the controller address in the iRidi project; otherwise, it will not work.

Configuring connection parameters​

Configure connection settings after adding the driver.

InelsBUS2.png

  • Log Level - logging level;
  • Host - controller IP address;
  • Port - port for connecting to the controller;
  • Keep Alive is the TCP connection check interval. If a Keep Alive request receives no response, the driver is forcibly disconnected;
  • Separator - separator used between instructions, the address, and the value;
  • Type Send - command transmission format (Decimal - decimal, Hexadecimal - hexadecimal, Hexadecimal without 0x - hexadecimal without 0x before the byte);
  • Address Format - device address format (Decimal - decimal, Hexadecimal - hexadecimal).

Changing connection parameters​

You need to change connection parameters when you disconnect from the automation site's Wi-Fi network and start using 3G or another Wi-Fi network. For control to continue working, switch from the local IP address to the Internet router's public IP address.

Switching is not automatic; you need to press the connection mode selection button. For remote access, the automation system's control ports must be made public. To do this, configure Port Forwarding on the Internet router. A VPN can provide a secure connection.

  1. Download the template (*.js) (right-click and save the target), then add it to the script editor using (+) Add Script from file

  2. Configure the script parameters as shown in the example:

function Internal_1() {
IR.GetDevice('INELS BUS').SetParameters({Host: "192.168.0.95", Port: 5001, Separator: 32, TypeSend: 0} //В качестве разделителя надо указать код ASCII в hex'e (к примеру: " " - 0x20, " " " - 0x22 ...));
}
function External_1() {
IR.GetDevice('INELS BUS').SetParameters({Host: "215.110.10.10", Port: 5001, Separator: 10, TypeSend: 1});
}

Copy the driver name from Project Device Panel; copy the parameter list exactly as shown in the example.

  1. Select the button that will switch between the Internal and External parameters. Open the macros editor for the Press event (Object Properties > Programming), select the Script call command, and double-click to add it. Select the name of the function the button will call:

Script call internal-external.png

Each button press now applies the corresponding connection settings.

Commands & Feedbacks​

SendRecieve.png

To control equipment, configure Commands and Feedbacks. To send a command, drag it onto a graphical item and specify the Value to send. To display feedback, drag the Feedback onto a graphical item and specify how to display its Value.

For more information about graphical items, see Graphical item types.

Configure a command or feedback by setting these fields:

  • Type - data type;
  • Address - device address configured in INELS3 Designer & Manager

To fill in Type and Address, open the export file, select the type from the Studio mapping table, and then enter the Address.

INels_bus4.png

Type for tags in iRidi StudioType from the import file
Analog Out0104
Digital Out0102
Temperature0105
Digital In0101
Analog In0103
Special0106
Trouble0107
Analog Sensor In0108
Zone Satus Output010A
Gsm SMS In010B
Gsm SMS Out010C
Gsm Tel In010D
Gsm Tel Out010E
RFTP Status Input010F
RFPM Counter Input0110
Heat Cool Control Out0111
Analog Sensor Out0112
Email Out0113
Status In0114
System Integer0202
System Bits0203

Example:

To configure the temperature channel of a DA3-22M device, select Type from the table: 0x0105 = Temperature, Address 0004 = 4.

INels_bus6.png

InelsBUS3.png

Manufacturer website links: