4.3 Analog Output Unit (FP0R-DA4)4-15 When data is regarded as an error• Digital data from the control unit is written in the Analog Output Unit.When more than the specified amount of data (-8000 to 8000 for ± range, 0 to 16000 for +range) is written in the Unit, the Unit regards the data as an error and writes the error flag inWX2. As a result, the D/A conversion is not performed. For analog output, the previous dataremains unchanged. When the correct data is written, the error flag is cleared and D/Aconversion is executed.• Output data and output switching flag are allocated to the sane I/O number. Data error canbe detected successfully with the flags when the digital input value is within the range of -8192 to +8191 for ± range, 0 to 16383 for + range. Even when the digital input value is out ofthe range, however, data conversion may be mistakenly conducted as shown below. Toprevent this problem, be sure to set up the program to check the upper and lower limits ofthe digital value.(Example): When writing K16384 in WY2K16384= 0001 0000 0000 0000Analog Output Unit regards Y2D and Y2C as output switching flags:Y2F, Y2E = 01 <- CH0Data =00 0000 0000 0000 <- 0Consequently, the analog value that is equivalent to the digital value “0” is output from CH0. Negative data• When the negative data (minus data) is written, set the output switching flag to two'scomplement data. When specifying the minus data in the decimal data, the dataautomatically becomes two's complement data. Then, set the output switching flag to two'scomplement data in the same way as the plus data.(Example): When writing -1 in CH0-1=1111 1111 1111 1111 <- Two’s complementSetting the output switching flag: 0111 1111 1111 1111 (Bit F=1, Bit E=0 for CH0)