Strange things. If I click on the macro icon to run the code from AHP, the activity monitor shows the code correctly executing. HOWEVER, if I run the code via the text2x10 script, the lights turn on to 0% bright.
This is what my AutoHotKey script is recording:
text2x10 sent on macro
2013/01/25 20:09:31 RecvAction: RecvPlc, m4, On, , ,
AHP macro on M4:
2013/01/25 20:09:32 RecvAction: RecvPlc, a2, ExtCode, 49, 1,
2013/01/25 20:09:33 RecvAction: RecvPlc, a3, ExtCode, 49, 1,
2013/01/25 20:09:34 RecvAction: RecvPlc, a4, On, , ,
2013/01/25 20:09:35 RecvAction: RecvPlc, a5, On, , ,
manually click the off macro (M4):
2013/01/25 20:11:54 RecvAction: RecvPlc, a2, Off, , ,
2013/01/25 20:11:55 RecvAction: RecvPlc, a3, Off, , ,
2013/01/25 20:11:56 RecvAction: RecvPlc, a4, Off, , ,
2013/01/25 20:11:57 RecvAction: RecvPlc, a5, Off, , ,
manually click the on macro (M4):
2013/01/25 20:12:00 RecvAction: RecvPlc, a2, ExtCode, 49, 63,
2013/01/25 20:12:01 RecvAction: RecvPlc, a3, ExtCode, 49, 63,
2013/01/25 20:12:02 RecvAction: RecvPlc, a4, ExtCode, 49, 63,
I notice that for some reason running M4 on locally sends 63 data bit while running from the macro remotely sends 1 data bit. WHY?!