436
Temperature Sensor Units
Section 7-5
Startup Operation
After power is turned ON, approximately 1 s is required for the first conversion
data to be stored in the input word. During that period, the data will be 7FFE.
Therefore, create a program as shown below, so that when operation begins
simultaneously with startup it will wait for valid conversion data.
Handling Unit Errors
• CP-series Expansion Unit/Expansion I/O Unit errors are output to bits 0 to
6 of word A436. The bits are allocated from A436.00 in order starting from
the Unit nearest the CPU Unit. CP1W/CPM1A-TS002 and CP1W/
CPM1A-TS102 Temperature Sensor Units are allocated two bits each.
Use these flags in the program when it is necessary to detect Expansion
Unit/Expansion I/O Unit errors.
• When an error occurs, the Temperature Sensor Unit data becomes 7FFF
hex (the same as for an open-circuit detection). With an open-circuit
detection, it is not reflected in word A436.
Programming Example
1,2,3...
1.
The following programming example shows how to convert the input data
from 2 temperature sensor inputs to BCD and store the result in D0 and
D1.
(P_EQ)
1000.00
2
#7FFE
P_On
CMP(020)
Always ON
Temperature input data
output word
Initialization
Completed Flag
CP1H
CP1W-TS001/101
CPM1A-TS001/101
Temperature Sensor Unit
Inputs
Outputs
CIO 0
CIO 1
CIO 100
CIO 101
CIO 2
CIO 3
None
Temperature unit setting:
0 (
°
C)
Two-decimal-place Mode:
0 (normal)
Input range setting:
1 (K: 0.0 to 500.0
°
C)
Input 0:
CIO 2
Input 1:
CIO 3
Содержание CP1H CPU UNITS - PROGRAMMING 05-2007
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Страница 370: ...336 Analog I O XA CPU Units Section 5 5...
Страница 552: ...518 Trouble Shooting Section 8 7...
Страница 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 598: ...564 Sample Application Section 9 12...
Страница 642: ...608 Standard Models Appendix A...
Страница 643: ...609 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 652: ...618 Dimensions Diagrams Appendix B...
Страница 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Страница 776: ...742 PLC Setup Appendix G...
Страница 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Страница 786: ...752 Revision History...