User Tools

Site Tools


eeros_architecture:hal:configuration_file

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
eeros_architecture:hal:configuration_file [2019/08/14 14:05] – [Configuration File] grafeeros_architecture:hal:configuration_file [2019/08/14 14:13] (current) – [Available Keywords] graf
Line 60: Line 60:
 Channels carrying an analog signal or channels with counter inputs must be assigned a ''scale'' and ''range'' key. With these values the HAL is able to translate between the analog signal and its digital value as this digital value is necessary when accessing the hardware converter (counter, adc, dac). For examples in how to setup the scale and range properly see [[eeros_architecture:hal:scaling|]]. There are cases where the HAL should account for several stages on a scalable input or output, see [[eeros_architecture:hal:scaling_multi|]]. Channels carrying an analog signal or channels with counter inputs must be assigned a ''scale'' and ''range'' key. With these values the HAL is able to translate between the analog signal and its digital value as this digital value is necessary when accessing the hardware converter (counter, adc, dac). For examples in how to setup the scale and range properly see [[eeros_architecture:hal:scaling|]]. There are cases where the HAL should account for several stages on a scalable input or output, see [[eeros_architecture:hal:scaling_multi|]].
  
 +===== Safe Value for Analog Output =====
 +An analog output can have an associated //safe// value. If a //NAN// of //INF// value would be written to its output, the output value will instead be set to its //safe// value. This helps to guarantee that a drive will not get out of control. //NAN// or //INF// can occur, if a connection between blocks is open, if a block does not run or if an algorithm within a block produces this result due to an error. If the configuration does not specify a //safe// value, it is set to //NAN//
 ===== Available Keywords ===== ===== Available Keywords =====
 ^ Keyword ^ Type ^ Remarks ^ ^ Keyword ^ Type ^ Remarks ^
Line 79: Line 81:
 | scale | double | scale value to set scale of scalable in-/output directly, do not mix with scale object! | | scale | double | scale value to set scale of scalable in-/output directly, do not mix with scale object! |
 | offset | double | offset value to set offset of scalable in-/output directly | | offset | double | offset value to set offset of scalable in-/output directly |
 +| safe | double | safe value, used for scalable outputs|
 | unit | string | unit of this in-/output, used for scalable in-/outputs| | unit | string | unit of this in-/output, used for scalable in-/outputs|
 | additionalArguments | string | used for communicating with ROS, see [[hardware_libraries#ros|ROS]], configuration file for ROS see [[config_ros]]| | additionalArguments | string | used for communicating with ROS, see [[hardware_libraries#ros|ROS]], configuration file for ROS see [[config_ros]]|
eeros_architecture/hal/configuration_file.1565784335.txt.gz · Last modified: 2019/08/14 14:05 by graf