Sharp JW-20CM User Manual page 228

Programmable controller
Table of Contents

Advertisement

(2) F-204
Send Data
F-204
SEND
F-204
Symbol
SEND
Specify the first address and byte count
of the send data for transmission across
Function
the satellite net.
S to S + n - 1
Operation
Range of n
000 to 377
]0000 to ]1577
b0000 to b1777
09000 to 09777
Range of S
99000 to 99777
[*1]
E0000 to E1777
When input signal is ON.
Condition
Contents
Unchanged
of S
Communication
contents
No response
from port [*2]
Communication
jam [*3]
After
Communication busy
operation
Flag
(waiting for response
from target station)
Nomal end
Abnomal end [*4]
(communication
error)
Remote station
write protected
• 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.
Setting range of "S" is for JW model PCs. For ZW model PCs, setting range is コ0000 to
[*1]
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.
n
s
Specified station
(256 bytes for 000
)
(8)
(8)
@]0000 to @]1574
@b0000 to @b1774
@09000 to @09774
:
:
@99000 to @99774
@E0000 to
Zero
Carry
Error
Non-carry
07357
07356
07355
07354
1
0
0
0
0
0
0
1
0
1
0
1
0
0
1
0
1
0
1
0
1
1
1
0
13
·
[Explanation]
14000
F-202
2-0-01
file 0 04000
OPCH
F-204
005
09000
SEND
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.
09000
001
Port 2
09001
002
Sending
09002
003
09003
004
09004
005
Response
Flag
27
Instruction
F-202
P.2
C.0
5.01
04000
F-204
005
09000
File 0
09000
001
01
09001
002
09002
003
09003
004
09004
005
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Jw-20rs

Table of Contents