
268
PC Format
Appendix C
Up to 255 words can be transferred at one time. For integer variables, however, only a maximum of 50 to 60
words can be transferred at one time. The following restrictions apply:
• A maximum of 255 characters can be written in one line.
• One variable must correspond to each word for integer variables.
Example:
H format
Up to 79 variables using 3 characters per variable (236
÷
3 = 79) can be written. Therefore, a maximum of 59
words can be transferred at one time.
PC READ Format Conversion Examples
I Type Format
A (ASCII) format mAn
m = 1 to 127
n = 1 to 3
Two
×
m characters from the
beginning of 1 character
variable are converted into
ASCII data (2 characters
correspond to 1 word), and is
stored in the leftmost/rightmost
byte position in each word
specified by n.
n = 1: Rightmost byte (leftmost
byte is 00
hex
)
n = 2: Leftmost byte (rightmost
byte is 00
hex
)
n = 3: Leftmost and rightmost
bytes
2A3:
The first 4 characters in 1
character variable is converted
to ASCII data, and stored to the
leftmost and rightmost bytes of
each word for 2 words.
S (array
variable) format
SmXn
Note: X is any of
I,H,O or B.
m = 1 to 255
n = similar to
each specified
format.
Data of n array variables is
converted to a data format
specified by X (any of BCD,
hexadecimal, octal, or bit) and
stored to each of m words.
Character string arrays cannot
be used as variables.
S2I2:
Data from 2 array variables is
converted to hexadecimal and
stored in each of 2 words.
Name
Format
Meaning
Example
1000 PC READ "59H4"; A0, A1, A2, . . . , B0, B1, . . . ,
19 characters
236 characters max.
1
2
3
4
5
6
7
8
n
n + 1
PC word data
Integer
variables
PC READ "I1"; J
→
J = 4
PC READ "I2"; J
→
J = 34
PC READ "I3"; J
→
J = 234
PC READ "I4"; J
→
J = 1234
Character
variables
PC READ "I1"; A$
→
A$ = "4"
PC READ "I2"; A$
→
A$ = "34"
PC READ "I3"; A$
→
A$ = "234"
PC READ "I4"; A$
→
A$ = "1234"
PC READ "2I4"; A$
→
A$ = "12345678"
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...