DLI EPCR6 User Manual Download Page 1

DLI EPCR6 User’s Guide

1.7.23.0

Summary of Contents for EPCR6

Page 1: ...DLI EPCR6 User s Guide 1 7 23 0 ...

Page 2: ...tomization page 52 11 External APIs 53 12 Backing up settings 61 13 Firmware upgrade 62 14 Date time 64 15 AutoPing 65 16 Energy monitor 69 17 Safety shutdown 76 18 Generic input output 77 19 System log 83 20 Locking down the controller 84 21 Resetting settings to defaults 86 22 Specifications 87 23 Open source code 88 24 Technical support 89 25 Limited five year warranty 90 DLI EPCR6 User s Guide...

Page 3: ...er firmware versions It can be configured to ping other devices and take action if they don t respond shut down outlets to prevent equipment damage perform input output via external channels monitor or flexibly drive input output pins send notifications when certain events occur Ethernet Power Controller 6 utility functions include monitoring and logging data from miscellaneous sensors reading the...

Page 4: ...r scripts Multi User Password Security Multi user authentication limits access to the power controller The administrator selects which outlets each user can control Sequenced On Timer A programmable delay timer allows outlets to be switched on in sequence rather than simultaneously Most devices draw a surge of power when initially switched on Using this timer more equipment can share a single circ...

Page 5: ...ack ears attached RP SMA WiFi Antenna Internal web server backup battery shipped disconnected Please contact the freight carrier immediately if your package appears opened or damaged in transit Call DLI at 408 330 5599 for tech support service and hardware upgrades DLI EPCR6 User s Guide 1 7 23 0 ...

Page 6: ...le switch power to establish a connection Ping the default address 192 168 0 100 to confirm that a network connection is established If you don t receive a response proceed to the IP setup section below Log in to the power controller using the default user name admin and the password 1234 Note admin must be entered in lower case Click the Settings link to reach the configuration page Select the sa...

Page 7: ...to step 2 Windows 7 Open the Start orb click on Control Panel Click View Network Status and Tasks then Change Adapter Settings Proceed to step 2 Windows 8 Mouse or swipe to the bottom right corner and select Settings Select Control Panel Select Network and Sharing Center Change Adapter Settings Right click on your connected network and select Properties Proceed to step 2 4 3 1 2 Configuring static...

Page 8: ...follow these steps to reach the controller s IP 1 Close network programs and browsers 2 Go to Network Settings Local Area Network 3 Use the keyboard shortcut type ncpa cpl and click OK 4 Right click on your LAN connection and choose Properties 5 Highlight Internet Protocol and click the Properties button 6 Click the Advanced button 7 Under the IP Address settings click the Add button 8 Enter a new...

Page 9: ...ion Digital Loggers Inc Source code Version 1 7 1 0 1 7 1 0 S N EPCR62203123456 Controller DLI Controller Wed Feb 24 05 18 39 2016 Individual Control Name State Action Bus A 120 0V 0 0A 000000 0 kWh 1 Outlet 1 OFF Switch ON 2 Outlet 2 OFF Switch ON 3 Outlet 3 OFF Switch ON 4 Outlet 4 OFF Switch ON Bus B 120 0V 0 0A 000000 0 kWh 5 Outlet 5 OFF Switch ON 6 Outlet 6 OFF Switch ON 7 Outlet 7 OFF Switc...

Page 10: ...immediate Switching an outlet on may be delayed if a different or possibly even the same outlet was recently turned on The delay acts to protect the device from simultaneous inrush currents and limit cycling rate You may also cycle a device which is connected to the controller This feature is useful for rebooting Ethernet devices which may interrupt the web link to the controller Clicking Cycle sw...

Page 11: ...ure network settings You can cycle through the modes by pressing and keys simultaneously If the keypad is locked via web UI the keypad doesn t work and if you press a key a message about this is displayed and stays in place until the next update of the LCD data no action is taken 5 1 Outlet mode At boot EPCR6 starts in Outlet mode Outlet mode In Outlet mode the and keys allow to choose the outlet ...

Page 12: ...at are locked off or an asterisk for outlets that are locked on The button cycles the selected outlet unless it s locked Managing outlet lock state can only be done using the LCD and keypad unless you enable SSH Locked outlets states cannot be altered and they are not affected by power loss recovery mode However they are still affected by over current over voltage and low voltage safety shutdown c...

