beautypg.com

Sharp JW-20CM User Manual

Page 230

background image

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

0 9 0 0 0
0 9 0 0 1
0 9 0 0 2
0 9 0 0 3
0 9 0 0 4
0 9 0 0 5
0 9 0 0 6
0 9 0 0 7

Receiving data

0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 1 0

Target station register

1 9 0 0 0
1 9 0 0 1
1 9 0 0 2
1 9 0 0 3
1 9 0 0 4
1 9 0 0 5
1 9 0 0 6
1 9 0 0 7

Reading data

Sending

Response

Port 2

CH0

0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 1 0

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 - 3 2

S E T

14000

Switch

00000

F – 4 4

F - 3 3

R S T

14000

T000

07355

07356

F – 4 4

F - 2 0 2

O P C H

2-0-01

file 0

T M R

0 0 0

F - 2 0 5

R C V

010

09000

0010

005000

Receiving relay

14000

14000 07354

Non-carry

07355

Error

Error

07356

Carry

Carry

07357

Zero

This manual is related to the following products: