?
Program Simulation Examples | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Program Simulation Example 1Each time the nn part of the data string [SX] + "#nn" + [EX] + (BCC) as shown in the table below is sent, the number of it is incremented from "00" to "99" by 1 and sent for 100ms intervals.
<[0]Configuration setting>
[ Execution display ]
Program Simulation Example 2While RTS (CTS) is active, send "001" when "ABC" is received, "002" when "DEF" is received, and send "000" if neither is received within 1 second. Also, if RTS (CTS) becomes inactive, terminates the program. <[1]Interface setting> Pin:DTE
[ Execution display ]
Program Simulation Example 3If the 3rd and 4th bytes of the received frame are "$A" it sends "a" and if they are "$B" it sends "b". Otherwise, it sends "c". By pressing [1] key, it changes the condition to "$0" instead of "$A" and "$1" instead of "$B", and returns to the original condition by pressing the [0] key. Also, the program ends when the received frame is less than 4 bytes.
[ Execution display ]
|