SIEMENS S7-300 help needed

GEOFRA

Member
Join Date
Jul 2002
Location
Nicosia
Posts
99
Hi guys ,
I need some help on a project am doing. I have a lot of experience with s7-200 but is my first project with S7-300. I understand only LADDER. I want to use a shift right word instruction but it doesn't seem to work. I move W#16#1000 to MW100 . Then on the SWR block I connect I0.0 to EN input , MW100 to IN input, W#16#1 to N input.
I leave ENO unconnected and on OUT I have MW100 again.
By turning I0.0 once on, MW100 at IN input shows W#16#0008 the MW100 at the output shows W#16#0004 which shows that the instruction has been executed once but that's it. The value of MW100 at IN is not updated to the new value of (W#16#0004)and no matter how many times I turn I0.0 on nothing changes.
 
GEOFRA said:
I move W#16#1000 to MW100
If this an instruction that is executed every scan, then it's resetting MW100 back to W#16#1000 each scan. You only want to do this once... :nodi:

🍻

-Eric
 
s7-300

Eric thank you for your answer but this happens only once and not in every scan cycle.
I have used this so many times in S7-200 and it works perfect.
 

Similar Topics

Hi to all, Our company does not usually use Siemens PLCs, but have a press with one in it. We are trying to change the IP address in our Simatic...
Replies
2
Views
1,065
I have a siemens 317-2 and an old GOT1000 (GT1675M - V) I am trying to get the darn things communication and having no luck. I have followed the...
Replies
12
Views
2,140
Hi, I need a bit of help. I have an S7-300. it is used to detect wether product is too long etc. When I first turn it on it operates fine and an...
Replies
16
Views
3,315
Hello all, I am an electrical engineering student working on a senior design project with an industry sponsor. We are automating a burst test...
Replies
26
Views
13,941
Hey I come before you to ask your help about a problem I'm having with a program for S7-300. Any ideas how to change the first bit of a word (or...
Replies
7
Views
2,600
Back
Top Bottom