Omron CK3W-GC 00 Series Hardware User Manual page 125

Programmable multi-axis controller
Hide thumbs Also See for CK3W-GC 00 Series:
Table of Contents

Advertisement

The setting range of PWMPeriod is from 2 to 4095, and the frequency can be set in the range from
1,526 Hz to 3.125 MHz.
The following shows examples of settings.
PWMPeriod PWM Frequency (kHz)
3125 ($C35) 2
1250 ($4E2) 5
625 ($271)
10
312 ($138)
20
125 ($07D)
50
Duty Setting
The PWM duty is set by the formula below, on the basis of DutyCycle (Gate3[i].Chan[0].CompA[11:0]).
Positive Duty Cycle(%)=
The setting range of DutyCycle is from 0 to 4095, however, if you set 4095, the duty will be 100%.
Pulse Count Setting
PulseCount (Gate3[i].Chan[2].CompA[19:8]) is used to set the pulse count of PWM.
PulseCount is subtracted by one every time one pulse is output.
Reading this register allows you to read the remaining pulse count to be output.
The setting range of PulseCount is from 0 to 4095, however, if you set 4095, PWM pulses will be out-
put continuously.
Delay Setting
DelayUnit (Gate3[i].Chan[1].CompA [31:20]), Delay (Gate3[i].Chan[1].CompA [16:8]), and ClockSel
(Gate3[i].SerialEncCtrl [17]) are used to set the delay of PWM.
When you set the pulse count of PWM, PWM is then started with a time delay set using DelayUnit and
Delay from the rising edge timing of the clock set using ClockSel.
The delay time is calculated by the formula below.
Delay Time(ns) = [(Delay+3)]×[(DelayUnits+2)×10]
The setting range of DelayUnit is from 0 to 4094. You cannot set 4095.
The setting range of Delay is from 0 to 511.
Configure DelayUnit to satisfy the following condition.
This setting may not operate correctly if the following condition is not satisfied.
Phase clock cycle × 0.2 - 100 ns > (DelayUnits + 2) × 10 (ns)
Be sure to wait for the previously set pulse output to complete before setting DelayUnit and Delay.
CK3M-series Programmable Multi-Axis Controller User's Manual Hardware (O036)
DutyCycle
×100
4096
3 Configuration Units
3-81
3

Advertisement

Table of Contents
loading

Table of Contents