Individual Start Of An Adc Channel - Siemens Simatic M7-400 Reference Manual

Programmable controllers module specifications
Hide thumbs Also See for Simatic M7-400:
Table of Contents

Advertisement

Table 13-42
Meaning of the Control Bits in the Analog Input Function (IF 961-AIO)
Offset
Address
D15
I
A
08
N
0
H
C
T
0A
0
0
0
H
0C
0
0
0
H
0E
x
x
x
H
ta = 000
ta = 001
ta = 010
ta = 011
ta = 100
AC = 1
INT = 1
ADC channel no.
ADC = 001
ADC = 010
ADC = 011
ADC = 100
SC = 1
Status After Switching On
Control register 1:
Control register 2:
Status register ADC:

Individual Start of an ADC Channel

Below are listed the steps required for individual encoding in the case of an ADC
channel:
1. Select the ADC input channel by writing the channel number into control register
2 (offset address "0A
2. Start the ADC conversion by setting the SC bit in the status register ADC to "1"
(offset address "0C
3. Read bit "EOC" in the status register ADC at offset address (0C
EOC = 1.
4. Read the analog value at the relevant address (offset addresses "00
S7-400, M7-400 Programmable Controllers Module Specifications
A5E00069467-07
Writing
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
x
x
x
x
x
x
5.7 ms cycle time of the automatic conversion function
2.8 ms
1.3 ms
600 µs
185 µs
Automatic conversion of all ADC channels active
Generation of an interrupt after end of cycle
Number of the selected ADC channel:
channel 0
channel 1
channel 2
channel 3
Start of analog-digital conversion, (SC = Start of conversion in the case of individual
encoding)
AC = 0, INT = 0, ta = 0 ⇒ 5.7 ms
ADC = 001 ⇒ ADC channel no. = 0
SC = 0
").
H
").
H
D0
0
0
0
0
ta
ta
ADC
0
0
0
0
channel no.
0
0
0
0
0
0
x
x
x
x
x
x
Interface Submodules
Remark
ta
Control register 1
Control register 2
S
Status register ADC
C
Acknowledge
x
interrupt
x = any
) and wait until
H
" to "06
").
H
H
13-49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-400S7-400M7-400

Table of Contents