[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.

Master station

Slave station

Slave station

Slave station

00(8)

 

01(8)

 

02(8)

 

03(8)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data sending

Example) In case of sending 8 bytes data from slave station 01(8) to slave station 03(8).

 

 

Slave station 01(8)

Slave station 01(8)

 

 

Sending data top address

 

Register 09000

--------------

 

 

 

 

 

 

 

 

Receiving data top address

 

--------------

Register 09000

 

 

 

 

 

 

 

 

JW-20CM installed port number

 

2

3

 

 

 

 

 

 

 

An example of program at slave station 01(8)

An example of program at slave station 03(8)

Transfer switch

00000

Carry

07356 Non-carry

07354

Error

07355

09000

09001

09002

09003

09004

09005

09006

09007

09100

09101

09102

09103

09104

09105

09106

09107

09110

09111

F-200 TASK0 @09100 PORT2

POR

Complete data transfer to a port 04000

Wait for data transfer to a port 04001

No module 04002

01 (H)

 

 

Sending data

 

 

 

 

 

23 (H)

 

 

 

45 (H)

 

 

 

67 (H)

8 bytes data

 

89(H) AB (H) CD (H) EF (H)

000 (8) Sending data top address

010 (8) (register 09000)

000 (8) File number

010 (8) No. of transfer bytes (8 bytes)

003 (8) Target station number

Not fixed

 

 

Complete

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

data

receiving

F-201

 

TASK1

PORT3

@1000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

POR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

04004

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Complete

 

Carry

 

Complete data receiving

 

 

 

receiving

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

04004

 

 

 

 

 

10100

 

07356

 

 

 

 

 

 

 

 

 

 

 

Non-carry

 

 

 

 

 

 

 

 

 

 

Wait for data receiving

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

04005

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

07354

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Error

 

 

 

 

 

 

 

 

 

 

No module

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

04002

 

 

 

 

 

07355

 

 

 

 

 

 

 

 

 

Receiving data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

01 (H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09001

 

23 (H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09002

 

45 (H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09003

 

67 (H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8 bytes

 

 

 

 

 

 

09004

 

89 (H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09005

 

AB (H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09006

 

CD (H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09007

 

EF (H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1000

000

(8)

 

 

 

Receiving data top address

 

 

 

 

 

 

1001

010(8)

 

 

 

(register 09000)

 

 

 

1002

000

(8)

 

 

 

File number

 

 

 

 

 

 

 

 

 

 

1003

010(8)

 

 

 

No. of transfer bytes (8 bytes)

 

1004

000(8)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1005

000(8)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1006

000(8)

 

 

 

25. Sending station number

 

1007

001(8)

 

 

 

 

1010

 

Not fixed

Receiving completed flag (D0)

 

1011

 

Not fixed

 

 

 

 

 

 

 

 

 

9·5