12-14-2008 03:49 PM
Hello,
I have servo drive that configured to Position-Command mode (i use the servo drive software to do that using rs232 cable)
The drive paramers are:
2048 pulse/rev
incremental AB encoder (X4)
8192 counts/rev
The motor works fine in Programming mode, using the servo drive software.
The wiring is :
Phase A, Phase B, Index of encoder is connected to the PCI7344/Axis1 feedback connector.
Also at the PCI7344/Axis1 feedback connector i connect the Forward,Home,Limit connected always to low, they not active, i dont need limits in my motion app - the wiring is good, there is no problem in MAX the limits is Off in the 1d-interactive tab in MAX.
When i want to use the servo in MAX (1d-interactive) i turn on the Servo-On signal, and the servo drive display shows "run" and the shaft is not moving (cant turn the shaft manually) - this is good cause its same action as i click "servo on" using the servo drive software.
MAX Setting:
--------------
PCI7344/Axis1 configuration: Stepper , and the Feedback i choose Encoder.
in Stepper settings : steps per revolution = 2048
Stepper loop mode = P-Command
Stepper Output Mode = Step & Direction
Stepper polarity = Active Low - i dont know if its right? Maybe Active High? How i check that in my servo drive?
Pull in window = 7, Pul in tries = 3
Motion IO: disabled, no problem here, MAX shpws that they off as expected.
Trajectory settings: Units=steps, Following Error=1000 counts, elocity treshold=8192 steps/s , Run/Stop tresh=1 steps/sample
Encoder setting: i really dont know what to select here...
i know that "Encoder counts per revolution" = 8192
but i search my servo drive manual to find what is my encoder polarity, and Index refeence criteria, and didnt find...
I try to set this to : A,B,index polarities = active high
and Index refeence criteria = A inactive, B active
PWM setting : disabled.
ADC setting : disabled.
Gearing setting : disabled.
do i need to set something in : Control loop setting?
i click "save" and "initialize", go to 1d-interactive, select "stepper loop mode" : P-Command,
relative position, velocity in steps, velocity = 2048 steps/sec, Accel=20480, Decel=20480
Target position = 8192.
Click "Start" and nothing happend. no errors, the motor doesnt move.
servo drive is Yaskawa FSP (same as sigma 2), servo SGMAH.
i'm using PCI7344, umi7774, LabVIEW 8.6, MAX 4.5, Motion assistant 2.3, Ni-motion 7.7
1. encoder polarity, and Index refeence criteria, how to set this in MAX? how i know what is my encoder values for this parameters?
2. do i need to use the PCI7344/Axis1 "enable" signal in the control connector, its always active (it outputs +24)
3. What about "Servo Tune" do i need to do that in MAX, or the tune i do using the servo drive software in enough?
p.s. i can provide a full list of all the parameters of the setting of the servo drive,
and also to export the setting of the pci7344 in max.
Thanks for any help
12-15-2008 03:52 AM
John,
before we get deeper into details, please start with this document. As you are not using a 7390, and a NI-MCA-7790Y connector board, which are the recommended products to be used with the 7390, you need to make sure, that the cabling is correct. The Yaskawa driveprovides opto-coupled inputs, so you need to make sure, that the 7344 drives enough current for these opto couplers. Please refer to this link for further information.
You also need to make sure, that your drive is configured to accept step commands.
Now to answer your direct questions:
1. encoder polarity, and Index refeence criteria, how to set this in MAX? how i know what is my encoder values for this parameters?
In a first step, please configure the board as open loop stepper. This way you don't have to care about any encoder settings.
2. do i need to use the PCI7344/Axis1 "enable" signal in the control connector, its always active (it outputs +24)
The enable signal is an important safety feature. Please refer to the manual of your UMI-7774 for detailed documentation.
3. What about "Servo Tune" do i need to do that in MAX, or the tune i do using the servo drive software in enough?
In P-Command mode the drive is doing the PID control, so no tuning is required for the 7344.
I hope that helps,
Jochen Klier
National Instruments
12-15-2008 08:12 AM - edited 12-15-2008 08:16 AM
Hello Jochen,
thanks for the links in your reply.
i'll check the current needed to my servo drive.
the wiring i do, for example: for the step signal is:
ServoDrive/Step+ to PCI7344/Axis1/Step+
ServoDrive/Step- to PCI7344/Axis1/Digital_ground
After you write your reply, i found in the servo manual this wiring:
ServoDrive/Step+ to ServoDrive/+12V (this is 12V provided by the servo drive itself)
ServoDrive/Step- to PCI7344/Axis1/Step+
ServoDrive/ground to PCI7344/Axis1/Step-
do i need to change the wiring as described in the servo drive manual/ attached here...
i think its also mentioned in one of your links.
Please, just let me know if i need to change the wiring as described here in my attached image,
if so, i assume i need to change the wiring also for the Dir signal, etc...
Thanks,
JohnLv09
12-15-2008 08:29 AM
this is how i wire the step signal:
Figure 1-2b
this is how i nned to connect the step signal????
also in my previous post, i atached an image that shows wiring same to this.
Figure 1-2a
For each axis on the 73xx or the UMI, connect the Step, Direction, and Inhibit Out signals to the negative terminal of their respective input on the third party drive
Figure 1-2a ? Figure 1-2b ?
12-15-2008 08:45 AM
Oh oh oh ....
i think i understand something here.....
Figure 1-2b
is how i wire the step signal, at least i think its like i wire it, but this figure shows that i need to connect the
ServoDrive/Step+ to PCI7344/Axis1/Step+ and also to wire them both to +5V isolated of the UMI7774
Is that what i'm missing here? if i understand that, the isolated +5v is the source for these signals....
in that case, i think its better to wire the step signal as described in Figure 1-2a, the one that wires the Step+ of the servo drive to its 12V.
instead of using another isolated 5V that i need to connect to the UMI7774.
Questions:
1. do i need to change the wiring to this Figure 1-2a ? (Step+ of the servo drive to its 12V)
2. is it ok that i use the same 24VDC power supply for both V,Viso to power the UMI ?
Thanks for your help, and sorry for writing these in some posts, i cant edit the post for some reason..
and i found more things to help solve the problem,
So, i try to help you to help me.
JohnLv09
12-15-2008 09:01 AM
this is very confusing, in my last post i still have something wrong...
This is the correct choices:
Option1 (with 5VDC connected to V-iso) :
ServoDrive/Step+ to +5V isolated of the UMI7774
ServoDrive/Step- to PCI7344/Axis1/Step+
in this case i need another 5V power suplly to connect to the umi, i have now 24VDC connect to the umi,
Option1 (with 24VDC connected to V-iso) :
ServoDrive/Step+ to +24V isolated of the UMI7774
ServoDrive/Step- to PCI7344/Axis1/Step+
Option2:
ServoDrive/Step+ to ServoDrive/+12V
ServoDrive/Step- to PCI7344/Axis1/Step+
ServoDrive/ground- to PCI7344/Axis1/digital ground
i prefer to use : Option1 (with 24VDC connected to V-iso)
is that ok?
12-16-2008 11:09 AM
12-16-2008 11:46 AM
Dear Vince
Thanks for your reply.
i do this wiring:
ServoDrive/Step+ to ServoDrive/+12V
ServoDrive/Step- to PCI7344/Axis1/Step+
ServoDrive/ground- to PCI7344/Axis1/digital ground
setting the things needed in MAX and... nothing happened.
i think i have problem to set the inhibit output for the axis,
Please tell me how to troubleshoot this
i allready read all knowledgebase articles about motion...
Thanks
12-17-2008 03:15 PM