ExampleΒΆ

In this example, the PLC will send Start, Stop (CW) and Speed Reference to the drive and read Actual speed and Drive Status (SW) using the fieldbus (Profibus or Profinet) device.

  1. In the Automation_Builder project, create a IEC 61131-3 editor application program and configure ACS380 Drive and its variables in the PPO Type editor.

    β‡’
    ../_images/d8e6eb7b74bbaf830a317f34632fb38f
  2. Add a System Model under Automation_Builder project.

  3. Under System Model, add a model class and their instances for the drive and PLC (virtual devices).

  4. Define input and output pins and their data types for the drive.

    β‡’
    ../_images/96ade12774bd01790a317f3453ac9622

    Drive Class Inputs and Outputs

    Similarly, define input and output pins and their data types for the PLC.

  5. In the Drive Instance editor, select a device (ACS380_PROFINET_IO) from the Assigned Device drop down which represents an instance.

    Note

    The pins and their data types are defined in the class editor for a drive and PLC are displayed in the drive and PLC editors.

    β‡’
    ../_images/e072f82e74bf65f40a317f346568f24e

    Assigned devices

  6. Assign a variable using Inline editor or by Assign Variable button.

  7. Assign Source Block and Source Pin for inputs and Sink Block and Sink Pin for outputs using the inline editor or by Assign Endpoint button.

Note

If the connections between drive and PLC input and output pins are incorrect, click Clear Broken Connection to delete the broken connection pins.