15.2.40 FC 39 - STRNG_R - Convert STRING to REALThe function FC 39 converts a string to a variable in REAL data format.n The string must have the following format:±v.nnnnnnnE±xx– ±: Sign– v: 1 digit before the decimal point– n: 7 digits after the decimal point– x: 2 exponential digitsn If the length of the string is smaller than 14, or if it is not structured as shown above,no conversion takes place and the BR bit is set to "0".n If the result of the conversion is outside the REAL range, the result is limited to thecorresponding value and the BR bit is set to "0".Parameter Declaration Data type Memory area DescriptionS* INPUT STRING D, L Input stringRET_VAL OUTPUT REAL I, Q, M, D, L Result*) You can assign only a symbolically defined variable for the parameter.15.2.41 FC 40 - TIM_S5TI - Convert TIME to S5TIMEThe function FC 40 converts the data format TIME to the format S5TIME. Here is alwaysrounded down. If the input parameter is greater than the displayable S5TIME format(TIME#02:46:30.000), S5TIME#999.3 is output as result and the binary result (BR) bit isset to "0".Parameter Declaration Data type Memory area DescriptionIN INPUT TIME I, Q, M, D, LConstantInput variable in format TIMERET_VAL OUTPUT S5TIME I, Q, M, D, L Return value in format S5TIME15.3 IO15.3.1 FB 20 - GETIO - PROFIBUS/PROFINET read all InputsWith the FB 20 GETIO you consistently read out all inputs of a PROFIBUS DP slave/PROFINET IO device. In doing so, FB 20 calls the SFC 14 DPRD_DAT. If there was noerror during the data transmission, the data that have been read are entered in the targetarea indicated by INPUTS. The target area must have the same length that you config-ured for the selected component. In the case of a PROFIBUS DP slave with a modularstructure or with several DP IDs, you can only access the data for one component/DP IDwith an FB 20 call each time at the configured start address.DescriptionParameterDescriptionParameterDescriptionVIPA SPEED7 StandardIO > FB 20 - GETIO - PROFIBUS/PROFINET read all InputsHB00 | OPL_SP7 | Operation list | en | 18-30 821