Switching between PWM and analog output

Mode selection via the PDOs

PWM mode or analog mode can be selected for operating a proportional valve at socket 7, for example.

The 24VDC supply is switched on continuously.

The different modes are activated via the PDO assignment.

PWM mode

The output PDO 0x1602 activates the PWM mode.

Switching between PWM and analog output 1:

Analog mode

The output PDO 0x1603 activates the analog mode.

Switching between PWM and analog output 2: