| Name | Description | Type | Notes | 
| Threshold Value | This value is compared against the input value. | float | Default: 0.5 | 
| Direction | The direction in which to check for a threshold crossing: whether to detect a crossing in the upwards direction, in the downwards direction, or in both directions. | Option - one of:  Upwards  Downwards  Both | |
| Window Duration (secs) | If present, the amount of time (in seconds) for which values are to be kept in the window. This must be a finite and positive number. | float | Optional | 
| Name | Description | Type | 
| Value | The input value for which to detect a crossing. | float | 
| Reset | Resets the count of crossings. | pulse | 
| Sample | Forces re-evaluation of the current value and sends the output. | boolean | 
| Name | Description | Type | 
| Crossing Count | The number of crossings. | float | 
| Crossing | Sends a pulse when a crossing is detected. | pulse |