twido plc compare problem

Hi all you clever people.

I have a program line that does not make sense

%MW401 < %MW402------> (%M2) - [%M2 = ON] Which does not make sense
(20 / 10)

Which will mean if 401 is smaller than 402, %m2 must switch on.
as per example above it should be off. yet it stays on.

I have a line at the end of the program that works 100%
%MW401 < %MW402 -----> (%M245) - [%M245 = OFF] Which is correct
(20 / 10)

I have searched the program and there is not a duplicate %m2.

any ideas?

tx
 
Hi all you clever people.

I have a program line that does not make sense

%MW401 < %MW402------> (%M2) - [%M2 = ON] Which does not make sense
(20 / 10)

Which will mean if 401 is smaller than 402, %m2 must switch on.
as per example above it should be off. yet it stays on.

I have a line at the end of the program that works 100%
%MW401 < %MW402 -----> (%M245) - [%M245 = OFF] Which is correct
(20 / 10)

I have searched the program and there is not a duplicate %m2.

any ideas?

tx

I don't use Twido but have you checked to see if %M2 is a system bit ? Failing that is it forced on ?
 
Is %M2 actioned within a subroutine? Also if so, is that subroutine call condtioned. It could be that the subroutine call becomes false (and no longer actioned) while the status of %M2 is on, leaving it in it's last state.

Steve
 
is mw401 or mw402 writed multiple times on program. Maybe compare is true on network, but after that mw401 or mw402 is writed to different value.
Animation table shows values end of PLC scan
 
Tx for the response so far.

The %M2 is a internal relay.
I am starting to think the problem could be the fact I am using the
%mw401 (which is a internal register as well) more that once. IE
%MW401 < %MW402 ---> %M2
and
%MW401 < %MW403 ----> %M3

But that should be the same as using the same input point more that once.
 
It should matter how many time you are using %mw401 in a read function, like a compare block. What Lare suggested could be the fault. Do you write to %mw401 or %mw402 multiple times?

Put the %M2 in an animation table and force it off. Then unforce it to see if it comes on immediately again.
 
Thanx I will try and test it again. bottom Line, I dont use %M2 as a coil more that once.
What I found strange is once I moved the line to the end of the program it worked correctly.
Contacting the Schneider office this week to see if they can spit the problem.
 
interesting thread, I too was having the same problem
g.png
 
Hi Riaan
PM me the program. Your last post would indeed indicate that you are doing what Lare said and writing to %mw401 or %mw402 in different places in the program
 
If you put TON timer between compare and coil on original program, is coil setted still even that compare isn't true.
If coil stays now off, then problem is on scanning of program (double coil or your program writes different values to mw401, 402)
 

Similar Topics

How do I connect Schneider electric twido twdlcaa24drf PLC to the software
10
Replies
563
Views
안녕하세요. TWDLCAA40DRF의 배터리가 방전되어 회사에 대한 Twido PLC 모델이 삭제되었습니다. 다행히 같은 시설이 옆에 있기 때문에 TwidoSuite를 사용하여 업로드를 시도했을 때 보호되어 업로드가 불가능했습니다. 여기서 질문을 드리겠습니다...
1
Replies
664
Views
Hi friends, I would like to know what type of communication interface/adapter is used to download (backup) the program from a twido plc connected...
2
Replies
973
Views
Hi, I created a program and compiled it with no errors, changed the program hardware configuration to match the plc. If I try to connect I...
2
Replies
3,601
Views
Hello Every one, This question came around in my place of work (MOAWP). It appears very simple on the surface, but I could not get right when I...
1
Replies
2,505
Views
Top