S7-200 output problem

blackcobra

Member
Join Date
Nov 2011
Location
India
Posts
3
Hello , My name is Gavin an I am new both your forum and the field of PLC programing, an hence I was wondering if I could get a bit of help from some of the seasoned vets. I am a software engineer by profession so I am used to a slightly different style of programing Ok here's my problem-

I am designing a program using a ladder diagram, the whole thing is fairly simple as the PLC has to control a pneumatic arm for some automation type of application. The Machine has an automatic and manual switch which is connected to I1.0 of the PLC. When the Machine is placed into manual mode the I1.O input goes high hence this input has been used to differentiate between the two modes. My automation cycle is happening without A Jazz however in manual mode which is much simpler than automation mode the PLC just refuses to turn on outputs Q0.2 AN Q0.4 which are basically the only things required of it in this mode The only contact that does work in this mode is Q1.0 the funny thing is that the program status in Step 7 shows all these contacts as turned on but the PLC refuses to light up the LEDs corresponding to Q0.2 AN Q0.4, and since the auto manual switch is being checked as a contact there is no power going to the auto cycle. However if the manual mode program is run separately the whole thing works flawlessly ! ! !

Coming form a software programing back ground i was just wondering if there were some quirks about this system i have overlooked.

Thanks for all the time you took to read through my problem any assistance you can render will be greatly appreciated.

Regards,
Gavin
 
Last edited:
First of thanks for your Prompt Reply, The Q Outputs are being written to in both the manual and auto cycles however when switched to manual mode there is no power going to the auto cycle part of the ladder logic as it gets dissabled as soon as I1.0 comes on, hence all those Contacts an Coils are turned off. This is clearly evident from the "program status" In step 7. The most confusing thing about this whole situation is the fact that Q0.2 AN Q0.4 appear to be turned on in the "program status" however the PLC refuses to even turn on the Q0.2 AN Q0.4 output LEDs.
 
Go back to post #2, if you are writing to the Q outputs in two places and executing the code all the time, the last one wins.

e.g.

win.JPG
 
If i get what your saying right then because in the automation cycle which is [\]I0.1 (i.e not I0.1) has Q0.2 AN Q0.4 turned off then when u try an use [ ]I0.1 to turn them on it will not work as they were turned off in the previous cycle?
 

Similar Topics

Good day guys (and gals) I have a question about what is required to get an analog output from a em232 analog output module connected to an s200...
Replies
13
Views
6,066
Good day guys (and gals) I have a question about what is required to get an analog output from a em232 analog output module connected to an s200...
Replies
0
Views
2,574
I need help achieving the following task: ML1200 sending 4 to 20 mA thru analog output ch0 to a DC speed controller analog input(4 to 20 mA) my...
Replies
3
Views
667
Pretty simple question, but I was wondering how I can set the Analog Output 1 of an S7-1200 (DC/DC/Relay) to be proportional to a data tag. I...
Replies
1
Views
843
Hi all Have a Micrologix 1200 (1762-L24BXB) There are 2 expansion modules attached. 1x 1762-IQ16 and 1x 1762-OB16. The PLC wired inputs and...
Replies
3
Views
1,022
Back
Top Bottom