Appendices
A-44
CP1E CPU Unit Software User’s Manual(W480)
PULSE WITH
VARIABLE
DUTY FACTOR
PWM @ Outputs pulses with the specified duty factor from the specified
port.
P: Port Specifier
F: Frequency
F specifies the frequency of the PWM output between 2.0 and
6,553.5 Hz (0.1 Hz units, 0014 to FFFF hex), or between 2 and
32,000 Hz (2 Hz units, 0002 to 7D00 hex).
D: Duty Factor
0.0% to 100.0% (0.1% units, 0000 to 03E8 hex)
D specifies the duty factor of the PWM output, i.e., the percent-
age of time that the output is ON.
A-1-19 Step Instructions
Instruction Mnemonic Variations Symbol/Operand Function
STEP DEFINE STEP --- When defining the beginning of a
step, a control bit is specified as
follows:
When defining the end of a step, a
control bit is not specified as fol-
lows:
STEP(008) functions in following 2 ways, depending on its position
and whether or not a control bit has been specified.
(1)Starts a specific step.
(2)Ends the step programming area (i.e., step execution).
STEP START SNXT --- SNXT(009) is used in the following three ways:
(1)To start step programming execution.
(2)To proceed to the next step control bit.
(3)To end step programming execution.
Instruction Mnemonic Variations Symbol/Operand Function
P: Port specifier
F: Frequency
D: Duty factor
PWM
P
F
D
Duty factor:50%
100%
50%
15%
Duty factor:15%
Built-in output
PWM output
Period is determined
by frequency
1000 hex
PWM output 0 (duty factor: in increments of
1%, frequency 0.1 Hz)
1100 hex
PWM output 0 (duty factor: in increments of
1%, frequency 1 Hz)
STEP(008)
B
B: Bit
STEP(008)
SNXT(009)
B
B: Bit