MSD-804FD Users Guide (Command Guide)
91
@GEC
Get control command (Control communication command)
Command
format
@GEC,
no
Return value
format
@GEC,
no
,
delay
,
port
,
memo
,
length
,
command
,
timeout
,
retry
,
interval
,
retryover
,
display (
,
recv_1
,
recv_2
・・・
)
Parameter
no
: Command number
1 to 32
delay
:
0 to 999999
port
: Output port
1 to 262143
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Output
connector
LAN1
RS-232C
OUT4B
RS-232C
OUT3B
RS-232C
OUT2B
RS-232C
OUT
1
B
RS-232C
CH2
RS-232C
CH1
bit14
bit13
bit12
bit11
bit10
bit9
bit8
bit7
Output
connector
LAN
OUT1B*
LAN8
LAN7 LAN6
LAN5 LAN4 LAN3 LAN2
Specify “1” for the bit of the output port from which the command is sent (Since bit
23 to 19 are not used, always specify “0”). For example, if you send a command to
RS-232C CH1, specify “1”(0000000000000001 in binary). If sending a command to
LAN 1 and LAN 2, specify “192”(000000000000000011000000 in binary).
-
bit18
bit17
bit16
bit15
Output
connector
-
LOOP
BACK
LAN
OUT4B
LAN
OUT3B
LAN
OUT2B
memo
:
Up to 14 characters of 20 to 7D except 2C (,). “2 ASCII codes”
length : Data size of the send 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
0 = Control communication command
recv_1-32
: Replied command check
1 to 32 = Reply command number to be checked is replied (separated with
commas).
Example Send
Receive
@GEC,1
@GEC,1,10,3,PO
WER,
7,5057204F4E0D0
Get the control command 1.
・
Delay: 10ms
・
Output port: RS-232C CH1 & RS-232C CH2
・
Memo: POWER