329
Analog I/O (XA CPU Units)
Section 5-5
4. Creating a Ladder Program
I/O Allocation
I/O conversion data is stored in CIO words between CIO 200 and CIO 211.
The analog voltage inputs are converted to digital values and output to CIO
words CIO 200 to CIO 203.
The digital values in CIO 210 and CIO 211 are converted (D/A conversion)
and output as analog voltage or analog current outputs.
Auxiliary Area Flags
Auxiliary Area bits A434.00 to A434.03 are used as open-circuit detection
flags for the open-circuit detection function.
The Analog Initialization Completed Flag (A434.04) indicates when the built-in
analog I/O has been initialized.
Reading Converted
Analog Input Data
The ladder program can be used to read the memory area words where the
converted values are stored. The converted digital values are output to CIO
200 to CIO 203.
Writing Analog Output SV
Data
The ladder program can be used to write data to the memory area words
where the set value is stored. Write the output SV data to CIO 210 to CIO
211.
The Analog Initialization Completed Flag (A434.04) indicates when the built-in
analog I/O has been initialized.
Startup Operation
After power is turned ON, it takes approximately 1.5 s before the initial data is
converted and stored in the input words. The Analog Initialization Completed
Flag (A434.04) will go ON when initial processing is completed. If the system
starts operating, use this flag in the program to delay reading converted data
from analog inputs until the data is valid.
Data
Word
Content
I/O point
For 1/6,000
resolution
For 1/12,000
resolution
A/D conver-
sion data
CIO 200
Analog input 0
−
10 to 10 V range:
F448 to 0BB8 hex
Other ranges:
0000 to 1770 hex
−
10 to 10 V range:
E890 to 1770 hex
Other ranges:
0000 to 2EE0 hex
CIO 201
Analog input 1
CIO 202
Analog input 2
CIO 203
Analog input 3
D/A conver-
sion data
CIO 210
Analog output 0
CIO 211
Analog output 1
Bit
Function
A434.00
Analog Input 0 Open-circuit Error Flag
0: No error
1: Open-circuit error detected
A434.01
Analog Input 1 Open-circuit Error Flag
A434.02
Analog Input 2 Open-circuit Error Flag
A434.03
Analog Input 3 Open-circuit Error Flag
Bit
Function
A434.04
Analog Initialization Completed Flag
0: Initializing
1: Initialization completed
Bit
Function
A434.04
Analog Initialization Completed Flag
0: Initializing
1: Initialization completed
Содержание CP1H-CPU - 05-2006
Страница 1: ...OPERATION MANUAL CP1H CPU Unit SYSMAC CP Series CP1H X40D CP1H XA40D CP1H Y20DT D Cat No W450 E1 02...
Страница 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Страница 3: ...iv...
Страница 11: ...xii TABLE OF CONTENTS...
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 31: ...xxxii Conformance to EC Directives 6...
Страница 71: ...40 Function Blocks Section 1 5...
Страница 133: ...102 Computing the Cycle Time Section 2 7...
Страница 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Страница 411: ...380 Clock Section 6 8...
Страница 519: ...488 Replacing User serviceable Parts Section 10 2...
Страница 527: ...496 Standard Models Appendix A...
Страница 535: ...504 Dimensions Diagrams Appendix B...
Страница 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Страница 659: ...628 PLC Setup Appendix G...
Страница 665: ...634 Index work words 159 write protection 370...
Страница 667: ...636 Revision History...