Chapter 8 Serial Communication Module AH10/15SCM
8-33
Format: Users can select the format of a checksum
Initial value: Users can set an initial value.
Reverse: The high byte of a one-word checksum which is calculated, and the low byte of the
checksum are reversed.
8.6.3.2 Command
After several TX packets and RX packets are created, users can select packets which will be sent
and packets which will be received by creating commands. Besides, the users can set the sequence
of executing the commands.
Command number: Every command is numbered. Command numbers indicate execution
sequence.
Command type: Users can select Send, Receive, or Send & Receive in the Command Type box.
Send packet: Users can select a packet which has been created.
Receive packet: Users can select a packet which has been created.
Success: Users can specify an action which follows the execution of a command. They can select
Next, Goto, or End.
Next: The next command is executed. If the command which is being executed is command 1,
the next command which will be executed is command 2.
Goto: Users can specify a command which should be executed much later.
End: Coming to and end
Fail: Users can specify an action which follows the execution of a command. They can select Next,
Goto, or Abort.
Next: The next command is executed. If the command which is being executed is command 1,
the next command which will be executed is command 2.
Goto: Users can specify a command which should be executed much later.
Abort: Coming to and end
Retry: The sending of a command can be retried after the sending of the command fails. Users can
set the number of times the sending of a command is retried.
Repeat: After a command is executed successfully, it can be executed repeatedly. Users can set the
number of times the execution of a command is repeated.
Send wait: Users can set an interval between commands. The default is 0 milliseconds, that is, the
next command is sent after a reply is received.
Timeout: If no reply is received after a specific period of time, there is communication timeout. The
default is 50 milliseconds.