Omron CQM1H - PROGRAM Programming Manual page 424

Programmable controllers; inner boards
Table of Contents

Advertisement

Special Instructions
Operand Settings
Flags
!Caution With PLS2(––), conditions such as acceleration/deceleration speed and the
P specifies the port where the pulses will be output. Pulses are output from
port 1 when P=001, and pulses are output from port 2 when P=002.
D specifies whether the output signal is clockwise (CW) or counter-clockwise
(CCW). The output is CW when D=000 and CCW when D=001.
The content of C determines the acceleration/deceleration rate. During accel-
eration or deceleration, the output frequency is increased or decreased by the
amount set in C every 4.08 ms. C must be BCD from 0001 to 0200 (10 Hz to
2 kHz).
The content of C+1 specifies the target frequency. C+1 must be BCD from
0010 to 5000 (100 Hz to 50 kHz).
The 8-digit content of C+3,C+2 determines the number of pulses that will be
output. C+3, C+2 must be BCD between 0000 0001 and 1677 7215.
ER:
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
There is an error in the operand settings.
PLS2(––) is executed without a Pulse I/O Board installed.
The PC Setup is not set for pulse output.
The target frequency, acceleration/deceleration rate, and number of
pulses are incorrect. (Number of pulses < T
PLS2(––) is executed in an interrupt subroutine while a pulse I/O or
high-speed counter instruction is being executed in the main program.
AR 0515:
Port 1 output flag. ON when pulses are being output from port 1.
AR 0615:
Port 2 output flag. ON when pulses are being output from port 2.
target speed can cause low-speed pulse output (100 Hz) to continue for an
extended period of time when stopping. Even when this happens, the correct
number of pulses will be output.
Correct the system by adjusting the acceleration/deceleration speed and/or
the target speed, or by using the ACC(––) instruction (mode 0) to increase the
speed (deceleration target frequency) when stopping.
Section 5-28
× Target frequency)
1
Time required for
complete stop
100 Hz
399

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents