
SWC-2000 Command Guide
25
@GRC / @SRC
Response command
Function
Getting
Setting
Format
@GRC, no
@SRC, no, process, length, command,
mask, memo
Return value
@GRC, no, process, length, command,
mask, memo
@SRC, no, process, length, command,
mask, memo
Parameter
no: Control command
1 to 32
process: Control command status
0 = Stop, 1 = Continue, 2 = Resending commands
length: Reply command data size (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: Mask data
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 (,) of ASCII code
Example
@GRC,2
@GRC,2,0,1,40,40,NG
Getting settings of Reply command 2:
- Control command status : Stop
- Reply command data size : 1 byte
- Reply command data : 40 (in hex)
- Mask data : 40 (checking the second bit
from the top)
- Memo : NG (no good)
@SRC,1,1,9,
52454356204F4B0D0A,
FFFFFFFFFFFFFFFFFF,OK
@SRC,1,1,9,
52454356204F4B0D0A,
FFFFFFFFFFFFFFFFFF,OK
Setting Reply command 1 as follows:
- Control command status : Continue
- Reply command data size : 9 bytes
- Reply command data: RECV OK CR LF
(ASCII)
- Mask data : FF (checking all bits)
- Memo : OK
Completed
Remarks
-