<< Chapter < Page | Chapter >> Page > |
The portion of the code which sends signals to the drive motor has been written such that a positive controleffort results in a counterclockwise (when viewed from the shaft) rotation of the drive motor. Therefore, for the 210 plant, thiswill result in an input force to the right. For the 205 plant, this will result in a clockwise input torque at the base disk.
If you decide to write new FPGA code using the LabVIEW Embedded Project Manager, use the following tables as areference for assigning FPGA channels:
To ensure that the system has the correct power on states when the real-time target is booted but before thecontrol loop VI is run, you should configure the target to autorun the FPGA VI at power on. To enable this feature, the “Autorun VI”option should be selected when building the FPGA project code. Then, in the LabVIEW Embedded Project Manager, select Tools>>Download VI or Attributes to Flash Memory. In this window, you can download the FPGA VI from the host machine to the flashmemory on the target and configure autoload options. See Chapter 4 of the LabVIEW FPGA Module User’s Manual for moreinformation.
Extract all folders and VIs to a directory on your host PC. Be sure to keep the file and folder paths intact toavoid having to relocate VIs. The files in the FPGA VIs and Sub VIs folders do not need to be changed. Target your real-time devicefrom the LabVIEW start-up screen and then open the example ECP 210 1DOF PID.vi. You will see the front panel shown below:
Notification Switch
Would you like to follow the 'Control systems laboratory' conversation and receive update notifications?