
260
Analog Output Functions and Operating Procedures
Section 6-7
Writing Set Values
Analog output set values are written to CIO words (n+1) to (n+4).
For the CIO word addresses, n = CIO 2000 + (unit number x 10).
Use MOV(021) or XFER(070) to write values in the user program.
Example 1
In this example, the set value from only one input is read. (The unit number is
0.)
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, and the value set by the output hold function will be output.
Starting and Stopping
Conversion
To begin analog output conversion, turn ON the corresponding Conversion
Enable Bit (word n, bits 00 to 03) 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
.
Conversion will not begin under the following conditions even if the Conver-
sion Enable Bit is turned ON. Refer to
.
1,2,3...
1.
In adjustment mode, when something other than the output number is out-
put during adjustment.
2.
When there is an output setting error.
Word
Function
Stored value
n+1
Output 1 set value
16-bit binary data
n+2
Output 2 set value
n+3
Output 3 set value
n+4
Output 4 set value
MOV (021)
D00001
2001
Input condition
The set value stored in D 00001
is written to CIO word 2001 (out-
put number 1).
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
Output 2
Output 1
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.
Word n
Output 4
Output 3
Summary of Contents for CJ1W-AD041-V1
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x TABLE OF CONTENTS...
Page 15: ...xvi...
Page 99: ...76 Handling Errors and Alarms Section 2 8...
Page 191: ...168 Handling Errors and Alarms Section 4 8...
Page 243: ...220 Handling Errors and Alarms Section 5 8...
Page 381: ...358 Handling Errors and Alarms Section 7 10...
Page 385: ...362 Dimensions Appendix A...
Page 395: ...372 Sample Programs Appendix B...
Page 396: ...373 Appendix C Data Memory Coding Sheets...
Page 417: ...394 Data Memory Coding Sheets Appendix C...
Page 425: ......