
adccommunitymod (AutomationDirect) asked a question.
Created Date: January 24,2008
Created By: KIM632
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Need help understanding high speed counter... Currently we are using a DL06 PLC and we have 2 high speed counters set up in our program in separate blocks. The counters are used by a gantry to count slots down a rail to a specific location. Therefore only the block corresponding to the specific rail will be energized for counting. 95% of the time the counter works fine and the gantry reaches to correct location, but every once in a while the gantry starts to move, which tells me it is in the correct block, but the High Speed counter never changes??? This is my problem, and I also am curios as to why it only happens once in a while? Also, it does not matter which rail/high speed counter I am using, I have had the error occur in both scenarios. So the set-up of the High Speed Counter I was using when the error occurred last was ... V7633 loaded with K10 so running mode 10 V7635 loaded with K1 so we are using X1 V7637 Loaded with K7 so external reset is X3 There were 2 preset V3710 loaded with 1st preset V3712 Loaded with 2nd preset V3714 Loaded with ffff to show end of preset table. The UDC is set to CT176 ENI command initiated at startup of PLC program I did notice in the manual that ENI command was set at the beginning of one of the examples so I did add this to my program although I am not sure what it does ? Any Suggestions??
Created Date: January 25,2008
Created by: bcarlton
This only addresses your question about ENI.
The high speed counter functions process incoming pulses at a rate faster than can be handled by standard processes in ladder logic due to scan time.
The method of processing is, upon a signal changing on the high-speed input, the scan of the ladder logic is halted and the appropriate processing for the signal is done. The control then returns to the ladder logic scan.
This method is called an interrupt. Normally, on power up, the PLC will not look for process interrupts. The ENI command ENables Interrupts.
Created Date: February 04,2008
Created by: stimpsonjcat
First thing to check is if you are actually getting pulses when this happens?
Created Date: February 04,2008
Created by: KIM632
The sensor itself, which has an LED to show pulsing, does appear to be pulsing and the LED on the PLC appears to be pulsing as well but the counter in the program never changes.
Created Date: February 11,2008
Created by: stimpsonjcat
Save project, clear mem all, PLC\setup\initialize scratch pad, and reload code and place in RUN.
Created Date: January 24,2008
Created by: KIM632
Need help understanding high speed counter...
Currently we are using a DL06 PLC and we have 2 high speed counters set up in our program in separate blocks. The counters are used by a gantry to count slots down a rail to a specific location. Therefore only the block corresponding to the specific rail will be energized for counting. 95% of the time the counter works fine and the gantry reaches to correct location, but every once in a while the gantry starts to move, which tells me it is in the correct block, but the High Speed counter never changes??? This is my problem, and I also am curios as to why it only happens once in a while?
Also, it does not matter which rail/high speed counter I am using, I have had the error occur in both scenarios.
So the set-up of the High Speed Counter I was using when the error occurred last was ...
V7633 loaded with K10 so running mode 10
V7635 loaded with K1 so we are using X1
V7637 Loaded with K7 so external reset is X3
There were 2 preset
V3710 loaded with 1st preset
V3712 Loaded with 2nd preset
V3714 Loaded with ffff to show end of preset table.
The UDC is set to CT176
ENI command initiated at startup of PLC program
I did notice in the manual that ENI command was set at the beginning of one of the examples so I did add this to my program although I am not sure what it does ?
Any Suggestions??