525
Temperature Sensor Units
Section 9-5
Example 4
Temperature:
Open circuit (
°
F)
Temperature Data: 7FFFFFFF
Note
(1) Leftmost digits are stored in the lower memory addresses. Treat the data
in the lower memory address as the leftmost digits when programming.
(2) Be sure that the data is read at least once every 125 ms to allow for the
CPU Unit’s cycle time and communications time. Correct data may not be
obtained if the read cycle is greater than 125 ms.
Programming Example
The following programming example shows how to use 2-decimal-place Mode
for the following PC configuration.
In this example, 100 times the temperature data for temperature input 0 is
stored in binary form in D100 to D102.
Leftmost 3 Digits and Flags
Flags
Bits
Data
15
0
14
1
13
1
12
0
11 to 08
7
07 to 04
F
03 to 00
F
6 7 F F
Flags
Rightmost 3 Digits and Flags
Flags
Bits
Data
15
1
14
1
13
1
12
0
11 to 08
F
07 to 04
F
03 to 00
F
E F F F
Flags
Error
°
F
Leftmost
Error
°
F
Rightmost
×
16
5
×
16
4
×
16
3
×
16
2
×
16
1
×
16
0
Temperature
data
Temperature
data
CPU Unit
Inputs
CIO 0
CIO 1
Outputs
CIO 100
CIO 101
Inputs
CIO 2
CIO 3
Outputs
None
CP1W-TS001
Temperature Sensor Unit
Temperature unit setting:
0 (
°
C)
Two-decimal-place Mode:
1 (2 digits after decimal point stored)
Temperature Unit Flag (0:
°
C, 1:
°
F)
Open-circuit Flag (0: Normal, 1: Error)
Bit
D100
D101
D102
15 14 13 12
Always 0
11 10
8
7
5
3
1
Always 0
Always 0
0 0
Temperature input 0
CIO 2
Leftmost data
Rightmost data
CIO 200
9
6
4
2
0
×
16
5
×
16
4
×
16
3
×
16
2
×
16
1
×
16
0
×
16
7
×
16
6
Содержание CP1L-EL20DR-D
Страница 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Страница 4: ...iv...
Страница 10: ...x...
Страница 22: ...xxii...
Страница 34: ...xxxiv Software Licenses and Copyrights 7...
Страница 178: ...144 Connecting the CX Programmer Section 5 1 Click the Connect button to connect and then connection online is completed...
Страница 192: ...158 Trial Operation and Debugging Section 5 3...
Страница 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Страница 666: ...632 Trouble Shooting Section 11 7...
Страница 696: ...662 Standard Models Appendix A...
Страница 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Страница 836: ...802 PLC Setup Appendix G...
Страница 838: ...804 TCP Status Transitions Appendix H...
Страница 840: ...806 Ethernet Network Parameters Appendix I...
Страница 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Страница 844: ...810 Ethernet Specifications Appendix K...
Страница 851: ...Index 817 work words 118 write protection 447...
Страница 852: ...818 Index...
Страница 854: ...820 Revision History...
Страница 855: ......