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
 
You should just be able to look at these in the word (decimal) format correct? I have not played with S7-200 enough yet

hjajoe said:

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

I will look at it... I have to convert an S5 to S7-200 next week
 

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,499
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,921
Hello All, I am stumped on how to convert a %MW to a %MF using Machine Expert Basic and a Modicon M221. The help files show a word to a double...
Replies
4
Views
156
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
261
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
144
Back
Top Bottom