
114
Application Procedure
Section 6-4
Reading Input Data (A/D Conversion Data)
Data that has been processed using A/D conversion is stored in 4-digit hexa-
decimal in the input words allocated to the Analog I/O Board.
Ladder Programming Example for Reading Input Data
Input Disconnection Detection
When using the input range 1 to 5 V or 4 to 20 mA and the input voltage/cur-
rent drops below the specified value, a circuit disconnection is detected inter-
nally and a conversion value of 8,000 is stored in the input words.
When the voltage/current returns to a level within the specified range, the dis-
connection detected status is cleared, and normal conversion is resumed.
Disconnection Detection Operation
A/D conversion data
A/D conversion data
output words
CPM2B-MAD21
CPM2B-MAD42
CPM2B-MAD63
A/D conversion data 1 Word m+1
Used
Used
Used
A/D conversion data 2 Word m+2
A/D conversion data 3 Word m+3
Not used
A/D conversion data 4 Word m+4
A/D conversion data 5 Word m+5
Not used
A/D conversion data 6 Word m+6
Conversion data for analog input 1 from IR 004 is stored in DM 0000.
Execution condition
TIM 005
TIM005
#0002
MOV(21)
004
DM0000
Conversion data for analog input 2 from IR 005 is stored in DM 0001.
MOV(21)
005
DM0001
Conversion data for analog input 3 from IR 006 is stored in DM 0002.
MOV(21)
006
DM0002
Conversion data for analog input 4 from IR 007 is stored in DM 0003.
MOV(21)
007
DM0003
Conversion data for analog input 5 from IR 008 is stored in DM 0004.
MOV(21)
008
DM0004
Always ON Flag
25313
Approximately 2 50 ms is required to enable the analog
input conversion data, so use the TIM 005 bit to delay execution
of analog I/O processing by 100 to 200 ms.
Input range Operating range
Operating time
Recovery
1 to 5 V
0.8 V max.
Same as A/D con-
version time
0.8 V min.
After the voltage/current returns to the specified
value or higher, and A/D conversion is performed,
normal conversion values are output.
4 to 20 mA
3.2 mA max.
3.2 mA min.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание SYSMAC CPM2B
Страница 4: ...iv Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 6: ...vi Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 216: ...198 Index Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...