Omron SYSMAC CPM2B Operation Manual page 131

Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Application Procedure
Analog input/output
I/O range
Analog input 1
4 to 20 mA
Analog input 2
4 to 20 mA
−10 to 10 V
Analog input 3
Analog input 4
0 to 10 V
Analog input 5
0 to 5 V
Analog input 6
Not used.
Analog output 1
4 to 20 mA
Analog output 2
4 to 20 mA
Analog output 3
0 to 10 V
Bit
15
14
1
0
Word n+1
(#8092)
1
0
Word n+2
(#8088)
1
0
Word n+3
(#8042)
First Cycle Flag
(turns ON for 1 cycle at
the start of operation)
25315
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
A/D conversion or D/A conversion processing will not be performed until the
range code is correctly set. After being set, the range code cannot be
changed during operation. The following tables show an example of range
code settings and how the range codes are set in the output words.
Range code
010
010
000
001
010
---
010
010
001
13
12
11
10
09
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Ladder Programming Example for Writing Range Codes
Use SR 25315 (First Cycle Flag: Turns ON for 1 cycle at the start of opera-
tion) and the MOV(21) instruction to write the range code settings. Once the
range code settings have been set, they are recorded by the Board when the
power is ON.
Sets the range codes for analog inputs 1 and 2, and analog output 1
MOV(21)
in output area word IR 014.
#8092
014
Sets the range codes for analog inputs 3 and 4, and analog output 2
MOV(21)
in output area word IR 015.
#8088
015
Sets the range codes for analog input 6 (and 5), and analog output 1
MOV(21)
in output area word IR 016.
#8042
016
Setting location
Word
Bits
Word n+1
00 to 02
03 to 05
Word n+2
00 to 02
03 to 05
Word n+3
00 to 02
03 to 05
Word n+1
06 to 08
Word n+2
06 to 08
Word n+3
06 to 08
08
07
06
05
04
0
1
0
0
1
Analog output 1
Analog input 2
0
1
0
0
0
Analog output 2
Analog input 4
0
0
1
0
0
Analog output 3
Analog input 6 (Not used.)
Section 6-4
03
02
01
00
0
0
1
0
Analog input 1
1
0
0
0
Analog input 3
0
0
1
0
Analog input 5
113

Advertisement

Table of Contents
loading

Table of Contents