Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 891

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(n1)
(n2)
(d)
Processing details
• This instruction controls the rotation of the rotary table divided equally by the value specified by (n1) so that it rotates at
short cut to the position of the counter number specified by (s)+1 to get in and out the item of the number specified by (s)+2.
• It performs control by assuming that the item numbers and counter numbers are assigned counterclockwise.
• (s)+0 is the counter used for the system to count items to determine which item is in the 0th counter. Do not rewrite the data
with the program. Otherwise, accurate control cannot be performed.
• The value specified in (n2) must be less than the number of table divisions specified by (n1).
• (d)+0 and (d)+1 are the phase A input signal and phase B input signal used to detect the forward and reverse rotations of
the rotary table. The direction of rotation is determined by whether phase B is on the rising or falling edge when phase A is
on.
• Phase B is on the rising edge: Forward rotation (clockwise)
• Phase B is on the falling edge: Reverse rotation (counterclockwise)
• (d)+2 is the 0-point detection signal that turns on when the 0th item reaches the 0th counter. When the device specified by
(d)+2 turns on during execution of the ROTC instruction, the device specified by (s)+0 is cleared. Start shortcut control with
the ROTC instruction after performing this clearing operation.
• (d)+3 to (d)+7 are output signals for controlling table operations. One of the output signals in (d)+3 to (d)+7 is turned on
according to the execution result of the ROTC instruction.
• When the command of the ROTC instruction is off, shortcut control is not performed and (d)+3 to (d)+7 are all turned off.
• The ROTC instruction can be used only once in all running programs. If it is used more than once, normal operation cannot
be performed.
• If the value in (s)+0 to (s)+2 or (n2) is greater than (n1), no processing is performed.
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
Double word Indirect
specification
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
7.15 Shortcut Control Instruction
Constant
Others
K, H E
$
7
889

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents