Download Process CPU User`s Manual(Function Explanation

Transcript
10 DEVICES
MELSEC-Q
2)
Although writing is also allowed in the "refresh range" portion of the link
device range (specified by refresh parameters), the link module's link
device data will be rewritten when a refresh operation occurs.
Therefore, when writing by link direct device, the same data should
also be written to the Process CPU related devices designated by
refresh parameter.
[Refresh parameter settings]
Network No. : 1
Process CPU (W0 to W3F)
Network module (LW0 to LW3F)
[Sequence program]
MOV K100 W1
"100" is written to network module LW1 when
a refresh occurs.
MOV W1
"100" is written to network module LW1 when
the MOV instruction is executed.
J1\W1
[Writing timing]
QCPU
MOV K100 W1
MOV W1
J1\W1
Network module
Writing at
instruction
execution
W0
W1
LW1
Writing at instruction execution
Writing at refresh operation
3)
(b)
When data is written to another station's writing range using a link
direct device, the data which is received from that station will replace
the written data.
Reading
Reading by link direct device is allowed in the entire link device range of
network modules.
POINT
Only one network module capable of writing/reading link direct devices can be used
per network number.
If two or more network modules are installed at the same network number, the
network module with the lowest first I/O number will be the one that handles
writing/reading using link direct devices.
For example, if station No.1 and station No.2 network modules are installed in
network No.1 as shown in the figure below, the station No.2 network module will
handle link direct device operations.
Network module
Network module
Power supply module
CPU module
Network No.1
Station Station
No.2 No.1
Writing/reading using link direct devices not allowed
Writing/reading using link direct devices allowed
10 - 36
10 - 36