n The SFB 49 should cyclically be called (e.g. OB 1) for controlling the pulse width
modulation.
n The SFB is to be called with the corresponding instance DB. Here the parameters of
the SFB are stored.
5.8.4
Parametrization
5.8.4.1 Address assignment
Sub module Input address Access Assignment
Counter 816 DINT Channel 0: Counter value / Frequency value
820 DINT Channel 1: Counter value / Frequency value
824 DINT Channel 2: Counter value / Frequency value
828 DINT Channel 3: Counter value / Frequency value
Sub module Output address Access Assignment
Counter 816 DWORD reserved
820 DWORD reserved
824 DWORD reserved
828 DWORD reserved
5.8.4.2 Operating mode per channel
Select via ‘Channel’ the channel select via ‘Operating’ the operating mode. The fol-
lowing operating modes are supported:
n Not parameterized: Channel is deactivated
n
Ä
Chapter 5.6.5.1 ‘Count continuously’ on page 104
n
Ä
Chapter 5.6.5.2 ‘Count once’ on page 105
n
Ä
Chapter 5.6.5.3 ‘Count periodically’ on page 108
n
Ä
Chapter 5.7 ‘Frequency measurement’ on page 117
n
Ä
Chapter 5.8 ‘Pulse width modulation - PWM’ on page 123
Depending on the selected operating mode default values are loaded and shown in an
additional register.
5.8.4.3 Pulse width modulation
Default values and structure of this dialog box depend on the selected ‘Operating mode’ .
The following parameters are supported:
User program
Parameter hardware con-
figuration
Parameter hardware con-
figuration
VIPA System MICRO
Deployment I/O periphery
Pulse width modulation - PWM > Parametrization
HB400 | CPU | M13-CCF0000 | en | 16-47 125