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 09:14]
avsetula
en:hw:02-neuron:led-indication [2023/07/27 06:35] (current)
zrusek [Unit startup simulator]
Line 4: Line 4:
 <WRAP group 100%> <WRAP group 100%>
 <WRAP half column 81%> <WRAP half column 81%>
-V následujícím článku naleznete popis indikačních ​LED, všech jednotlivých stavů kontroléru ​simulátory spuštění.+This article contains the description of LED indicationall device states and device startup simulator.
 </​WRAP>​ </​WRAP>​
 <WRAP half column 15%> <WRAP half column 15%>
Line 13: Line 13:
 </​WRAP>​ </​WRAP>​
  
-===== Popis indikačních ​LED =====+===== Description of LED indicators ​=====
  
 |< 100% 25% 16% 46% 13%>| |< 100% 25% 16% 46% 13%>|
-^Název ​             ^Funkce ​        ^Význam ​                                 ^Barva    ^+^Label              ^Function ​        ^Meaning ​                                 ^Colour ​   ^
 ||||| |||||
-|PWR                   |Svítí ​         |Indikace napájecího napětí ​            |Červená  ​+|PWR                   |On             |Supply voltage indication ​             |Red      ​
-|RUN                   |Bliká ​         ​|Indikace stavu mikro-procesoru ​I/O     |Zelená ​  | +|RUN                   |Blinking ​      |Microprocessor ​I/O status indication ​  ​|Green ​   ​
-|Digital inputs (DI)   |Svítí ​         ​|Indikace ​log.1 na vstupu ​              |Zelená ​  +|Digital inputs (DI)   |On             |Indication of log.1 at the input       |Green    ​
-|Digital outputs (DO)  |Svítí ​         ​|Indikace sepnutí výstupu ​              |Zelená ​  +|Digital outputs (DO)  |On             |Output switch indication ​              |Green    ​
-|Realy outputs (RO)    |Svítí ​         ​|Indikace sepnutí relé                  ​|Zelená ​  +|Realy outputs (RO)    |On             |Relay switch indication ​               ​|Green    ​
-|TX (RS485) ​           |Svítí ​         ​|Indikace vysílání na sériové lince     |Zelená ​  +|TX (RS485) ​           |On             |Indication of serial line broadcasting ​|Green    ​
-|RX (RS485) ​           |Svítí ​         ​|Indikace přijímání na sériové lince    |Zelená ​  +|RX (RS485) ​           |On             |Indication of serial line receiving ​   |Green    ​
-|User LEDs             |Volitelná ​     ​|Volně programovatelné uživatelské LED  ​|Zelená ​  +|User LEDs             |Selectable ​    |Freely programmable user LEDs          ​|Green    ​
-|ETH                   |Svítí ​ ​\\ ​Nesvítí ​ ​\\ ​Bliká ​ ​\\ ​Nesvítí ​ |Spojení navázáno ​ ​\\ ​Spojení není navázáno ​ ​\\ ​Probíhá komunikace ​ ​\\ ​Neprobíhá komunikace ​ |Žlutá ​ ​\\ ​ \\ Zelená ​ |+|ETH                   |On  ​\\ ​Off  ​\\ ​Blinking ​ ​\\ ​Off  |Connection established ​ ​\\ ​Connection not established ​ ​\\ ​Communication in progress ​ ​\\ ​Connection not established ​ |Yellow ​ ​\\ ​ \\ Green  |
  
  
-Následující kapitoly obsahují popis všech stavů ​LED pro kontrolér ​Unipi Neuron: \\  +The following chapters describe all LED states for the Unipi Neuron ​unit: \\  
-  * Běžné spuštění +  * Normal startup 
-  * Běžné funkce ​komunikace po sériových linkách, DirectSwitch,​ MasterWatchDog +  * Standard functions ​communication via serial lines, DirectSwitch,​ MasterWatchDog 
-  * Aktualizaci ​FW na deskách ​I/O+  * FW update on I/O boards
  
-Vedle popisu stavu je vždy obrázek s vyobrazením stavů indikačních ​LED.+Next to the state description is a picture showing the status of LED indicators.
  
 <WRAP center round info 90%> <WRAP center round info 90%>
