S7 toggle outputs

vbcwijlre

Member
Join Date
Jul 2005
Location
the stad
Posts
3
Hello people,

I need a function to test 48 outputs from Q0.0 to Q5.7. I have a little display with a push button, M700.0 is connected to it. The first time I push this button output 0.0 must go to signal state 1, the second time I push the button output 0.0 must reset to signal state 0 and output 0.1 has to 1. So on till output Q5.7
 
hi

i do not know which plc u are using but the simplest way to do so is using the shift instruction

this is a small program using s7



A M 10.0
FP M 10.1
= M 10.2
A M 10.2
JCN x1
L MW 0
SLW 1
T MW 0
x1: NOP 0
L MW 0
CAW
T QW 0



repat with the other two words

Note (u have to initially set m1.0)
 
Last edited:

Similar Topics

Hi All, Newbie questions but I have two of them!: 1. I am unable to toggle the bit on I:0 (it keeps at 0). If I go into the data file and...
Replies
10
Views
2,432
Hi, I'm just looking for a simple way to make a button in excel (via VBA I presume) to toggle a bit in RSLogix 5000. I just got FactoyTalkLinx...
Replies
9
Views
546
Hello good people! Attached is a very simplified version of a Zelio program containing what I am trying to do but it carries the same problem as...
Replies
8
Views
1,268
EDIT: I suppose i should mention, RSLogix 500 V8.40, SLC 5/04 (1747-L542C) Is there is a way to use the FFL instruction in a way that doesn't...
Replies
4
Views
864
I am trying to achieve a set/reset or toggle function withthe same input. Example: Push a button once, the motor or pump starts, push the same...
Replies
33
Views
8,165
Back
Top Bottom