Comfort Home Automation/ Security System Forums Home
 Search       Members   Calendar   Help   Home 
Search by username
Not logged in - Login | Register 

Rs232 Comms
 Moderated by: slychiu, adlim  
 New Topic   Reply   Print 
AuthorPost
cytechboy
Member
 

Joined: Friday Aug 3rd, 2007
Location: Singapore
Posts: 6
Status:  Offline
 Posted: Friday Aug 3rd, 2007 02:38 pm
 Quote  Reply 
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?

dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Tuesday Aug 7th, 2007 06:01 am
 Quote  Reply 
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 7 times)

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

adlim
Member


Joined: Wednesday May 3rd, 2006
Location: Singapore
Posts: 210
Status:  Offline
 Posted: Wednesday Aug 8th, 2007 07:08 am
 Quote  Reply 
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.

dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Wednesday Aug 8th, 2007 07:31 am
 Quote  Reply 
I can see it clearly now.

Please feed back with regards to my ccl

Thanks

 

 

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 286
Status:  Offline
 Posted: Monday Aug 13th, 2007 05:08 am
 Quote  Reply 
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?

dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Monday Aug 13th, 2007 06:20 am
 Quote  Reply 
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

 

 

 

 

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 1029
Status:  Offline
 Posted: Thursday Aug 16th, 2007 03:01 pm
 Quote  Reply 
Computer Room Lights is fixed at Response 100. When/Under what circumstances does it  become 116?

dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Friday Aug 17th, 2007 05:54 am
 Quote  Reply 
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

 

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 1029
Status:  Offline
 Posted: Wednesday Aug 22nd, 2007 10:20 am
 Quote  Reply 
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 34 times)

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

dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Wednesday Aug 22nd, 2007 12:44 pm
 Quote  Reply 
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 34 times)

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 1029
Status:  Offline
 Posted: Wednesday Aug 22nd, 2007 01:42 pm
 Quote  Reply 
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

dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Tuesday Oct 9th, 2007 06:21 am
 Quote  Reply 
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 03:03 am by

admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 380
Status:  Offline
 Posted: Tuesday Oct 9th, 2007 01:48 pm
 Quote  Reply 
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


dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Tuesday Oct 9th, 2007 02:18 pm
 Quote  Reply 
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

 

admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 380
Status:  Offline
 Posted: Wednesday Oct 10th, 2007 03:02 am
 Quote  Reply 
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


dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Wednesday Oct 10th, 2007 07:51 am
 Quote  Reply 
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 07:53 am by dcrera


 Current time is 01:33 pm
Page:  First Page Previous Page  1  2   




Powered by WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez
We insist that you abide by the rules and policies stated below. Although the moderators of the Comfort Forums will attempt to keep all objectionable messages off this forum, it is not possible for us to filter all messages. All messages express the views of the author. Cytech Technology is not responsible for the content, views or advice of any message posted by members, including staff of Cytech. By registering for the forums, you warrant that you will not post any messages that are obscene, vulgar, of a sexual nature, abusive, hateful, threatening, of racist nature or otherwise in breach of any laws. Cytech reserves the right to remove, edit or move message or topic for any reason