Pwm - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

PWM

Instruction
PULSE WITH VARIABLE
DUTY FACTOR
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
P
Port specifier
F
Frequency
D
Duty factor
P: Port Specifier
P
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)
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 percentage of time that the output is ON.
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
PWM
@PWM
Step program areas
OK
Description
Function
code
PWM(891) is used to output pulses with the speci-
891
fied duty factor from the specified port.
PWM
PWM
P: Port specifier
P
F
F: Frequency
D
D: Duty factor
Subroutines
OK
Data type
Port
2 Instructions
Function
Interrupt tasks
OK
Size
---
1
---
1
---
1
2-339
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents