This tutorial guides the user through the process of creating a user program and executing it on the Unidrive M onboard target.
The program that is created is not intended to be a meaningful application, nor is it important to understand the exact operation of the code. The program is only created for demonstration purposes to take the user through the following steps:
1. | Creating a project. |
2. | Editing the program(s). |
3. | Building the program into a downloadable image. |
4. | Downloading the image to a target. |
5. | Monitoring the execution of the program on the target. |
Prerequisites
To complete the example, the following items will be needed in addition to a copy of Machine Control Studio:
1. | Programmable Device: |
a. | A Unidrive M (M700 series or greater) with keypad. |
b. | Optionally - A MCi option module. |
2. | Machine Control Studio is installed on computer. |
3. | Communications: |
a. | A RS485 communications to connect the PC to the RJ45 on the front of the Unidrive M - available from your Control Techniques supplier, or |
b. | Ethernet cable to connect either directly to the drive / option module or via a networked architecture. |
Note: Prior to going online with Machine Control Studio and downloading the example program, ensure that the Unidrive M is powered on. Also, restore the Unidrive M parameter database to defaults using either the “Reset 50Hz Defs” or “Reset 60Hz Defs” command codes in parameter 0 of any menu (#mm.000) and pressing the red Reset button on the keypad. By loading defaults the process of going online and detecting the drive will be made easier.
The user guides for Unidrive M are accessible from the Control Techniques website (www.controltechniques.com) or from the Start Page of Machine Control Studio.
The next Quick Start stage is: