|
Post by cikago on Nov 17, 2019 5:26:34 GMT
Hello,
Im having trouble with my HMI Levi430t-c.
Ive connected it to PLC (Fatek)by the rs232 port and when in LeviStudioU I make a "Bit switch" directly on an OUT (lets say Y0), it works fine. It also works fine in reading from PLC the registers. But if in PLC I make a program like:
M0||-------------------------------------()Y0
So when marker M0 is activated the OUT Y0 also is activated. This program works ok when I use it manualy, but when I try a "Bit Switch" from HMI ot doesnt work. Any Ideas why?
|
|
|
Post by gavra on Nov 17, 2019 7:57:20 GMT
Hello,
If there is only one line in PLC ( M0-||--------(Y0)) , it should work normal. If You maybe have double activation of Y0 in PLC program, it wont work, because one switch is activating Y0, and second switch isnt activating Y0. So PLC cant decide should he activate Y0, or not.
Bye
|
|
|
Post by cikago on Nov 17, 2019 13:03:10 GMT
Hello, If there is only one line in PLC ( M0-||--------(Y0)) , it should work normal. If You maybe have double activation of Y0 in PLC program, it wont work, because one switch is activating Y0, and second switch isnt activating Y0. So PLC cant decide should he activate Y0, or not. Bye
Thanks for answer. No, I only have one Y0 in PLC Program. Anyway... I have other markers for other Y outputs and they dont work also. Any ideas why?
|
|
|
Post by gavra on Nov 18, 2019 2:25:29 GMT
Hello,
Do You have more markers in PLC program which activate Y0?
Bye
|
|
|
Post by cikago on Nov 18, 2019 6:29:05 GMT
Hello, Do You have more markers in PLC program which activate Y0? Bye
No, only this marker. Program looks like this: (ofcourse my Y0 is in this case Y61 and M0 is M104)
|
|
|
Post by gavra on Nov 18, 2019 19:08:47 GMT
Does timer on picture also exist M104 as M0. Because maybe M0 cant be triggered, because timer is holding it OFF.
Try new blank program, just one line. Just M0 and line, and just Y0.
Bye
|
|
|
Post by cikago on Nov 19, 2019 17:49:53 GMT
Does timer on picture also exist M104 as M0. Because maybe M0 cant be triggered, because timer is holding it OFF. Try new blank program, just one line. Just M0 and line, and just Y0. Bye Yes, that was the problem.... thanks for your help.
|
|
|
Post by fromitaly on Nov 20, 2019 5:10:12 GMT
Hello, sorry if I intervene but I usually use an OR type scheme to manage an exit (Y0) using different markers. In practice instead of directly activating the active output of the M coils which in turn activate the output Regards Maurizio Di Maio
|
|
|
Post by gavra on Nov 20, 2019 20:13:42 GMT
Hello Maurizio,
Cikago is writting in Fatek Winproladder PLC editor, and in that editor there is no M8000. Straight line could be written from the begining without any marker.
So it is the same thing Yours and his ladder picture, just written in different editor.
Bye
|
|
|
Post by fromitaly on Nov 21, 2019 5:08:56 GMT
Ok
|
|