Micro820 with 2080-MOT-HSC

chikhim

Member
Join Date
Apr 2014
Location
USA
Posts
2
Hello everyone.
I'm having some error on the pulses read by the HSC card.
I'm using the 2080_MOT-HSC as a pulse counter; in the CCW in using HSCE_CFG for configure the HSC and HSCE instruction to get the accum pulses.
For calculating the rate Im using a single Timer to get the rate every 1 second.
The HSC is counting and the HSCE Instruction indicates the accum.
These are the issues:
First, the rate calculated using the timer vary more than the rate calculated by the HSCE instruction. I was thinking maybe in one scan lost the count of pulses, the scan is 5 ms and the max is 8 ms.
The other thing is that if I run the system to 1 HZ, I got a vary RPM about +- 3 (this is for the vary rate), but if I run the system faster the vary is bigger and doesn't seem consisted.
I set filters on the input, i change many parameters but the RPM vary is the same.
I found information about the 2080-MOT_HSC pulse counting error, but it says at 10 Hz the error is 0.001 % but I got errors starting at 1 Hz.
Anyone have had problems reading pulses with HSC?
I attached the HW Configuration.

HSC Errors.png Filter.PNG Counter 0.PNG
 
I solved it.

The wiring was good.

The way I was calculating the frequency was comparing the accumulator every second. I had some different values every X time Because the Timer was running on Main program while the PLC Scan.

I Thought at the beginning It was a pulses counting error; I used an oscilloscope to measure the real frequency of the pulses and compare with the rate1 output of HSCE instruction, the frequency matched so I prefer to use the rate1 output from HSCE instruction instead of calculate it with a timer.
 

Similar Topics

I have run into a problem with my first time installing a 2080-OF2 module on a Micro820 and have a hunch that the module itself - brand new out of...
Replies
9
Views
937
Gents I'm working on a small project here and the customer requested to control the drive with 4-20mA by using Micro820 Analog output 4-20mA...
Replies
10
Views
6,100
I’m trying to read values from a device that can either send registers as 32 bit or a pair of 16 bit but if I understand right, the micro can only...
Replies
26
Views
831
Hello, I set up my Micro820 with a basic mapping. When I try to run a script to read the addresses I get errors for illegal addresses...
Replies
2
Views
173
Hi Guys, I am a new member and this is my first post! I have a little PLC experience but it is mostly with siemens logo and using ladder...
Replies
4
Views
910
Back
Top Bottom