POWERSCAN® PD8530138ExamplesThe string transmitted is 12345abcdef3790 and corresponds to the #DS function,as defined in the programming language.1) expression SSTR<#DS,1,5> + SSTR<#DS,11,15> + SSTR<#DS,6,9>result 12345f3790abcd2) expression FSTR<#DS, 616263, 616263, 0> + SSTR<#DS,LSTR<#DS>-3, LSTR<#DS>result abc37903) expression FSTR<#DS, 616272, 616261, 0>result null string4) expression #DS - FSTR<#DS, 616263, 6566, 0>result 123453790During the format definition the decoded string represented by #DS does not change.Using Format Output in Format DefinitionThe input used by the above functions to define the code formatting usuallycorresponds to the decoded code (#DS). Actually, the formatting expression of eachfunction can also format the result (output) produced by a preceding code formatting.The format output is represented as follow:#F, where: = format number in the range 1-4#F = format outputBeing Format 5 not included in other format expression, the format number is in therange 1-4. Furthermore, since a format expression operates upon the output of thepreceding formats, the expression defining Format 1 will never contain the result ofanother format.ExampleThe following expression is used to define Format 3:#DS + FSTR<#F2, 6173, 6263, 0>The expression input consists of the decoded code and the result produced byFormat 2 (#F2).The FSTR function searches for a defined substring within the #F2 result; then, itconcatenates this substring and the decoded code. The result corresponds to #F3output.