![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h-asc02/sysmac-c200h-asc02_operation-manual_742429130.webp)
125
Appendix D
Formatting and Data Conversion
Memory Area Designators for PC READ/PC WRITE Statements
Memory Area Designator
Address Range
@R
IR Area
0000 to 0255 PC READ
0000 to 0252 PC WRITE
@H
HR Area
0000 to 0099
@A
AR Area
0000 to 0027
@L
LR Area
0000 to 0063
@G
TC Area
0000 to 0511
@D
DM Area
0000 to 1999
Formatting and Data Conversion
Format
Meaning
Name
m I n
nth byte of m decimal words
I format
m H n
nth byte of m hexadecimal words
H format
m O n
nth byte of m octal words
O format
m B n
nth bit of of m binary words
B format
m A n
nth byte of m ASCII words
A format
Sm X n
nth bit/byte X (where X could be I, H, O or B) of m words
S format
Remarks:
When m is omitted, the default value is one.
When using the A format, one format designator corresponds to only one variable in the variable list: e.g., the
first format designator corresponds to the first variable in the list, the second format designator corresponds to
the second variable in the list, etc.
In all formats except A and S, one format designator can apply to many variables. For example:
“5H2”; A, B, C, D, E
This is the same as “1H2, 1H2, 1H2, 1H2, 1H2”; A, B, C, D, E.
All format designators must be in uppercase characters.
Under normal conditions, the maximum number of words that can be transferred at one time is 255. When
using the A or B formats, however, the maximum number of words that can be transferred is between 50 and
60.
I Format (mIn)
This format is used for decimal numbers (0 to 9):
m
: number of words
I
: decimal format designator
n
: the nth digit of the word
Digit n
Bit
15 14 13 12
11 10 9 8
7 6 5 4
3 2 1 0
1
–
–
–
x 10
0
2
–
–
x 10
1
x 10
0
3
–
x 10
2
x 10
1
x 10
0
4
x 10
3
x 10
2
x 10
1
x 10
0
Содержание SYSMAC C200H-ASC02
Страница 1: ...Cat No W165 E1 04 ASCII Unit SYSMAC C200H ASC02 ...
Страница 2: ...C200H ASC02 ASCII Unit Operation Manual Revised September 2002 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 7: ...TABLE OF CONTENTS viii Glossary 159 Index 163 Revision History 165 ...
Страница 122: ...Appendix B Specifications 115 130 35 100 5 ...
Страница 167: ...Cat No W165 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor ...
Страница 168: ...Cat No W165 E1 04 C200H ASC02 ASCII Unit OPERATION MANUAL ...