Cannot get working 5i25 + 7i76 + 8i20

More
01 Aug 2013 06:59 - 01 Aug 2013 07:01 #37313 by KT315A
PCW thanks for updated manual, it helped.
I changed ON and OFF braking voltage to

WPD NVBRAKEONV 19000
WPD NVBRAKEOFFV 17000

And if fixed Braking issue in Operate Mode.

Communication still was not available.
I was trying to set NVBAUDRATE to 9 in Setup Mode and it did not help.

Then I did stupid thing, I send NVBAUDRATE 9 in Operate Mode and it worked.
Finally 8i20 appeared in HAL configuration.

See dmesg log

Thanks a lot!
Attachments:
Last edit: 01 Aug 2013 07:01 by KT315A.

Please Log in or Create an account to join the conversation.

More
01 Aug 2013 07:12 #37314 by KT315A
I am not able to find any examples how to integrate 8i20 and bldc HAL module,
At least get motor spinning in free-running no motor feedback mode and
as a next step close the loop with PID via incremental encoder with a zero index.

I am not sure if it is the right way to control my spindle motor.
Can you give me any advice?

Thanks.

Please Log in or Create an account to join the conversation.

More
01 Aug 2013 07:39 #37315 by PCW
What kind of spindle motor do you have? the 8I20 is designed fro running
BLDC or PMSM servo motors, not induction motors

Please Log in or Create an account to join the conversation.

More
01 Aug 2013 08:12 #37316 by KT315A

What kind of spindle motor do you have? the 8I20 is designed fro running
BLDC or PMSM servo motors, not induction motors


It is OMRON servo motor with permanent magnets: R88M-K1K530H-S2
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Aug 2013 23:39 #37324 by KT315A
Finally an example how to use 8i20 is found, it is in

linuxcnc\examples\sample-configs\smithy\

It is a good start point.

Please Log in or Create an account to join the conversation.

More
01 Aug 2013 23:40 #37325 by KT315A
It is not clear how to clear faults.
8i20 throws 8 error, it is not clear are they collected from last power up?
Or they are kept in EEPROM from previous runs?

Smart Serial Firmware Version 38
[ 874.329955] hm2/hm2_5i25.0: Smart serial card error = (31) LBPCOM Fault
[ 874.329964] hm2/hm2_5i25.0: Smart serial card error = (30) Illegal Remote Mode
[ 874.329970] hm2/hm2_5i25.0: Smart serial card error = (29) Under Voltage
[ 874.329976] hm2/hm2_5i25.0: Smart serial card error = (15) Communication Not Ready
[ 874.329981] hm2/hm2_5i25.0: Smart serial card error = (13) Communication error
[ 874.329987] hm2/hm2_5i25.0: Smart serial card error = (8) Remote fault
[ 874.329992] hm2/hm2_5i25.0: Smart serial card error = (7) Too many errors
[ 874.329997] hm2/hm2_5i25.0: Smart serial card error = (6) Remote Fault



8i20 manual gives very confusing way on how to clear fault:

CLEARING FAULTS
Faults can not be cleared by writing the fault register but are cleared by setting the
CLEARFAULT flag. The host must then poll the state of CLEARFAULT until it is zero.

How to accesses CLEARFAULT flag?

Please Log in or Create an account to join the conversation.

More
01 Aug 2013 23:52 #37326 by PCW
Do you have the 8I20 powered (so you dont get a LV fault) and enabled?

Remote fault clearing happens when you start the sserial interface
you do not have direct access to low level fault clearing
(nor is it needed unless you are writing low level interface code)

Please Log in or Create an account to join the conversation.

More
02 Aug 2013 00:01 #37327 by KT315A

Do you have the 8I20 powered (so you dont get a LV fault) and enabled?


Yes, it is enabled (directly connected to 12V) and motor voltage is applied 160V.

If all faults gets cleared all the time I start EMC what else can trigger those errors?

Bad EEPROM settings?

Please Log in or Create an account to join the conversation.

More
02 Aug 2013 00:21 #37328 by PCW
Possibly, what settings were changed?

In a bit I will post a batch file that will set all the
EEPROM setting to the defallt values

Please Log in or Create an account to join the conversation.

More
02 Aug 2013 00:37 #37329 by KT315A

Possibly, what settings were changed?


Not many:

WPD FAULT 0
According to manual ‘Would clear the FAULT parameter’ (Page 13)

WPD NVBRAKEONV 19000
WPD NVBRAKEOFFV 17000

WPD NVMAXCURRENT 200
To limit current to 2 amperes, enough to get motor spinning.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.093 seconds
Powered by Kunena Forum