06-04-2018 05:25 PM
Hi,
I'm trying to communicate with VIX Parker servo drive (VIX250AH) via serial interface from LabVIEW. The Servo drive (VIX250AH) is used to control MX80L linear servo motor.
When I try to send any command from LabVIEW using VISA write, it just echos back the same command as response but there is no motion in the linear servo motor. Also when I try to read the status register or read back the configured distance /velocity /acceleration, it just echos the same query command (1D\r\n;) as response.
With Parker's EASI-V software tool, I'm able to communicate(COM1,9600) with Servo drive and execute a sample test program which actually moves the servo motor as expected. But I'm not able to achieve the same motion from LabVIEW. Even I'm not sure whether the servo is able to recognize the commands sent from LabVIEW. Anyone worked with Parker's EASI-V programming commands from LabVIEW?
VIX250AH Servo Drive User Guide
https://www.parkermotion.com/manuals/Digiplan/ViX-AH_UG_8-03.pdf
Sample EASI-V commands to control VIX servo drive
1K;
1CLEAR(ALL);
1START:;
1ON;
1LIMITS(3,0,0);
1D4000;
1V1;
1A10;
1G;
1END;
1GOTO(START);
- R
06-05-2018 04:21 PM
Hi,
I poked briefly though the manual you provided and noticed two things:
1. It does not explicitly say the serial connection is built on VISA.
2. The commands need to be prefaced by an axis reference.
To further explore these, I'd recommend checking the port using a packet sniffer like Wireshark to see what information is actually being sent over the port when you use Parker's software.
06-11-2018 02:42 AM
Been a while, but I did a few Vix applications with LabVIEW. Attached is a 7zip file that should have everything you need from the LabVIEW side. I also attached the Vix program I used with this(I think)...
Holy Crap. It appears that NI has fallen in line with every other company's IT practice to make it impossible to attach files that are useful. First it wouldn't allow a regular zip file. Then it wouldn't allow the Vix prg program. What a waste of time. Sorry for the rant. See Dropbox link below.
https://www.dropbox.com/s/jh2jm2ekt12gtt5/CZ_FURN.PRG?dl=0