Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

OUTPUT COMMAND give INCORRECT output
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Wednesday Dec 5th, 2018 01:01 pm
   PM  Quote  Reply 
1st Post
Home
Comfort Distributors
 

Joined: Wednesday Jul 12th, 2006
Location: United Kingdom
Posts: 771
Status: 
Offline

  back to top

When I put O!0401 into the command line I get output 5 ON.or O!0400 - - output 5 OFF 
Using latest comfigurator and latest firmware
O!0001 however does NOT switch ouptut 1 on !


IS THERE A BUG 



 Posted: Wednesday Dec 5th, 2018 02:08 pm
   PM  Quote  Reply 
2nd Post
Home
Comfort Distributors
 

Joined: Wednesday Jul 12th, 2006
Location: United Kingdom
Posts: 771
Status: 
Offline

  back to top

I have just tried another set up with C2 7.11 and an older version of Comfigurator and the same occurred.
HOWEVER
I have also tried the latest version of Comfigurator and a C1 and the command works fine. !
The reason I'm asking is because Ive just set up some virtual inputs that trigger outputs and they are all over the place ! BUT thats for another post !



 Posted: Wednesday Dec 5th, 2018 04:30 pm
   PM  Quote  Reply 
3rd Post
Home
Comfort Distributors
 

Joined: Wednesday Jul 12th, 2006
Location: United Kingdom
Posts: 771
Status: 
Offline

  back to top

OK HOW ON EARTH HAS THIS NOT BEEN PICKED UP SOONER !!!
I've done some more investigation as we have a customer waiting for installation...
Comfort 1 is fine .....
Comfort 2      7.XX onwards.......
By putting the following in the command line O!0301 We get a visual display showing output 4 ON
O!0300 we get a visual display showing output 4 off
Physically the output 3 is working ( not output 4).
If you activate the output from the screen then it visually shows the correct output and triggers the correct output. 

Last edited on Thursday Dec 6th, 2018 01:49 am by slychiu



 Posted: Thursday Dec 6th, 2018 02:01 am
   PM  Quote  Reply 
4th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

There is no bug in addressing of the outputs, otherwise all the lights and appliances that we control in our office on a daily basis would not be working
It seems more like a stuck address line in the Comfort or OP01
You say controlling Output 4 affects output 5 and Output 7 affects output 8Try each output comand and let us know which output is affected By putting the following in the command line O!0301 We get a visual display showing output 4 ON O!0300 we get a visual display showing output 4 off Physically the output 3 is working ( not output 4).    
I am not sure what you mean by the statement above. what is a "visual display"? are you saying output causes another visual display? Then can that visual display" be the problem?

   
If you activate the output from the screen then it visually shows the correct output and triggers the correct output.
what do you mean "If you activate the output from the screen then it visually shows the correct output and triggers the correct output" what "screen " and how does that trigger the correct output if the outputs are not triggered correctly

Last edited on Thursday Dec 6th, 2018 04:11 am by slychiu



 Posted: Thursday Dec 6th, 2018 04:10 am
   PM  Quote  Reply 
5th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

check all the outputs  


eg Output 1 trigger which output



Output 2 trigger which output etc
That will help diagnose the trouble

Last edited on Friday Dec 7th, 2018 04:07 am by slychiu



 Posted: Thursday Dec 6th, 2018 05:44 am
   PM  Quote  Reply 
6th Post
Home
Comfort Distributors
 

Joined: Wednesday Jul 12th, 2006
Location: United Kingdom
Posts: 771
Status: 
Offline

  back to top

 Chiu
ive already spent best part of a xay on this THERE IS A PROBLEM
it occurs on ALL output commands in th command line. Ive tried with several C2 and they all do this . ive tried C1 and it does not.
PLEASE TRY THIS OR GET ONE IF YOUR ENGINERRS TO TRY IT.....
-------------------
open a live configurator session . Go to the output screen and make sure the status tab is ticked so the status of the output is visible.in the command line type O!0401 you will see that output 5 goes to on.



 Posted: Thursday Dec 6th, 2018 06:31 am
   PM  Quote  Reply 
7th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

We gave already done that many times and have tested again for your benefit, there is no bug on the outputs. The firmware works correctly


> O!0201
< OK
< OP0201
> O!0200
< OK
< OP0200
> O!0301
< OK
< OP0301
> O!0300
< OK
< OP0300
> O!0401
< OK
< OP0401
> O!0400
< OK
< OP0400
> O!0701
< OK
< OP0701
> O!0801
< OK
< OP0801
> O!0700
< OK
< OP0700
> O!0801
< OK
< OP0801
> O!0800
< OK
< OP0800
We have attached a test lamp to each of the outputs and we can verify that when the output says it turns on, it is actuially on and when the outpout says it is off, it is actually off
Have you actually checked to see if the Actual Outputs are acting corredtly?
Would anyone else like to verify by doing the same test?


can you help everyone by answering the questions that I asked?
You say controlling Output 4 affects output 5 and Output 7 affects output 8Try each output comand and let us know which output is affected By putting the following in the command line O!0301 We get a visual display showing output 4 ON O!0300 we get a visual display showing output 4 off Physically the output 3 is working ( not output 4).    
I am not sure what you mean by the statement above. what is a "visual display"? are you saying output causes another visual display? Then can that visual display" be the problem?

   
If you activate the output from the screen then it visually shows the correct output and triggers the correct output.
what do you mean "If you activate the output from the screen then it visually shows the correct output and triggers the correct output" what "screen " and how does that trigger the correct output if the outputs are not triggered correctly

If you do not answer our questions we are unable to determine what is wrong

Last edited on Thursday Dec 6th, 2018 06:32 am by slychiu



 Posted: Thursday Dec 6th, 2018 07:56 am
   PM  Quote  Reply 
8th Post
Home
Comfort Distributors
 

Joined: Wednesday Jul 12th, 2006
Location: United Kingdom
Posts: 771
Status: 
Offline

  back to top

what you are saying is correct BUT now look at the LIVE comfigurator output screen with ststus ticked you will see that although the command line returns the correct reply the screen shows the next output activated and not the one in the command line. 



 Posted: Thursday Dec 6th, 2018 08:23 am
   PM  Quote  Reply 
9th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

That is what I was trying to find out when I asked the questions as i could not understand your problem which you described as a firmware bug agffecting Comfort 1 and 2.

"I am not sure what you mean by the statement above. what is a "visual display"? are you saying output causes another visual display? Then can that visual display" be the problem?


what do you mean "If you activate the output from the screen then it visually shows the correct output and triggers the correct output" what "screen " and how does that trigger the correct output if the outputs are not triggered correctly"


A correct description would have helped.
From your latest post we can deduce  that the "Visual display" you are referring to the Output status display in Comfigurator and not a 3rd party display

The outputs status when "show status" is checked does not show the correct output number. It shows the next output eg Output 4 status is shown as output 5

This is a bug in Comfigurator Output status display, it is not a Comfort firmware bug. The Outputs controlled by Comfort is always correct, but the status display in Comfigurator is wrong. This is a relatively new feature in Comfigurator.
As such it does not make any difference if the Comfort is 1 or 2



Attachment: Capture.JPG (Downloaded 24 times)

Last edited on Thursday Dec 6th, 2018 08:24 am by slychiu



 Posted: Thursday Dec 6th, 2018 10:04 am
   PM  Quote  Reply 
10th Post
Home
Comfort Distributors
 

Joined: Wednesday Jul 12th, 2006
Location: United Kingdom
Posts: 771
Status: 
Offline

  back to top

OK
I believe that it DOES make a difference and here is WHY
We are using a KNX UCM in the following way:
We are trying to make KNX activate Comfort outputs to control velux windows.
KNX sends a telegram with an altered group address the group address is mapped to a virtual input ( see screen shot attached).
The virtual input is then associated with an on response to trigger the output.
The end result is that the wrong output is triggered.
.cclx file sent by e-mail


Attachment: BUG-Outputs_SShot of KNX_UCMVirtualInput_compressed.pdf (Downloaded 5 times)



 Posted: Friday Dec 7th, 2018 01:50 am
   PM  Quote  Reply 
11th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

You may not have understood my last post

The bug is in Comfigurator output status display only, not the actual output state.
In other words you may see the wrong output on the output status display but the correct output is actually triggered by the command

You have KNX address 2/0/1 mapped to a Virtual Input 41, and Virtual Input 41 has On response Pulse Output 13 for 5 second.

If KNX address 2/0/1 ON command is received from KNX, it will trigger Virtual Input 41 ON, which causes a Pulse on Output 13  (BTW Note that you can directly map to an Output ON or OFF or Pulse for 1 second, but not pulse for 5 seconds)

This should work - guaranteed

You may see the wrong output on the Outputs status in Comfigurator but that display does not affect what the real output is doing
Have you actually tested this?
Note that this works only for a Received Group address 2/0/1 from KNXYou cannot test this by pressing the Switch Device On and Switch Device Off buttons in the KNX to Comfort window. That sends to telegram to KNX 2/0/1 - It does not cause a telegram to be received from 2/0/1 and so that button does not trigger the Virtual Input. From your Monitor IO window I do not see any Virtual Input report so it may be that you did not actually cause the 2/0/1 device to send to KNX




Attachment: Capture.JPG (Downloaded 20 times)

Last edited on Friday Dec 7th, 2018 04:10 am by slychiu



 Posted: Friday Dec 7th, 2018 01:58 am
   PM  Quote  Reply 
12th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

Also from your cclx file your Hall Lights control has On and Off commands to a KNX address. But no Feedback so using the app you would not know the status of the light.

Having control without real time status is not particularly good when it is possible to give status

You can map KNX devices to a Flag or Counter. any change in the KNX onject will synchronise with the mapped Flag or Counter
Putting the mapped Flag or Counter in Feedback will givbe the real time state of the KNX device


Attachment: feedback.JPG (Downloaded 20 times)

Last edited on Friday Dec 7th, 2018 03:19 am by slychiu



 Posted: Friday Dec 7th, 2018 03:29 am
   PM  Quote  Reply 
13th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

Map the KNX Object to a Flag  

eg 0/3/1 1 bit object map to Flag 1 below





In the control Menu, select  Feedback Type = Flag, Feedback Register = Flag 1





The feedback will give the true status of the KNX Object 0/3/1

You can control the KNX device mapped to the flag just by setting and clearing the Flag, you do not need a Response to control the KNX device.





When Flag is the Feedback, configurator automatically adds 0=Off, 1 = ON actions. 

You do not need responses to turn on and off the flag.Leave the response blank. 

When Flag is the feedback and On and Off responses are blank as above, Off will automatically clear the mapped Flag and On will automaticaly set the Flag. 


Much easier to program and better for the user


Last edited on Friday Dec 7th, 2018 03:32 am by slychiu



 Current time is 12:40 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems