5/5/2020 11:32 PM | |
Posts: 4 Rating: (0) |
Hi there, I am doing new electro wiring in my house and for light automation, I chose Logo 8. I have created a simple program, and in the simulation, it works without problem, in reality, it has a bug, how to find out where it is? Does Logo has any kind of debug mode? The particular logic with a bug works as following: We have a situation when one kid wants to drink water during the night and afraid to go over the hallway to the kitchen and wants to have the whole way with light ON. In his way, we have a hallway light that is switched all night and it is located in front of the Restroom and Children room. The kid just presses the button for hallway light for 2 second and the light in the hallway and kitchen gets automatically ON. the kid goes and drinks water, comes back and one time press the button in the Children room, the light in Kitchen and Hallway should go off, hallway light still stays on and the children's room light keeps the status in which it was before pressing the button. Thus it keeps the state In case Kitchen and Hallway and Hallway lights were ON at the same time, if one of them was off, then it just controls the lights in the children's room. In Simulation it works without problem, in real-world the light in Children Room also changes the status despite the condition of others. Does logo have any kind of debug mode where it can save in log all I/O signals for 1 minute of work? or any other debugging possibility? I attached the Program for your review, maybe you will find a bug just by looking at it :). thank you for your support in advance! Best regards, Andrew AttachmentHaus Automation test.zip (307 Downloads) |
5/7/2020 11:38 PM | |
Joined: 2/22/2008 Last visit: 8/6/2024 Posts: 2698 Rating: (208) |
Maybe the impulse former for the children button makes problems together with the blocks behind. If i have understand correct, then the program in attachment can solve your problem. I have changed the diagram layout a little and deleted the impulse former. Started with all lights off i have tested as follows: All other functions are the same as before, i think, also the bedroom all off modus. Now try it out. Regards, Scorp AttachmentHaus Automation test V2.zip (304 Downloads) |
Last edited by: Scorp at: 05/08/2020 08:48:51 |
|
Follow us on