830
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
• These instructions calculate the square root of the BCD 8-digit data specified by (s), and store the operation result in the
device specified by (d).
• The value to be specified in (s) is a BCD value with a maximum of 8 digits (0 to 99999999).
• A BCD value from 0 to 9999.9999 is stored as the operation result in the device specified by (d).
• The operation result is a value whose 5th decimal place is rounded down.
(s)+1, (s): 2-word data
(d): Integral part
(d)+1: Decimal part
Error code
(SD0)
Description
3405H The data in the device specified by (s) is not a BCD value.