Ladder Programming Example - Omron SYSMAC C Series Operation Manual

Analog i/o units
Hide thumbs Also See for SYSMAC C Series:
Table of Contents

Advertisement

Functions and User Programming
Sign bit, bit 11

2-3-2 Ladder Programming Example

Connections
IR 001
IR 002
Input
point 1
Input
point 2
Analog Input Unit Output Unit
Relationship Between Input Signals and A/D Conversion Data
Decimal equivalent
of binary code
–10 V
(–5 V)
The following example program uses a 1 to 5 V input-range Analog Input Unit to
convert two different analog input signals to 4-digit BCD values (4,095 maxi-
mum) and outputs the result.
IR 003
Input point 1
4-digit BCD
output.
0
00
0
1
01
1
2
02
2
3
03
3
0
X 10
4
04
4
5
05
5
6
06
6
7
07
7
1
X 10
8
COM
8
9
08
9
10
09
10
11
10
11
12
11
12
2
X 10
13
12
13
14
13
14
15
14
15
16
15
16
3
X 10
17
COM
17
18
18
19
19
Output Unit
0 V
IR 004
Input point 2
4-digit BCD
output.
00
01
02
03
0
X 10
04
05
06
07
1
X 10
COM
08
09
10
11
2
X 10
12
13
14
15
3
X 10
COM
Section 2-3
Analog input
10 V
(5 V)
IR 005
0
00
Input point 1
1
01
disconnected
output
2
02
3
03
4
04
5
05
6
06
7
07
8
COM
9
08
Input point 2
10
09
disconnected
output
11
10
12
11
13
12
14
13
15
14
16
15
17
COM
18
19
Output Unit
15

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC C Series and is the answer not in the manual?

Table of Contents