Starting And Stopping Conversion - Omron SYSMAC C200H-AD003 Operation Manual

Analog i/o units
Hide thumbs Also See for SYSMAC C200H-AD003:
Table of Contents

Advertisement

Analog Output Functions
Example 1
Input condition
Example 2
Input condition

4-6-4 Starting and Stopping Conversion

1, 2, 3...
88
Use MOV(21) or XFER(70) to write values in the user program.
In this example, the set value from only one input is read. (The unit number is
#0.)
In this example, multiple set values are written. (The unit number is #0.)
Note Turn ON the Conversion Enable Bit for converting set values into analog output.
To begin analog output conversion, turn ON the corresponding Conversion En-
able Bit (word n, bits 00 and 01) from the user's program.
Bit
15
14
Word n
For the IR word addresses, n = 100 + 10 x unit number.
For Units #A to #F (10 to 15), n = 400 + 10 x (unit number – 10).
The analog output when conversion is stopped will differ depending on the out-
put signal range setting. (Refer to 4-6-1 Setting Outputs and Signal Ranges.)
Conversion will not begin under the following conditions even if the Conversion
Enable Bit is turned ON.
1. In adjustment mode, when something other than the output number is out-
put during adjustment. (Refer to 3-6-1 Adjustment Mode Operational Flow.)
2. When there is an output setting error. (Refer to 4-8-3 Output Offset and Gain
Adjustment Procedures and 4-9-2 Errors Detected by Analog I/O Unit.)
3. When a fatal error occurs at the PC. (Refer to the C200HX/HG/HE Program-
ming Manual.)
In this example, conversion is begun for analog output number 1. (The unit num-
ber is #0.)
Input condition
The set value stored in DM 0001
MOV (21)
is written to IR word 101 (output
DM0001
number 1).
101
XFER(70)
The set values stored in DM 0001
#0002
and DM 0002 are written to IR words
101 and 102 (outputs 1 and 2).
DM0001
101
13
12
11
10
09
08
Section
07
06
05
04
03
02
Analog conversion is executed while
these bits are ON. When the bits are
turned OFF, the conversion is stopped
and the output data is held. (Refer to
4-6-2 Output Hold Function.)
Conversion
10000
begins for
output
number 1.
4-6
01
00

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200h-da003Sysmac c200h-da004Sysmac c200h-mad01

Table of Contents