829
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Basic I/O Unit Instructions
3
AODC
AODC
Applicable Program Areas
Operands
N: Unit number
Specify the unit number between 0 and 95 using &0 to &95 decimal or #0000 to #005F hex.
A: Analog output number
Specify the analog output or outputs using a constant between &0 and &4 decimal or #0000 and #0004
hex.
&0 (#0000): Analog output 1 to the last analog output
&1 (#0001): Analog output 1
&2 (#0002): Analog output 2
&3 (#0003): Analog output 3
&4 (#0004): Analog output 4
z Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
ANALOG OUTPUT DIRECT
CONVERSION
AODC @AODC 217
Outputs the output set value for the specified ana-
log output number to the CJ1W-DA042V Analog
Output Unit in Direct Conversion Mode.
Symbol
AODC
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
N Unit number UNIT 1
A Analog output number UINT 1
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
N OKOKOKOKOKOKOKOK OK OK OK OK
---
OK
--- --- --- ---
A --- --- --- --- --- --- --- --- --- --- OK --- ---
N: Unit number
A: Analog output number
AODC
N
A