Quantcast
Channel: Allen Bradley / Rockwell Automation Latest Topics
Viewing all articles
Browse latest Browse all 3721

Micrlogix 1400 HSC Interrupt & PLS

$
0
0

PLC Micrologix 1400 with 6 HSC. Connected an encoder with A,B & N. The encoder (Rotary incremental) is 2000 pulses per revolution 1. 

Need to achieve the following :

1. Whenever 2000 ppr reached increment count as 1 cycle complete

2. When 250 PPR then activate a solenoid Output (O0/0)

3. When 1750 PPR turn of output in step 2

I connected the Encoder to HSC0. Set the HIP to 2000 and LIP to 0. Then I created a Program File No. 3. In this I do the add of count (increment) . The PFN 3 is raised successfully on each 2000 PPR reached (as interrupt style).

Now when I use the PLS feature, I set the HSC0 Mode as A00 (as per the example in the manual) . In the PLS I set the HIP to 250 , OHD output 0 as 1. I set another HIP to 1750  and set OLD output 0 to 0. 

In the function file HSC0, I set the OMB to 1. With all this done, I get the following issues

1. Output 0 not coming on and off as needed in step 2 and 3 above

2. Now the count increment happens almost 2 times. First 0 - 250 and then 0-1750. How to address this problem. Where I am going wrong ?

Thanks in advance.

S.s


Viewing all articles
Browse latest Browse all 3721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>