SHL shift register S7-1200

mulderm

Member
Join Date
Jun 2003
Location
Netherlands
Posts
298
Hello,

I want to use the shift register SHL for siemens S7-1200 cpu.
I expect when I trigger the EN-input that the IN- value (1) by each
triggerpuls moved forward to left in the OUT word.
But by every pulse the output will be 2!
I expected by each puls value 2,4,8 etc. etc.
So it's a bit shift register.
What is wrong?

greetings mulderm

SHL.jpg
 
Last edited:
You are not changing tag_4. So every cycle, you give the same number (1).

Try using the same tag on both sides, so use tag_4 on both IN and OUT.

You might also want to use a edge detection, right now the block will be active every cycle that you clock is high.
 
Boneless,
You are wonderful.
When using the tag boths IN and OUT it was still not working.
But when place also the edge detection, it is working!
Very good.
Can you explain what is happening about this network?
So I can understanding the SHL register.

greetings mulderm.

Working.jpg
 
I am not sure why you need the one-shot, I assumed it was just "good practice" but I just tested and can confirm what you noticed.

Select the SHL and hit F1, that will explain a lot!
 

Similar Topics

We are converting an old GE to a S7 as a rush project. Don't you love the 4:30 on Friday phone calls. I need to know how a specific memory space...
Replies
2
Views
1,738
U
Does this work like an ab bsl? I cant get it to work. Any advice appreciated.
Replies
2
Views
1,618
Unregistered
U
I've got a Powerflex 700 that doesn't like to get going in the mornings. This motor will run anywhere from 30 seconds to 5 minutes before it just...
Replies
3
Views
154
I am attempting to reject a bottle If the label fails. The rejection works fine at normal line speed but at low speed the rejector fires (air...
Replies
35
Views
1,141
Hi All. I have a very specific question about tracking using an encoder and bitshift register. We would like to use a Compact or Control Logix PLC...
Replies
40
Views
1,712
Back
Top Bottom