
12
7.2.2
Thermocouple Types, R
-
Ladder program to read the data from input channels
The program to store in the data registers, DT0 to DT7, the temperature
data for CH0 to CH7, of the Thermocouple Unit installed in the 1st.
Reference:
- Conversion data switch flag
When transferring the data from the Thermocouple Unit to the Control Unit, it is converted to the 32-bit data
including the channel information. The data for WX2 can be used as is, but the following process is required
for the WX3 data since its higher 2 bits are used as a conversion data switch flag;
- What to do
The temperature data is positive only, so that the data of bit 0 to bit F for WX2 and bit 0 to bit D for WX3
can be handled intact as a temperature.
The higher 2 bits for WX3 are used as the conversion data switch flag, so that masking using “00” is
needed.
Data for CH3
WX3
→
Data after masked
1 0100000000000001
→
0000000000000001
The above values to be masked
Conversion data switch flag
Note:
X3E, X3F, WX2 and WX3 are changed depending on where the Thermocouple Unit is
installed.