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)
.
10noitatsevalS
)8(
10noitatsevalS
)8(
sserddapotatadgnidneS00090retsigeR--------------
sserddapotatadgnivieceR--------------00090retsigeR
rebmuntropdellatsniMC02-WJ23
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