Comfort Automation/ Security System Forums
Copy counter problem - Printable Version

+- Comfort Automation/ Security System Forums (https://www.comfortforums.com)
+-- Forum: Support (https://www.comfortforums.com/forum-2.html)
+--- Forum: Problems & Troubleshooting (https://www.comfortforums.com/forum-36.html)
+---- Forum: Responses and Actions (https://www.comfortforums.com/forum-74.html)
+---- Thread: Copy counter problem (/thread-3076.html)



- BernardW - 09-18-2012

I have a number of counters which I need to copy to another set every night.
The problem is that if you look at the action code reference 198 it can have a variable number of parameters which end in 255 which also terminates the response. This means that you can only have one copy per response and that has to be the last action.
Comfigurator doesn\'t allow multiple target counters incidentally.
Comfigurator also allows multiple lines of copy and than adds an extra 255 at the end anyway even though only the first copy will work!
A copy command from one counter to another which can be used for multiple copies within a response would be useful


- ident - 09-19-2012

The Copy Counter action in Comfigurator can actually specify multiple target counters, but it may not be so obvious, as it appears that you can only specify one counter

What you do is when the Select Counters windows opens, you can select multiple counters by pressing the CTRL Key

hence the action becomes, eg
Copy Counter Counter000 To Counter004,Counter006,Counter007,Counter008



- BernardW - 09-19-2012

Thanks but my problem was putting several copy commands into the same response:
Copy Counter C_LR_status To C_Hall_status
Copy Counter C_Front_door To C_door_page

Only the first copy will work as it terminates in 255 which ends the response as well as the command.


- ident - 09-20-2012

That wil be changed in the next firmware so you can have more than 1 copy counter command in a Response



- BernardW - 09-20-2012

Thanks for your help


- juwi_uk - 09-20-2012

Would it work if you put each \"copy\" in its own separate response and then call each of these responses in turn from a \"parent response\"

Wondered if that may workaround.

J


- BernardW - 09-20-2012

Thanks rather a lot of them I\'m afraid!
Worked round by using Get counter value and Set counter value to LastActionValue. Works OK but is just a bit more tedious!


- ident - 09-20-2012

ULT 6.028 is available in the attachment in this forum http://www.comfortforums.com/view_topic.php?id=3074&forum_id=69&jump_to=12996#p12996

It fixes a bug in ULT 6.027 where the event log announcement does not correspond to the events displayed on the LCD

The new function of multiple  Copy counters was added as well. Please upgrade and test.