Example Pulse Output Applications - Omron CP1H CPU Operation Manual

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Pulse Outputs
Procedure
Determine the pulse output port.
Wire the outputs.
PLC Setup settings
(Y models only)
Ladder program
Restrictions on the PWM(891) Outputs
Specifications
Note

5-3-10 Example Pulse Output Applications

Outputting Pulses after a Preset Delay
Pulse output 0
(CIO 100.00)
Interrupt input 0
(CIO 0.00)
288
• PWM output 0 or PWM output 1
• Disable the origin search function for pulse
outputs 2 and 3.
Note: Disable the origin search function because the PWM output
shares the output with the origin search function's Error
Counter Reset Output and both cannot be used
simultaneously.
Execute PWM(891).
• In the Y CPU Units, PWM outputs 0 and 1 cannot be used for pulse out-
puts 2 and 3 if the origin search function is enabled for pulse outputs 2
and 3.
Item
Duty factor
Frequency
Output mode
Instruction
The frequency can be set up to 6553.5 Hz in the PWM(891) instruction, but
the duty factor accuracy declines significantly at high frequencies because of
limitations in the output circuit at high frequencies.
This example program waits for a preset time (0.5 ms) after the interrupt input
(CIO 0.00) goes ON and then outputs 100,000 pulses at 100 kHz from pulse
output 0.
Input interrupt task 0 (interrupt task number 140) starts a scheduled interrupt
with a scheduled time of 0.5 ms. The scheduled interrupt task executes the
pulse output instructions and stops the scheduled interrupt.
I/O interrupt
MSKS
response time
Specifications
0.0% to 100.0% in 0.1% increments
(Duty factor accuracy is ±5% at 1 kHz.)
0.1 Hz to 6,553.5 Hz
Set in 0.1 Hz units. (See note.)
Continuous mode
PWM(891)
Scheduled interrupt
PULS SPED
time 500 µs
Section 5-3

Advertisement

Table of Contents
loading

Table of Contents