functionfrom_phys
Convert physical value of channel to corresponding raw value
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | physData | Physical value of channel | |
| Real | min | Physical min value of channel | |
| Real | max | Physical max value of channel | |
| Integer | unit | Physical unit type of channel | |
| Integer | maxdata | Maximal raw value of channel |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | rawValue | Raw value of channel |