MSD-804FD Users Guide (Command Guide)
99
@SRC
Set reply command
Command format
@SRC,
no
,
process
,
length
,
command
,
mask
,
memo
Return value
format
@SRC,
no
,
process
,
length
,
command
,
mask
,
memo
Parameter
no : Command number
1 to 32
process
:
0 = Stop, 1 = Execute (Continue), 2 = Resend command
length
: Reply command size (the number of bytes)
0 to 30
command
: Reply command data
Specify length × 2 digits with 0 to 9, A to F, a to f = 4 bit per digit (in
hexadecimal)
Mask
:
Specify length × 2 digits with 0 to 9, A to F, a to f = 4 bit per digit (in
hexadecimal)
memo:
Up to 14 characters of 20 to 7D except 2C (,). “2 ASCII codes”
Example Send
Received
@SRC,1,1,9,
52454356204F4B0D0A,
FFFFFFFFFFFFFFFFFF,OK
@SRC,1,1,9,
52454356204F4B0D0A,
FFFFFFFFFFFFFFFFFF,OK
Register the following settings to
reply command 1.
・
Process: Execute (Continue)
・
Length: 9 bytes
・
Command: RECV OK
CR LF
(ASCII code)
・
Mask: FF for all (Checking all
bit)
・
Memo: OK
Send
Receive
@SRC,2,0,1,40,40,NG
@SRC,2,0,1,40,40,NG
Register the following settings to
reply command 2.
・
Process: Stop
・
Length: 1 byte
・
Command: 40 (in hexadecimal)
・
Mask: 40 (Checking the second
bit from the top)
・
Memo: NG
Related info.
8.12.2 Reply commands