MSD-501/502/701/702 User
’s Guide
79
7.13.2 Registering/editing reply command
Menu Top
→
PRESET COMMAND
→
RECV COMMAND EDIT
Setting for Each command
Setting value [Table 7.16]
You can create and edit up to 32 reply commands.
The setting of this menu is not updated until the MENU/SET key is pressed. Make sure to press the
MENU/SET key to update the setting.
[Table 7.16] Setting value of control command
Item
Description
Range
SIZE
Set the number of bytes from the first byte to be
compared.
0 to 30 bytes
[Default]: 0 byte
PROCESS
Select “STOP” (to stop the next operation), “EXEC” (to
execute it)
, or “RETRY” (to send the command again)
for when received data and reply command data
match.
STOP
EXEC [Default]
RETRY: Resend commands
PJLink
Select whether PJLink commands are set or not for
when input reply command data is input.
OFF [Default]
ON
COMMAND
INPUT MODE
Select the input mode of reply command data.
“ASCII”: For data consisting of only 0A, 0D, 20 to 7D
(text)
“HEX”: For data including other codes
ASCII [Default]
HEX
DATA
Set the command to be compared with the received
data from the first byte to the byte count set in “SIZE”.
If using alphabets (A to Z, a to z), make sure to
distinguish capital and lower case letters. (Up to 30
bytes)
0A, 0D, and 20 to 7D of ASCII
code or
00 to FF (Hex)
[Default]: 20 (Space)
(Values described above all
with hex)
MASK
Received data is compared with MASK DATA without
“AND” of each bit and reply command data. (Use this
item to determine the state using the received data bit.
Settable if
“COMMAND INPUT MODE” is set to “HEX”;
if
“ASCII” is selected, “FF” is set automatically.)
00 to FF (Hex)
[Default]
: All: “FF”
MEMO
Register a note up to 14 characters.
When reply command is received, the registered note
is displayed.
20 to 7D of ASCII code except
for 2C (,) [Default]: All: Spaces
Those default values do not apply to reply commands 31 and 32.
■
Setting loop back function
If the MSD sends a communication command back to the MSD itself using the loop back function, the MSD
replies “OK” if processed normally while it replies “NG” if parameter or command is incorrect. (This differs
from reply commands to communication commands received externally; not loop back.) Since “OK” and “NG”
are registered to reply commands 31 and 32 by factory default, respectively, do not edit or delete those
commands if you use the loop back function and check reply commands.