Jump to content

Positive Transition Bit Remains ON


Recommended Posts

  • MVP 2023

Right click whilst hovering on MB 0 and choose Find.  This will bring up any other references to  MB 0 in your project.   This is the first thing to look for....perhaps you have missed something else that is inadvertently using the same MB.  Also do the same thing for your other operands in case they possibly have the same problem.

(All programmers say their programs work perfectly the first time.....This is a fib!)  

The other thing it might be is an actual switch issue.  If it's not an onboard button, physically disconnect your switch AT THE PLC to check if this is the culprit.  If this  helps and the remote switch seems ok, it might be induced voltages in the input line.   If it does use onboard touch stuff, change it slightly.  Also check you haven't got a bit of dust under a screen protector etc.

cheers, Aus

Link to comment
Share on other sites

  • MVP 2023

I don't know Sambas well so don't know for sure, I'm a 130 man.  But a trial would be to change your code a little, so that legal entry only remains ON for one scan and you don't use the positive transition at all.  In a 130 it stays on until enter is again pushed, which is sometimes confusing.  Perhaps something like this is upsetting things...but I can't see how.

Also, before doing anything else, have you done an Init and Reset?  Or a load blank program, Init and Reset, reload you program and Init and Reset?

cheers, Aus

Link to comment
Share on other sites

I use M6 bit in SCADA like trigger for some calculation , so I would prefer not to do any changes in the code for the time being.

And besides, sine the same code is running on 9 machines, I have noticed that the issue presents only some of them only.

A first chance, however, I will do Init and Reset, to see the outcome. Thank you, Ausman!

Link to comment
Share on other sites

  • 2 weeks later...
  • MVP 2023
On 11/9/2021 at 1:01 AM, vasovas said:

like shown on the screenshot attached. 

It is a problem, because it reset counters and I get wrong data collected.

Any suggestions?

 

Regards,One_Shot_Issue.PNG.07a58d85306386f3eb2c69afc12bb47d.PNG

Taking a second look at this makes me wonder if you're not misinterpreting this. MB 0 shows to be on, but it does NOT show power flow to ML 0 and the others. Actually, it shows that ML 0 and ML 1 are NOT at zero and are NOT Reset.

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...