4.4 Analog I/O Unit (FP0R-A21/A42)4-31 Sample program (14-bit mode: For ranges of -10 V to +10 V and -5 V to +5 V)The following program shows the case that the data of DT0 to DT1 is converted and output tothe CH0 to CH1 of the first expansion analog I/O unit (FP0R-A42/A21). The range forchecking digital values written in the output area is changed.<= K-8000 , DT0R9010[ F0 MV , DT0 , WY2 ]1 >1>>= K 8000 , DT0①④ ⑤② ③ⓐCH0<= K-8000 , DT1R9010[ F0 MV , DT1 , WY3 ]1 >1>>= K 8000 , DT1①④ ⑤② ③ⓑCH1 Sample program (14-bit mode: (For ranges of 0 to 10 V, 0 to 5 V, 0 to 20 mA and 4 to20 mA)<= K 0 , DT0R9010[ F0 MV , DT0 , WY2 ]1 >1>>= K16000 , DT0①④ ⑤② ③ⓐCH0<= K 0 , DT1R9010[ F0 MV , DT1 , WY3 ]1 >1>>= K16000 , DT1①④ ⑤② ③ⓑCH1① R9010 Always ON relay② Checks whether the lower limit value is within the data range that the unit can convert correctly.③ Checks whether the upper limit value is within the data range that the unit can convert correctly.ⓐ It is executed when the execution condition is ON and written data is within the upper and lower limits.Data for CH0 is set in DT0, and CH0 is specified by the output data switching flag.ⓑ It is executed when the execution condition is ON and written data is within the upper and lower limits.Data for CH1 is set in DT1, and CH1 is specified by the output data switching flag.