-Některé stavy mohou mít i několik významů a mohou tak znamenat napřchybu výpočetního moduluvadnou ​SD kartu nebo nevhodně zvolenou metodu komunikaceVše naleznete v popisu jednotlivých stavů.+Some states can have several meanings and can mean e.g., a computer module error, defective ​SD card or an inappropriately chosen method of communicationYou will find everything in the description of individual states.
 </​WRAP>​ </​WRAP>​
  
  
  
-===== Popis základních stavů kontroléru ​=====+===== Description of the individual device states ​=====
  
-==== Nesvítí žádná dioda ====+==== All LEDs are off ====
 <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">​Vypnuto</​span></​html>​\\ ​+<​html><​span class="​kbBlueLightText">​Power-Off</​span></​html>​\\ ​
 /* Power-Off */ /* Power-Off */
  
-Není připojeno napájení kontroléruPokud se na kontroléru ani po připojení napájení ​PWR LED nerozsvítívyzkoušejte jiný napájecí zdrojPokud se stav nezmění ani po výměně zdrojeje pravděpodobné,​ že došlo k poškození kontroléruV tomto případě kontaktujte ​[[cs:​contact:​00-start|technickou podporu]].+The unit power supply is unpluggedIf the PWR LED does not change its state on the unit even after connecting the power supplytry another power supplyIf the state does not change after replacing the power supplyit is likely that the unit has been damagedIn this case, please contact ​[[en:​contact:​00-start|technical support]].
 </​WRAP>​ </​WRAP>​
  
Line 60: Line 60:
  
  
-==== Svítí ​PWR ====+==== PWR is On ====
 <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">​Zapnuto</​span></​html>​\\ ​+<​html><​span class="​kbBlueLightText">​Power-On</​span></​html>​\\ ​
 /* Power-On */ /* Power-On */
  
-Kontrolér je připojen k napájeníPokud kontrolér setrvá v tomto stavu déle než minutu beze změny je možnéže je poškozenV tomto případě kontaktujte ​[[cs:​contact:​00-start|technickou podporu]].+The unit is poweredIf the unit remains in this state longer than a minute without changeit is possible that it is damageIn this case, please contact ​[[en:​contact:​00-start|technical support]].
 </​WRAP>​ </​WRAP>​
  
Line 76: Line 76:
  
  
-==== Svítí ​PWR RUN pomalu bliká ​====+==== PWR is On and RUN blink slowly ​====
 <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">​Nekomunikuje s I/​O</​span></​html>​\\ ​+<​html><​span class="​kbBlueLightText">​Does not communicate with I/​O</​span></​html>​\\ ​
 /* Idle ; Nečinný ; does not communicate with I/O */ /* Idle ; Nečinný ; does not communicate with I/O */
  
Line 86: Line 86:
 <​html><​span class="​kbBlueLightText">​ON:​ 2000ms / OFF: 2000ms</​span></​html>​\\ <​html><​span class="​kbBlueLightText">​ON:​ 2000ms / OFF: 2000ms</​span></​html>​\\
  
-V případě, že není vyžadována komunikace s I/O a lze zobrazit webovou stránku kontroléruči zařízení odpovídá na test odezvy ​(ping), ​jedná se o běžný provozní stav+If communication with I/O is not required and the web page of the unit can be displayedor the device responds to the response ​test (ping), ​this is a regular operating state
  
-Standardně je tento stav indikovánkdyž program ​v kontroléru nekomunikuje s deskou ​I/O. Stavu kontrolérů velikosti ​**M** **L**, ​je indikován pro každou sekci zvlášť pomocí ​RUN LED s odpovídajícím označením ​(RUN1, RUN2, RUN3).+By defaultthis state is indicated when the program ​in the unit is not communicating with the I/O boardThe statefor **M** and **L** unitsis 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>
-Jelikož výchozí ​program ​v poskytovaných obrazech OS nekomunikuje s I/O, jedná se také o výchozí stav při prvním spuštění zařízení po vložení ​SD karty s nově nahraným ​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>​