02-06-2013 12:00 PM
I just found out that there is no module for the 9178 chassis to interface with the P7000 drive. Can we use the serial port on the P7000 to control directly from Labview? What would be the easiest way to control it? Using P7000 tools we can operate the stepper all day long.
Solved! Go to Solution.
02-07-2013 11:46 AM
Galanm,
While the P7000 stepper drives do have a serial port, this is only used to configure the drive. You cannot issue serial commands to the drive that will move the motor. The P7000 Tools are also used for configuration purposes, and not for actual programming.
As far as what is the best or easiest way to control your drive will depend on what kind of system you want to have. I would suggest that you read through the following two articles that describe the process and considerations for selecting desired your motion system.
[1] Motion System Selection Guide
[2] NI Stepper Motion System Selection Guide
02-07-2013 12:02 PM
Thank you for your response. Using portmon we were able to determine the commands used through P7000 tools. We have since incorporated modbus code into the labview code and are able to control speed and direction through the serial interface. I hope this fix may help others in the future.
07-02-2013 01:17 AM
Hi Galanm,
Understand that you managed to control the motor drives through the serial port.
Is it possiblie to share the coding? I trying to communicate the motor drives P70530 series through serial.
Would like to perform a jog at a certain speed and stop the motor.
Regards,
Jeffrey Wong
11-06-2013 06:18 PM
Galanm,
Im trying to achive the same thing but my computer is running Windows 7 so I cannot use portmon.
Im using "advance serial monitor.exe" and, before jogging and after jogging, I get the same strings:
<SOH><ETX><NUL> [len=2]
<20131106171410.689 TX>
b<NUL> [len=1]
<20131106171410.689 TX>
<SOH>Ô%
<20131106171410.700 TX>
<SOH><ETX><NUL> [len=2]
<20131106171410.700 TX>
g<NUL> [len=1]
<20131106171410.700 TX>
<SOH>Õ5
<20131106171410.711 TX>
<SOH><ETX><NUL> [len=2]
<20131106171410.711 TX>
<DLE><NUL> [len=1]
<20131106171410.711 TX>
<STX>ÎÅ
<20131106171410.889 TX>
<SOH><ETX><NUL> [len=2]
<20131106171410.889 TX>
b<NUL> [len=1]
<20131106171410.889 TX>
Can you help me a little with this. ( sharing your commands would be very appreciated)
Thanks
Erwin Franz
11-12-2013 06:11 PM - edited 11-12-2013 06:21 PM
Problem solved.
I could jog the motor through modbus RTU with the Modbus library for Labview.
I deployed it to a crio 9073 using the serial VIs .
The modbus holding registers to jog are index 22-23 ( double word where the first bits represent the sign).
To do more complex stepping I suggest the p7000 modbus application note.
hope this helps someone else,
regards,
Erwin Franz
Erlab México.
03-05-2018 04:36 PM
Hi ErwinFranz,
I am trying to control a P7000 via Labview MODBUS. I can jog the motor with the serial port and using the P7000 tool provided by Kollmorgen. Could you share a VI where you were able to jog a motor using LabVIEW MODBUS? Thanks.