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.
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.
- β
Add a System Model under Automation_Builder project.
Under System Model, add a model class and their instances for the drive and PLC (virtual devices).
Define input and output pins and their data types for the drive.
- β
Drive Class Inputs and Outputs
Similarly, define input and output pins and their data types for the PLC.
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.
- β
Assigned devices
Assign a variable using Inline editor or by Assign Variable button.
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.