![Omron CK3M Series Скачать руководство пользователя страница 125](http://html1.mh-extra.com/html/omron/ck3m-series/ck3m-series_hardware-user-manual_742506125.webp)
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(%)=
4096
DutyCycle
×100
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 > (Dela 2) × 10 (ns)
Be sure to wait for the previously set pulse output to complete before setting DelayUnit and Delay.
3 Configuration Units
3-81
CK3M-series Programmable Multi-Axis Controller User's Manual Hardware (O036)
3-7 Laser Interface Unit
3
3-7-8
PWM Output Function
Содержание CK3M Series
Страница 6: ...Manual Structure 4 CK3M series Programmable Multi Axis Controller User s Manual Hardware O036...
Страница 236: ...6 Troubleshooting 6 22 CK3M series Programmable Multi Axis Controller User s Manual Hardware O036...
Страница 242: ...7 Inspection and Maintenance 7 6 CK3M series Programmable Multi Axis Controller User s Manual Hardware O036...
Страница 284: ...Appendices A 42 CK3M series Programmable Multi Axis Controller User s Manual Hardware O036...
Страница 285: ...I Index I 1 CK3M series Programmable Multi Axis Controller User s Manual Hardware O036 I...
Страница 287: ......