9
-
50
CHAPTER9 DEVICES
9
9.4 Link Direct Device
(3) Specification range
A link device that is not set in the Network parameter dialog box can be specified.
(a) Writing
• The write range must be within the link device send range that is set by common parameters on Network
parameter setting dialog box, and it must be outside the refresh range set by network refresh parameters.
• Although writing can be done to a refresh range portion (specified by refresh parameters) within the link
device range, the link module's link device data will be overwritten when a refresh occurs.
When writing data by using a link direct device, write the same data to the relevant devices on the CPU
module side, which are set by refresh parameters.
[Refresh parameter settings]
1) Network number: 1
2) CPU module (W0 to W3F)
Network module (LW0 to LW3F)
• If data are written to another station's write range using a link direct device, the data will be overwritten
with other data that are received from the corresponding station.
Figure 9.53 Write range of a link direct device
Figure 9.54 Writing to the link device set within the refresh range
LB 0
B 0
Network module
CPU module
Refresh range
Write range
Send range
Link range
MOV K100 W1
MOV K100
W0
W1
LW1
W1
MOV
J1\W1
MOV
J1\W1
W1
W1
"100" is written to network module
LW1 when a refresh occurs.
"100" is written to network module
LW1 when the MOV instruction is
executed.
[Sequence program]
[Writing timing]
CPU module
Network module
Writing at
instruction
execution
Writing at instruction
execution
Writing by a refresh
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......