Formatting and Data Conversion
Appendix D
128
Format
Meaning
SmIn
Indicates an array in decimal format.
SmHn
Indicates an array in hexadecimal format.
SmOn
Indicates an array in octal format.
SmBn
Indicates an array in binary format.
Remarks:
Each S Format designator corresponds to one variable from the variable list: the first designator corresponds
to the first variable in the list, etc.
The array variables must be one dimensional. Each array variable in the list must indicate (with a subscript) a
specific element within the array. The number of words to be written to or read from the array will be increm-
ented from the specified element. For example: if the array variable T(4) is specified in a READ statement and
the corresponding format is S100I4, then 100 words will be read from the array, starting at T(4) and ending at
T(104).
Example:
PC READ “S100I4, S75H2, S80O3”; A(1), B(11), C(51)
A(1) to A(100): A hundred words of 4-digit decimal data indicated by S100I4 are read to these variables.
B(11) to B(85): Seventy-five words of 2-digit hexadecimal data indicated by S75H2 are read to these vari-
ables.
C(51) to C(130): Eighty words of 3-digit octal data indicated by S80O3 are read to these variables.
Содержание 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 ...