background image

 

 

smartDEN

 

IP-16R-XX 

User Manual 

13 Apr 2021

 

 

-

8

 

 

5. Connectors, ports and led indicators 

Bellow is shown a picture with the device connectors, ports and led indicators. 

 

Figure 5.1.

 Device overview

 

Summary of Contents for smartDEN IP-16R Series

Page 1: ...XX Web enabled Ethernet based 16 Relay Modules User Manual Date 13 Apr 2021 Device Short Name Integration Protocol Firmware version smartDEN IP 16R SNMPv2 v1 20 May 2017 smartDEN IP 16R MT Modbus TCP...

Page 2: ...examples 5 4 Technical parameters 7 5 Connectors ports and led indicators 8 6 Installation 9 7 Default Settings 16 8 Web access 18 9 HTTP XML JSON access 36 10 Integration Protocols 41 11 Security co...

Page 3: ...interface with Link Activity Led Auto MDIX 16 SPDT relays with NO and NC contacts Led for each relay Pulse function timer for every relay Real Time Clock RTC for schedule calendar stand alone work We...

Page 4: ...IP 16R MT smartDEN IP 16R MT 12V PCB Modbus TCP model PCB version 12VDC supply voltage smartDEN IP 16R MT 24V PCB Modbus TCP model PCB version 24VDC supply voltage smartDEN IP 16R MT 12V BOX Modbus T...

Page 5: ...utomation Watchdog monitoring of network equipment and auto reboot Internet of Things IoT Figure 3 1 smartDEN IP 16R XX supports up to 30 schedule events for controlling appliances without connection...

Page 6: ...nces remotely for Home Automation and Industrial Automation applications using some of the supported integration protocols Figure 3 4 smartDEN IP 16R XX supports periodically sending outgoing ping req...

Page 7: ...ize mm 203 x 82 Box weight g 420 PCB weight g 285 Power supply voltage VDC 12 or 24 depends on the model 2 Maximum current consumption at 12VDC when all relays are ON mA 600 Maximum current consumptio...

Page 8: ...smartDEN IP 16R XX User Manual 13 Apr 2021 8 5 Connectors ports and led indicators Bellow is shown a picture with the device connectors ports and led indicators Figure 5 1 Device overview...

Page 9: ...ounting the device connecting to an IP network connecting the relays providing power and configuring via a web browser 6 1 Box mounting Figure 6 1 Mounting the device to DIN rail smartDEN IP 16R XX ca...

Page 10: ...ator must start blinking in 5 seconds which means the controller is running normally Figure 6 3 Connecting a LAN cable Please keep the polarity and supply voltage range smartDEN IP 16R XX does not acc...

Page 11: ...n the technical parameters section Every relay channel has normally open NO and normally closed NC contacts connected directly to the terminals If you are connecting inductive loads to the relays an e...

Page 12: ...martDEN IP 16R XX supports AUTO MDIX so either crossover or straight through network cable can be used Figure 6 5 Connecting smartDEN IP 16R XX to a computer directly This is the recommend initial con...

Page 13: ...directly to the computer Next you have to change your PC s IP address You can google how to change you computer IP settings or just visit this web page http www howtochangeipaddress com changeip php F...

Page 14: ...16R XX User Manual 13 Apr 2021 14 The next step is to enter into IPv4 properties Figure 6 8 Enter in IPv4 properties section Set the IP address of your PC to be in the same network Figure 6 9 Set the...

Page 15: ...ype in your browser 192 168 1 100 Figure 6 10 Open the device via browser If the network settings are O K the log in page should appear Figure 6 11 Login page smartDEN IP 16R XX modules connected loca...

Page 16: ...ed IP Address 192 168 1 100 Gateway 192 168 1 1 Subnet Mask 255 255 255 0 Primary DNS 192 168 1 1 Secondary DNS 0 0 0 0 HTTP XML JSON Access HTTP Port 80 Access IP Address 192 168 1 0 Access Mask 0 0...

Page 17: ...turned back as those in point 6 1 from the current document Figure 7 1 Loading the default settings 1 Turn off the power supply of the device 2 Press and hold the default button 3 Turn on the power su...

Page 18: ...1 Web access To access the setup pages run a web browser Internet Explorer Mozilla Firefox or similar and enter the smartDEN IP 16R XX IP address for example http 192 168 1 100 Figure 8 2 Open via br...

Page 19: ...tails Note The default password is admin passwords are case sensitive Note When the password is entered it is transmitted across the network in encrypted form so eavesdropping on the data transmission...

Page 20: ...dynamic systems because of restriction in maximum write cycles of the EEPROM usually 100 000 write erase cycles Password The password used for logging into the web admin and XML operation max 10 chars...

Page 21: ...he smartDEN IP 16R XX It needs to be manually assigned only if DHCP is disabled With DHCP enabled this field displays the currently assigned address Gateway This specifies the IP address of the gatewa...

Page 22: ...for your geographic location Auto Synchronization This option enables or disables automatic synchronization with the SNTP Simple Network Time Protocol server with period specified by Synchronization P...

Page 23: ...g the IP address and subnet mask of the HTTP client Access MAC Address This field can be used to restrict the HTTP XML JSON access by specifying the MAC address of the HTTP client Session Timeout min...

Page 24: ...settings to apply It is highly recommended to log out from the web server after finishing the parameters setup If you don t want to restrict the HTTP XML JSON access by IP address set the Access Mask...

Page 25: ...max 7 chars Pulse ms x100 Determines if the relay works in pulse mode and if so what is the duration of the single pulse in milliseconds x 100 for example value of 10 means 1 second This parameter ca...

Page 26: ...gh level ON via browser manually via some of the integration protocols or HTTP XML JSON it will be in high level ON for the determined time by this parameter and then set back to low level o If the ou...

Page 27: ...failures smartDEN IP 16R XX performs a predefined reset reboot sequence of the monitored device connected to one of the 16 relays Figure 8 9 Auto reboot configuration page One of smartDEN IP 16R XX c...

Page 28: ...Power up Pulse sec if checked the smartDEN IP 16R XX will generate a pulse at power up This for example can be used to switch on the device This parameter can be set from 1 to 3600 seconds Reboot Puls...

Page 29: ...8 10 Monitoring and control This page provides monitoring and control of the smartDEN IP 16R XX relays From here you can control monitor the relays There is also provided information about how many re...

Page 30: ...a new item while the bottom table shows the already defined list Outputs Select a group of relays that should be switched State Defines the state ON OFF for the selected group of relays Hour Time the...

Page 31: ...ion between the computer and the module To delete an item select it in Existing Items table and click on Delete Selected button To set a new start date click on Update Start Date button The module has...

Page 32: ...ion enables or disables SNMP access to the module SNMP Port UDP port number the SNMP agent receives requests on default port is 161 Read only Community1 2 Community string for client s authentication...

Page 33: ...requests default port is 502 Idle Timeout min the length of time that a connection is idle before the connection is closed by the Modbus TCP server The timeout is disabled when its value is set to 0...

Page 34: ...10 chars used for encrypted mode only Publish Mode o Periodically notifications are send periodically the period is defined by the Publish Period value o Edge Triggered notifications are triggered by...

Page 35: ...as required click this button A list of sample publically accessible MQTT servers brokers iot eclipse org test mosquitto org mqtt fluux io Two configuration options are used by default Publish QoS Qua...

Page 36: ...name value pairs with the HTTP XML JSON GET request for example http 192 168 1 100 current_state xml Relay 1 Relay2 0 Relay3 1 http 192 168 1 100 current_state json Relay 1 Relay2 0 Relay3 1 The XML J...

Page 37: ...cation reply formats Password encryption algorithm to be implemented in custom application is available upon request 9 2 Login Non Encrypted Password In this mode the password is passed as non encrypt...

Page 38: ...smartDEN IP 16R XX current state by a request to the page current_state xml current_state json http 192 168 1 100 current_state xml The reply contains page in XML format see Appendix 2 Application rep...

Page 39: ...e value pairs with the HTTP GET request Valid parameters and values are shown in the bellow tables 9 5 1 smartDEN IP 16R Table 9 1 Valid smartDEN IP 16R HTTP parameters Name Value Description Relayi 0...

Page 40: ...layi 0 1 Relayi value i 1 16 SetAll 0 65535 Set all the relays with single command PulseOni 1 65535 Generate a positive ON pulse to relay i 1 16 PulseOffi 1 65535 Generate a negative OFF pulse to rela...

Page 41: ...uct Table 10 1 Product parameters OID Name Access Description Syntax x 6 1 1 0 Name read only Description of the module DISPLAYSTR ING x 6 1 2 0 Version read only Current firmware version DISPLAYSTR I...

Page 42: ...Start Date dd mm yyyy DISPLAYST RING x 6 4 2 1 2 0 x 6 4 2 1 2 29 Enabled read write Week Schedule Row Enable Flag Disabled 0 Enabled 1 INTEGER no 0 yes 1 x 6 4 2 1 3 0 x 6 4 2 1 3 29 Outputs read wr...

Page 43: ...ootPulse1E nable read write Reboot Pulse1 Enable Disabled 0 Enabled 1 INTEGER no 0 yes 1 x 6 5 10 0 RebootPulse1 read write INTEGER32 1 3600 Reboot Pulse1 sec 1 3600 x 6 5 11 0 Pulse1ToPulse 2DelayEna...

Page 44: ...quest it will instead return an error function code exception response that is the original function code plus 80h i e with its most significant bit set to 1 Modbus TCP uses a big Endian representatio...

Page 45: ...0x6900 1 31 System Date Month 0x6901 0x6901 1 12 System Date Year 0x6902 0x6902 2000 2099 System Time Hour 0x6903 0x6903 0 23 System Time Minutes 0x6904 0x6904 0 59 Firmware Version read only 0x6A00 0...

