500
7 APPLICATION INSTRUCTION
7.12 Shortcut control instruction
7.12 Shortcut control instruction
Rotary table shortest direction control
ROTC
This instruction is suitable for efficient control of the rotary table for putting/taking a product on/off the rotary table.
■Descriptions, ranges, and data types
■Applicable devices
Ladder diagram Structured text
ENO:=ROTC(EN,s,n1,n2,d);
Operand Description Range Data type Data type (label)
(s) Registers specifying
the calling condition
(Set them in advance
using the transfer
instruction.)
(s)+0: Works as a register for counting. 16-bit signed binary ANY16
(s)+1: Sets the station No. to be called.
(s)+2: Sets the product No. to be
called.
(n1) Number of divisions 2 to 32767 16-bit signed binary ANY16
(n2) Number of low-speed sections 0 to 32767 16-bit signed binary ANY16
(d) Registers (bit devices)
specifying the calling
condition (Construct an
internal contact circuit
in advance which is
driven by the input
signal (X).)
(d): A phase signal Bit Bit
(d)+1: B phase signal
(d)+2: Zero point detection signal
(d)+3: Forward rotation at high-speed
(d)+4: Forward rotation at low-speed
(d)+5: Stop
(d)+6: Backward rotation at low-speed
(d)+7: Backward rotation at high-
speed
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s)
(n1)
(n2)
(d)