Omron CQM1 Operation Manual page 143

Sysmac cqm1h/cqm1 series dedicated i/o units
Hide thumbs Also See for CQM1:
Table of Contents

Advertisement

Programming and Adjustment
APR Instruction
124
If the following DM settings are made, the scaling as shown in the following
graph will be performed.
DM 0100
0030
(Hexadecimal)
(BCD)
DM 0101
0100
(Hexadecimal)
DM 0102
0200
(Hexadecimal)
DM 0103
0400
DM 0104
FC00
(Hexadecimal)
Output data (Hexadecimal)
*1
(4) 0400
( 5 V)
0230
(1) 0030
–9999 *2
*1: Output data is hexadecimal.
*2: By executing the STC (40) instruction instead of the CLC (41) instruction, turning the carry
(25504) ON, and executing the SLC3 instruction, the input value of the SLC3 instruction for
DM 0000 will be treated as a negative value.
The following is a program example for BCD output data stored in DM 0000
Input condition
* "n" indicates the allocated word for analog output 1.
(1)
Offset
(2)
Gain (graph gradient)
(3)
(3)/(2)
(4)
Upper limit
(5)
Lower limit
100 (2)
0200 (3)
0100
9999
FC00 (5)
(–5 V)
Section 3-3
Value of DM 0000
(Input data)
(BCD)
APR
DM0100
DM0000
n

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cqm1h - 08-2005

Table of Contents