Specifying the pulse width

You can specify the duty cycle of the output signal via the process data value "PWM Outputs Channel n" > "PWM output". The pause duration is calculated automatically as the difference to the 100 % pulse duration.

Specifying the pulse width 1:

The value range of the pulse width is determined via the user scale in the CoE parameter 0x80n0:12 "Gain" and 0x80n0:11 "Offset".

With:

Gain

= 0x80n0:12 User scale Gain

Specifying the pulse width 2:

Offset

= 0x80n0:11 User scale Offset

 

Is the influence of user scale:

active:

Ysc = Ys1 * Gain*2-16 + Offset

inactive:

Ysc = Ys1

Desired pulse-pause ratio
(Duty cycle)

Specification of the pulse width via 0x70n0:11 "PWM output"

Value range without user scale
0x80n0:01 = FALSE (default)

Value range with user scale
0x80n0:01 = TRUE
0x80n0:11 = 0 (Default)
0x80n0:12  = 65536 (Default)

100%

FFFFhex

65535dec

2710hex

10000dec

75%

BFFEhex

49150dec

1D4Chex

7500dec

50%

7FFFhex

32767dec

1388hex

5000dec

25%

3FFFhex

16383dec

9C4hex

2500dec

10%

1996hex

6550dec

3E8hex

1000dec

0%

0000hex

0dec

0000hex

0dec