Mitsubishi Electric R16MTCPU Programming Manual page 271

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

• 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
Write source (S)
User device/System device
CPU buffer memory access
Self CPU
device
Other CPU
CPU buffer memory access
Self CPU
device (fixed scan
Other CPU
communication area)
Module access device
Self CPU
controlled
Other CPU
controlled
Operation error
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.
Program example
■2 words from #0 are written to buffer memory address 0H of the intelligent function module
(First I/O No.: 010H)
TO H010, H0, #0, K2
Intelligent function module
(First I/O No.: 010H)
Buffer memory
0H
100
1H
200
Write destination (D1)
CPU start I/O number (3E00H to 3E30H)
Self CPU
Device memory
2 words transfer
#0
100
#1
200
Module start I/O number (000H to FF0H)
Other CPU
Self CPU controlled
4 OPERATION CONTROL PROGRAMS
Other CPU controlled
269
4.19 Other Instructions
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents