![YOKOGAWA F3RS22-0N User Manual Download Page 46](http://html1.mh-extra.com/html/yokogawa/f3rs22-0n/f3rs22-0n_user-manual_3494923046.webp)
4-15
IM 34M6H21-01E
2nd Edition : Aug, 2001-00
4.5 Special
Communications
Long Text
Be careful when handling long text (exceeding 512 bytes). All the following conditions
must be satisfied during sending.
- Data size transferred from a BASIC program to the communications driver is less
than 1 KB (including terminators)
- Line data after code conversion is less than 1 KB (including terminators)
(Example 1) Simple string variable
10 DIM
A$512,B$500,
100 OUTPUT 5,2;A$;B$
(Example 2) An entire array
10 OPTION
BASE1
20 DIM BUFF$ 500(2)
100 OUTPUT 5,2;BUFF$(*)
Similarly, during receiving, all the following conditions have to be satisfied.
- Line text is less than 1 KB (including terminators)
- Data size transferred to the input variable of the BASIC program is less than 1 KB
(including terminators)
In the YM-BASIC/FA language specifications, a string variable has a maximum size of
512 bytes. Therefore, the input is performed by specifying 2 or more variables. Note
that if a 2-byte code (Katakana, Kanji, etc.) spans a variable boundary, the character
cannot be read.
(Example 1) Simple string variable
10 DIM
A$512,B$512
20 ASSIGN
RS22=5
30 ENTER
5,2;A$,B$
(Example 2) An entire array
10 OPTION BASE 1
20 DIM BUFF$512(2)
30 ASSIGN RS22=5
40 ENTER 5,2;BUFF$(*)
Binary Transmission
Binary transmission sends binary bit patterns instead of character codes on the line.
It is used primarily for sending numeric data. It can be sent in the NOFORMAT
specification (Type III).
It can be received in the NOFORMAT specification (Type III) without any terminator and
using the character-to-character interval timer.
Under normal circumstances, use fixed text length transmission. In the case of
variable-length text, the text length can be determined with the IOSIZE function.
X
ON
/X
OFF
control is not available during binary transmission.
Summary of Contents for F3RS22-0N
Page 11: ...Blank Page...
Page 15: ...Blank Page...
Page 28: ...3 3 IM 34M6H21 01E 2nd Edition Aug 2001 00 External Dimensions Unit mm 83 2 28 9 2 12 1 100...
Page 31: ...Blank Page...
Page 59: ...Blank Page...
Page 63: ...Appx 3 2 IM 34M6H21 01E 2nd Edition Aug 2001 00 Blank Page...
Page 65: ...Blank Page...