EasyManua.ls Logo

Mitsubishi Electric Q173DSCPU - Page 338

Mitsubishi Electric Q173DSCPU
556 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 - 115
5 OPERATION CONTROL PROGRAMS
(3) The word devices that may be set at (D), (S1), (S2) and (n) are shown below.
Setting
data
Word devices
(Note-1)
Bit devices
(Note-1), (Note-2)
Dn Wn SDn U \Gn #n
Mn U
\Gn.m Bn Fn SMn Xn Yn
(D)
(Note-3)
(Note-3)
(S1)
(S2)
(n)
(Note-1) : The device No. cannot be specified indirectly.
(Note-2) : Specify a multiple of 16 as the device number of bit data.
(Note-3) : PX and PY cannot be set.
(4) Adjust an executive task, the number of transfer word 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 read.
(5) Refer to the "Q173D(S)CPU/Q172D(S)CPU Motion controller Programming
Manual (COMMON)" for intelligent function modules that can be used as the
Motion CPU control module.
[Errors]
(1) An operation error will occur if:
• Number of words (n) to be read is outside the range of 1 to 256.
• Motion CPU cannot communicate with intelligent function module at the
instruction execution.
• Abnormalities of the intelligent function module were detected at the instruction
execution.
• I/O No.s specified with (S1) differ from the intelligent function module controlled
by the self CPU.
• The address specified with (S2) is outside the buffer memory range.
• Start device No. (D) which stores the reading data + number of words (n) to be
read is outside the device range.
• (D) is a bit device and device number is not a multiple of 16.
• PX/PY is set in (D) to (D)+(n-1).
[Program examples]
(1) 1 word is read from the buffer memory address 10H of the intelligent function
module (First I/O No. : 020H), and is stored in W0.
FROM W0, H020, H10, K1
10H
11H
Buffer memory
100
200
100
1 word transfer
W0
300
Device memory
Intelligent function module
(First I/O No. : 020H)

Table of Contents

Related product manuals