Page 13: ...sing when not in calibration submode You will be asked to confirm this by pressing or decline by pressing Bus voltage and current meter calibration can also be done using the web UI 5 3 Network mode Network mode In Network mode the and keys allow to select the network parameter The selected parameter name is displayed together with its current value Network configuration submode The following para...

Page 14: ...ase the number of set bits in the mask for IP and MAC addresses a virtual cursor is used to allow modification of individual address bytes the cursor is initially placed on the last byte and can be advanced to the preceding byte by pressing the keys increase or decrease the current byte s value for the WiFi pre shared key any of the or buttons generates a new key the WiFi SSID can t be changed fro...

Page 15: ...button The event will be logged as emergency shutoff activated all outlets off Rotate the button clockwise to release and restore power The event will be logged as emergency shutoff deactivated normal outlet operation WARNING E STOP DOES NOT SHUT DOWN THE UNSWITCHED ALWAYS ON OUTLETS The events will not be logged if the EPCR6 is running on battery DLI EPCR6 User s Guide 1 7 23 0 ...

Page 16: ...oller Name to the power controller itself Examples are Server Rack Power Strip or Plutonium Refinery Control The Controller Name field appears on the top of the home page Assign a separate name to each outlet such as Missile Launcher or Email Server to make identification of each circuit simple You can use characters from the full Unicode character set they ll be transliterated for display on the ...

Page 17: ...ee settings which take effect after a power failure 1 You can turn all outlets off all systems will be switched off until manually turned on later by checking the first box 2 You can automatically turn all outlets on using the All ON sequence delay described above Check the second option to do this 3 You can return to the same outlet settings that were used prior to the power loss The All ON seque...

Page 18: ...t of the restrictions e g setting protec tion The SSH port is customizable as well The SSH server also accepts public key authentication for a configurable set of keys the format is the same as in the authorized_keys file You can limit the severity of the locally recorded log messages by setting a minimal severity Note that the local log is circular with old messages being replaced by newer ones m...

Page 19: ...and network mask must be entered If a default gateway is specified it must be on the same subnet as the IP address specified A number of DNS server IP addresses can be supplied separated by commas e g 192 168 0 1 8 8 8 8 If DNS servers are available some other configuration variables can accept hostnames instead of IP addresses If you wish to configure the unit to use DHCP IP assignment you needn ...

Page 20: ...eypad SSH access or the REST like API if you need to change that The WiFi module can operate either in Access Point server or Station client mode Either way the name of the wireless network to create connect to must be specified as the SSID If the unit is configured to be an Access Point and have a static IP assignment it starts a DHCP server on the wireless interface It is possible to use no encr...

Page 21: ...er names and passwords users can only inspect and switch outlets Access control User Name Password Controlled Outlets Apply 1 2 3 4 5 6 7 8 tom Change dick Change harry Change Change User access control Checkboxes to the right of each user name outlet control access privileges Users can only see and interact with the chosen outlets For example user harry would see the following on login Name State...

Page 22: ...the network and are thus considered insecure This includes Basic authentication over HTTPS which is secure relative to Basic authentication over HTTP but relies solely on TLS for security which is considered risky by some experts DLI Ethernet Sender should not require this setting The Hide user passwords and Hide WiFi password settings configure whether clients should be able to read back the rele...

Page 23: ...ress Adjust Meters can also be calibrated using the keypad 7 8 Miscellaneous settings The following setting group controls aspects of data presentation of the unit Miscellaneous Settings Display LCD text in all CAPS Meter and plot default image format Submit PNG Miscellaneous settings You can force all the text displayed on the LCD to be in CAPS which may be more legible However this won t affect ...

Page 24: ...ep delay the time in seconds to wait after execution of a legacy API function e g ON OFF see below Modern API functions see below don t have internal delays unless documented the delay function should be used there User message timeout the time in seconds after which user messages displayed e g with the DISPLAY command disappear even if no keys are pressed on the LCD and no changes have been made ...

Page 25: ...sible and manageable Try starting some and you ll see them appearing in the list Scripting samples are now available as snippets below separate from the main script code You can copy paste them from to the main script Stock snippets have names starting with default changing or creating snippets with such names is not recommended as your changes may be erased on an upgrade 1 2 3 4 5 6 7 8 9 10 11 1...

Page 26: ...tom will effectively mask preceding ones When you re prompted for a script function to choose choices will appear in the order they re specified in the script source If you wish to change that you can define a global ui_order table with a list of quoted function names to appear at the top of the list in the desired order others will be at the bottom of the list in alphabetical order E g ui_order i...

Page 27: ...eads can be started from the web UI via an HTTP request by an AutoPing trigger or from other threads using thread run They can be explicitly stopped using the web UI or by calling thread kill or thread killall from the script or implicitly by calling thread limit Every thread has an origin which is usually a string identifying the function that started the thread For instance when you create a fun...

Page 28: ...match the condition each separate mask element must be a number or and a cron time mask must be a string of 5 such elements separated by whitespace LOG String write a message to the system log DISPLAY String display a string on the LCD when it s in outlet mode The following strings are expanded literal a Bus A current A Bus A voltage b Bus B current B Bus B voltage o state of outlets in the form 1...

Page 29: ...sin math atan math atan2 math ceil math cos math cosh math deg math exp math floor math fmod math frexp math huge math ldexp math log math log10 math max math min math modf math pi math pow math rad math random math sin math sinh math sqrt math tan math tanh os library os clock os difftime os date os time Additionally _G points to the sandbox environment Unlike most APIs core Lua functions are ava...

Page 30: ...riggering the same match again The following sample switches outlet 1 on at 8 00 and off at 17 00 while true do local event wait_until hour 8 min 0 hour 17 min 0 if event 1 then ON 1 else event 2 OFF 1 end delay 120 end We match with minute precision here and wait for 2 minutes to avoid double matching 8 6 2 3 Outlet management The global variable outlet represents a Lua array of outlet objects ou...

Page 31: ... 6 2 5 User interface The global ui table provides means of configuring the LCD display backlight and beeper Functions ui beep and ui blink configure the beeper and LCD backlight respectively Their first argument should be a string of 1 s and 0 s which specifies the pattern and their second argument should be the number of seconds after which the preceding behaviour is restored The ui line table h...

Page 32: ...al_var and global_var will be created the 10 new threads will be completely separate from the old threads This makes handling global functions and variables consistent e g if you don t have a global variable in the script you won t accidentally trip over it if it was there in a script you loaded several edit iterations earlier but this default behaviour may or may not be what you want To store arb...

Page 33: ...0 1 sticky global_var sticky global_var or 0 1 end end Variables created this way are not persisted across reboots see below for those that are 8 6 2 8 Externally accessible state management Local and global variables of scripts are in general not accessible from outside the scripting engine e g they cannot be manipulated from the REST like API You can create entries in the global external table l...

Page 34: ...o erase a value Some of these limitations may be raised in future All keys of persistent can be enumerated if necessary using pairs 8 6 2 10 Meter access The global meter table allows to read the following measured values where N is 1 bus A or 2 for bus B meter temperature the measured internal temperature in degrees Kelvin meter illuminance the measured illuminance in lux meter buses N current th...

Page 35: ...n that time interval e g if the device was offline Its use is best illustrated by an example Suppose temperature is a value of the form local temperature meter values Then the following script could be used for obtaining bounds for the 5 minute average temperature for the last 24 hours local now os time local history_data temperature get_history now 86400 now 300 local start step data unpack histo...

Page 36: ...work wired wireless ip_address IP address network wired wireless netmask network mask network wired wireless gateway default gateway network wired wireless mac_address MAC address network wireless enabled boolean value indicating if the wireless interface is enabled network wireless mode wireless module mode network wireless ssid wireless network name network wireless channel wireless channel chan...

Page 37: ...rder e g queue1 messages get processed before queue2 messages The event queue function creates a totally custom event queue not bound to any event source Additional custom events can be placed into any queue using q q 1 value1 value2 value3 regardless of the method used to create the queue for queues created by event queue this is also the only way for events to appear there The event listener fun...

Page 38: ...ally won t have to add e g min 0 sec 0 or similar to the condition to make it start only at the beginning of an hour Additionally wait_until only handles local time which corresponds to event local_time behaviour but you can match UTC time with event utc_time which has no corresponding wait_until option Events have a timestamp and a property table as components the property table contains the foll...

Page 39: ...ment list above affects whether the loop is terminated immediately after receiving the cancellation message or after processing outstanding events in other queues You can also just use thread kill if you don t need the looping thread at all any longer 8 6 2 14 Generic input output The global io table allows integration of user scripts with the generic I O subsystem Scripts have access to any pins ...

