Parameter Declaration Data Type Memory Area DescriptionPREV_IN Static REAL I, Q, M, D, L, P, con-stantPrevious inputPREV_OUT Static REAL I, Q, M, D, L, P, con-stantPrevious outputIf GAIN is less than or equal to 0, the function block is not executed. The signal state ofENO is set to 0 and ERR_CODE is set equal to W#16#0009.15.1.2 FC 93 - SEG - Seven Segment DecoderThe Seven Segment Decoder SEG function converts each of the four hexadecimal digitsin the designated source data word IN into four equivalent 7-segment display codes andwrites it to the output destination double word OUT. The Figure below shows the relation-ship between the input hex digits and the output bit patterns.ParametersDigit – g f e d c b a Display0 0 0 0 0 0 1 1 1 1 1 1 00 0 0 1 0 0 0 0 0 1 1 0 10 0 1 0 0 1 0 1 1 0 1 1 20 0 1 1 0 1 0 0 1 1 1 1 30 1 0 0 0 1 1 0 0 1 1 0 40 1 0 1 0 1 1 0 1 1 0 1 50 1 1 0 0 1 1 1 1 1 0 1 60 1 1 1 0 0 0 0 0 1 1 1 71 0 0 0 0 1 1 1 1 1 1 1 81 0 0 1 0 1 1 0 0 1 1 1 91 0 1 0 0 1 1 1 0 1 1 1 A1 0 1 1 0 1 1 1 1 1 0 0 b1 1 0 0 0 0 1 1 1 0 0 1 C1 1 0 1 0 1 0 1 1 1 1 0 d1 1 1 0 0 1 1 1 1 0 0 1 E1 1 1 1 0 1 1 1 0 0 0 1 FParametersParameter Declaration Data Type Memory Area DescriptionEN Input BOOL I, Q, M, D, L Enable input with signal state of 1 activates theboxENO Output BOOL I, Q, M, D, L Enable output has a signal state of 1 if the func-tion is executed without errorError InformationDescriptionVIPA SPEED7StandardConverting > FC 93 - SEG - Seven Segment DecoderHB00 | OPL_SP7 | Operation list | en | 18-30796