Sharp JW-20RS Computer Hardware User Manual


 
13·29
[Example 2] In case of reading data of 8 bytes to slave station 01(8)
Module number installing own station JW-20CM : 2
Channel number using own station JW-20CM : 0
Data area of slave station 01(8) : 0 (file number)
Send top address of slave station 01(8) : Register 19000 (file address 05000(8))
Receive data top address of own station : 09000
Own station register
09000
09001
09002
09003
09004
09005
09006
09007
Receiving data
001
002
003
004
005
006
007
010
Target station register
19000
19001
19002
19003
19004
19005
19006
19007
Reading data
Sending
Response
Port 2
CH0
001
002
003
004
005
006
007
010
Assign target
station
Flag
0 1
(8)
Target Station
PC program
Set receiving relay (14000)
Port No.2, CH0, station number 01
(8)
File number 0
File address 05000
(8)
Receiving data of 8 bytes stored register
09000 and after
Detect non-execution after turning ON
power (Flag does not change for 1
second)
End of execution and the program resets
14000
F-32
SET
14000
Switch
00000
F–44
F-33
RST
14000
T000
07355
07356
F–44
F-202
OPCH
2-0-01 file 0
TMR
000
F-205
RCV
010 09000
0010
005000
Receiving relay
14000
14000 07354
Non-carry
07355
Error
Error
07356
Carry
Carry
07357
Zero