TSE – Three-state element

Block SymbolLicensing group: STANDARD

Function Description
The TSE block transforms the analog input u to a three-state signal ("up", "idle" and "down") according to the diagram below.

Input

 u Analog input of the block double

Outputs

 UP The "up" signal bool DN The "down" signal bool

Parameters

 ep The input value $\mathtt{\text{u}}>\mathtt{\text{ep}}$ results in $\mathtt{\text{UP}}=\mathtt{\text{on}}$ and $\mathtt{\text{DN}}=\mathtt{\text{off}}$  $\odot$1.0 double en The input value $\mathtt{\text{u}}<\mathtt{\text{en}}$ results in $\mathtt{\text{UP}}=\mathtt{\text{off}}$ and $\mathtt{\text{DN}}=\mathtt{\text{off}}$  $\odot$-1.0 double epoff UP switch off value; if $\mathtt{\text{UP}}=\mathtt{\text{on}}$ and $\mathtt{\text{u}}<\mathtt{\text{epoff}}$ then $\mathtt{\text{UP}}=\mathtt{\text{off}}$  $\odot$0.5 double enoff DN switch off value; if $\mathtt{\text{DN}}=\mathtt{\text{on}}$ and $\mathtt{\text{u}}>\mathtt{\text{enoff}}$ then $\mathtt{\text{DN}}=\mathtt{\text{off}}$  $\odot$-0.5 double

2019 © REX Controls s.r.o., www.rexygen.com