Mitsubishi Electric Melsec Q Series Programming Manual page 338

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS
Setting
data
(D)
(S1)
(S2)
(n)
[Errors]
[Program examples]
(3) The word devices that may be set at (D), (S1), (S2) and (n) are shown below.
(Note-1)
Word devices
Dn
Wn
SDn
U \Gn
(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.
(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).
(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
Device memory
W0
100
#n
Mn
U \Gn.m
(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.
Intelligent function module
(First I/O No. : 020H)
1 word transfer
10H
11H
5 - 115
(Note-1), (Note-2)
Bit devices
Bn
Fn
SMn
Buffer memory
100
200
300
Xn
Yn
(Note-3)
(Note-3)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents