User Tools

Site Tools


getting_started:tutorials:hal0

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
getting_started:tutorials:hal0 [2017/05/08 13:26] grafgetting_started:tutorials:hal0 [2019/03/02 16:57] graf
Line 9: Line 9:
 The main sequence alters the values on digital and analog outputs periodically. A separate periodic task logs the digital and analog inputs. The main sequence alters the values on digital and analog outputs periodically. A separate periodic task logs the digital and analog inputs.
   * The state on the digital output 0 is reflected by the simultor to the digital input 0. The control system connects this input to the digital output 1, which in turn is reflected by the simulator to digital input 1. However, the second reflection is ''inverted'' and we get the logical inversion of digital output 0. The value of digital input 0 changes every 5 seconds.   * The state on the digital output 0 is reflected by the simultor to the digital input 0. The control system connects this input to the digital output 1, which in turn is reflected by the simulator to digital input 1. However, the second reflection is ''inverted'' and we get the logical inversion of digital output 0. The value of digital input 0 changes every 5 seconds.
-  * A constant value is output to analog output 0 and 2. These values change every 10 seconds. Both are reflected onto analog inputs 0 and 2.+  * A constant value is output to analog output 0 and 2. These values change every 10 seconds. Both are reflected onto analog inputs 0 and 2, respectively.
  
getting_started/tutorials/hal0.txt · Last modified: 2021/03/31 15:46 by ursgraf