Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:hw:007-patron:led-indication [2021/06/07 13:55]
lpolcerova
en:hw:007-patron:led-indication [2022/10/14 14:59] (current)
avsetula
Line 1: Line 1:
-/* FIXME - přeložit článek -> při překladu brát jako vzor: https://​kb.unipi.technology/​en:​hw:​025-gate:​led-indication */ 
- 
 ====== LED indication ====== ====== LED indication ======
 <WRAP group 100%> <WRAP group 100%>
Line 32: Line 30:
  
  
-The following chapters describe all LED states for the Unipi Patron ​controller: \\ +The following chapters describe all LED states for the Unipi Patron ​unit: \\ 
   * Normal startup   * Normal startup
   * Run in service mode   * Run in service mode
   * Upload/​Backup OS   * Upload/​Backup OS
-  * Regular ​functions - communication via serial lines, DirectSwitch,​ MasterWatchDog+  * Standard ​functions - communication via serial lines, DirectSwitch,​ MasterWatchDog
   * FW update on I/O boards   * FW update on I/O boards
  
Line 56: Line 54:
 /* Power-Off */ /* Power-Off */
  
-The controller power supply is unplugged. The controller ​power supply is unplugged. If the PWR LED does not change its state /*FIXME - v CZ verzi je zde nerozsvítí,​ ale v EN verzi by bylo Turn On on the ... */on the controller ​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 controller ​has been damaged. In this case, please contact [[en:​contact:​00-start|technical support]].+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]].
 </​WRAP>​ </​WRAP>​
  
Line 72: Line 70:
 /* Power-On */ /* Power-On */
  
-The controller ​is powered. If the controller ​remains in this state longer than a minute without change, it is possible that it is damage. In this case, please contact [[en:​contact:​00-start|technical support]].+The unit is powered. If the unit remains in this state longer than a minute without change, it is possible that it is damage. In this case, please contact [[en:​contact:​00-start|technical support]].
 </​WRAP>​ </​WRAP>​
  
Line 91: Line 89:
 <​html><​span class="​kbBlueLightText">​ON:​ 2000ms / OFF: 2000ms</​span></​html>​\\ <​html><​span class="​kbBlueLightText">​ON:​ 2000ms / OFF: 2000ms</​span></​html>​\\
  
-If communication with I/O is not required and the web page of the controller ​can be displayed, or the device responds to the response test (ping), this is a regular operating state.+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 controller ​is not communicating with the I/O board. The state, for **M** and **L** controllers, is indicated for each section separately by means of a RUN LED with the corresponding marking (RUN1, RUN2, RUN3).+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 RUN LED with the corresponding marking (RUN1, RUN2, RUN3).
  
 <WRAP center round info> <WRAP center round info>
-Because the default program in the controller ​does not communicate with I/O, it is also the default state when starting the device after purchase.+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.
 </​WRAP>​ </​WRAP>​
  
Line 102: Line 100:
  
 /*FIXME - přehrátí OS i zde jako flashing OS? */ /*FIXME - přehrátí OS i zde jako flashing OS? */
-If the controller ​is not visible in the local network and this condition is indicated, it may be a fault in the computing module. Try [[en:​hw:​007-patron:​image|flashing OS]], if this fails, please contact [[en:​contact:​00-start|technical support]].+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 [[en:​hw:​007-patron:​image|flashing OS]], if this fails, please contact [[en:​contact:​00-start|technical support]].
 </​WRAP>​ </​WRAP>​
  
Line 124: Line 122:
 The main computing module (Zulu) communicates with the input and output (I/O) board of the given section. Communication can take place via [[en:​sw:​02-apis:​02-modbus-tcp|Modbus TCP server]], [[en:​sw:​02-apis:​04-sysfs|SysFS method]], file entry or using [[en:​sw:​02-apis:​01-evok|API EVOK]]. ​ The main computing module (Zulu) communicates with the input and output (I/O) board of the given section. Communication can take place via [[en:​sw:​02-apis:​02-modbus-tcp|Modbus TCP server]], [[en:​sw:​02-apis:​04-sysfs|SysFS method]], file entry or using [[en:​sw:​02-apis:​01-evok|API EVOK]]. ​
  
-By default, this status is indicated when a program in the controller ​is running and communicating with the I/O section.+By default, this status is indicated when a program in the unit is running and communicating with the I/O section.
 </​WRAP>​ </​WRAP>​
  
Line 143: Line 141:
 <​html><​span class="​kbBlueText">​TX/​RX LED:</​span></​html>​\\ <​html><​span class="​kbBlueText">​TX/​RX LED:</​span></​html>​\\
 <​html><​span class="​kbBlueLightText">​randomly blinking</​span></​html>​\\ \\ <​html><​span class="​kbBlueLightText">​randomly blinking</​span></​html>​\\ \\
-The program in the controller ​communicates via a serial line **RS485-1**. ​+The program in the unit communicates via a serial line **RS485-1**. ​
 </​WRAP>​ </​WRAP>​
  
Line 162: Line 160:
 <​html><​span class="​kbBlueText">​Blinking speed:</​span></​html>​\\ <​html><​span class="​kbBlueText">​Blinking speed:</​span></​html>​\\
 <​html><​span class="​kbBlueLightText">​ON:​ 600ms / OFF: 600ms</​span></​html>​\\ \\ <​html><​span class="​kbBlueLightText">​ON:​ 600ms / OFF: 600ms</​span></​html>​\\ \\
-Controller ​is in service mode.+Unit is in service mode.
 </​WRAP>​ </​WRAP>​
  
Line 192: Line 190:
  
  
-===== Description of special states of the controller ​=====+===== Description of special states of the unit =====
  
 ==== DirectSwitch function ==== ==== DirectSwitch function ====
