Jump to content

Recommended Posts

Posted

Hi, I am fairly new to PLCs, I am writing a gate/barrier autmation program, however I have Y0,1 & 3 Flickering and unable to signal their relays.

1 & 3 are barriers that need a pulse to open, 0 & 4 are gates that need to maintain to remain open.

If you see in this screenshot Y000 is not ON when it is being called by M1.


Yet in another image Y0004 is ON when being called by M1.

This is in a simulator but works the same on the PLC, If i erase the program I can manually force on ALL outputs and the relays activate.

PLC.png

Posted (edited)

As a rule, you can use a specific coil (Y1 in your case) once in a program and you are useing it 3 times... Steps 41, 56 and 63.

Read the programming manual about "double coils".

Edited by glavanov
  • Like 1
Posted
6 hours ago, glavanov said:

As a rule, you can use a specific coil (Y1 in your case) once in a program and you are useing it 3 times... Steps 41, 56 and 63.

Read the programming manual about "double coils".

Thansk for the information, that has confirmed to me why changing that to only have 1 output worked when I tested. Bizarre though how Y4 worked okay with multiple uses.

Posted

Just a heads-up that it's not bizarre how Y4 appears to work. It's all in the code.

The state of Y4 will determined by the last use of Y4 in the program. The previous instance would have no effect. 

Posted

You can actually double-coil in certain circumstances.

If they are within an STL sequence.

Even then though it's better to use M coils and a bit of that M coil to operate the Y output outside of the STL sequence.

  • Like 1
Posted

That's why I always recommend reading the manual in detail with the notes and so on.
Especially with the FX series, where it is full of sample programs.
Usually when you look for something specific you always learn more...
Something that fades slightly with the IQ-F series.

Posted
14 hours ago, NewVeganic said:

Ron, we can build up to that. I did consider mentioning that but I thought I'd keep it simple. 

Of course - it can be confusing but Tim has now said he understands the double coil rule. So I thought it fair that there are exceptions. :) 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...