EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
779
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
High-speed Counter/Pulse Output Instructions
3
PWM
Example Programming
When CIO 0.00 turns ON in the following programming example, PWM(891) starts pulse output from
PWM output 0 at 200 Hz with a duty factor of 50%.
When CIO 0.01 turns ON, the duty factor is changed to 25% from the next output pulse.
@PWM
#0000
&2000
&50
0.00
@PWM
#0000
&2000
&25
0.01
200.0Hz
200.0Hz
0.01 ON
0.00 ON
PWM output
Port 0, Frequency in 0.1-Hz increments and duty factor in 1% increments
Frequency: 200.0 Hz
Duty ratio: 50%
PWM output
Port 0, Frequency in 0.1-Hz increments and duty factor in 1% increments
Frequency: 200.0 Hz
Duty ratio: 25%
Port 0
Duty ratio: 50%
Duty ratio: 25%

Table of Contents

Related product manuals