beautypg.com

Juniper Systems JS600 User Manual

Page 51

background image

Sending and Receiving Information Page 5-9

Sample program:

10

OPEN COM1: AS #1

20

OPEN DATAFILE AS #2

30

PRINT #1, A

40

INPUT #1, DATA$

50

IF DATA$ = EOF THEN END

60

PRINT #2, DATA$

70

GO TO 30

80

END

The program transmits A as the line request character and checks each input line to see if it
is the end-of-file character string. The FieldBook responds with a line of data followed by the
end-of-line sequence.

Transmitting to Another FieldBook
Sending FieldBook
The transmission communication parameters must be set up on the sending FieldBook in
Mode 5-2. To transmit information, the sending FieldBook must be in Mode 2-1 to transmit
data, 2-2 to transmit a file, or 2-3 to transmit a memory image, as outlined in the following
pages.

Receiving FieldBook
The communication parameters for loading must be set up on the receiving FieldBook in
Mode 5-2. To load information, the receiving FieldBook must be in Mode 3-1 to load data,
3-2 to load a file, or 3-3 to load a memory image. Refer to Loading Information From Another
Device
later in this section.

Mode 2-1: Transmitting Data From a Data File

You can transmit data from a data file to a computer, printer, or another FieldBook using
Mode 2-1, Transmit Serial Data.

After you are sure that the FieldBook and the other device are communicating properly,
enter Mode 2-1 on the FieldBook. The following screen is displayed:

XMIT SER DATA

Enter the filename containing the data to be

FILE:

transmitted or select the name using the right or
left arrow key.