Programming the PTOGetParam or PTOSetParam Function

Procedure

Step

Action

1

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

Select Controller > M218 > M218 PTOPWM > PTO > Administrative > PTOGetParam or PTOSetParam in the list, drag-and-drop the item onto the POU window.

2

Declare the function block instance.

3

Associate the PTO_REF_IN input of the function block to the PTO_REF output of the PTOSimple function block.

NOTE: A unique PTOSimple instance is needed per PTO Channel in the application.

4

The inputs/outputs are detailed in the function blocks PTOGetParam or PTOSetParam.

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