s7 300 a basic question

yantrak

Member
Join Date
Mar 2010
Location
new delhi
Posts
30
hi all,

the program segment in stl is as follows

network1:

1. a m 0.0
2. jc l1
3. a m0.1
4. jc l2


m0.0 =0

m0.1 =1

i don't know:

1.the value of rlo before step 1
2.the vaue of rlo after each step

hlp aprctd

thnx
 
thnx turpourpo

m0.0 = 0
m0.1 = 1

these values exist before the start of network 1

i'm confused beacause i think that after executing step 1 the RLO becomes 0.
so at step 3 and thereafter RLO remains at 0 until some set or or instruction.
but i know that this is wrong but where?

thnx agn
 
hi ld,
as mentioned m0.1 is 1

"A checks whether the state of the addressed bit is "1", and ANDs the test result with the RLO.":-stl programming manual

the value of RLO at/after step 2 is 0 then as per the def cited above the value after step 3. should remain 0 even if m0.1 is 1

also what is the value of RLO at the start of a network.i think it should be 1 irrespective of the value at the end of previous network, if the analogy of a network in stl is a rung in lad and the power rail is the start point of a rung.

there is a fault in my understanding but where?

thnx agn
 
hi ld,
i tried my best but still could not get any info on /fc other than

"* Bit cannot be evaluated in the user program with the L STW
instruction since it is not updated at program runtime."

but i think the answer to my question lies in

definition of jc

"If the result of logic operation is 0, the jump is not executed. The RLO is set to 1, and the program scan continues with the next statement.":stl programming manual

so at step 3 the RLO starts with 1;

anyway i would be grateful if you will share any info that you have on /fc

thnx
 

Similar Topics

Hi all, I'm starting learning Siemens from scratch. I have to use a S7-300 Siemens PLC in a project. There's a change more pieces of equipment...
Replies
7
Views
6,444
Currently tinkering with a home project for a wood router lift machine using some second hand parts from a redundant timber mill. The servo is a...
Replies
3
Views
2,431
Hi Everyone I have a customer that would like me to add a KTP700(PN) panel to an existing S7-300 PLC. Since this is my first Simatec panel I...
Replies
6
Views
1,678
Greeetings i do need to connect the control Teqniques Servo Drive digitax Basic to Siemens PLC i do use Profibus communication Module in the...
Replies
0
Views
3,368
Hello I'am using TIA portal V11 SP2. My plc is a CPU315. I would like to make a small program to read a peripheral profibus Element in SCL...
Replies
0
Views
2,526
Back
Top Bottom