Omron CJ - INSTRUCTIONS Reference Manual page 866

Table of Contents

Advertisement

3. Instructions
• If an attempt is made to execute this instruction while the CJ1W-AD042 Analog Input Unit is being
initialized, it will not be executed and the Error Flag will turn ON. To ensure that the Unit is not being
initialized when this instruction is executed, use the High-speed I/O Unit Initialization Flag in a
normally closed condition for the instruction.
A330.00 (Special I/O Unit Initialization Flag for unit 0)
Example Programming
When CIO 0.00 is ON in the following example, the digital conversion of the input value of analog input
1 is read from the CJ1W-AD042 Analog Input Unit with unit number 3 and stored in CIO 2031 (in the
words allocated to Special I/O Unit with unit number 3 in the Special I/O Unit Area).
0.00
Words Allocated to Unit Number 3 (CIO 2030 to CIO 2039)
2030
2031
2032
2033
2039
828
AIDC
N
A
A330.03 (Special I/O Unit Initialization Flag for unit 3)
AIDC
N
D0
A
&1
Special I/O Unit Area
Digital conversion of input value for analog input 1
D0
&3
CJ1W-AD042 Analog Input Unit with unit number 3
Analog input number
1
Digital conversion
2
Read
3
4
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Input

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF