115
3-2-2 Bit Allocation
Bit
Word
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
n
n + 1
Output 1 Output data
Output 2 Output data
Note The shaded parts do not have any influence on the output voltage (current) of the
Analog Output Unit. All data is output in binary. Use a program to convert the
data from BCD.
3-3
Programming and Adjustment
3-3-1 Programming
Data is output to the words that have been allocated to the Output Unit. For ex-
ample, to output DM data, use the MOV (21) instruction as shown in the following
ladder diagram.
* “n” indicates the allocated word for analog output 1.
MOV(21)
DM0000
n
Input condition
Scaling
The conversion of a value in a certain range to an output voltage or current in a
certain range is called scaling.
An example for the conversion of data using the SCL3 and APR instructions is
provided below. The SCL3 instruction cannot be used with the CQM1-CPU11 or
CQM1-CPU21.
By using the SCL3 and APR instructions, output data conversion from the PC’s
data and data output can be performed simultaneously.
SCL3 Instruction
The following is a program example for BCD output data stored in DM 0000.
* “n” indicates the allocated word for analog output 1.
CLC(41)
SCL3
DM 0000
DM 0100
n
Input condition
Programming and Adjustment
Section 3-3
Содержание CQM1H - 08-2005
Страница 1: ...Cat No W238 E1 8 Dedicated I O Units CQM1H CQM1 series OPERATION MANUAL SYSMAC ...
Страница 2: ......
Страница 3: ...CQM1H CQM1Series Dedicated I O Units Operation Manual Revised August 2000 ...
Страница 4: ......
Страница 6: ......
Страница 12: ......
Страница 21: ...1 PART I B7A Interface Unit CQM1 B7A02 CQM1 B7A03 CQM1 B7A12 CQM1 B7A13 CQM1 B7A21 ...
Страница 22: ......
Страница 42: ......
Страница 45: ...25 PART II G730 Interface Unit CQM1 G7M21 CQM1 G7N01 CQM1 G7N11 ...
Страница 46: ......
Страница 62: ......
Страница 72: ......
Страница 74: ...Appendix A Specifications 54 Dimensions Common for Master and Expansion Master Unit mm ...
Страница 78: ......
Страница 79: ...59 PART III I O Link Unit CQM1 LK501 ...
Страница 80: ......
Страница 88: ......
Страница 92: ......
Страница 93: ...73 PART IV Analog Input Unit and Analog Power Supply Units CQM1 AD041 CQM1 IPS01 CQM1 IPS02 ...
Страница 94: ......
Страница 118: ......
Страница 120: ......
Страница 121: ...101 PART V Analog Output Unit and Analog Power Supply Units CQM1 DA021 CQM1 IPS01 CQM1 IPS02 ...
Страница 122: ......
Страница 126: ......
Страница 140: ......
Страница 142: ......
Страница 144: ......
Страница 156: ......
Страница 172: ......
Страница 186: ......
Страница 187: ...167 PART VII Linear Sensor Interface Units CQM1 LSE01 CQM1 LSE02 ...
Страница 188: ......
Страница 192: ......
Страница 204: ......
Страница 218: ......
Страница 238: ......
Страница 242: ......
Страница 246: ......
Страница 248: ......
Страница 250: ......