A-47
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A
-1
Ins
tr
uc
tion
Fu
nc
tion
s
Ap
p
A
-1-
18
H
igh
-s
pe
ed
C
ou
nt
er
/P
ul
s
e
O
u
tp
ut
I
n
st
ru
ct
io
ns
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.
Instruction
Mnemonic
Variations
Symbol/Operand
Function
P
: Port specifier
F
: Frequency
D
: Duty factor
PWM(891)
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)
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......