Omron CS1W-AD041-V1 Operation Manual page 390

Sysmac cs/cj series
Table of Contents

Advertisement

Sample Programs
Unit Settings
Item
Unit
Unit number
Operation mode
Input number
Input signal range
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
0000
0.8 V 1 V
Setting contents
CS1W-AD081-V1
#0
Normal mode
Input 1 used
Input number 1, 1 to 5 V
Execution condition
D00100: 0000
D00101: 1068
D00102: 0315
0FA0
1068
5 V
5.2 V
1068 Hex
(nX)
---
Unit number switch: 00
Back-panel DIP switch: All OFF
D20000 = 0001
D20001 = 0002
SCL2
Offset
X value
Y value
Appendix B
0315
(nY)
Actual settings
2001
D00100
D00200
367

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents