Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 135

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM2A/CPM2C Pulse Output Functions
Relationship Between Status and Operation
Application Example
114
Using Data Areas
As shown in the following illustration, the pulse output status for pulse output 0 is
stored in AR 1115, and the pulse output status for pulse output 1 is stored in AR
1215.
AR 11: Pulse output 0
AR 12: Pulse output 1
Pulse output in progress
0: Stopped
1: Output in progress
Note AR 1115 and AR 1215 are refreshed once each cycle, so the values in these
words may not reflect the actual status during each cycle, but AR 1115 and
AR 1215 are refreshed when the status is read with PRV(62).
Continuous Mode (Pulse Output With Variable Duty Ratio)
PWM(––) execution
INI(61) execution
Output in progress
Output completion
Set number of pulses
Explanation
In this example, when the execution condition (00005) turns ON, variable duty
pulses are output from output 01000 (pulse output 0) at a frequency of 100 Hz.
The duty ratio at this time can be changed with the thumbwheel switch 0.
Wiring
Wire the CPM2A to the motor driver and thumbwheel switch as shown in the fol-
lowing illustration.
Wire the CPM2C to the motor driver and thumbwheel switch as shown in the fol-
lowing illustration. In this case, a CPU Unit with sinking transistor outputs is
used.
Frequency
Motor Driver
Section
2-5
Time

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents