Programming the PWM Function Block

Procedure

Step

Action

1

Select the Libraries tab in the Software Catalog and click Libraries.

Select Controller > HMISCU > HMISCU PTOPWM > PWM in the list, drag-and-drop the item onto the POU window.

2

Select the function block instance by clicking G-SE-0005277.1.gif-high.gif.

The Input Assistant dialog is displayed. Select the global variable which references to the added PWM during the configuration and confirm.

G-SE-0024927.1.gif-high.gif

 

 

NOTE: If the function block instance is not visible, verify if the PWM is configured.

3

The inputs/outputs are detailed in the function block.

The interaction between the inputs/outputs are detailed in the General Information.