Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 547

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Conversion Instructions
Di: #0011
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost
Rightmost
Di: #0130
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost
Rightmost
Leftmost
Rightmost
Flags
Example
Di: #0112
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost
Name
Label
Error Flag
ER
When CIO 000000 is ON in the following example, ASC(086) converts three
hexadecimal digits in D00100 (beginning with digit 1) into their ASCII equiva-
lents and writes this data to D00200 and D00201 beginning with the leftmost
byte in D00200. In this case, a digit designator of #0121 specifies no parity,
the starting byte (when writing) = leftmost byte, the number of digits to read =
3, and the starting digit (when reading) = digit 1.
S
Di
D
Digits
S: D00100
D:
With CPU Units with unit version 4.0 of later, there are instructions to convert
4, 8, and 16 digits of numeric data to ASCII (STR4(524), STR8(527), and
STR16(528)).
Digit 3 Digit 2 Digit 1 Digit 0
Rightmost
Operation
ON if the content of Di is not within the specified ranges.
OFF in all other cases.
Di: #
Number of digits
Starting digit
Starting byte
(leftmost byte)
Section 3-12
Di: #0030
Leftmost
Rightmost
Rightmost
Leftmost
507

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents

Save PDF