EasyManua.ls Logo

Omron CS1W-AD081-V1

Omron CS1W-AD081-V1
427 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
367
Sample Programs Appendix B
Unit Settings
Program Example
Data Flow (Unit Number 0):
Word CIO 2001 (A/D Conversion Value)
D00200 (Scaling Result)
The value of word CIO 2005 is scaled according to the linear function calculated using the offset (0000 Hex),
and the values of
X (1068 Hex) and Y (0315 Hex). The scaled value is then stored in word D00200.
DM Area Settings
0315
0300
0000
–0015
FF38
0.8 V 1 V
0000 0FA0
5 V
1068
5.2 V
0315
(nY)
1068 Hex
(nX)
Item Setting contents Actual settings
Unit CS1W-AD081-V1 ---
Unit number #0 Unit number switch: 00
Operation mode Normal mode Back-panel DIP switch: All OFF
Input number Input 1 used D20000 = 0001
Input signal range Input number 1, 1 to 5 V D20001 = 0002
SCL2
2001
D00100
D00200
Execution condition
D00100: 0000
D00101: 1068
D00102: 0315
Offset
nX value
nY value

Table of Contents

Related product manuals