DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 182K18: Convert data string to floating point valueExplanations:The system converts n words (lower 8 bits) of the source data string (decimal point is notincluded) to floating point value and stores the converted value in the destination device.Points to note:1. Operand n sets the number of total digits for the converted floating value. Max 8 digits areapplicable and the value over n digit will be omitted. For example, n = K6, data string“123.45678” will be converted to “123.456”.2. When there are characters other than numbers 0~9 or the decimal point in the source datastring, the character before the decimal point will be regarded as 0, and the value after thedecimal point will be regarded as the ETX.3. If the source data string contains no decimal point, the converted value will be displayed bya n-digit floating point value automatically.The conversion will be performed in the following rule:‘1’‘2’‘3’Hi-byte Lo-byte‘.’S+0S+1S+2S+3‘4’‘5’‘6’0x00S+4S+5S+6S+7123.45632-bit Floating valueD+0D+1‘1’‘2’‘3’Hi-byte Lo-byte‘.’S+0S+1S+2S+3‘4’‘5’‘6’0x00S+4S+5S+6S+7123.45632-bit Floating valueD+0D+1K19: Convert floating point value to data stringExplanations:The system converts the floating point value in the source device S to data string with specifiedlength n (decimal point is not included).Points to note:1. Operand n sets the number of total digits for the floating point value to be converted. Max 8digits are applicable and the value over n digit will be omitted. For example, n = K6, floatingvalue F123.45678 will be converted to data string “123.456”.2. When the digits of source value are more than the specified n digits, only the n digits fromthe left will be converted. For example, source value F123456.78 with n=K4 will beconverted as data string "1234”.3. If the source value is a decimal value without integers, e.g. 0.1234, the converted datastring will be “.1234” where the first digit is the decimal point.