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:sw:02-apis:02-modbus-tcp [2021/05/06 08:29]
lpolcerova
en:sw:02-apis:02-modbus-tcp [2023/07/25 09:15] (current)
avsetula
Line 4: Line 4:
 <WRAP group> <WRAP group>
 <WRAP half column 81%> <WRAP half column 81%>
-Modbus TCP is standard interface to interact with the IOs of Unipi PLCs. Each PLC has its own mapping of I/O to a Modbus Register or Coil which can be downloaded from the [[files:​products:​00-start|Products section.]]+Modbus TCP is standard interface to interact with the IOs of Unipi units. Each unit has its own mapping of I/O to a Modbus Register or Coil which can be downloaded from the [[files:​products:​00-start|Products section.]]
 </​WRAP>​ </​WRAP>​
 <WRAP half column 15%> <WRAP half column 15%>
Line 19: Line 19:
 </​WRAP>​ </​WRAP>​
  
-/* FIXME 
-===== Stav životnosti úložiště ===== 
-V rámci Modbus TCP serveru jsou na všech kontrolérech Unipi (kromě Unipi 1.1) k dispozici také registry indikující stav úložiště:​ 
-  * <​html><​span class="​kbBlueText">​Erase cycles used [%]</​span></​html>​ -> udává počet cyklů přemazání paměti oproti maximu (v procentech) 
-  * <​html><​span class="​kbBlueText">​Good blocks [%]</​span></​html>​ -> udává počet bloků, které jsou v pořádku (v procentech) 
  
-Pro jednotky ​Neuron ​je dále k dispozici počet zapnutí a vypnutí napájení s aktuální ​SD kartoupřípadně i název detekce výrobce kartyU jednotek ​Neuron ​je pro tyto funkce podporován jen omezený výběr ​SD karet+===== Storage life status ===== 
-*/+There are also registers indicating storage status for all Unipi units (except Unipi 1.1) that are available on the Modbus TCP server. 
 +  * <​html><​span class="​kbBlueText">​Erase cycles used [%]</​span></​html>​ -> indicates the number of memory erase cycles compared to the maximum cycles (in percent) 
 +  * <​html><​span class="​kbBlueText">​Good blocks [%]</​span></​html>​ -> indicates the number of blocks that are all right (in percent) 
 + 
 +For Neuron ​units, there is also the number of power cycles (on/off) available with the current ​SD cardor the name of the card manufacturer'​s detectionFor Neuron ​units, only a limited selection of SD cards is supported for these features
  
 ===== Systemd service ===== ===== Systemd service =====
Line 35: Line 35:
 </​code>​ </​code>​
  
-To make the change permanent, modify the default configuration file **/​etc/​default/​unipi-modbus-tools** and restart the service by <​code>​systemctl restart unipitcp</​code>​+To make the change permanent, modify the default configuration file **/​etc/​default/​unipitcp** and restart the service by <​code>​systemctl restart unipitcp</​code>​