beautypg.com

Sharp JW-20CM User Manual

Page 106

background image

9

·

8

[Example ]

In case of writing data of 8 bytes to slave station 03

(8)

Module number installing own station JW-20CM : 2

Channel number using own station JW-20CM : 0

Data area of slave station 03

(8)

: 0 (file number)

Receive top address of slave station 03

(8)

: Register 09000 (file address 004000

(8)

)

Send data top address of own station : 1000

PC program

Own station register

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

Sending 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

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

Sending

Response

Port No.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

Flag

0 3

(8)

Target station

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-03

file 0

T M R

0 0 0

F - 2 0 4

S E N D

010

1000

0010

004000

Sending relay

14000

14000 07354

Non-carry

07355

Error

Error

07356

Carry

Carry

07357

Zero

Set sending relay (14000)

Port No.2, CH0, station number 03

(8)

File number 0
File address 004000

(8)

Send 8 bytes of 1000 to 1007

Detect non-execution after turning ON
power (Flag does not change for 1
second)

End of execution and the program resets
14000

For an example to readout data from the assigned station using F-205, see page 13·28.

This manual is related to the following products: