Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 708

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Scaling 1 to 5-V Analog Input to –200 to 200
In the following example, it is assume that an analog signal from 1 to 5 V is converted and input to CIO
2005 as 0000 to 0FA0 hexadecimal. SCL2(486) is used to convert (scale) the value in CIO 2005 to a
value between –0200 and 0200 BCD.
When CIO 0.00 is ON, the contents of CIO 2005 is scaled using the linear function defined by
(0FA0), Y (0400), and the offset (07D0). These values are contained in D100 to D102, and the result is
output to D200.
0.00
P1
R
CS/CJ/NSJ Series Instructions Reference Manual (W474)
D100
Contents of R (D200)
D200
Offset
07D0 Hex
0FA0 Hex
( X)
P1:
D100
P1+1:
D101
0 F A
P1+2:
D102
0400 ( Y)
Contents of S (CIO 200)
3. Instructions
X
Offset
X
0
Y
3
671

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents