Omron SYSMAC C200H-ASC02 Operation Manual page 131

Ascii unit
Hide thumbs Also See for SYSMAC C200H-ASC02:
Table of Contents

Advertisement

Formatting and Data Conversion
Example:
2I3 ... Indicates 2 decimal words of 3 digits each.
H Format (mHn)
This format is used for hexadecimal numbers (0 to F):
m
: number of words
H
: hexadecimal format designator
n
: the nth digit of the word
Digit n
1
2
3
4
Example:
3H4 ... Three hexadecimal words of 4 digits each.
O Format (mOn)
This format is used for octal numbers (0 to 7):
m
: number of words
O
: octal format designator
n
: the nth byte of the word
Digit n
1
2
3
4
Example:
4O2 ... Indicates four octal words of two digits each.
B Format (mBn)
This format is used for binary numbers (0 to 1):
m
: number of words
B
: binary format designator
n
: the nth bit of the word
126
11 10 9 8
15 14 13 12
2
x 16
3
2
x 16
x 16
11 10 9 8
15 14 13 12
2
x 8
3
2
x 8
x 8
Bit
7 6 5 4
3 2 1 0
0
x 16
1
0
x 16
x 16
1
0
x 16
x 16
0
1
x 16
x 16
Bit
7 6 5 4
3 2 1 0
0
x 8
1
0
x 8
x 8
1
0
x 8
x 8
0
1
x 8
x 8
Appendix D

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents