functionto_phys

Convert raw value of channel to physical value

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
IntegerrawDataRaw value from channel
RealminPhysical min value of channel
RealmaxPhysical max value of channel
IntegerunitPhysical unit type of channel
IntegermaxdataMaximal raw value of channel

Outputs

TypeNameDefaultDescription
RealphysDataPhysical value of channel