SetReset('Set','Reset','SetDominant=1')

Arguments

'Set'

Positive edge sets function to TRUE

'Reset'

Positive edge sets function to FALSE

'SetDominant'

Optional parameter (default = 1), which controls which input argument is dominant if both arguments simultaneously receive a positive edge.

'SetDominant' = 1

Set takes precedence over Reset

'SetDominant' = 0

Reset takes precedence over Set

Description

Using this function, you can control a binary result (TRUE/FALSE) with the help of positive edges (transition from 0 to 1) of the arguments 'Set' and 'Reset'.

A rising edge of the 'Set' operand returns a static TRUE. A rising edge of the 'Reset' operand resets the result to FALSE. The argument 'SetDominant' is optional and determines the dominance of 'Set' or 'Reset'.