LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Maxon EPOS Simulation Loop

Hello,

 

I'm using LabVIEW 8.5.1 and I have modeled and simulated a plant I'm developing within a Simulation Loop (attached) and now I want to go and implement the system, but it doesn't appear to be as simple as just dropping the transfer functions and putting DAQ Output and Input VIs in as specified in the "Introduction to LabVIEW in 3 Hours for Control Design and Simulation" tutorial for this particular system. I have a Maxon RE-40 brushed DC motor and a HEDS 5450 encoder interfaced with an EPOS 24/5 positioning controller that communicates with my PC through an RS-232 cable. Can someone talk me through how I can communicate with this system with the VI I already built for simulation purposes?

 

Thanks,

Brian

0 Kudos
Message 1 of 5
(4,087 Views)

So what exactly is the problem you're having?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(4,077 Views)
I'm not certain which of the EPOS VIs I need to use or how to connect them, and there aren't any help files included with them. Maxon was no help so I'm hoping someone here has experience with them.
0 Kudos
Message 3 of 5
(4,055 Views)

Well you have the simulation running right? The point of the transfer function is to represent the response of the physical system right? Well replace the transfer function with the routines for writing values to the system and reading the response that relates to the transfer function output.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(4,043 Views)

I think I can simply nix the transfer function and replace it with a set current VI, but how do I open and enable the EPOS? The VIs are obvious (VCS Open Device and VCS Set Enable, me thinks) but where do I wire them to? Do I need to create conditional loops outside the simulation loop that only run the PID control if the EPOS has been enabled and opened?

 

Thanks,

Brian

0 Kudos
Message 5 of 5
(4,021 Views)