Special Instructions
Frequency Changes
Flags
394
The direction setting is valid until program execution is stopped or PULS(65)
is executed again.
Number of Pulses (C=000 or C=001)
When C=000 or 001, N+1, N contains the 8-digit number of pulses setting for
independent mode pulse outputs. N+1, N can be from 0000 0001 to
1677 7215. The pulse output started by SPED(64) or ACC(––) will stop auto-
matically when this number of pulses has been output.
Leftmost 4 digits Rightmost 4 digits
Number of pulses:
Number of Pulses and Deceleration Point (C=002 or C=003)
When C=002 or 003, N+1, N contains the 8-digit number of pulses setting for
independent mode pulse outputs. N+1, N can be from 0000 0001 to
1677 7215. The pulse output started by ACC(––) will stop automatically when
this number of pulses has been output.
Leftmost 4 digits Rightmost 4 digits
Number of pulses:
N+3, N+2 contains the 8-digit number of pulses setting for the deceleration
point used in ACC(––) mode 0. N+3, N+2 can be from 0000 0001 to
1677 7215. The pulse output started by ACC(––) will begin deceleration when
this number of pulses have been output.
Leftmost 4 digits Rightmost 4 digits
Deceleration point:
Change Output Destination (C=004 or C=005)
When C=004 or 005, neither the number of pulses nor the deceleration point
are set. Set N=000 when C=004 or 005. Use these settings to change the out-
put destination for continuous mode pulse outputs from port 1 or port 2.
The number of pulses set to be output will be used even if SPED(64) is used
to change the pulse frequency during operation. (The number of pulses can-
not be changed during operation.)
For example, if the number of pulses setting is 2,100 and the frequency is
changed from 1 KHz to 100 Hz, pulse output will stop in:
12 s if the pulse frequency is changed after 1 s at 1 KHz.
3 s if the pulse frequency is changed after 2 s at 1 KHz.
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.)
A data area boundary is exceeded.
There is an error in the instruction settings.
PULS(65) is executed in an interrupt subroutine while a pulse I/O or
high-speed counter instruction is being executed in the main program.
N+1
N
N+1
N
N+3
N+2
Section 5-28
Possible range
0000 0001 to 1677 7215
Possible range
0000 0001 to 1677 7215
Possible range
0000 0001 to 1677 7215
Need help?
Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?