Receive data, F-205 rcv – Sharp JW-20CM User Manual

Page 229

Advertising
background image

13

·

28

(3) F-205

F-205

RCV

Receive Data

• Even addresses must always be used for indirect addressing (@∫0001, @b0173, etc. are

prohibited).

• For details of indirect addressing, see PC's programming manual.

• F-205 instruction must always be used in conjunction with the F-202 (OPCH) instruction.

• After turning ON the input signal of F-205, keep it ON until the finish of the execution of the

instruction. If the input signal is turned OFF during execution of the instruction, the instruction

ends in an incomplete condition. Under this condition, next, when an F-205 instruction is given, it

will come to a “communication jam,” and the instruction will not be executed. Turn the power OFF

and then ON again for recovery.

[*1]

Setting range of “S” is for JW model PCs. For ZW model PCs, setting range is 0000 to

19777.

[*2]

In case that the network module of the assigned module number is not installed.

[*3]

In case that the channel is used with the other SEND/RECEIVE instruction.

This instruction is executed after end of execution of the previously given instruction, and

flag sign is changed into “communication busy” from “communication jam.”

[*4]

In case that response from target station does not come within the time-out time.

Symbol

Function

Operation

Range of n

Range of D

Condition

Contents
of D

F-205

RCV

Specify the first address and byte count
of the receive data for transmission
across satellite net.

000 to 377

(8)

(256 bytes for 000

(8)

)

Specified station

D to D + n - 1

When input signal is ON.

Unchanged

n

D

Communication

contents

0

0

1

0

0

0

0

0

1

1

1

0

0

0

1

0

1

1

0

0

F-202

OPCH

2.0.04

14003

0

04000

F-205

RCV

006

19000

20

10

07

04

01

09004

30

09005

09003

09002

09001

09000

20

10

07

04

01

09004

30

09005

09003

09002

09001

09000

04

After
operation

Zero

07357

Carry

07356

Error

07355

Non-carry
07354

No response
from module [*2]
Communication
jam [*3]
Communication busy
(waiting for response
from target station)
Nomal end

Abnomal end [*4]
(communication
error)

[Explanation]

Instruction

S T R
F-202

F-205
006

P.2
C.0
S.04
0
04000

19000

When the input condition of 14003 changes from OFF to ON,
this instruction reads 6 bytes of data from file 0's file area
beginning with file address 04000 on satellite net station 04,
via CH0 of port No. 2. The data read is stred to registers
19000 to 19005.

Port 2

Flag

Response

File 0

Target station

Received data

] 0 0 0 0 t o ] 1 5 7 7
b 0 0 0 0 t o b 1 7 7 7
0 9 0 0 0 t o 0 9 7 7 7

:

9 9 0 0 0 t o 9 9 7 7 7

E

0 0 0 0 t o

E

1 7 7 7

Specify target
station

Sending

[*1]

@ ] 0 0 0 0 t o @ ] 1 5 7 4
@ b 0 0 0 0 t o @ b 1 7 7 4
@ 0 9 0 0 0 t o @ 0 9 7 7 4
:
@ 9 9 0 0 0 t o @ 9 9 7 7 4
@E0000 to @E1774

Advertising
This manual is related to the following products: