4 OPERATION CONTROL PROGRAMS
4.19 Other Instructions
269
4
• The upper limit for the value that can be set for number of words (n) to be written and buffer memory start address (D2)
differs depending on the target module. Refer to the manual of module used for details.
• Adjust an executive task, the number of words (n) to be written referring to the operation processing time so that this
instruction may not obstruct the execution of the motion operation because processing time becomes long in argument to
the number of words (n) to be written.
• Refer to the following for intelligent function modules that can be used as the Motion CPU control module.
MELSEC iQ-R Motion controller Programming Manual (Common)
• The combinations for write destination and write source that are set to (S) and (D1) are shown below.
: Combination possible, : Combination not possible
An operation error will occur if:
• Number of words (n) to be written is outside the range.
• Motion CPU cannot communicate with target module at the instruction execution.
• Abnormalities of the target module were detected at the instruction execution.
• The address specified with (D2) is outside the buffer memory range.
• Start device No. (S) which writing data are stored + number of words (n) to be written is outside the device range.
• (S) is a bit device and the device number is not a multiple of 16.
• (S) and (D1) combination is wrong.
■2 words from #0 are written to buffer memory address 0H of the intelligent function module
(First I/O No.: 010H)
Write source (S) Write destination (D1)
CPU start I/O number (3E00H to 3E30H) Module start I/O number (000H to FF0H)
Self CPU Other CPU Self CPU controlled Other CPU controlled
User device/System device
CPU buffer memory access
device
Self CPU
Other CPU
CPU buffer memory access
device (fixed scan
communication area)
Self CPU
Other CPU
Module access device Self CPU
controlled
Other CPU
controlled
TO H010, H0, #0, K2
0H
1H
Buffer memory
100
200
Device memory
100
200
2 words transfer
#0
#1
Intelligent function module
(First I/O No.: 010H)