I really appreciate your help and your effort.
What I want to do is a rather simple task.
I would like to wait for a sequence coming via a RS232 port. After the
sequence has been recognized , I just would like send another sequence back .
The sequences I would like to check look like the following examples:
"C" 0x0D -----------> (0x43 0x0D)
"AI1;" -------------> (is already working using waitrecv "AI1;" 4 1
0x02 "A?" 0x0D --> (0x02 0x41 0x2F 0x0D)
This is an already working example :
Code: Select all
- call incrangle
- call stboxpol
- waitrecv "AI1;" 4 1
- call sendmessage
- goto looppol
Would be nice if you could guide me to a solution which does the job using
partly non printable characters. Must not be waitrecv. But as a newbie, I'm not that
familiar with all possibilities of that powerful macro language, so I took the
next best command I found.
Thank you again.