Mitsubishi Electric Melsec Q Series Programming Manual page 234

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

Advertisement

5 OPERATION CONTROL PROGRAMS
(b) Indirect specification of device No. (n) using word device using operation
expression
• Device No. can be specified indirectly by calculation expressions which
use the following data and operators.
Usable data
Usable operators
• The word device which the device No. is specified indirectly cannot be
used.
• Only one operator may be used.
(Description examples)
Good example
D(#10L%H6L)F
(Note) : When you want to use the result of calculation other than the above
to specify the device No. indirectly, describe it in two blocks as
shown below.
D0=SHORT(ASIN(#0F))
W0=#(D0)
POINT
Refer to Chapter 2 of the "Q173D(S)CPU/Q172D(S)CPU Motion controller
Programming Manual (COMMON)" for the user setting area points of the Multiple
CPU high speed transmission area.
16-bit integer type word device
32-bit integer type word device
16-bit integer type constant
32-bit integer type constant
Addition: +
Subtraction:
Multiplication:
Division: /
Remainder: %
Sign inversion:
#(D10-K5)
5 - 11
Bad example
#(D(D5)F+K20)
D(#4L<<K2)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents