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:02-neuron:led-indication [2021/06/08 11:27]
lpolcerova
en:hw:02-neuron:led-indication [2023/07/27 06:35] (current)
zrusek [Unit startup simulator]
Line 29: Line 29:
  
  
-The following chapters describe all LED states for the Unipi Neuron ​controller: \\ +The following chapters describe all LED states for the Unipi Neuron ​unit: \\ 
   * Normal startup   * Normal startup
   * Standard functions - communication via serial lines, DirectSwitch,​ MasterWatchDog   * Standard functions - communication via serial lines, DirectSwitch,​ MasterWatchDog
Line 51: Line 51:
 /* Power-Off */ /* Power-Off */
  
-The controller ​power supply is unplugged. If the PWR LED does not change its state 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 67: Line 67:
 /* 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 86: Line 86:
 <​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 inserting an SD card with a newly flashed OS.+Because the default program in the unit does not communicate with I/O, it is also the default state when starting the device after inserting an SD card with a newly flashed OS.
 </​WRAP>​ </​WRAP>​
  
 ---- ----
  
-V případěže je indikován tento stav, LED u ETH konektoru nesvítíani neblikají, a/nebo není možné kontrolér vyhledat v síti, může se jednat o vadu SD kartyVyzkoušejte vyměnit ​SD kartu s nově [[cs:​hw:​02-neuron:​image|nahraným ​OS]]. Pokud ani tento postup nepomůžekontaktujte ​[[cs:​contact:​00-start|technickou podporu]].+If this state is indicatedthe LEDs on the ETH connector are not emitting or blinkingand/or the unit cannot be found in the networkthere may be fault in the SD cardTry replacing the SD card with the newly [[en:​hw:​02-neuron:​image|flashed ​OS]]. If this doesn'​t help eitherplease contact ​[[en:​contact:​00-start|technical support]].
 </​WRAP>​ </​WRAP>​
  
Line 104: Line 104:
 </​WRAP>​ </​WRAP>​
 </​WRAP>​ </​WRAP>​
-==== Svítí ​PWR, RUN svítí a krátce pohasíná ​====+==== PWR is On, RUN is On with short blinks ​====
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-<​html><​span class="​kbBlueText">​Stav: </​span></​html>​ +<​html><​span class="​kbBlueText">​State: </​span></​html>​ 
-<​html><​span class="​kbBlueLightText">​Komunikuje s I/​O</​span></​html>​\\ ​+<​html><​span class="​kbBlueLightText">​Communicates with I/​O</​span></​html>​\\ ​
 /* Running ; Communicates with I/O */ /* Running ; Communicates with I/O */
  
Line 114: Line 114:
 <​html><​span class="​kbBlueLightText">​ON:​ 2000ms / OFF: 50ms</​span></​html>​\\ <​html><​span class="​kbBlueLightText">​ON:​ 2000ms / OFF: 50ms</​span></​html>​\\
  
-Hlavní výpočetní modul (Raspberry Pi) komunikuje s deskou vstupů a výstupů ​(I/O) dané sekceKomunikace může probíhat přes [[cs:​sw:​02-apis:​02-modbus-tcp|Modbus TCP server]], [[cs:​sw:​02-apis:​04-sysfs|SysFS ​metodou]] zápisem do souborunebo pomocí ​[[cs:​sw:​02-apis:​01-evok|API EVOK]]. ​+The main computing module ​(Raspberry Pi) communicates with the input and output ​(I/O) board of the given sectionCommunication can take place via [[en:​sw:​02-apis:​02-modbus-tcp|Modbus TCP server]] ​/*FIXME - původně: [[censw:​02-apis:​02-modbus-tcp|Modbus TCP server]], ale převzala jsem z patrona odkaz, je to OK?*/, [[en:​sw:​02-apis:​04-sysfs|SysFS ​method]], file entry or using [[en:​sw:​02-apis:​01-evok|API EVOK]]. ​
  
-Standardně je tento stav indikovánkdyž program v kontroléru běží ​komunikuje s I/O sekce.+By defaultthis status is indicated when program in the unit is running and communicating with the I/O section.
 </​WRAP>​ </​WRAP>​
  
