Standard function blocks326Operation The output (Q1) is 0 if the set input (S) is 1 and the reset input (R) value is 0. The outputwill retain the previous output state if the set input (S) and the reset input (R) are 0. Theoutput is 0 if the set input is 0 and the reset input is 1.Truth table:Inputs Set input (S): BooleanReset input (R): BooleanOutputs Output (Q1): BooleanRTRIG(10031)IllustrationExecution time 0.38 μsOperation The output (Q) is set to 1 when the clock input (CLK) changes from 0 to 1. The output isset back to 0 with the next execution of the block. Otherwise the output is 0.Note: The output is 0 after cold restart and after the first execution of the RTRIG block.Otherwise the output is 1, when the clock input is 1.Inputs Clock input (CLK): BooleanOutputs Output (Q): BooleanS R Q1 previous Q10 0 0 00 0 1 10 1 0 00 1 1 01 0 0 11 0 1 11 1 0 01 1 1 0Q previous is the previous cycle output value.RTRIG 47TLA1 1 msec (1)>CLKQ Q(47)CLK previous CLK Q0 0 00 1 11 0 01 1 0CLK previous is the previous cycle output value.