Omron FQM1-MMA21 Home Security System User Manual


 
214
Virtual Pulse Output Function Section 7-8
Description Use the AXIS instruction with an input condition that is ON for one cycle.
AXIS cannot be used as a differentiated instruction (the @ prefix is not
supported).
AXIS is executed at the rising edge of the input condition. If the input
remains ON, the virtual pulse output continues until the target position is
reached. Once the target position is reached, the virtual pulse output is
stopped. If the input condition goes OFF during the virtual pulse output,
the output stops at that point.
The AXIS instruction’s mode specifier operand (M) specifies whether the
virtual pulse output operates in relative or absolute mode.
In relative mode, the internal pulse counter initializes the internal pulse
count to 0 when AXIS is executed and starts incrementing from 0.
In absolute mode, the internal pulse counter retains the internal pulse
count when AXIS is executed and starts incrementing or decrementing
from that existing pulse count.
The internal pulse counts are refreshed every cycle at the interval speci-
fied in the calculation cycle (2 ms, 1 ms, or 0.5 ms) on the condition that
the cycle time is constant. If the specified calculation cycle time does not
match the execution cycle time, the time difference between the cycles
can cause an error in the count. If highly accurate pulse counts are
required, use the constant cycle time function and match the execution
cycle time and calculation cycle time. (Set the constant cycle time in the
System Setup’s Cycle Time Tab Page.)
• When trapezoidal control cannot be performed with the specified target
position, target frequency, and acceleration/deceleration, AXIS will auto-
matically compensate as follows:
The acceleration and deceleration rates will be set to the same rate
(symmetrical trapezoidal control).
OR
When one-half of the specified target pulses have been output, AXIS
will start decelerating the operating axis at the same rate as accelera-
tion (symmetrical triangular control).
Note When the AXIS instruction’s input condition goes OFF, the contents of setting
table words T+2 to
T+4 will be initialized to 0.
T+5 to T+6 Target position
(8-digit hexadecimal)
Set the number of virtual output
pulses here.
Relative mode:
0000 0000 to FFFF FFFF
Absolute mode:
8000 0000 to 7FFF FFFF
Set
(Read/
Write)
T+7 to T+8 Target frequency
(8-digit hexadecimal)
Set the target frequency of vir-
tual pulses here.
0000 0001 to 000F 4240 hex
(0 to 1 MHz in 1-Hz units)
T+9 to T+10 Starting frequency
(8-digit hexadecimal)
Set the starting frequency of vir-
tual pulses here.
0000 0000 to 000F 4240 hex
(0 to 1 MHz in 1-Hz units)
T+11 Acceleration rate
(4-digit hexadecimal)
Set the acceleration rate of vir-
tual pulses here.
0001 to 270F
(1 to 9,999 Hz, in 1-Hz units)
T+12 Deceleration rate
(4-digit hexadecimal)
Set the deceleration rate of vir-
tual pulses here.
0001 to 270F
(1 to 9,999 Hz, in 1-Hz units)
T+13 to T+26 Work area Used by the system. ---
Address Name Description Setting range Set/
monitored