Line 126: Line 126:
  
  
-==== Svítí ​PWR, RUN svítí a krátce pohasíná, TX RX blikají ​====+==== PWR is On, RUN is On with short blinks, TX and RX are blinking ​====
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-<​html><​span class="​kbBlueText">​Stav: </​span></​html>​ +<​html><​span class="​kbBlueText">​State: </​span></​html>​ 
-<​html><​span class="​kbBlueLightText">​Provoz na RS485</​span></​html>​\\ ​+<​html><​span class="​kbBlueLightText">​RS485 ​traffic</​span></​html>​\\ ​
 /* RS485 traffic */ /* RS485 traffic */
  
 <​html><​span class="​kbBlueText">​TX/​RX LED:</​span></​html>​\\ <​html><​span class="​kbBlueText">​TX/​RX LED:</​span></​html>​\\
-<​html><​span class="​kbBlueLightText">​náhodně blikají</​span></​html>​\\ \\ +<​html><​span class="​kbBlueLightText">​randomly blinking</​span></​html>​\\ \\ 
-Program v kontroléru komunikuje po sériové lince **RS485**. ​+The program in the unit communicates via a serial line **RS485**. ​
 </​WRAP>​ </​WRAP>​
  
Line 146: Line 146:
  
  
-===== Popis speciálních stavů kontroléru ​=====+===== Description of special states of the unit =====
  
-==== DirectSwitch ​funkce ​==== +==== DirectSwitch ​function ​==== 
-Funkce ​DirectSwitch ​je implementována přímo v mikro-procesoru sekce I/O a je proto nezávislá na řídícím ​SW, tedy na komunikaci se vstupy a výstupyVíce o této funkci se dočtete v článku věnovaném ​[[cs:​hw:​007-patron:​description-of-io:​01-description-of-di#​directswitch|popisu vstupů a výstupů]]. Funkci lze nakonfigurovat do jednoho ze tří režimůjejich krátký popis a názornou indikaci ​LED naleznete níže:+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 modestheir short description and illustrative ​LED indication can be found below:
  
  
Line 155: Line 155:
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-Stav vstupu je zapsán na výstup.+Input state is copied to the output.
 </​WRAP>​ </​WRAP>​
  
Line 167: Line 167:
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-Negovaný stav vstupu je zapsán na výstup.+Negated state of the input is set on the output.
 </​WRAP>​ </​WRAP>​
  
Line 179: Line 179:
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-Pokud je na vstupu detekována náběžná hranastav výstupu je negován.+If a rising edge is detected on the inputthe output state is negated.
 </​WRAP>​ </​WRAP>​
  
Line 192: Line 192:
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-Pokud je funkce na mikro-procesoru dané sekce povolenaprocesor nepřetržitě monitoruje komunikaci z výpočetního moduluPokud během nastaveného času nejsou detekovány žádné příkazyprocesor sekce se automaticky restartuje a nastaví uloženou výchozí konfiguraciVíce o této funkci se dočtete v článku věnovaném ​[[cs:​hw:​007-patron:​description-of-io:​01-description-of-di#​default-set|popisu vstupů a výstupů]].+If the function is enabled on the microprocessor of the given sectionthe processor continuously monitors the communication from the computing moduleIf no commands are detected during the set timethe section processor automatically restarts and sets the saved default configurationYou can read more about this function in the article about [[en:​hw:​007-patron:​description-of-io:​01-description-of-di#​default-set|description of inputs and outputs]].
 </​WRAP>​ </​WRAP>​
  
Line 202: Line 202:
  
  
-==== Aktualizace firmwaru desky I/O ====+==== I/O board firmware update ​====
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-Při přehrávání ​FW desky I/O svítívšechny LED v horní i dolní řaděkromě každé čtvrtéDo tohoto pravidla se zahrnují i LED, které nejsou osazeny+When flashing ​FW I/O boardall LEDs in the top and bottom row are Onexcept for every fourthLEDs that are not fitted are also included in this rule
  
-Dokončení aktualizace je indikováno rozsvícením každé druhé ​LED a následný ​restart ​sekce I/O je indikován rozsvícením všech LEDvčetně ​RUN LED.+Completion of the update is indicated by turning On every second ​LED and subsequent ​restart ​of the I/O section is indicated by turning On all LEDsincluding ​RUN.
 </​WRAP>​ </​WRAP>​
  
Line 220: Line 220:
 /* ------------------------------------ */ /* ------------------------------------ */
  
-===== Simulátor spuštění kontroléru ​===== +===== Unit startup simulator ​===== 
-Níže poskytujeme simulátor spuštění kontroléru,​ kde lze vidět celý průběh od připojení napájení ​až po spuštěníSimulaci lze spustit tlačítkem ​"**​Připojit napájení​**" ​pod obrázkem kontroléru.+Below we provide ​unit startup simulator, where you can see the entire process from plugging in power to startupThe simulation can be started by pressing the "**​Plug in power​​**" ​button below the unit image.
  
-Při spuštění kontroléru 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 diodyPo chvíli začne startovat ​OS. \\+Observe the **RUN** ​LED during startupAfter plugging in the power supply, the OS bootloader ​"​**uboot**" ​starts firstthis state is indicated by the first longer turn On of the diodeAfter a while, the OS will start. \\
  
 ---- ----
  
-<​html><​span class="​kbBlueText">​Spuštění bez komunikace s I/​O:</​span></​html>​ \\ +<​html><​span class="​kbBlueText">​Startup without ​I/O communication:</​span></​html>​ \\ 
-Kontrolér je připraven, pokud dioda **RUN** ​trvale pomalu bliká.+The unit is ready if the **RUN** ​LED blinks constantly slowly.
  
 |< 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 svítí a krátce pohasíná ​ ​|OS ​běží, ale nekomunikuje s deskou ​I/O  |  2000ms ​ |  2000ms ​ |+|PWR is on, RUN is on with short blinks ​ ​|OS ​is running but not communicating with I/O board  ​| ​ 2000ms ​ |  2000ms ​ |
  
 {{ :​en:​hw:​02-neuron:​neuron_off.png?​direct |}} {{ :​en:​hw:​02-neuron:​neuron_off.png?​direct |}}
-<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​02-neuron:​neuron_normal-start.gif"​ data-addressloop="/​_media/​en:​hw:​02-neuron:​neuron_normal-run_IOnot-comm.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:​02-neuron:​neuron_normal-start.gif"​ data-addressloop="/​_media/​en:​hw:​02-neuron:​neuron_normal-run_IOnot-comm.gif"​ style="​max-width:​ 135px" data-textswap="​Unplug the power">Plug in power</​div></​html>​
  
 ---- ----
  
-<​html><​span class="​kbBlueText">​Spuštění s programem včetně komunikace s I/​O:</​span></​html>​ \\ +<​html><​span class="​kbBlueText">​Startup with the program, including communication with I/​O:</​span></​html>​ \\ 
-Kontrolér je připraven, pokud dioda **RUN** ​trvale svítí a opakovaně na krátkou dobu pohasíná.+The unit is ready if the **RUN** ​LED is continuously On with short blinks.
  
 |< 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 svítí a krátce pohasíná ​ ​|OS ​běží ​komunikuje s deskou ​I/O  |  50ms  |  2000ms ​ |+|PWR is on, RUN is on with short blinks ​ ​|OS ​is running ​communnicating with I/O board  ​| ​ 50ms  |  2000ms ​ |
  
 {{ :​en:​hw:​02-neuron:​neuron_off.png?​direct |}} {{ :​en:​hw:​02-neuron:​neuron_off.png?​direct |}}
-<​html><​div class="​gif-loop"​ onclick="​shiftLoop(this,​ 8000)" data-address="/​_media/​en:​hw:​02-neuron:​neuron_normal-start.gif"​ data-addressloop="/​_media/​en:​hw:​02-neuron:​neuron_normal-run_IOcomm.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:​02-neuron:​neuron_normal-start.gif"​ data-addressloop="/​_media/​en:​hw:​02-neuron:​neuron_normal-run_IOcomm.gif"​ style="​max-width:​ 135px" data-textswap="​Unplug the power">Plug in power</​div></​html>​