Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:sw:02-sdks:05-light [2018/12/05 14:27]
tomas_knot
en:sw:02-sdks:05-light [2018/12/05 14:51] (current)
tomas_knot
Line 24: Line 24:
 ==== Functionality ==== ==== Functionality ====
  
-The primary ​purpose of the server is to provide an easy-to-use interface to the lighting bus, avoiding the need for complex message processing and serialisation - all of which the server does internally. Such processing is often very difficult or impractical to implement in traditional PLC software. ​+Primary ​purpose of this server is to provide an easy-to-use interface to the lighting bus, avoiding the need for complex message processing and serialisation - all of which the server does internally. Such processing is often very difficult or impractical to implement in traditional PLC software. ​
  
 The Light ModBus server exposes a ModBus interface on TCP port 504. It is possible to connect to it via any software with TCP ModBus client capability, which includes both Mervis and CODESYS. ​ The Light ModBus server exposes a ModBus interface on TCP port 504. It is possible to connect to it via any software with TCP ModBus client capability, which includes both Mervis and CODESYS. ​
  
 +The server has four separate functions, each of which can be used independently of or simultaneously with the others, as all requests are serialised for each bus internally by the program. The capabilities are as follows:
 +  * Sequentially assigning free addresses to all unaddressed devices on the bus 
 +  * Sending up to 5 single and 5 double commands on each bus in parallel
 +  * Issuing up to 32 simplified-interface commands per bus in one I/O cycle
  
 +We are also working on extending the functionality to allow simpler readdressing of the bus devices via a web interface, as well as direct mapping of device properties on the bus into ModBus.
 +
 +For further documentation do not hesitate to contact us.
  
 ==== Final Note ==== ==== Final Note ====
 The UniPi Light ModBus server is built upon a custom UniPi plugin for the excellent [[https://​github.com/​sde1000/​python-dali|python-dali]] library. This plugin can be downloaded separately from our git repository, at https://​git.unipi.technology/​UniPi/​unipi-python-lighting The UniPi Light ModBus server is built upon a custom UniPi plugin for the excellent [[https://​github.com/​sde1000/​python-dali|python-dali]] library. This plugin can be downloaded separately from our git repository, at https://​git.unipi.technology/​UniPi/​unipi-python-lighting