beautypg.com

Sharp JW-20CM User Manual

Page 103

background image

9

·

5

[3] Link function with specific station (F200/F201 link function)

There is a function for communicating data other than the parameter setting values using the PC's

application instructions F-200 (write to ports) and F-201 (read from ports). The JW-20CM communicates

data while executing data link operations.

See page 13·22 to 13·25 for application instructions F-200 and F-201 in details.

See instruction manual of ZW-98CM and ZW-20AX in case that communicating with host computer.

Example) In case of sending 8 bytes data from slave station 01

(8)

to slave station 03

(8)

.

1

0

n

o

i

t

a

t

s

e

v

a

l

S

)

8

(

1

0

n

o

i

t

a

t

s

e

v

a

l

S

)

8

(

s

s

e

r

d

d

a

p

o

t

a

t

a

d

g

n

i

d

n

e

S

0

0

0

9

0

r

e

t

s

i

g

e

R

-

-

-

-

-

-

-

-

-

-

-

-

-

-

s

s

e

r

d

d

a

p

o

t

a

t

a

d

g

n

i

v

i

e

c

e

R

-

-

-

-

-

-

-

-

-

-

-

-

-

-

0

0

0

9

0

r

e

t

s

i

g

e

R

r

e

b

m

u

n

t

r

o

p

d

e

ll

a

t

s

n

i

M

C

0

2

-

W

J

2

3

000
010
000
010
000
000
000
001

01

(H)

(H)

(H)

(H)

(H)

(H)

(H)

(H)

23
45
67
89

AB

CD

EF

8 bytes data

09000
09001
09002
09003
09004
09005
09006
09007

09100
09101
09102
09103
09104
09105
09106
09107
09110
09111

000

(8)

(8)

(8)

(8)

(8)

(8)

(8)

(8)

(8)

(8)

(8)

(8)

(8)

010
000
010

Sending data top address
(register 09000)

File number
No. of transfer bytes (8 bytes)
Target station number

01

(H)

(H)

(H)

(H)

(H)

(H)

(H)

(H)

23
45
67
89

AB

CD

EF

Receiving data

8 bytes

09000
09001
09002
09003
09004
09005
09006
09007

1000
1001
1002
1003
1004
1005
1006
1007
1010
1011

Receiving data top address
(register 09000)
File number
No. of transfer bytes (8 bytes)

25. Sending station number
Receiving completed flag (D0)

003

Sending data

Not fixed

Not fixed
Not fixed

Master station

00

(8)

Slave station

01

(8)

Slave station

02

(8)

Slave station

03

(8)

Data sending

F-200

POR

TASK0

@09100 PORT2

Transfer
switch

00000

Carry

07356

Complete data transfer to a port
04000

Non-carry

07354

Wait for data transfer to a port
04001

Error

07355

No module
04002

An example of program at slave station 01

(8)

F-201

POR

TASK1

PORT3 @ 1000

Complete
data receiving

04004

Complete
receiving

10100

Complete data receiving
04004

Non-carry

07354

Wait for data receiving
04005

Error

07355

No module
04002

An example of program at slave station 03

(8)

Carry

07356

This manual is related to the following products: