{{page>en:hw:004-edge:edge-in-development-hidden}} ====== LED indication ====== #;; Edge #;; This article contains the description of LED indication and all device states of Unipi Edge. ===== Description of indications LEDs ===== |< 100% 28% 14% 45% 13%>| ^ Label ^ Function ^ Meaning ^ Colour ^ | PWR | On | Supply voltage indication | Red | | ACT | Blinking | Indicates that operating system is running \\ Can be customized | Green | | Digital inputs (DI) | On | Indication of log.1 at the input | Green | | Digital outputs (DO) | On | Indication of output in active state | Green | | TX (S) | On | Indication of serial line broadcasting | Green | | RX (S) | On | Indication of serial line receiving | Green | | User LEDs (X) | Selectable | Programmable user LEDs | Green | | WiFi (optional) | On | Indication of wireless connection | Green | {{ :files:img_warning-line_b.png?nolink |}} {{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(!)}} **Note:** \\ Behavior of the ACT LED can be changed. You can find the setting in **/sys/class/leds/act-led/**. It is set to timer mode by default ==== Description of LTE LEDs ==== {{page>en:hw:lte_led_description-hidden}} ===== Description of the individual device states ===== The following chapters describe all LED states for the Unipi Edge: \\ * Normal startup * Run in service mode * Upload/Backup OS * Standard functions - communication via RS-485, DirectSwitch indication, MasterWatchDog, ... * FW update on I/O boards ==== All LEDs are off ==== State: Power-Off \\ ---- The unit power supply is unplugged. If the PWR LED does not change its state on the unit even after connecting the power supply, try another power supply. If the state does not change after replacing the power supply, it is likely that the unit has been damaged. In this case, please contact [[en:contact:00-start|technical support]]. \\ /* Power-Off */ {{ :en:hw:004-edge:Unipi_Edge_E410_off.png?520 |}} ==== PWR is On ==== State: Power-On\\ ---- The unit is powered. If the unit is run in regular or service mode and it remains in this state longer than a minute without change, it is possible that it is damaged. In this case, please contact [[en:contact:00-start|technical support]]. This state also happens, when the unit is in [[en:hw:004-edge:09-startup-modes:03-init-mode|initialization mode]]. \\ /* Power-On */ {{ :en:hw:004-edge:Unipi_Edge_E410_on.png?520 |}} /* DELETEME ==== PWR is On and ACT blink slowly ==== State: Does not communicate with I/O\\ /* Idle ; Nečinný ; Does not communicate with I/O */ /* ACT LED:\\ ON: 2000ms / OFF: 2000ms\\ ---- If communication with I/O is not required and the web page of the unit can be displayed, or the device responds to the response test (ping), this is a regular operating state. By default, this state is indicated when the program in the unit is not communicating with the I/O board. /* The state, for **M** and **L** units, is indicated for each section separately by means of a ACT LED with the corresponding marking (ACT1, ACT2, ACT3). */ /* {{ :files:img_warning-line_b.png?nolink |}} {{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(i)}} **Note:** \\ Because the default program in the unit does not communicate with I/O, it is also the default state when starting the device after purchase. If the unit is not visible in the local network and this condition is indicated, it may be a fault in the computing module. Try [[.:04-image|flashing OS]], if this fails, please contact [[en:contact:00-start|technical support]]. {{ :en:hw:004-edge:edge_normal-run_ionot_comm.gif?520 |}} */ ==== PWR is On, ACT is On with short blinks ==== State: OS on main processor is running\\ /* Running ; OS running */ ACT LED:\\ ON: 2000ms / OFF: 50ms\\ ---- The device's OS is running. The device works correctly. {{ :en:hw:004-edge:edge_normal-run_iocomm.gif?520 |}} ==== PWR is On, ACT is On with short blinks, TX and RX are blinking ==== State: RS-485 traffic\\ /* RS-485 traffic */ TX/RX LED:\\ randomly blinking\\ \\ ---- The program in the unit communicates via a serial line **S1-RS485**. {{ :en:hw:004-edge:edge_serial-1_commloop.gif?520 |}} ==== PWR is On, ACT is Off and the rest is blinking ==== State: Service mode\\ /* Service mode */ Blinking speed:\\ ON: 600ms / OFF: 600ms\\ \\ ---- Unit is in service mode. {{ :en:hw:004-edge:edge_service-run.gif?520 |}} ==== PWR is On, ACT is Off and the rest is blinking rapidly ==== State: Flashing/Backup\\ /* Flashing;Backup */ Blinking speed:\\ ON: 80ms / OFF: 80ms\\ \\ ---- Indication of flashing or backup of OS. {{ :en:hw:004-edge:edge_service-flash.gif?520 |}} ===== Description of special states of the unit ===== ==== DirectSwitch function ==== The DirectSwitch function is implemented directly in the microprocessor of the I/O and is therefore independent of the control SW i.e., also of communication with inputs and outputs. You can read more about this function in the article about [[.:02-description-of-io:01-description-of-di#directswitch|description of inputs and outputs]]. The function can be configured in one of three modes, their short description and illustrative LED indication can be found below: === DirectSwitch Copy === Input state is copied to the output. /* přeloženo podle DirectSwitch */ {{ :en:hw:004-edge:edge_ds_copy.gif?520 |}} === DirectSwitch Inverse-copy === Negated state of the input is set on the output. {{ :en:hw:004-edge:edge_ds_inverse.gif?520 |}} === DirectSwitch Toggle === If a rising edge is detected on the input, the output state is negated. /* FIXME - u popisu DirectSwitch je toggle označen jako Switch*/ {{ :en:hw:004-edge:edge_ds_toggle.gif?520 |}} ==== Master Watchdog ==== If the function is enabled on the microprocessor, the processor continuously monitors the communication from the computing module. If no commands are detected during the set time, the section processor automatically restarts and sets the saved default configuration. You can read more about this function in the article about [[.:02-description-of-io:01-description-of-di#default-set|description of inputs and outputs]]. {{ :en:hw:004-edge:edge_mwd_reboot_en.gif?520 |}} ==== I/O board firmware update ==== When flashing FW I/O board, all LEDs in the top and bottom row are On, except for every fourth. LEDs that are not fitted are also included in this rule. /* FIXME - přehrávání FW = flashing FW? */ Completion of the update is indicated by turning On every second LED and subsequent restart of the I/O board is indicated by turning On all LEDs, including ACT. {{ :en:hw:004-edge:edge_fw_upgrade_en.gif?520 |}} ===== Unit startup modes ===== The Unipi Edge unit can run in three modes. In the **[[en:hw:004-edge:09-startup-modes#regular_mode|regular]]**, in the **[[en:hw:004-edge:09-startup-modes:02-service-mode|service]]** and in the [[en:hw:004-edge:09-startup-modes:03-init-mode|initialization mode]]. Each of these modes is indicated by a specific blinking of the LEDs. ==== In regular mode ==== /* Observe the **ACT** LED during regular startup. After plugging in the power supply, the OS bootloader "**uboot**" starts first, this state is indicated by the first longer turn On of the diode. After a while, the OS will start. \\ */ In regular mode, you may encounter the following LED states: |< 100% 36% 36% 14% 14%>| ^Behaviour description ^Meaning ^ Off ^ On ^ |||||| |All LEDs are on for 300 ms |Start of the processor (power connection) | - | 300ms | |Every other is on (even) |SW reset of processor | - | 1000ms | |All but every fourth light is on |Firmware update. Do not turn off the unit! | - | >1000ms | ==== Service mode ==== {{ :files:img_warning-line_b.png?nolink |}} {{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(i)}} If you are looking up for a guide on how to enter and use the service mode, please visit [[en:hw:004-edge:09-startup-modes:02-service-mode|this article]]. The **SERVICE (SVC)** button is pressed and held before plugging in the power supply. After plugging the power supply in, the “uboot” bootloader will start first. The SERVICE button can be released approximately 5 seconds after plugging in the power supply. After a while, the service mode starts, indicated by the slow blinking of all diodes, except PWR and ACT. ==== Initialization mode ==== {{ :files:img_warning-line_b.png?nolink |}} {{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(i)}} If you are looking up for a guide on how to enter and use the initialization mode, please visit [[en:hw:004-edge:09-startup-modes:03-init-mode|this article]].