siemens plc

jugenzhu1963

Member
Join Date
Jun 2006
Location
toronto
Posts
72
hi,everybody

I am learning siemens plc(s7-300) now. I don't know how to manipulate the bit memory. For Example how i can make bit M0.0 always ON. Please help me.

Thank you
 
Hopefully the two other posts have answered your question. (Another answer is that you can't - if some other processing decides to clear M0.0, then it will be clear until the next time the set instructions are executed)
 
Another thing to remember is that an "always on" bit really isn't necessary with Siemens S7. I've written tens of thousands of lines of code, and haven't used one yet. Instead, take advantage of the "SET" and "CLR" commands, which directly affect the RLO.
 
S7Guy said:
Another thing to remember is that an "always on" bit really isn't necessary with Siemens S7.

Interesting. I use AlwaysOn bits to temporarily bypass one or more contacts in ladder or disable (parts of) a rung, without actually removing any logic. Only in LAD, in STL I have no use for it.
 
[stplanken]Interesting. I use AlwaysOn bits to temporarily bypass one or more contacts in ladder or disable (parts of) a rung, without actually removing any logic. Only in LAD, in STL I have no use for it.

I have done the same as stplanken using always ON (M0.0) and always OFF (M0.1)flags. The flags are set up in OB1. Anyone else do the same?

Homer
 
Rack Failure said:
I have done the same as stplanken using always ON (M0.0) and always OFF (M0.1)flags. The flags are set up in OB1. Anyone else do the same?

Homer

Hrm... maybe it's just me, but wouldn't it be more intuitive to use M0.0 for the 'Always OFF' state and M0.1 for the 'Always ON' state?
 
Rdast
Oops a typo, should've been more carefull.
BTW how do you do a quote box like you've done? Tried it in my last post but hasn't worked.
 
Rack Failure said:
Rdast
Oops a typo, should've been more carefull.
BTW how do you do a quote box like you've done? Tried it in my last post but hasn't worked.



click here
rack.gif
 
Always OFF, always ON

rdrast said:
Hrm... maybe it's just me, but wouldn't it be more intuitive to use M0.0 for the 'Always OFF' state and M0.1 for the 'Always ON' state?


I use the same setup in order to debug as well as enable disable certain functions and rungs of logic on the fly.
Yes, M0.0=always OFF, M0.1=always ON.
 

Similar Topics

Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
141
The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
12
Views
331
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
144
Good morning fellow sea captains and wizards, I am being asked to do the above and obtain 4 values from each slave, I know about the MRX and MWX...
Replies
32
Views
901
Hey guys, I have to take an upload of a program on an S71200 PLC to change a hardware config option and then redownload the program with this...
Replies
3
Views
120
Back
Top Bottom