-The DirectSwitch function is implemented directly in the micro-processor ​of the I/O section 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 [[en:​hw:​007-patron:​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:+The DirectSwitch function is implemented directly in the microprocessor ​of the I/O section 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 [[en:​hw:​007-patron:​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:
  
  
Line 241: Line 239:
 </​WRAP>​ </​WRAP>​
  
-<WRAP half column> ​/*FIXME - gif jsou z CZ verze, dle toho, že obsahují český text asi EN verzi?*/ +<WRAP half column>​ 
-{{ :cs:​hw:​007-patron:​patron_MWD_reboot_cz.gif?direct |}} +{{ :en:​hw:​007-patron:​patron_MWD_reboot_en.gif?direct |}} 
-<​html><​img style="​width:​ 1px" src="/​_media/​files:​img_breakline.png"​ onload="​imgPermLoop(this)"​ data-address="/​_media/​cs:​hw:​007-patron:​patron_MWD_reboot_cz.gif"></​html>​+<​html><​img style="​width:​ 1px" src="/​_media/​files:​img_breakline.png"​ onload="​imgPermLoop(this)"​ data-address="/​_media/​en:​hw:​007-patron:​patron_MWD_reboot_en.gif"></​html>​
 </​WRAP>​ </​WRAP>​
 </​WRAP>​ </​WRAP>​
Line 256: Line 254:
 </​WRAP>​ </​WRAP>​
  
-<WRAP half column> ​/*FIXME - gif jsou z CZ verze, dle toho, že obsahují český text asi EN verzi?*/ +<WRAP half column>​ 
-{{ :cs:​hw:​007-patron:​patron_FW_upgrade_cz.gif?direct |}} +{{ :en:​hw:​007-patron:​patron_FW_upgrade_en.gif?direct |}} 
-<​html><​img style="​width:​ 1px" src="/​_media/​files:​img_breakline.png"​ onload="​imgPermLoop(this)"​ data-address="/​_media/​cs:​hw:​007-patron:​patron_FW_upgrade_cz.gif"></​html>​+<​html><​img style="​width:​ 1px" src="/​_media/​files:​img_breakline.png"​ onload="​imgPermLoop(this)"​ data-address="/​_media/​en:​hw:​007-patron:​patron_FW_upgrade_en.gif"></​html>​
 </​WRAP>​ </​WRAP>​
 </​WRAP>​ </​WRAP>​
Line 266: Line 264:
 /* ------------------------------------ */ /* ------------------------------------ */
  
-===== Controller ​startup modes ===== +===== Unit startup modes ===== 
-The Unipi Patron ​controller ​can run in two modes. In the**[[en:​hw:​007-patron:​01-first-steps#​bezny_mod|regular]]** and in the **[[en:​hw:​007-patron:​service-mode#​servisni_mod|service]]** mode. Each of these modes is indicated by a specific blinking of the LEDs. Below we provide a controller ​startup simulator, where you can see the entire process from plugging in power to startup. The simulation also shows the status of the **SERVICE** button for a mode other than regular. The simulation can be started by pressing the "​**Plug in power​**"​ button below the controller ​image.+The Unipi Patron ​unit can run in two modes. In the **[[en:​hw:​007-patron:​01-first-steps#​regular_mode|regular]]** and in the **[[en:​hw:​007-patron:​service-mode#​service_mode|service]]** mode. Each of these modes is indicated by a specific blinking of the LEDs. Below we provide a unit startup simulator, where you can see the entire process from plugging in power to startup. The simulation also shows the status of the **SERVICE** button for a mode other than regular. The simulation can be started by pressing the "​**Plug in power​**"​ button below the unit image.
  
  
 ==== In regular mode ==== ==== In regular mode ====
-Observe the **RUN** LED during regular startup. After plugging in the power supply, the OS boot loader ​"​**uboot**"​ starts first, this state is signaled ​by the first longer turn On of the diode. After a while, the OS will start. \\+Observe the **RUN** 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 also 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 section processor (power connection) ​ |  -  |  300ms    | 
 +|Every other is on (even) ​         |SW reset of section processor ​                     |  -  |  1000ms ​  | 
 +|All but every fourth light is on  |Firmware update. Do not turn off the unit!         ​| ​ -  |  >​1000ms ​ |
  
 ---- ----
  
-<​html><​span class="​kbBlueText">​Startup without I/O communication:</​span></​html>​ \\ +<​html><​span ​id="​startup-without-io-comm" ​class="​kbBlueText">​Startup without I/O communication:</​span></​html>​ \\ 
-The controller ​is ready if the **RUN** LED blinks constantly slowly.+The unit is ready if the **RUN** LED blinks constantly slowly.
  
 |< 100% 36% 36% 14% 14%>| |< 100% 36% 36% 14% 14%>|
 ^Behaviour description ​ ^Meaning ​ ^  Off  ^  On  ^ ^Behaviour description ​ ^Meaning ​ ^  Off  ^  On  ^
 |||||| ||||||
-|PWR is on, RUN is on with short blinks ​ |OS is running but not communicating ​with I/O board |  2000ms ​ |  2000ms ​ |+|PWR is on, RUN is on with short blinks ​ |Master WatchDog timeout expired (does not communicate ​with the I/O board|  2000ms ​ |  2000ms ​ |
  
 {{ :​en:​hw:​007-patron:​patron_off.png?​direct |}} {{ :​en:​hw:​007-patron:​patron_off.png?​direct |}}
-<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​007-patron:​patron_normal-start.gif"​ data-addressloop="/​_media/​en:​hw:​007-patron:​patron_normal-run_IOnot-comm.gif"​ style="​max-width:​ 135px" data-textswap="​Odpojit">​Plug in power</​div></​html>​+<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​007-patron:​patron_normal-start.gif"​ data-addressloop="/​_media/​en:​hw:​007-patron:​patron_normal-run_IOnot-comm.gif"​ style="​max-width:​ 135px" data-textswap="​Unplug the power">​Plug in power</​div></​html>​
  
 ---- ----
  
 <​html><​span class="​kbBlueText">​Startup with the program, including communication with I/​O:</​span></​html>​ \\ <​html><​span class="​kbBlueText">​Startup with the program, including communication with I/​O:</​span></​html>​ \\
-The controller ​is ready if the **RUN** LED is continuously On with short blinks.+The unit is ready if the **RUN** LED is continuously On with short blinks.
  
 |< 100% 36% 36% 14% 14%>| |< 100% 36% 36% 14% 14%>|
Line 297: Line 304:
  
 {{ :​en:​hw:​007-patron:​patron_off.png?​direct |}} {{ :​en:​hw:​007-patron:​patron_off.png?​direct |}}
-<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​007-patron:​patron_normal-start.gif"​ data-addressloop="/​_media/​en:​hw:​007-patron:​patron_normal-run_IOcomm.gif"​ style="​max-width:​ 135px" data-textswap="​Odpojit">​Plug in power</​div></​html>​+<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​007-patron:​patron_normal-start.gif"​ data-addressloop="/​_media/​en:​hw:​007-patron:​patron_normal-run_IOcomm.gif"​ style="​max-width:​ 135px" data-textswap="​Unplug the power">​Plug in power</​div></​html>​
  
  
Line 305: Line 312:
 </​WRAP>​ </​WRAP>​
  
-Tlačítko ​**SERVICE** ​je sepnuto a drženo před připojením napájenípoté sledujte diodu **RUN**. ​Po připojení napájení nejprve startuje zavaděč OS "**uboot**"tento stav je signalizován prvním delším rozsvícením diodyPřibližně ​vteřin po připojení napájení je možné tlačítko SERVICE pustitPo chvíli začne startovat ​OS.+The **SERVICE** ​button is pressed and held before plugging in the power supplythen watch the **RUN** ​diodeAfter plugging the power supply in, the “uboot” bootloader will start firstindicated by the first longer turn On of the diodeThe SERVICE button can be released approximately ​seconds after plugging ​in the power supplyAfter a while, the OS will start
  
-Následně se spustí servisní mód signalizovaný pomalým blikáním všech diodkromě ​PWR RUN.+After a whilethe service mode starts, indicated by the slow blinking of all diodes, except ​PWR and RUN.
  
 |< 100% 36% 36% 14% 14%>| |< 100% 36% 36% 14% 14%>|
-^Popis chování ​ ^Význam ​ ​^  ​Nesvítí ​ ​^  ​Svítí ​ ^+^Behaviour description ​ ^Meaning ​ ​^  ​Off  ​^  ​On  ^
 |||||| ||||||
-|Svítí ​PWR, RUN nesvítí a ostatní pomalu blikají ​ |Kontrolér je v servisním módu  ​| ​ 600ms  |  600ms  |+|PWR is On, RUN is Off, the rest blinks slowly ​ |Unit is in service mode  ​| ​ 600ms  |  600ms  |
  
 {{ :​en:​hw:​007-patron:​patron_off.png?​direct |}} {{ :​en:​hw:​007-patron:​patron_off.png?​direct |}}
-<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​007-patron:​patron_service-start.gif"​ data-addressloop="/​_media/​en:​hw:​007-patron:​patron_service-run.gif"​ style="​max-width:​ 135px" data-textswap="​Odpojit">Připojit napájení</​div></​html>​+<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​007-patron:​patron_service-start.gif"​ data-addressloop="/​_media/​en:​hw:​007-patron:​patron_service-run.gif"​ style="​max-width:​ 135px" data-textswap="​Unplug the power">Plug in power</​div></​html>​
  
  
-=== Speciální funkce servisního módu nahrání ​OS USB ===+=== Special functions of the service mode flashing the OS from a USB drive ===
 <WRAP center round tip 95%> <WRAP center round tip 95%>
-Hledáte-li návod pro nahrání ​OS z USBpokračujte na [[cs:​hw:​007-patron:​image#​nahrani_os_pomoci_usb_flashdisku|tento článek]].+If you are looking for a guide how to flash the OS, please visit [[en:​hw:​007-patron:​image#​flashing_the_os_using_a_usb_flashdisk|this article]].
 </​WRAP>​ </​WRAP>​
  
-USB disk je připojen, tlačítko ​**SERVICE** ​je sepnuto a drženo před připojením napájeníNásledné stavy LED a tlačítka jsou shodné se [[#v_servisnim_modu|servisním módem]] až do spuštění ​OS.+The USB drive is inserted into the device and the **SERVICE** ​button is pressed and held before plugging in the power supplyNext states of LEDs and the button are identical to the [[#service_mode|service mode]] until the OS is started.
  
-Poté se spustí nahrávání ​OS signalizované velmi rychlým blikáním všech diodkromě ​PWR RUN. Po dokončení se kontrolér restartuje.+After a while, the flashing of the OS startsindicated by the rapid blinking of all diodes, except ​PWR and RUN. The unit will reboot after finishing the process.
  
 |< 100% 36% 36% 14% 14%>| |< 100% 36% 36% 14% 14%>|
-^Popis chování ​ ^Význam ​ ​^  ​Nesvítí ​ ​^  ​Svítí ​ ^+^Behaviour description ​ ^Meaning ​ ​^  ​Off  ​^  ​On  ^
 ||||| |||||
-|Svítí ​PWR, RUN nesvítí a ostatní rychle blikají ​ |Nahrávání ​OS  |  80ms  |  80ms  |+|PWR is On, RUN is Off, the rest blinks rapidly ​ |Flashing ​OS  |  80ms  |  80ms  |
  
 {{ :​en:​hw:​007-patron:​patron_off.png?​direct |}} {{ :​en:​hw:​007-patron:​patron_off.png?​direct |}}
-<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​007-patron:​patron_service-start.gif"​ data-addressloop="/​_media/​en:​hw:​007-patron:​patron_service-flash.gif"​ style="​max-width:​ 135px" data-textswap="​Odpojit">Připojit napájení</​div></​html>​+<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​007-patron:​patron_service-start.gif"​ data-addressloop="/​_media/​en:​hw:​007-patron:​patron_service-flash.gif"​ style="​max-width:​ 135px" data-textswap="​Unplug the power">Plug in power</​div></​html>​