| Author | Post |
|---|
Tas Member
|
Posted: Thursday Oct 2nd, 2008 08:46 pm |
|
| Searched all the manuals and can't see a way to do this.
|
slychiu Administrator

| Joined: | Saturday Apr 29th, 2006 |
| Location: | Singapore |
| Posts: | 1029 |
| Status: |
Offline
|
|
Posted: Thursday Oct 2nd, 2008 10:40 pm |
|
Use the Do Action command (DA)
Action 132, 2. flag returns the state of the flag ie 0 or 1
Above is WRONG, Action 132, flag, 2 returns the state of the Flag ie 0 or 1
eg DA840302 means check Flag 3 (84 in hexadecimal is 132)
RAnn is the reply which is the flag state eg RA00 or RA01
Last edited on Friday Oct 31st, 2008 04:18 am by slychiu
|
Tas Member
|
Posted: Thursday Oct 2nd, 2008 11:48 pm |
|
This is great. I will try that.
Many Thanks,
Tas
|
Tas Member
|
Posted: Thursday Oct 30th, 2008 10:40 pm |
|
I've have been trying what you suggest but can't get it to work.
The response I get back from the "DA840203" command alternates between RAC2 and RAC0 which isn't what I expected.
Any idea what I might be doing wrong?
Thanks,
Tas
|
slychiu Administrator

| Joined: | Saturday Apr 29th, 2006 |
| Location: | Singapore |
| Posts: | 1029 |
| Status: |
Offline
|
|
Posted: Friday Oct 31st, 2008 04:17 am |
|
Sorry, my mistake. The correct syntax is
action 132, flag, 02 for check Flag
Actipn 132, flag, 01 for Set Flag
Action 132, flag, 00 for clear flag
In your case to check Flag 3, you need DA840302, not DA840203
|
 Current time is 12:24 pm | |
|