EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #441 background imageLoading...
Page #441 background image
403
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Conversion Instructions
3
ASC
Example Programming
When CIO 0.00 is ON in the following example, ASC(086) converts three hexadecimal digits in D100
(beginning with digit 1) into their ASCII equivalents and writes this data to D200 and D201 beginning
with the leftmost byte in D200. 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.
z Example of ASCII code conversion
* Parity bit - changes according to the parity specification.
Content of conversion data digits Conversion output data
Value Bit content Code (MSB) bit content (LSB)
00000#30*0110000
10001#31*0110001
20010#32*0110010
30011#33*0110011
40100#34*0110100
50101#35*0110101
60110#36*0110110
70111#37*0110111
81000#38*0111000
91001#39*0111001
A1010#41*1000001
B1011#42*1000010
C1100#43*1000011
D1101#44*1000100
E1110#45*1000101
F1111#46*1000110
S
D
S: D100
D: D200
D201
Di: #
Number of digits
Digits
Di
Starting digit
Starting byte
(leftmost byte)
D100
D200
0.00

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals