Settings | PWM output (0x8080, 0x8080)

For all PWM modules:

Module (ModuleIdent)

Valid values for n

"PWM_2xOUT" (0x202199, 0x202199)

n = 8 for PWM 1, n = 9 for PWM 2

"PWM_OUT_DO" (0x282199, 0x402199)

n = 8 for PWM 1

Index 80n0 SlotGroup 3 (Slot 8, 9) PWM Settings %C

Index (hex)

Name

Meaning

Data type

Flags

Default

80n0:0

SlotGroup 3
(Slot 8, 9)
PWM Settings %C

Maximum subindex

UINT8

RO

0x18 (12dec)

80n0:1

Enable user scale

Enabling scaling (index 0x8000:11 and 0x8000:12)

BOOLEAN

RW

0x00 (0dec)

80n0:05

Watchdog

0: "Default Watchdog value"
The default value (index 0x8000:13) is active.

1: "Watchdog ramp" active:
The ramp (index 0x8000:14) for moving to the default value (index 0x8000:13) is active.

2: "Last value" active:
The last process data is output in the event of an error (watchdog drop).

BIT2

RW

0x00 (0dec)

80n0:09*

Channel synchronization

0: "No"
o dependency Ch 1 to Ch. 2

1: "Ch2 = Ch1"
Frequency and duty cycle of channel 1 are also applied to channel 2.

2: "Ch2 = Ch1 inverted"
Frequency and inverted duty cycle of channel 1 are applied to channel 2.

BIT2

RW

0x00 (0dec)

80n0:0B

Tristate

0: Output activated

1: The output operates in high-resistance tristate mode.

BOOLEAN

RW

0x00 (0dec)

80n0:11

Offset

User scale offset

INT16

RW

0x0000 (0dec)

80n0:12

Gain

User scale gain
The gain has a fixed-point representation with the factor 2-16.

INT32

RW

0x00010000 (65536dec)

80n0:13

Default output

Output value, if enabled via index 0x80n0:05

UINT16

RW

0x0000 (0dec)

80n0:14

Default output ramp

This value defines the ramps for the ramp-down to the default value. The value is specified in digits / ms.

For example, if the entry is 100 and the default value is 0, it takes 327 ms (32767/100) for the output value to go from the maximum value (32767) to the default value in the event of an error.

UINT16

RW

0xFFFF (65535dec)

*) only for ModuleIdent 0x202199 ("PWM_2xOUT")