Posts: 73
Threads: 15
Joined: Mar 2015
Reputation:
0
I notice that the Action Codes Reference manual doesn\'t appear to have all the codes that are currently available in Comfigurator and presumably the later firmware. For example, the task \'wait 2 seconds using timer 25\' codes as 190,25,0,2. Yet I cannot find the \"190\" code anywhere in the manual. So now I wonder - how many other codes have been introduced since the manual was last updated? Is here a list somewhere of ALL codes? It looks like the Reference manual is over 2 years old. Is an update on the cards?
Posts: 1,200
Threads: 262
Joined: Mar 2007
Reputation:
0
It has not been updated for some time
The updated action codes reference is now available from https://www.cytech.biz/product_details.php?item_id=147
Posts: 73
Threads: 15
Joined: Mar 2015
Reputation:
0
That\'s excellent! Thanks very much.
Posts: 73
Threads: 15
Joined: Mar 2015
Reputation:
0
OK, now I have the new codes, can you please explain why I cannot branch \'backwards\'? I want to set a counter; perform an action; decrement the counter and if it isn\'t zero loop back to the action (again). Firstly, there appears to be no \'Comfigurator\' programming codes to allow this, and if I try to set it manually, using, for example \"Edit Action Codes\" and codes 115, 231 as soon as I hit OK (or Apply) the negative offset 231 gets set to 0 and the code is totally screwed up! Comments or suggestions welcome!
Posts: 1,200
Threads: 262
Joined: Mar 2007
Reputation:
0
according to the action codes spec you should be able to branch back. Nobody seems to have tried this before. We will investigate
Posts: 73
Threads: 15
Joined: Mar 2015
Reputation:
0
Thanks so much. I believe I may have found another error. I have an X10 \'Bedside / Desktop Timer Controller\' and I have programmed the X10 A4 Off response so that it also turns off the bedroom (CBus) lights. It saves getting out of bed! It works very well - if room lights are on and the \'4 Off\' button is pressed on the Controller, both bedside light and room lights switch off. Exactly as expected. However, I also applied the same response to the X10 \'A All Off\' response - and not only does it not work, but pressing the controller \'All On\' button (incorrectly) turns OFF the room lights, and (correctly) turns ON the X10 A4 light! So now I have swapped the room lights response on the X10 response page to the X10 \'A All On\' response (and made the \'A All Off\' a null response) - and it works! So it appears that something has swapped the \'All On\' code with the \'All Off\' code. I can live with it - it works! - but it it is an inconsistency that needs investigation? Thanks.
Posts: 5,940
Threads: 868
Joined: Apr 2006
Reputation:
2
Branch negative is possible in the action codes. However the problem is Comfigurator does not have a suitable construct to handle this
If Then Else statements are supported which uses the positive branch actions
Branch negative requires Do While or For /Next in Comfigurator, otherwise even if you enter the action codes manualy, comfigurator does not know how to encode it.
This type of statement should be added in future but we need to study more
Does anyone else think this may be a good feature?
Posts: 73
Threads: 15
Joined: Mar 2015
Reputation:
0
Well, as I raised the issue, I think the programming ability of Comfort loses a great deal of flexibility by NOT having this structure. This is especially true as clearly the underlying code supports it! So having For - Next or While - Wend looping (or both!) would appear to me to be essential!
As an aside, is there any way the codes can be programmed without Comfigurator?
Posts: 1,200
Threads: 262
Joined: Mar 2007
Reputation:
0
You can enter action codes from the keypad by Engineer Menu Press F0 and engineer code (6789# by default)To to menu 3,6Enter Response Number and # keyenter the action codes terminated by 255
Refer to Engineer Programming Manualhttps://www.cytech.biz/engineer_menu_programming_manual.html
However if you write by Comfigurator it will write over itRead from Comfigurator will also not understand the actions