10-19-2005 05:06 PM
First - setG0_MSeries_Index_Enable is the correct name for bit 4. I was looking at some older documentation that call the same bit _Index_Mode,
Second - I'm guessing that you need to adjust the G0_MSeries_Index_Phase value. This Z index behavior of your encoder will vary depending on type. There is a good description in the M Series Help file. For the encoder I am using I set the Index_Phase to 0 for A low, B low. All of your other settings (from your 17Oct post) look good. Those are the only three changes I made to my LabVIEW program. Other than that, it could be signal connections (just need A, Z, and B):
Counter/Timer Signal | Default Connector 0 Pin Number (Name)* |
---|---|
CTR 0 SRC | 37 (PFI 😎 |
CTR 0 GATE | 3 (PFI 9) |
CTR 0 AUX | 45 (PFI 10) |
CTR 0 OUT | 2 (PFI 12) |
CTR 0 A | 37 (PFI 😎 |
CTR 0 Z | 3 (PFI 9) |
CTR 0 B | 45 (PFI 10) |
10-20-2005 08:29 AM
10-11-2006 08:54 AM
03-28-2007 06:28 AM