Mitsubishi Electronics QnUCPU Home Theater Server User Manual


 
CHAPTER9 DEVICES
9
2
3
4
5
6
7
8
9.4 Link Direct Device (J\)
9 - 41
(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.51 Write range of a link direct device
Figure 9.52 Writing to the link device set within the refresh range
LB 0B 0
Network moduleCPU 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