Programming registers

hjajoe

Member
Join Date
Sep 2007
Location
Faroe Islands
Posts
17
Hi programmers!

I want some help in programming registers.
My PLC is Siemens S7-200

I have 2 digital inputs.
When both are triggered, register will be filled with zeros(000)
When input 1 is triggered, the register will loop binary like this.

1´st 001
2´nd 010
3´rd 011
4´th 100
5´th 101
6´th 110
7´th 111 and then back to 1(001)

The result could be shown as MW0

Hope someone can help me.

Thank you
 
looks like homework to me. think about counters and how integers are displayed as boolean
 

Similar Topics

How do we decide in programming a PLC that we use comparator, timer, registers, flags, function blocks etc for any task or for any network ...
Replies
11
Views
7,491
Hi programmers! I want some help in programming registers. My PLC is Siemens S7-200 I have 2 digital inputs. When both are triggered, register...
Replies
1
Views
1,845
Hi, I am trying to set up a plc. I've never done any programming with ladder logic previously. I'm trying to set up a a program to turn a device...
Replies
7
Views
237
Dear all, I have fx2n plc on my hand but I don't have the programming cable sc-09 and it would not be easy for me to get one. I need the cable...
Replies
3
Views
135
Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
20
Views
944
Back
Top Bottom