Bit Allocation; Programming And Adjustment; Programming - Omron CQM1 Operation Manual

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

Advertisement

Programming and Adjustment

3-2-2

Bit Allocation

Bit
15
14
Word
n
n + 1
3-3
Programming and Adjustment
3-3-1

Programming

Scaling
SCL3 Instruction
13
12
11
10
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.
Data is output to the words that have been allocated to the Output Unit. For
example, to output DM data, use the MOV (21) instruction as shown in the fol-
lowing ladder diagram.
Input condition
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.
The following is a program example for BCD output data stored in DM 0000.
Input condition
09
08
07
06
Output 1 Output data
Output 2 Output data
* "n" indicates the allocated word for analog output 1.
* "n" indicates the allocated word for analog output 1.
Section 3-3
05
04
03
02
MOV(21)
DM0000
CLC(41)
SCL3
DM 0000
DM 0100
01
00
n
n
123

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cqm1h - 08-2005

Table of Contents