Page 40: ...ort named uart_ext to the system log function dump_external_uart for i t data in event stream event change_listener io ports uart_ext do if data key latest_received then log notice Data received from UART s data value d end end end You may use utility functions util hex encode and util hex decode to perform conversions from to hexadecimal string notation The global io pins table entries represent ...

Page 41: ...s value In the most basic usage scenarios you may simply flip the driver appropriate for the pin in the script io pins out1 mode_driver true io pins out1 level_driver true io pins out1 level_driver false for a high low pin or io pins out1 mode_driver false tristate io pins out1 mode_driver true pull down for an open collector pin which has level_driver locked to false However this doesn t make it ...

Page 42: ... nets input_in1 do if data key latest_value then log notice IN1 changed to d data value end end end To also dump the initial value use e g note the separation of listener creation from enumeration to make sure no updates are missed in between function dump_in1 io nets input_in1 name IN1 bits 1 expression pin in1 tracking push local listener event change_listener io nets input_in1 log notice IN1 is...

Page 43: ...bjects All transcoding functions may throw errors on invalid input using pcall xpcall is advised util null is the JSON null constant distinct from but sometimes interchangeable with nil It may be useful when dealing with some APIs The util copy val deep_keys function returns a deep plain copy of its argument which can be or contain an API structure This may be helpful when working with util json e...

Page 44: ...exe cution from function func This can be conveniently used by the end users by assigning the programmable web links on the left side of the page a target of the form script cgi run func Via AutoPing The AutoPing system can be configured to automatically start execution when IP connectivity is lost Select the script to run from the selection box to the right of the corresponding IP on the AutoPing...

Page 45: ...sage variable like this message Server room power message All the following rules will include the Server room power prefix in the generated notifications Some properties e g message_short or message_long are supported by notification targets but aren t generated by any events it s up to the action code to set them if necessary It s important to note that rules are processed linearly adjustment of...

Page 46: ...se Authentication protocol Context engine ID Context name Privacy passphrase Privacy protocol Security engine ID Security name Default trap OID Add Email SNMP v3 inform none none Notification target configuration Other target properties depend on the kind of the target 9 2 1 Email notifications Email notification targets have the following parameters recipient email address RFC 822 sender email ad...

Page 47: ...ave the following parameters recipient XMPP ID RFC822 like sender XMPP ID RFC822 like password for authenticating to the server If present the message_short event property is used for the message otherwise message is used If present the timeout property can be used to specify the time limit in seconds for the notification operation to complete Consider increasing it by specifying a higher value in...

Page 48: ...SNM Pv3 or as an enterprise specific generic trap type 6 DLI enterprise OID 45770 trap 1 specific trap type 1 9 2 3 2 Security settings SNMPv1 and SNMPv2c use the community security model which essentially identifies users by a shared secret which is sent over the network in plain text public and private being the most popular secrets That means that they are very insecure and shouldn t be deploye...

Page 49: ... a string They also accept the snmp_values event property as described above 9 2 3 6 SNMPv3 settings SNMPv3 TRAP and INFORM targets have the following parameters server address hostname or IP address of management station security name username to authenticate as security engine ID leave empty for default context name leave empty for default context engine ID leave empty for default authentication...

Page 50: ...ontent type If present the headers event property is used to add HTTP headers to the request being sent If present the message_short event property is used for the message otherwise message is used If present the timeout property can be used to specify the time limit in seconds for the notification operation to complete Consider increasing it by specifying a higher value in the rule action if you ...

Page 51: ...y false condition false or a condition that s not a valid Lua expression e g To keep the condition text you can wrap it with false and Rules are applied from the first one to the last one so order is important The Operations column contains buttons which make manipulating rule order easier Though you can filter events by the type identifier it s not necessary in many cases For example the conditio...

Page 52: ...h_method auth_reason id dli auth login_denied auth_allowed false NOTICE protection violation attempt auth_reason id dli auth protection_violation INFO auth_login auth_ip session closed id dli auth session_closed Notification event types Underlined items both in the message and in the extra properties column specify properties which can be checked for You can hover them for more detailed descriptio...

Page 53: ...if needed The logo URL may be absolute or relative e g my_ company png in which case the related file should be placed in the www static subdirectory of the unit s filesystem probably via SSH Company name affects the alternative text for the logo image 10 2 Measurement units Customize preferred measurement units Illuminance T emperature Energy Submit standard degree Fahrenheit kilowatt hour Units ...

