6.8 Other Convenient Instructions
6.8.5 Rotary table shortest direction control
6-163
6
BA
S
IC
INSTRUCTIONS
ROTC
ROTC
6.8.5
Rotary table shortest direction control
ROTC
F
unct
i
on
(1) This control functions to enable shortest direction control of the rotary table to the position of
the station number specified for
[1] in order to remove or deposit an item whose number
has been specified for
[2] on a rotary table with equal divisions of the value specified for
n1.
(2) The item number and station number are controlled as items allocated by counterclockwise
rotation.
ROTC
indicates the following instruction.
ROTC
Input argument,
EN:
Executing condition
: Bit
s:
s+0:For measuring the number of table rotations
s+1:Call station number
s+2:Call item number
: Array of ANY16 (0..2)
n1:
Number of table divisions (2 to 32767)
: ANY16
n2:
Number of low-speed sections (value from 0 to n1)
: ANY16
Output argument,
ENO:
Execution result
: Bit
d:
d[0]:A-phase input signal
d[1]:B-phase input signal
d[2]:0 point detection input signal
d[3]:High-speed forward rotation output signal
d[4]:Low-speed forward rotation output signal
d[5]:Stop output signal
d[6]:Low-speed reverse rotation output signal
d[7]:High-speed reverse rotation output signal
: Array of bit (0..7)
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
−
−
−
n1
−
n2
−
−
−
−
U
n
i
versa
l
UD
Hi
g
h
Per
f
ormance
Structured ladder
ST
EN
ENO
s
d
n
1
n
2
ROTC
ROTC
(EN, s, n
1
, n
2
, d);
ENO:=
s
d
s
s
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......