Chapter 7 Usage of Various Functions
7-68
10) Program example
(1) A program for output of detected temperature value as a BCD value
a) Program explanation
The present A/D conversion value of the detected temperature value which is detected from the temperature-measuring
resistor Pt 100 is displayed on the BCD digital display by use of channel 0 of the temperature-measuring resistor input
module. The lamp turns on when the detected temperature value is a negative number and turns off when it is a positive
number
b) System configuration and parameter setting
c) Program
RTD input module
Main unit input contact : P000 ~ P023
Main unit output contact: P040 ~ P057
Turns on when temperature
value is negative
BCD segment
( P0040 ~ P004F )
Detected temperature
Input condition
(P0000)
COM0