3. Instructions
826
CS/CJ/NSJ Series Instructions Reference Manual (W474)
AIDC
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 input number
Specify the analog input or inputs using a constant between &0 and &4 decimal or #0000 and #0004
hex.
&0 (#0000): Analog input 1 to the last analog input
&1 (#0001): Analog input 1
&2 (#0002): Analog input 2
&3 (#0003): Analog input 3
&4 (#0004): Analog input 4
z Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
ANALOG INPUT DIRECT
CONVERSION
AIDC @AIDC 216
Reads the input conversion value of the specified
analog input number from the CJ1W-AD042 Ana-
log Input Unit in Direct Conversion Mode.
Symbol
AIDC
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 input 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 input number
AIDC
N
A