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

Rs232 Comms
 Moderated by: slychiu Page:  First Page Previous Page  1  2   
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Friday Aug 3rd, 2007 01:38 pm
   PM  Quote  Reply 
21st Post
cytechboy
Member
 

Joined: Friday Aug 3rd, 2007
Location: Singapore
Posts: 6
Status: 
Offline

  back to top

The y? command should report all the installed RIO outputs
can you send your file so we can check if the Responses are out of sync?



 Posted: Tuesday Aug 7th, 2007 05:01 am
   PM  Quote  Reply 
22nd Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

Hi,



1. Please decode this for me this once, as a show and tell 

status Z?
Z?4018
 

Status y?
y?640403000000010100030300


Also, refer attached file as requested.

Thank you

Attachment: edgeview.ccl (Downloaded 8 times)

Last edited on Wednesday Aug 8th, 2007 05:26 am by dcrera



 Posted: Wednesday Aug 8th, 2007 06:08 am
   PM  Quote  Reply 
23rd Post
adlim
Member


Joined: Wednesday May 3rd, 2006
Location: Singapore
Posts: 210
Status: 
Offline

  back to top

From slychiu:

Y?858F means 1st byte 85 is for outputs 1 to 8,
1st byte 8F is for outputs 9 to 16
The least significant bit is the lowest numbered output

In the example
O/P 1 is ON
O/P 2 is OFF
O/P 3 is On
O/P 4 is Off
O/P 5 is Off
O/P 6 is Off
O/P 7 is Off
O/P 8 is ON

There are only 16 outputs reported because there are no slaves The command only reports outputs which exist There is a similar command for Inputs/Zones Z? and for RIO inputs z? I hope this makes it clearer

So just to add on, 85H = 10000101 in binary so guess you should be able to see it easier now.



 Posted: Wednesday Aug 8th, 2007 06:31 am
   PM  Quote  Reply 
24th Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

I can see it clearly now.

Please feed back with regards to my ccl

Thanks

 

 



 Posted: Monday Aug 13th, 2007 04:08 am
   PM  Quote  Reply 
25th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

dcrera wrote: Thanks for that, I will play around with this and feed back soon.

Would I be able to see outputs status for all of my 12 SCS/RIO's ?

Also,

On the response page/function, I have fixed all the responses numbers I would be using via the touch screen interface. But of lately after adding more responses and downloading to Comfort, the reponses numbers are not in sync.


Take this example at one stage response number 100 was TV Room Lights, RS232 command sent is  R!64.

If I look at my response table now, Tv Room Lights shows up fixed in response number 116

Sending R!74 is turning some other outputs on,  but sending R!64 turns the Tv Room Lights on.

It would seem that the response numbers are out of sync.



I cannot see any Response called TV Room lights at all
Response 100 is Computer Room
Response 116 is part of 114 (Night 1)
Is edgeview.ccl the correct file which shows your problem?



 Posted: Monday Aug 13th, 2007 05:20 am
   PM  Quote  Reply 
26th Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

Hi,

You are correct, it should be Computer Room and it is the correct .ccl

R!74 is now Computer Room s/be R!64

Thanks

 

 

 

 



 Posted: Thursday Aug 16th, 2007 02:01 pm
   PM  Quote  Reply 
27th Post
slychiu
Administrator


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

  back to top

Computer Room Lights is fixed at Response 100. When/Under what circumstances does it  become 116?



 Posted: Friday Aug 17th, 2007 04:54 am
   PM  Quote  Reply 
28th Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

Hi,

When I execute commands via RS232 using the touchscreen.

When I send R!64 some othere lights turns on. Computer Room is activated from R!74

Thanks

 



 Posted: Wednesday Aug 22nd, 2007 09:20 am
   PM  Quote  Reply 
29th Post
slychiu
Administrator


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

  back to top

I am afraid I dont see the problem at all
R!64 activates Response 100 Compter Room
R!74 is  not valid as Response 116 does not exist, it is part of Response 114, see screenshot. If you do R!74 will will activate some RIO outputs that are part of Response 114 so I expect that is the effect that you are seeing

You must make sure the Response numbers addrssed in R!  correspond to a valid starting Response number
regards

Attachment: edgeview.jpg (Downloaded 64 times)

Last edited on Wednesday Aug 22nd, 2007 09:21 am by slychiu



 Posted: Wednesday Aug 22nd, 2007 11:44 am
   PM  Quote  Reply 
30th Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

Hi,

If we agree that R!64 should activate response Computer Room, then what else could be the problem ?

Also refer to my attachment and compare  your last post. Notice that the response numbers are not the same using the same ccl posted earlier.

Thanks

Attachment: img1.JPG (Downloaded 64 times)



 Posted: Wednesday Aug 22nd, 2007 12:42 pm
   PM  Quote  Reply 
31st Post
slychiu
Administrator


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

  back to top

R!64 does activate Response 100, we have checked that. To make sure that Response 100 is as you expect, go to Engineer  Menu 3,6 Response menu and enter 100#. This announces the action codes. Compare to the actions in the Response

I was using the edgeview.ccl file that you sent. Are you opening the same file?
The screenshot you have sent shows different response numbers
Make sure that you are using the latest Comfigurator 2.2.1. Previous versions had a bug with some Response numbers which could be causing this effect

Do a full download  with the new comfigurator version and try again



 Posted: Tuesday Oct 9th, 2007 05:21 am
   PM  Quote  Reply 
32nd Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

Thanks,

That fixed it.

With regards to the Response Wizard, can you include actions for :

Z? , z? , Y? , y?

Thanks

Last edited on Wednesday Oct 10th, 2007 02:03 am by



 Posted: Tuesday Oct 9th, 2007 12:48 pm
   PM  Quote  Reply 
33rd Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

Y?, Z? y? and z? return information about all inputs and outputs states when the command is entered on a UCM
An Action in Comfort performs a function, like turn on outputs and the like and may return a value for the next action. A single action is not appropriate if you want to get the states of all inputs, as there is no way in the action mechanism to deal with multiple values. You can use the individual actions to  get the state of any inout or output instead
I hope you know what I mean




 Posted: Tuesday Oct 9th, 2007 01:18 pm
   PM  Quote  Reply 
34th Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

Hi,

Let me explain, maybe there is a work around.

eg. when I toggle an output, I want to know the status of the output.

I am given to understand that the Get Value in the wizard is for wizard control (programming).

So basically I want to a Response that can do :

O?89, Z?10 etc

This can be done via RS232 but not inside a Reponse or I am mistaken ?

Currently via Rs232 I have to do :

R!64 & O?89 where R!64 toggles an output and O?89 queries one of the outputs from the response.

I would be cool if I can have O?89 as part of response R!64

Thanks

 

 

Thanks

 



 Posted: Wednesday Oct 10th, 2007 02:02 am
   PM  Quote  Reply 
35th Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

The command R! executes a Response, which is a series of Actions

The Response itself can check the status of outputs and inputs and perform other actions based on the conditions, so it can act without you getting the status on the UCM

However I guess that you want an external system or software to know the status of certain outputs or inputs

You can take advantage of the fact that Comfort will report the status of the outputs and inputs without yoi asking for them
For example, if R!64 turns on output 89hex, when you type
DA64
you will get a reply
OP8901

so that saves you the trouble of querying the outputs or inputs specifically




 Posted: Wednesday Oct 10th, 2007 06:51 am
   PM  Quote  Reply 
36th Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

I hear you.

This work's like you say that when you issue the R!64 response, the feedback from the UCm reports the status of OP89 as 00 or 01.

For a touch screen interface, when you go to a scene, I want to know the status of all outputs on the scene before displaying.

This is not a major issue since I can query an output via RS232. To save on coding time, it would be faster to issue one response to feedback ALL statuses for a specific scene.

Thanks 

Last edited on Wednesday Oct 10th, 2007 06:53 am by dcrera



 Current time is 12:46 amPage:  First Page Previous Page  1  2   
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems