Positive edge triggers

Greetings Siemens people ...



first of all, I know NOTHING about Siemens - but I’d like to ask a question ... feel free to simply ignore me ...



suppose we use the program in Post #15 ...

suppose that switch M0.0 is OFF in the field ...

suppose that switch M1.0 is OFF in the field ...

suppose that the processor is powered down ...

suppose that while the processor is powered down, M0.0 and M1.0 are both turned ON in the field ... (for example: an operator manually moves a box in front of each of two proximity detectors) ...

now suppose that the processor is powered back up again ...

question A: will M0.2 give a pulse? ...

question B: will M1.2 give a pulse? ...



like I said, I know nothing about Siemens - but in an Allen-Bradley system, these questions could be food for thought ... and ... the answer MIGHT be different depending on whether we’re talking about a PLC-5, or an SLC-500, or a ControlLogix system ...



possible moral of the story: sometimes things work fine in “normal” operation - but may cause surprises when the system is powered off, or faults, etc. ...



just curious about how Siemens handles things like this when compared to Allen-Bradley ...



thank you ...
 
.... of course there is more to the story than this. What if the photo eyes are ON when you power down - will another pulse be produced on power on ? - this time it depends on the retentive properties of the CPU and the M flags used for detecting the positive edge....
 
L D[AR2 said:
Which is the trigger bit in my example below ?
Both networks produce the same results.

M0.2 and M1.2 are the trigger (one scan pulse) bits.
never use M0.1 anywhere else in the program because it is used by the plc to memorize the last rlo status.

on the other hand, with siemens plc, you can define which memory bits range is retentive or not at power up. but usually for safety reasons, i make sure that all memory bits are off on the first scan.
 
Last edited:
M1.1 (your Maux bit) is also used to memorize the last RLO status and the same limitation applies in that you cannot modify M1.1 anywhere else in the program.
 
L D[AR2 said:
M1.1 (your Maux bit) is also used to memorize the last RLO status and the same limitation applies in that you cannot modify M1.1 anywhere else in the program.

you are right. but i prefer it this way. it is clearer and i can add parallel and series conditions as i like.
 

Similar Topics

Hello I have got a problem with positive edge from "system clock memory byte" in Tia Portal. I would like to change byte"system clock memory"...
Replies
27
Views
3,610
Can anyone see why i am not getting an output on this? it is detecting a rising edge and saying that it is true but going any further to the...
Replies
5
Views
2,406
I am using Portal for the first time and I am simply trying to do a one shot. My code wasn't working so I made a new network with all new tags so...
Replies
7
Views
2,533
Hello, I wish everyone the best for the new year. I am working with FATEK and winproladder. I want to build a project that has 8 DI and 1 DO. At...
Replies
2
Views
2,830
How to make in STL(S7-300) potivite or negative bridge. I want to start pump only on positive edge of the bit "start_pump"
Replies
7
Views
4,301
Back
Top Bottom