Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Profibus conflicting with counter/timer?

Hi,
I'd like to build a control system for a school project consisting of an accelerometer, a frequency inverter with an induction motor - connected via Profibus and a rotary encoder fixed to the motor for the feedback signal which is acquired by a Ni6601 counter card.

When I start my vi everything seems fine and when I manually turn the rotary encoder I get the correct signal (left/right, correct angle). However, when I start the motor with Profibus the encoder gives a signal which is incorrect: It only counts upwards independent from the motor's direction and it also counts way too high (claiming to have counted e.g. 100 rotations when in fact there only were 5).

Could anyone help me with this kind of problem - I don't think I'll be able to solve it on my own - I'm pretty new to LabVIEW.
the Profibus Card is a Hilscher CIF-50

Thank you very much,

Regards from Oslo, Norway

Peter
0 Kudos
Message 1 of 2
(8,450 Views)
Hi
the problem was not Profibus (same problem emerged when the motor was started manually) but rather noise or induced voltage in the encoder's signal line due to too long cords and improper shiedling.

Peter
0 Kudos
Message 2 of 2
(8,434 Views)