Sharp JW-20CM Computer Hardware User Manual


 
13·27
(2) F-204
F-204
SEND
Send 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-204 instruction must always be used in conjunction with the F-202 (OPCH) instruction.
•After turning ON the input signal of F-204, 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-204 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 the target station does not come within the time-out time.
Symbol
Function
Operation
Range of n
Range of S
Condition
Contents
of S
F-204
SEND
Specify the first address and byte count
of the send data for transmission across
the satellite net.
000 to 377
(8)
(256 bytes for 000
(8)
)
]0000 to ]1577
b0000 to b1777
09000 to 09777
:
99000 to 99777
E0000 to E1777
S to S + n - 1 Specified station
When the input condition of 14000 changes from OFF to ON,
this instruction sends the contents (5 bytes data) of registers
09000 to 09004 file 0's file area beginning with address 04000
(register 09000) on satellite net station 01, via CH0 of port No. 2.
When input signal is ON.
Unchanged
ns
Communication
contents
Zero
07357
Carry
07356
Error
07355
Non-carry
07354
0
0
1
0
0
1
0
0
0
1
1
1
1
0
0
0
1
1
0
1
1
0
0
0
F-202
OPCH
2-0-01
[Explanation]
14000
file 0
04000
F-204
SEND
005 09000
005
004
003
002
001
09004
09003
09002
09001
09000
005
004
003
002
001
09004
09003
09002
09001
09000
01
Port 2
After
operation
Flag
No response
from port [*2]
Communication
jam [*3]
Communication busy
(waiting for response
from target station)
Nomal end
Abnomal end [*4]
(communication
error)
Remote station
write protected
Instruction
F-202
F-204
005
P.2
C.0
5.01
04000
09000
Flag
Response
Target station
File 0
@]0000 to @]1574
@b0000 to @b1774
@09000 to @09774
:
@99000 to @99774
@E0000 to
Sending
[*1]