Omron CQM1H - PROGRAM Programming Manual page 322

Programmable controllers; inner boards
Table of Contents

Advertisement

Conversion Instructions
Digit Designator
Flags
Example
Up to four digits from four consecutive source words starting with S may be
encoded and the digits written to R in order from the designated first digit. If
more digits are designated than remain in R (counting from the designated
first digit), the remaining digits will be placed at digits starting back at the
beginning of R.
The final word to be converted (S plus the number of digits to be converted)
must be in the same data area as SB.
The digits of Di are set as shown below.
Digit numbers: 3 2 1 0
Some example Di values and the word-to-digit conversions that they produce
are shown below.
Di: 0011
S
S + 1
Di: 0013
S
S + 1
ER:
Undefined digit designator, or S plus number of digits exceeds a data
area.
Content of a source word is zero.
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
When 00000 is ON, the following diagram encodes IR words 010 and 011 to
the first two digits of HR 10 and then encodes LR 10 and 11 to the last two
digits of HR 10. Although the status of each source word bit is not shown, it is
assumed that the bit with status 1 (ON) shown is the highest bit that is ON in
the word.
Specifies the first digit to receive converted data (0 to 3).
Number of words to be converted (0 to 3)
0: 1 word
1: 2 words
2: 3 words
3: 4 words
Not used.
Di: 0030
R
0
S
1
S + 1
S + 2
2
3
S + 3
Di: 0032
R
S
0
S + 1
1
S + 2
2
S + 3
3
Section 5-20
R
0
1
2
3
R
0
1
2
3
297

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF