117
If the following DM settings are made, the scaling as shown in the following
graph will be performed.
In this example, BCD data between 0 to 1000 will be scaled in order to output a
current of 4 to 20 mA.
Polygonal coordinate points and parameter data format
(Refer to the Analog Output Unit Operation Manual for details.)
DM 0100
DM 0101
DM 0102
DM 0103
DM 0104
4000
03E8
019A
03E8
07FF
(Hexadecimal)
→
(Hexadecimal)
→
(1) X axis maximum value
(Hexadecimal)
→
(2) Y axis intersection
(Hexadecimal)
→
(Hexadecimal)
→
Coordinate of (3)
0
07FF
(20 mA)
(2) 019A
(4 mA)
(3)
1000 (1)
(03E8 hexadecimal)
Value of DM 0000
(Input data)
(BCD)
Output data (hexadecimal)
It is possible to convert data into a polygonal line as shown below. Refer to the
linear approximation description for ARITHMETIC PROCESS – APR(––) in
Section 5 of the CQM1/CPM1 Programming Manual (W228) for details.
It is not possible to use the APR instruction to obtain negative output (2’s com-
plement). If required, execute the APR instruction in a positive range and con-
vert it to negative output using a program. The following is an example of a pro-
gram that converts data in a range of 0000 to 0FFF to data in a range of 8000 to
07FF.
* “n” indicates the allocated word for analog output 1.
Input condition
CMP(20)
#0800
APR result
ORW(35)
#F800
APR result
n
MOV(21)
APR result
n
25505 (> flag)
25505 (> flag)
Programming and Adjustment
Section 3-3
Summary of Contents for CQM1H - 08-2005
Page 1: ...Cat No W238 E1 8 Dedicated I O Units CQM1H CQM1 series OPERATION MANUAL SYSMAC ...
Page 2: ......
Page 3: ...CQM1H CQM1Series Dedicated I O Units Operation Manual Revised August 2000 ...
Page 4: ......
Page 6: ......
Page 12: ......
Page 21: ...1 PART I B7A Interface Unit CQM1 B7A02 CQM1 B7A03 CQM1 B7A12 CQM1 B7A13 CQM1 B7A21 ...
Page 22: ......
Page 42: ......
Page 45: ...25 PART II G730 Interface Unit CQM1 G7M21 CQM1 G7N01 CQM1 G7N11 ...
Page 46: ......
Page 62: ......
Page 72: ......
Page 74: ...Appendix A Specifications 54 Dimensions Common for Master and Expansion Master Unit mm ...
Page 78: ......
Page 79: ...59 PART III I O Link Unit CQM1 LK501 ...
Page 80: ......
Page 88: ......
Page 92: ......
Page 93: ...73 PART IV Analog Input Unit and Analog Power Supply Units CQM1 AD041 CQM1 IPS01 CQM1 IPS02 ...
Page 94: ......
Page 118: ......
Page 120: ......
Page 121: ...101 PART V Analog Output Unit and Analog Power Supply Units CQM1 DA021 CQM1 IPS01 CQM1 IPS02 ...
Page 122: ......
Page 126: ......
Page 140: ......
Page 142: ......
Page 144: ......
Page 156: ......
Page 172: ......
Page 186: ......
Page 187: ...167 PART VII Linear Sensor Interface Units CQM1 LSE01 CQM1 LSE02 ...
Page 188: ......
Page 192: ......
Page 204: ......
Page 218: ......
Page 238: ......
Page 242: ......
Page 246: ......
Page 248: ......
Page 250: ......