329
Analog Output Functions and Operating Procedures Section 7-7
Example 2 In this example, multiple set values are written. (The unit number is #0.)
Note If the set value has been written outside the specified range, an output setting
error will occur.
7-7-2 Conversion Time and Resolution Setting
Bits 08 to 15 in DM word m+18 can be used to set the conversion time and
resolution for the CJ1W-MAD42 to increase speed and accuracy.
This setting applies to analog inputs 1 to 4, i.e., there are not individual set-
tings for each input.
Note After making the DM settings from a Programming Device, it will be necessary
to either turn the power to the PLC OFF and ON, or turn ON the Special I/O
Unit Restart Bit in order to transfer the contents of the DM settings to the Spe-
cial I/O Unit.
Starting and Stopping
Conversion
To begin analog output conversion, turn ON the corresponding Conversion
Enable Bit (word n, bits 00 and 01) from the user’s program.
For the CIO word addresses, n = CIO 2000 + (unit number x 10).
The analog output when conversion is stopped will differ depending on the
output signal range setting and output hold setting. Refer to Setting Outputs
and Signal Ranges on page 327 and 7-7-3 Output Hold Function.
Conversion will not begin under the following conditions even if the Conver-
sion Enable Bit is turned ON. Refer to 7-7-3 Output Hold Function.
1,2,3... 1. In adjustment mode, when something other than the output number is out-
put during adjustment.
2. When an output setting value occurs.
3. When a fatal error occurs at the PLC.
XFER(070)
#0004
D00001
2001
Input condition
The set values stored in D 00001
to D 00004 are written to CIO words
2001 to 2004 (outputs 1 to 4).
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Bit
D(m+18)
00: Conversion time = 1 ms, resolution = 4,000
C1: Conversion time = 500
µs, resolution = 8,000
(m = D20000 + unit number x 100)
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Bit
Output 2
Output 1
Word n
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.