IDK MSD-54 Series Command Guide User Manual

Page 102

Advertising
background image

MSD-54 Series Users Guide (Command Guide)

102

@GRC

Get reply command

Command
format

@GRC, no

Return value
format

@GRC, 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

Receive

@GRC,1

@GRC,1,1,9,
52454356204F4B0D0A,
FFFFFFFFFFFFFFFFFF,OK

Get reply command 1.
・Process: Execute (Continue)

Length: 9 bytes

Command: RECV OKCR LF (ASCII
code)

Mask: FF for all (Checking all bit)

Memo: OK

Send

Receive

@GRC,2

@GRC,2,0,1,40,40,NG

Get 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

Advertising