Page 46: ...01 Start Address 2 Bytes 0x0003 Quantity of Coils 2 Bytes 0x000D Response The coils in the response message are packed as one coil per bit of the data field Status is indicated as 1 for ON and 0 for O...

Page 47: ...2 Bytes 0x590B Byte Coils Status bit 7 MSB bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 LSB 1 0 Relay 11 1 Relay 10 0 Relay 9 1 Relay 8 1 Relay 7 0 Relay 6 0 Relay 5 1 Relay 4 2 0 0 0 0 Relay 16 1 Relay...

Page 48: ...d Length Data Transaction Identifier 2 Bytes 0x0002 Protocol Identifier 2 Bytes 0x0000 Length 2 Bytes 0x0006 Unit Identifier 1 Byte 0x00 Function Code 1 Byte 0x05 Output Address 2 Bytes 0x0001 Output...

Page 49: ...sted ON OFF states are specified by contents of the request data field A logical 1 in a bit position of the field requests the corresponding output to be ON A logical 0 requests it to be OFF Request e...

Page 50: ...2 Bytes 0x0000 Quantity of Outputs 2 Bytes 0x0003 Response example 2 Set relay 1 to OFF and relays 2 16 to ON Table 10 19 Write Multiple Coils response example 2 Field Length Data Transaction Identifi...

Page 51: ...ytes 0x0006 Unit Identifier 1 Byte 0x00 Function Code 1 Byte 0x03 Starting Register Address 2 Bytes 0x6100 Quantity of Registers 2 Bytes 0x0003 Response The Read Holding Registers response returns the...

Page 52: ...nds Table 10 24 Write Single Register request Field Length Data Transaction Identifier 2 Bytes 0x0005 Protocol Identifier 2 Bytes 0x0000 Length 2 Bytes 0x0006 Unit Identifier 1 Byte 0x00 Function Code...

Page 53: ...values Request The Write Multiple Registers request specifies the starting register address the number of registers byte count and the values to be written in ascending order Values are packed as two...

Page 54: ...0 Function Code 1 Byte 0x10 Starting Register Address 2 Bytes 0x6100 Quantity of Registers 2 Bytes 0x0003 Error The possible error responses for function code 0x0F are Function Code 1 byte 0x90 0x80 0...

Page 55: ...and encrypted 10 3 1 Plain non encrypted mode In this mode smartDEN IP 16R MQ uses non encrypted topics to get relays states and switch relays On Off Encrypt option in MQTT Settings page must be turn...

Page 56: ...command under the Set GetStatus topic 1 XML format 2 JSON format See Appendix 2 Application reply formats Get Auto reboot RebootsNumber i LastReboot date time A notification when a monitored device c...

Page 57: ...page 10 3 2 Encrypted topics and DAE aModules Android app 10 3 2 1 Commands In this mode there are used the following topics encrypted topics Admin Read Topic MQTT client Laptop smartphone DAE aModul...

Page 58: ...duration x is in ms x 100 MQTT_COMMAND DONAMEi x Sets the name of a relay i 1 16 The length of x is 1 to 7 symbols MQTT_COMMAND DATE x Sets the date x is format dd mm yyyy MQTT_COMMAND TIME x Sets the...

Page 59: ...es a negative OFF pulse on a single relay i 1 16 The pulse duration x is in ms x 100 10 3 2 2 Android app DAE aModules In order to control monitor the smartDEN IP 16R MQ by Android device the module s...

Page 60: ...smartDEN IP 16R XX User Manual 13 Apr 2021 60 Figure 10 4 MQTT settings Last the notifications from the DAE aModules must be allowed in the Android Notifications management screen...

Page 61: ...Android Notifications management settings for DAE aModules When configured the inputs to be monitored can be selected from the navigation menu Figure 10 6 Navigation menu Example monitoring screens f...

Page 62: ...EN IP 16R XX User Manual 13 Apr 2021 62 Figure 10 7 Relays in DAE aModules Examples of status and relays state notifications published by smartDEN IP 16R MQ are shown below Figure 10 8 Status notifica...

Page 63: ...smartDEN IP 16R XX User Manual 13 Apr 2021 63 Figure 10 9 Inputs state notifications...

Page 64: ...he network in the open is when it is being changed and submitted in General Settings form Therefore you must set passwords in the secure environment where you can make sure that no one is eavesdroppin...

Page 65: ...smartDEN IP 16R XX User Manual 13 Apr 2021 65 12 Appendix 1 Mechanical dimensions Figure 12 1 PCB dimensions Figure 12 2 Box dimensions...

Page 66: ...smartDEN IP 16R XX User Manual 13 Apr 2021 66 13 Appendix 2 Application reply formats 13 1 XML reply...

Page 67: ...smartDEN IP 16R XX User Manual 13 Apr 2021 67 13 2 JSON reply...

Reviews: