ROTC
Program Example
(1) The following program turns Y0 and Y1 ON and OFF once each second (flicker) when X20 is ON.
(Uses 100 ms timer)
[Ladder Mode]
[Timing Chart]
X20
M1, Y0
M2, Y1
M3
1 sec
1 sec
6.8.5
ROTC
Rotary table shortest direction control
6.8.5
ROTC
ROTC
:
+ 0: Measures the number of table rotations (for system use) (BIN 16 bits)
S
S
+ 1: Call station number (BIN 16 bits)
S
+ 2: Call item number (BIN 16 bits)
S
n1
: Number of divisions of table (2 to 32767) (BIN 16 bits)
n2
: Number of low-speed sections (value from 0 to less than n1) (BIN 16 bits)
:
+ 0: A phase input signal (bits)
D
D
+ 1: B phase input signal (bits)
D
+ 2: 0 point detection input signal (bits)
D
+ 3: High speed forward rotation output signal (for system use) (bits)
D
+ 4: Low speed forward rotation output signal (for system use) (bits)
D
+ 5: Stop output signal (for system use) (bits)
D
+ 6: Low speed reverse rotation output signal (for system use) (bits)
D
+ 7: High speed reverse rotation output signal (for system use) (bits)
D
Internal Devices
Setting
Data
Bit
Word
––
S
n1
n2
D
294
[List Mode]
Step
Command
ROTC
J
\
R, ZR
Bit
Word
––
Instruction
Device
High
Basic
Process
performance
S
n1
n2
Zn
U
\G
––
––
LCPU
Redundant
Universal
D
Constants
Other
K, H
––
––
––
––