Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing action codes
#1
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?
Reply
#2
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
Reply
#3
That\'s excellent! Thanks very much.
Reply
#4
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!
Reply
#5
according to the action codes spec you should be able to branch back. Nobody seems to have tried this before. We will investigate
Reply
#6
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.
Reply
#7
Although I haven\'t tried every one, it looks as though NONE of the \'branch\' codes will accept a negative offset. Attempting to manually set codes produces strange responses when you hit \'OK\'. Branch codes change; text that isn\'t referenced anywhere appears - for example, \"Branch 5\" and the offsets change to zero. Apart from this, of course, there is no coding ability within Comfigurator to allow negative offsets. I find it difficult to believe that such a common programming construct that is clearly referenced in so many places in the Action Codes manual just doesn\'t work. Even a very simple three or four line \"response\" - set a counter with a non-zero value, decrement and branch back to the decrement instruction if not zero - just does not code nor work. Sad
Reply
#8
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?



Reply
#9
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?
Reply
#10
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

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)