Sharp JW-20CM User Manual page 103

Programmable controller
Table of Contents

Advertisement

[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
00
(8)
Example) In case of sending 8 bytes data from slave station 01
S
e
n
d
n i
g
d
a
R
e
c
e
v i
n i
g
d
J
W
2 -
0
C
M
n i
An example of program at slave station 01
Transfer
switch
F-200
→POR
00000
Carry
07356
Non-carry
07354
Error
07355
09000
01
(H)
09001
23
(H)
09002
45
(H)
09003
67
(H)
09004
89
(H)
09005
AB
(H)
09006
CD
(H)
09007
EF
(H)
000
09100
(8)
010
09101
(8)
000
09102
(8)
010
09103
(8)
003
(8)
09104
09105
09106
09107
Not fixed
09110
09111
Slave station
Slave station
01
(8)
Data sending
S
a t
o t
p
a
d
d
e r
s s
R
a
a t
o t
p
a
d
d
e r
s s
s
a t
e l l
d
p
o
t r
n
u
m
b
r e
(8)
TASK0 @09100 PORT2
Complete data transfer to a port
04000
Wait for data transfer to a port
04001
No module
04002
Sending data
8 bytes data
Sending data top address
(register 09000)
File number
No. of transfer bytes (8 bytes)
Target station number
9
·
Slave station
02
03
(8)
(8)
to slave station 03
(8)
a l
v
e
t s
t a
o i
n
0
1
S
a l
v
e
t s
(
) 8
e
g
t s i
r e
0
9
0
0
0
- -
- - - -
- -
- - - -
- - - -
- - - -
R
e
g
t s i
2
An example of program at slave station 03
Complete
data receiving
F-201
POR→
04004
Complete
Carry
receiving
07356
10100
Non-carry
07354
Error
07355
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)
000
Receiving data top address
(8)
コ1000
(register 09000)
010
(8)
コ1001
000
File number
(8)
コ1002
No. of transfer bytes (8 bytes)
010
コ1003
(8)
000
コ1004
(8)
000
コ1005
(8)
000
コ1006
(8)
25. Sending station number
コ1007
001
(8)
Receiving completed flag (D0)
Not fixed
コ1010
コ1011
Not fixed
5
.
(8)
t a
o i
n
0
1
(
) 8
- - - -
- - - -
r e
0
9
0
0
0
3
PORT3 @コ1000
TASK1
Complete data receiving
04004
Wait for data receiving
04005
No module
04002
Receiving data
(8)
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Jw-20rs

Table of Contents