IDK MSD-54 Series Command Guide User Manual
Page 95

MSD-54 Series Users Guide (Command Guide)
95
@GEC
Get control command (Display received data)
Command
format
@GEC, no
Return value
format
@GEC, no, delay, port, memo, length, command, timeout, retry, interval, retryover,
display
, delimiter
Parameter
no
: Command number
1 to 32
delay
:
0 to 999999
port
: Output port
1 to 2047
bit10
bit9
bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1
bit0
Out
put
port
LOOP
BACK
LAN8
LAN
7
LAN
6
LAN
5
LAN
4
LAN
3
LAN
2
LAN
1
RS-232
C CH2
RS-232
C CH1
The bit corresponding to the output port to which the command is sent is “1” (Since
bit 15-11 are not used, they are always “0”). For example, if you send a command
to RS-232C CH1, the value is “1”(0000000000000001 in binary). If sending a
command to LAN 1 and LAN 2, the value is “12”(0000000000001100 in binary).
memo
:
Up to 14 characters of 20 to 7D except 2C (,). “2 ASCII codes”
length : Data size of the sent command (the number of bytes)
0 to 30
command : Send command data
Specify length × 2 digits with 0 to 9, A to F, a to f = 4 bit per digit (in
hexadecimal)
timeout
:
0 to 99999
retry
:
0 to 99
interval
: Interval between retries
0 to 99999
retryover
: Processing at retry timeout
0 = Stop processing, 1 = Continue processing
display :
Displaying received data
1 = In ASCII codes, 2 = In hexadecimals
delimiter
:
2 digits of 0 to 9, A to F, a to f = 4 bit per digit (in hexadecimal) for monitoring
delimiter
100 = Not monitor