![background image](http://html.mh-extra.com/html/omron/sysmac-cpm2b/sysmac-cpm2b_operation-manual_1633427122.webp)
104
Overview of Operations
Section 6-3
n: The last output word allocated to the CPU Board or to the previous Board
if one is already connected.
Starting A/D or D/A Conversion
• Conversion processing cannot start until the range code is set. Until the
range code is set, the input (A/D conversion) data will be 0000 and the
D/A conversion output will be 0 V or 0 mA.
• When the range code is set, A/D conversion or D/A conversion process-
ing will start. After turning ON the power to the Analog I/O Board, the first
data is stored in the input words, which requires approximately two cycles
plus 50 ms. When starting operation at the same time as the power is
turned ON, use a timer instruction (TIM) and delay executing program-
ming for the Analog I/O Board by between 100 and 200 ms. (Refer to the
ladder programming example in 6-4-4 Ladder Programming.)
• After the range code has been set, the minimum values for each range
will be output until the D/A-convertible output data is set.
• The range code that has been set cannot be changed during communica-
tions. To change the range code, turn OFF the power and then turn it ON
again before resetting the range code.
Reading Input Data (A/D Conversion Data)
Input data is stored as 4-digit hexadecimal values in the input words allocated
to the Analog I/O Board. If an input signal drops below the minimum value of
the conversion range, the minimum value will be stored. If the signal exceeds
the maximum value of the conversion range, the maximum value will be
stored in the input word.
Setting Output Data (D/A Conversion Source Data)
When 4-digit hexadecimal data is set in the output words allocated to the Ana-
log I/O Board, D/A conversion is performed and the analog voltage/current
signals are output to the external devices. If the set value is below the conver-
sion range, the minimum value will be written to the output word. If the set
value exceeds the maximum value of the conversion range, the maximum
value will be written to the output word.
Input word
CPM2B-MAD63
CPM2B-MAD42
CPM2B-MAD21
Word m+1
Input data 1
(Analog input 1)
Input data 1
(Analog input 1)
Input data 1
(Analog input 1)
Word m+2
Input data 2
(Analog input 2)
Input data 2
(Analog input 2)
Input data 2
(Analog input 2)
Word m+3
Input data 3
(Analog input 3)
Input data 3
(Analog input 3)
---
Word m+4
Input data 4
(Analog input 4)
Input data 4
(Analog input 4)
Word m+5
Input data 5
(Analog input 5)
---
Word m+6
Input data 6
(Analog input 6)
Output words
CPM2B-MAD63
CPM2B-MAD42
CPM2B-MAD21
Word n+1
Output data 1
(Analog output 1)
Output data 1
(Analog output 1)
Output data 1
(Analog output 1)
Word n+2
Output data 2
(Analog output 2)
Output data 2
(Analog output 2)
---
Word n+3
Output data 3
(Analog output 3)
---
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 ...