User Tools

Site Tools


getting_started:tutorials:hal2

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
getting_started:tutorials:hal2 [2024/06/10 17:52] ursgrafgetting_started:tutorials:hal2 [2024/06/10 17:57] (current) ursgraf
Line 9: Line 9:
 </code> </code>
  
-This examples creates a small control system with a couple of peripheral input and output blocks. +This examples creates a small control system. The state of peripheral input is mirrored to a peripheral output. The time domain of the control system is checked with a watchdog timerOmit adding the watchdog block to the time domain (comment line 27 out), recompile the example and observe what is happening. The watchdog timeout is set in the configuration file to 4.5s. The periodic task will once per second printout the state of the watchdog. As soon as the watchdog times out, the safety system will switch to its off state due to the critical input being ''false''
-The main sequence alters the values on digital and analog outputs periodicallyIt also logs the digital and analog inputs.+
getting_started/tutorials/hal2.1718034748.txt.gz · Last modified: 2024/06/10 17:52 by ursgraf