EasyManua.ls Logo

Omron CPM1

Omron CPM1
541 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...
33
Pulse Output Function (CQM1 Only) Section 1-3
The pulse output will continue with the specified frequency and duty ratio until
PWM(––) is executed again with different settings or INI(61) is executed to
stop pulse outputs from the specified port.
Stopping the Pulse Output The pulse output from a port can be stopped by executing INI(61) with C=003.
Specify port 1 or 2 (P=001 to 002).
Example: Using PWM(––) The following example shows PWM(––) used to start a 1.5 kHz pulse output
from port 1 and change the duty ratio from 50% to 25%.The pulse output is
then stopped with INI(61).
Before executing the program make sure that DM 6643 is set to 1000 (vari-
able-duty-ratio pulse setting for port 1).
The following diagram shows the duty ratio of the pulse output from port 1 as
the program is executed.
@INI(61)
003
P
Execution condition
000
00000
@PWM(––)
001
001
#0050
00001
@PWM(––)
001
001
#0025
00002
@INI(61)
003
001
000
When 00000 goes ON, a 1.5 kHz signal is output from port
1 with a duty ratio of 50%.
When 00001 goes ON, the duty ratio is changed to 25%.
When 00002 goes ON, INI(61) stops the pulse output from
port 1.
50% duty ratio pulses 25% duty ratio pulses
00001
goes ON
00000
goes ON
00002
goes ON

Table of Contents

Other manuals for Omron CPM1

Related product manuals