108
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
Special timer instructions
■Teaching timer
■Special function timer
Shortcut control instruction
■Rotary table shortest direction control
Ramp signal instruction
■Ramp signal
Pulse related instructions
■Measuring the density of pulses
■Outputting pulses at regular intervals
■Performing the pulse width modulation
Matrix input instruction
■Matrix input
Instruction symbol Processing details Reference
TTMR Measures the on time of the measurement command in seconds, multiplies it by a multiplier, and
stores the operation result.
T
ON
: On time of TTMR
Page 883 TTMR
Instruction symbol Processing details Reference
STMR Performs the following operations at the four points from the bit device specified by (d) according to
on/off of the input condition of the instruction.
• (d)+0: Off delay timer output
• (d)+1: After-off one-shot timer output
• (d)+2: After-on one-shot timer output
• (d)+3: On delay + off delay timer
Page 885 STMR
Instruction symbol Processing details Reference
ROTC Controls the rotary table divided by (n1) so that it makes s shortcut rotation from the stop position to
the position specified by (s)+1.
Page 888 ROTC
Instruction symbol Processing details Reference
RAMPQ Changes the value specified by (s1) to the value specified by (s2) by the number of times specified
by (n).
The current value is stored in the device specified by (d1)+0.
Page 891 RAMPQ
Instruction symbol Processing details Reference
SPD Counts the input pulses in the device specified by (s1) for the period specified by (s2), and stores
the result data in the device specified by (d).
Page 894 SPD
Instruction symbol Processing details Reference
PLSY Outputs the pulses at the frequency specified by (s), by the number of times specified by (n), to the
output number (Y) in the device specified by (d).
Page 896 PLSY
Instruction symbol Processing details Reference
PWM Outputs the on time specified by (s1) and the pulses in the period specified by (s2) to the output
number (Y) in the device specified by (d).
Page 898 PWM
Instruction symbol Processing details Reference
MTR Reads 16 points by (n) columns of data from the device specified by (s), and stores it in the device
specified by (d2) and later.
Page 900 MTR
(s)=0:1, (s)=1:10, (s)=2:100
T
ON
×(s)
(d)