easy-forum

English Support - Hardware => easyRelais => Thema gestartet von: Pjotr am September 30, 2013, 20:49:42 Nachmittag

Titel: Easy822 program
Beitrag von: Pjotr am September 30, 2013, 20:49:42 Nachmittag
After an short circuit between output Q1 & Q2, Q1 would'nt be active any more.
Even If I do a simulation the same problem will happen.
If I copy paste the piece of the program where Q1 are used  to an new project (MainHouseControllerTest) the Q1 output can be switched on again.
In MainHouseController Q1 would'nt activated trough T05
In MainHouseControllerTest Q1 can be activated trough T05
What wil be wrong?.
Any relevant explanation would be greatfull appreciated
thanks in advance
Titel: Re:Easy822 program
Beitrag von: radar17892 am September 30, 2013, 22:24:41 Nachmittag
Hey Pjotr

Check T05 and Q1 in onlinemode, not in simulation.
In MainHouseController I can`t see an error (eg reset Q1/T05 in lines behint line 42)
If Q1 not active, test an
T05--- ------Q1
P03-- |
Push P3 and chek Q1 now.

regards Thomas
Titel: Re:Easy822 program
Beitrag von: Pjotr am Oktober 01, 2013, 07:36:31 Vormittag
Hey thomas,

thanks for youre quick answer, but in online mode the
Q1 would'nt activated any more after the short.
If I copy that piece of program to an new project the
Q1 coming back alive even in online mode.
What do you mean with:
If Q1 not active, test an
T05--- ------Q1
P03-- |
Push P3 and chek Q1 now.
I have already  exchange  the Q1 & Q2 with each other but Q1 still die.
Where can i drop the program so you can check the whole program.

regards Pjotr
Titel: Re:Easy822 program
Beitrag von: radar17892 am Oktober 01, 2013, 15:15:16 Nachmittag
Hey Pjotr,

if Q1 in test program will be active, then easy HW is OK.
For Q1 test in MainHouseController prog write in line 42: T05Q1  OR  P03  ---> Q01
Can you check activity of Q1?  P03 is only for fast test. Is Q01 active? If not, check this:
change Q01 in a free Marker. The Marker will be active???  If yes, write back Q1 and check the lines behint. Anywhere must be Q01 reset in program.

For program upload, you must zip this.

regards Thomas
Titel: Re:Easy822 program
Beitrag von: Pjotr am Oktober 01, 2013, 19:29:17 Nachmittag
Hey Thomas,

earlier I've tested Q1 in exchange with an marker and this
work fine. Also I had Q1 connected with some other input and the will not be activated to.
In the uploaded files you can test it on your onway.How can I reset Q1? That seems not clear for me.
MHCTest and Test1 are to where Q1 even in online mode wil be activated but in MHC not.
Kind regards
Pjotr
Titel: Re:Easy822 program
Beitrag von: Urs am Oktober 01, 2013, 22:50:26 Nachmittag
Hello Piotr
I have had a quick look at MHC.e60.
From my point of view Q1 can never come on.
M11 will only come on once for one shot on the rising edge of the signal.
Since T05 has an on delay of 1 second there is no chance that the this timer can come on during the few ms on state of M11.
I didn't checked the whole circuit diagram, but one possible solution could be to set and reset M11 (memory).
For example M10 could set M11 and T05 could reset M11.
Good luck.
BR Urs

edit: Please find attached a way how Q1 comes on if using SM11/RM11. As I didn't checked/understood the whole functionality I don't know whether this is the way you are looking for?
Titel: Re:Easy822 program
Beitrag von: Pjotr am Oktober 02, 2013, 17:45:00 Nachmittag
Hi Urs,

You gat it wrong, M11 will be set because the are established as an impuls relay
and will be set by M10 and switch over to the other state by the end of T05 puls.
T05 are established as  an delayed oneshot . As soon as M11 are set T05 have an delay of 1sec
after that time T05 will be generate an pulse of 300ms.
The issue are that the whole  program had worked before the short circuit between Q1 and Q2 on the controller site. After the short circuit I've monitored that controller to see wy Q1 would'nt switch on. From that moment off the Q1 would'nt be energized anymore. If I copy/paste that piece of the program ( Living Dimmer lights) in to an new project ( see MainHouseControllerTest2.zip) the Q1 will comes back alive. How can one explain that.
Titel: Re:Easy822 program
Beitrag von: Urs am Oktober 02, 2013, 19:26:14 Nachmittag
Piotr,
It doesn't matter if you short O1 and O2 (by a link), neither with a relay type nor with a transistor type device.
As long as O1 is healthy it has to work under all circumstances.
If O1 has died out you have to use another output or another device.
BR Urs
Titel: Re:Easy822 program
Beitrag von: Pjotr am Oktober 02, 2013, 22:26:37 Nachmittag
I've used an another device but the issue still happen with the global MainHouseController program.
As I describe in my previous mail with MainHouseControllerTest2 program Q1 comes back alive.
This piece of program use only the Q1 & Q2 output and work as expected, but in the global program where all outputs are used Q1 will not be active. Simulate both programs , if you got some time for that and you will see the issue about Q1. Q1 will be activated after some delay of Q2 if I10 are activated
regards Pjotr
Titel: Re:Easy822 program Q1 will not turn on
Beitrag von: Pjotr am Oktober 16, 2013, 10:59:14 Vormittag
can one explain wy in MHC T2 the Q1 output can be activated and in the MHC T3 not.
Both programs are indentical except the T2 program is copied bit by bit and the other is transferred in its entirety both from MHC original and both each time to a new project.
Titel: Re:Easy822 program
Beitrag von: Maikky am Oktober 16, 2013, 17:27:57 Nachmittag
Dear Pjotr.

As far as I understood the sequence is
 - the input I10 has to be activated,
 - Q2 goes on
 - Q2 goes off
 - Q1 goes on
 - Q1 goes off

By simulating both programs in this way I unfortunately can not see
any difference. It is working in both programs.

What is the sequence to see the difference?

Regards
Maikky


Titel: Re:Easy822 program
Beitrag von: Pjotr am Oktober 16, 2013, 18:33:47 Nachmittag
Hi Maikky,
the sequence is like you describe, but if I simulate Test3 then Q1 would'nt be activated but it wil so do wel at T2.
If you have followed the discusion , at earlyed time there was an short happen between Q1 and Q2.
Since that time Q1 would'nt be any more activated even in simulation mode. When I change the hardware the problem still goes on. Have you any suggestion how to reset the Q1 short circuit fault detection. In the help file is'nt anything to find about that issue.

grtz
Pjotr
Titel: Re:Easy822 program
Beitrag von: Maikky am Oktober 17, 2013, 11:13:51 Vormittag
Dear Pjotr.

Sorry. I have no idea how to solve it.
Your problem seems to be very strange.

Regards
Maikky
Titel: Re:Easy822 program
Beitrag von: Spellbreaker am Oktober 17, 2013, 11:46:18 Vormittag
I just tried it too, and everything works fine here. In both programs, when I activate I10, the Q2 and Q1 are activated for a short time, so I really don't get where the actual Problem is. Since Simulation has nothing to do with any kind of hardware problem.
Titel: Re:Easy822 program
Beitrag von: Pjotr am Oktober 17, 2013, 12:20:57 Nachmittag
Hi Spellbreaker ,

that's strange If I try both programs there is clearly a difference between them.
If I download Test2 Q1 wil be activated  but not by Test3.
So the solution are I'll use the Test2 program and will have to live with the thought that there is no single way to solve this issue.
By the way my friend has checked  both programs to and he experienced the same problem.
grtz and thanks for helping with this issue.
 :-\
Pjotr
Titel: Re:Easy822 program
Beitrag von: Spellbreaker am Oktober 17, 2013, 13:46:19 Nachmittag
Which Version of Easy-Soft are you using?

Here's a screenshot where Q1 is Active. I activate I10 and then Q2->on, Q2->off, Q1->on, Q1->off.

Titel: Re:Easy822 program
Beitrag von: Maikky am Oktober 17, 2013, 16:09:17 Nachmittag
Dear Pjotr.

You can also see it quite nice in the oscilloscope.

Attached please find a screenshot
channel #1 : I10
            #2 : Q2
            #3 : Q1

Regards
Maikky
Titel: Re:Easy822 program
Beitrag von: Pjotr am Oktober 18, 2013, 21:35:06 Nachmittag
Hi Maikky,

I've that all done before but like told the Q1 output would not be activated.
There must be a flag settled to error condition after the short circuit of
Q1 and Q2. But the question are how to reset that error flag

grtz
pjotr
Titel: Re:Easy822 program
Beitrag von: weiss_nix am Oktober 19, 2013, 08:46:22 Vormittag
hi pjotr,
i think the q1 and po01 in line 152 won't work in cooperation! i've deleted line 152 and the simulation works fine!
regards
Titel: Re:Easy822 program
Beitrag von: weiss_nix am Oktober 19, 2013, 08:53:08 Vormittag
hi again,
have a look at the symbol in the atachment, it tells you some information about wrong code!
regards
Titel: Re:Easy822 program
Beitrag von: Pjotr am Oktober 19, 2013, 21:44:17 Nachmittag
Hi Weise_nix,

you gat that  the problem right on it.
I delete that line to in MHC and the Q1 are back to live.
Thanks a lot helping me struggling out with that Q1 issue.
But I don't understand what's the realtionship between
both operands. Maybe some explanation help me and some
other forum users on our way.
regards
Titel: Re:Easy822 program
Beitrag von: weiss_nix am Oktober 20, 2013, 06:56:10 Vormittag
hi pjotr,
po01,po02 is a programmable pulse-output to q1,q2 and have a higher priority in the circuit! have a look to the helpfile in your easysoft by pressing f1, there are a lot more infos about the po's ;)
regards