Sharp JW-50FL 用户手册
![Sharp](https://files.manualsbrain.com/attachments/09c3752719497cddb7682a2870f2b01d664ac839/common/fit/150/50/128db0ff9ffd18d046ef9a246eb7bdc77b15206699c58d5f48a715e1dba1/brand_logo.png)
11-2
Chapter 11: SEND/RECEIVE function
11
F-203
OPCH
UN-
CH-ST fileN
CH-ST fileN
F-204
SEND
n
S
D
Flag status during and after the operation
Zero
07357
Carry
07356
Error
07355
Non-
carry
07354
Description
No response
from the module
(board)
0
0
1
0
Set value on the UN and module No. switch set
value of the communication module are different.
Communi-
cation jam
cation jam
0
0
0
1
This condition may instantaneously occur while
other send instruction is being executed.
other send instruction is being executed.
However, as soon as the condition becomes clear
for the execution of an instruction, the status will
turn to "Communicating."
turn to "Communicating."
Communi-
cating
1
0
0
1
The communicating is being run. Once the
communication completes, the status will change
to either "normal end" or "abnormal end."
communication completes, the status will change
to either "normal end" or "abnormal end."
Normal end
0
1
0
0
When the send instruction has successfully
completed.
completed.
Abnormal end
(timeout)
0
1
1
0
When there is no response from target node.
Abnormal end
(error)
1
1
1
0
The target node cannot be written to.
Flag
Send
Response
S ->
D ->
n
Target node
file N
This node
file 0
CH number
corresponding to
the UN number
corresponding to
the UN number
- Setting range of S
コ
0000 to
コ
1577
コ
2000 to
コ
7577
b0000 to b1777
b2000 to b3777
09000 to 99777
E0000 to E7777
File1 000000 to 037777
@
b2000 to b3777
09000 to 99777
E0000 to E7777
File1 000000 to 037777
@
コ
0000 to @
コ
1574
@
コ
2000 to @
コ
7574
@b0000 to @b1774
@b2000 to @b3774
@09000 to @99774
@E0000 to @E7774
File1 @000000 to @037774
@b2000 to @b3774
@09000 to @99774
@E0000 to @E7774
File1 @000000 to @037774
11-1 Operation of SEND/RECEIVE instruction
[1] SEND
This function operates by the combination of F-203 (OPCH) and F-204 (SEND).
(1) When the module is used (host PC: JW30H, J-board (Z-500 series))
UN
: Module No. switch set value of the module (0 to 6).
CH
: Channel number within the specified module (board) (0 to 3).
In the PC program, the same port number can be called 4
times, once for each channel (CH0, CH1, CH2, and CH3).
times, once for each channel (CH0, CH1, CH2, and CH3).
ST
: Target node number (01 to FE
(H)
)
fileN
: Data area in the target node PC (file number)
D
: Top file address of the data area in the target node PC
n
: Number of data bytes transmitted (000 to 377
(8)
, 256 bytes at
000)
S
: Data area top register of source station data