Page 54: ... sure they are not called by a misguided browser without JavaScript bypassing browser security checks a custom header needs to be present in the requests Browsers can normally issue GET and POST requests with URL encoded or multipart content types you can tick the corresponding relax checks checkboxes to skip the checks in cases where the method or content type indicates that the request couldn t ...

Page 55: ...e must revalidate max age 0 Transfer Encoding chunked DLI Controller JSON RPC demo JSON RPC allows to access an object model similar to the one of the REST like API but in a different manner which may be more suitable for some integration environments All composite objects are visible using JSON RPC with their field values accessible using get with the field name in the argument and set methods wi...

Page 56: ...can have different access rights to the OID tree The specified root OIDs and their children will be exposed over SNMP All OIDs must be absolute but not preceded by a dot The root OIDs are actually treated as masks indicating to set of roots to apply the permission to In addition to the standard OID syntax all but the first two arcs of an OID mask may contain an asterisk which means that any value ...

Page 57: ...sts with the public community string coming from the same subnet will be served as the powerReader user 11 6 SNMP energy object MIB support overview The Net SNMP agent included in EPCR6 has built in support for several well known MIBs but none of them deal with power control The power control related ENERGY OBJECT MIB is described in RFC 7460 and is supported in the following manner the root of th...

Page 58: ...h authentication and encryption Requests with the private community string are assumed to be serviced as though they were made by the powerAdmin user You ll need Net SNMP to run these samples analogous commands should be available for other management software The matching of requests vs SNMP protocol version is really arbitrary and is only used to demonstrate different ways of performing requests...

Page 59: ...ER 257 1 3 6 1 2 1 229 1 2 1 9 8 INTEGER 257 1 3 6 1 2 1 229 1 2 1 9 257 INTEGER 255 1 3 6 1 2 1 229 1 2 1 9 258 INTEGER 255 You see that outlets 3 and 5 are on and all others are off both buses show 255 unknown you can change outlet states as described above 11 8 MQTT API MQTT is an event oriented protocol with a centralized publish subscribe model which makes it a bit awkward to use for controll...

Page 60: ...3 outlets 2 4 outlets 3 5 outlets 4 6 outlets 5 7 outlets 6 8 outlets 7 Submit At least once At least once At least once At least once At least once At least once At least once At least once MQTT outlet bindings Every outlet can be mapped to an MQTT topic subtree which will be prefixed by the topic root and the outlet will report its state with a message with that topic if Allow read is checked an...

Page 61: ...waiting for more state changes if you run the command with them removed mosquitto_sub h 192 168 0 5 t pcr12345 outlets 0 you ll see the current state but the program will wait for more state messages and print the states as they arrive if you flip the outlet you ll see output like this 0 1 0 1 etc To change the state of the first outlet use the mosquitto_pub command e g to switch it on use mosquit...

Page 62: ... objects to back up Authentication configuration can contain sensitive data AutoPing configuration HTTP server configuration Download Backup setting selection sample Modified files are highlighted in green Choose the setting files you want to save unknown files are shown as File filename and click Download You may protect the security sensitive parts of the configuration from being stored in a bac...

Page 63: ...re from a server not in your local network By default the unit beeps and blinks during update You can disable this using the following form Configure update process Beep during upgrade Blink during upgrade Save Firmware update configuration page You may protect the current firmware from modification Pressing the hardware reset button will be required to unlock 13 2 Committing the firmware upgrade ...

Page 64: ... start an upgrade a message about this briefly appears on the LCD Firmware upgrade start indication Further activity is indicated by a cycling pattern of signs Firmware upgrade progress indication After an upgrade has been completed the unit is rebooted The first boot may take longer than usual due to configuration updates Post firmware upgrade initialization indication DLI EPCR6 User s Guide 1 7 ...

Page 65: ...tion is to use the NTP servers 0 1 2 3 openwrt pool ntp org See Scripting scripting to perform manual synchronization The preferred time zone can be customized as well Time Zone Submit UTC 3 Timezone The selected timezone is used for header date time display and formatting time in plots Internally the time zone is stored in a format different from the display it has a different meaning for and You...

Page 66: ...econds and still failed Since occasional network overloads and missed packets can occur during normal network operation be sure to choose a reasonable time AutoPing may handle certain failures immediately instead of waiting for the timeout if configured to see below Ping responses to enable autoping To ensure a reliable connection autoping will only be enabled after this many successful pings We d...

Page 67: ...ilure as well and may need time to recover This option can be used to disable this additional check 15 2 Ping target configuration To actually use AutoPing add one or more AutoPing targets IP addresses to the list The button is used to remove a target from the list Below is an example autoping configuration with four targets AutoPing IP s Reboot Outlets Script Action Stats 1 2 3 4 5 6 7 8 TX RX HI...

Page 68: ...nitoring was automatically disabled 74 125 87 103 and 67 122 199 250 form a group the trigger task will be performed if they both lose 5 sequential packets simultaneously This has happened 2 times so far Monitoring a group of several external spatially separated reliable IP addresses in this example they belong to Google and Digital Loggers respectively may become very useful to detect a stuck ADS...

Page 69: ... http and https this causes AutoPing to perform a HTTP HTTPS GET request for the given URL e g http www digital loggers com index html can be used to check that the web server is responding and can serve its main page 15 5 AutoPing events The most often encountered AutoPing events are pinging timeout ping succeeded time ping failed time The time is request round trip time in seconds Note that it s...

Page 70: ... kWh Reset energy meter Bus A 120 0 0 0 0 0 Reset Bus B 120 0 0 0 0 0 Reset Temperature F 69 5 Notifications Illuminance lx 0 1 Notifications Power voltage V 5 3 Notifications Battery voltage V 5 7 Notifications Relay voltage V 13 9 Notifications Currently measured values The rest of the page is occupied by user configurable meters and plots You can use the icon to add a new meter or plot or the i...

Page 71: ...s which define different ranges of the value to indicate The end of one sector s range is the beginning of the next one s range for the start of the first sector s range the minimum value to display setting is used Submit Sector 1 properties Name Cold Maximum value 273 Color 0000FF Save Meter sector configuration The sector properties include the name of the sector currently unused the maximum val...

Page 72: ... 00 02 24 18 00 02 24 20 00 02 24 22 00 02 25 00 00 02 25 02 00 02 25 04 00 02 25 06 00 Temperature Add plot Plots Clicking on a plot allows to configure it Plot properties Title Bus A status Width 640 Height 480 Save Basic plot configuration The basic meter properties include the title the width in pixels the height in pixels DLI EPCR6 User s Guide 1 7 23 0 ...

Page 73: ...tic interval minor tics per major tic configure the axis tic behaviour The interaction between hard and soft limits is as follows if no limit is specified the plotting range is determined by the data to be plotted if only a hard limit is specified it s obeyed if only a soft limit is specified it s obeyed unless data exceed it then data are obeyed if both limits are specified the soft limit which s...

Page 74: ...Solid dotted dashed lines are supported Data points can be displayed using a variety of markers empty filled circle empty filled square empty filled triangle empty filled inverse triangle empty filled rhombus plus dot cross Line width and marker size can be configured Colors have to be specified in hex web notation without Each plot line is plotted on a combination of x and y axes Plot lines which...

Page 75: ... the intervals can be assigned an alarm level which can then be analyzed by notification server conditions you can also none if you explicitly wish to send no events for that interval It is often desirable to keep some level of hysteresis between two adjacent intervals so that there is some threshold the value needs to cross before we consider that it has left one interval and entered a different ...

Page 76: ...p 105 Alarm level None Alarm period None Save Submit Interval 2 properties Submit Lower bound bottom 135 Lower bound top 145 Alarm level 2 Alarm period 20 Save Submit Add interval Lower bound bottom None Lower bound top None Alarm level None Alarm period None Add Sample interval alert configuration Here we trigger a level 1 alarm every minute if the voltage is below 100V and a level 2 alarm every ...

Page 77: ...xceeds 14 A Behaviour on limit hit Hold outlets OFF for 1 seconds Latch outlets OFF until manual relatch Submit Safety shutdown settings When one of the limits is violated the unit will shut off the selected outlets When the error condition is raised the unit may either hold those outlets off for a configurable amount of time or keep those outlets off until manual intervention toggling via keypad ...

Page 78: ...e communication channels sharing a common configuration structure A typical example is a UART You can assign a descriptive name to ports You can also choose which channels if any you want to receive data from To send and receive data in the web UI follow the Console or XTerm if available for the I O port type links Session expires in 00 29 39 Welcome to0D0A generic I O0D0A Hex CRLF Send I O port c...

Page 79: ...RT ports only It displays an xterm compatible terminal window and allows you to interact with it Ports are also available to scripting 18 2 I O pins and nets The EPCR6 has pins with customizable behaviour which may be connected by nets to perform real time operations DLI EPCR6 User s Guide 1 7 23 0 ...

Page 80: ...gh for level or Tristate Low for level or to a name of a signal net see below then the pin s characteristic will depend on the value of the named net s value The input mode level signal bits table in pin properties indicates pin s capabilities If input bit count is 0 the pin is output only so it makes no sense trying to read it If mode or level bit counts are 0 the corresponding configuration valu...

Page 81: ...ting multibit signals the whole net is described by a single expression without any control structures defining functions is not supported creating tables is not supported the standard library is not supported and and or operators do not have shortcut semantics both operands are always evaluated The following details concern arithmetic operators and are intended to make operation fully defined and...

Page 82: ...1 as net q1 or net q1 but net R only as net R Every net output is latched that is it is stored in a memory area on every step When a net s value is read to compute another net s value the previous step s value is used so e g an expression not net Q for net Q makes sense and produces a rapidly oscillating output On creation all net values are initialized with the value 0 This latching behaviour all...

Page 83: ...half storing the fractional part The values of the readings match those in e g scripting meter values key value that is they are the physical values measured by the channel or sensor expressed in SI units e g volts for voltage degrees Kelvin for temperature etc To handle pin or net signals in this format reference them using apin or anet instead of pin and net respectively Analog signal representa...

Page 84: ...uto Fri Jan 1 00 02 31 2018 daemon info dnsmasq 4061 using local addresses only for domain lan Fri Jan 1 00 02 31 2018 daemon info dnsmasq 4061 using nameserver 192 168 0 1 53 Fri Jan 1 00 02 31 2018 daemon info dnsmasq 4061 read etc hosts 2 addresses Fri Jan 1 00 02 31 2018 daemon info dnsmasq 4061 read tmp hosts dhcp 1 addresses Fri Jan 1 00 02 31 2018 daemon info dnsmasq dhcp 4061 read etc ethe...

Page 85: ...tion bits active some protection bits active all protection bits active Clicking on the icon gives more detailed info Firmware protection is disabled Notification settings protection is disabled Private configuration protection is enabled but ineffective SSH is enabled which could be used to bypass protection Firmware upload is allowed specially crafted firmware could be used to bypass protection ...

Page 86: ...controller 85 20 4 Unlocking protection You should use the reset button and select the Clear lock bits reset mode to clear protection bits This of course requires physical access to the unit DLI EPCR6 User s Guide 1 7 23 0 ...

Page 87: ...ettings are preserved 3 Reset network and scripting enable WiFi Clear protection bits reset network settings and admin login disable autoping and scripts and enable open WiFi access Other settings are preserved 4 Complete wipe Reset all settings to factory defaults and remove any user files All settings will be lost 5 Complete wipe enable WiFi Reset all settings to factory defaults and remove any ...

Page 88: ...ly Input Frequency Power supply DC 400Hz Metering Accuracy 2V 5A when calibrated 50 60Hz only Operating Temperature 30 to 170 F 34 to 77 C Options Factory Input cord length and 120V plug style Power Supply Rating 90 240V AC DC Autosensing Password Transmission Encrypted base 64 or HTTPS Power Dissipation 4 9W Typ Max all on 3 W idle Power Fail Hold Over 350ms minimum all relays on Power Up Modes L...

Page 89: ...on the read write firmware partition so certain operations like full factory reset may remove it Purchasing a TLA and signing an NDA from Atheros are highly recommended before attempting any custom devel opment however they aren t required to build the firmware only the bootloader DLI cannot provide warranty or technical support for modified units this includes units with custom firmware DLI EPCR6...

Page 90: ... 541 8459 or email support digital loggers com For phone support call 408 330 5599 with the following so we can better serve you The firmware version level installed in the power switch This information can be found on the lower left corner of the outlet control page A description of the Ethernet devices connected to your unit for example a 10 100 PC and crossover cable A description of the WiFi d...

Page 91: ... NO SUPPORT IS PROVIDED FOR MODIFIED FIRMWARE MODIFICATION OF FIRMWARE VOIDS ALL WA RRANTY Warranty service requires an original invoice from DLI and an RMA number provided by technical support RMA material must be shipped prepaid to DLI RMA numbers are valid for 15 days from date of issue This warranty does not cover products which are modified including firmware modifications subjected to rough ...

Reviews: