MSD-62 series Command Guide
86
@GEC / @SEC
Control command (Communication command)
Getting
Command
@GEC, no
Response
@GEC, no, delay, port, memo, length, command, timeout, retry, interval,
retryover, display (, recv_1, recv_2
・・・
)
Setting
Command
@SEC, no, delay, port, memo, length, command, timeout, retry, interval,
retryover, display (, recv_1, recv_2
・・・
)
Response
@SEC, no, delay, port, memo, length, command, timeout, retry, interval,
retryover, display (, recv_1, recv_2
・・・
)
Parameter
no: Control command number
1 to 32
delay: Delay time
0 = 0 sec. to 999999 = 999.999 sec.
port: Output port
1 to 16713725
bit
7
6
5
4
3
2
1
0
port
LAN
6
LAN
5
LAN
4
LAN
3
LAN
2
LAN
1
-
RS-232C
bit
15
14
13
12
11
10
9
8
port
-
IN6B
IN5B
-
-
LOOP
BACK
LAN
8
LAN
7
bit
23
22
21
20
19
18
17
16
port
OUT8B OUT7B OUT6B OUT5B OUT4B OUT3B OUT2B
OUT1B
“1” is for the bit of the output port to send a command (Since bit 1, 11, 12, 15 are
not used, they are always “0”). For example, if you want to send a command
from RS-232C CH1, specify “1”. If sending a command from LAN 2, specify “8”.
memo:
Up to 14 characters of 20 to 7D except 2C (,).
length: Data size of 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: Time-out duration
0 = 0 sec. to 99999 = 99.999 sec.
retry: The number of retries
0 to 99
interval: Retry interval
0 = 0 sec. to 99999 = 99.999 sec.
retryover: Processing at retry over
0 = Stop processing, 1 = Continue processing
display: Displaying received data
0 = communication command control
recv_1-32: Presence or absence of response command check
1 to 32
For get commands, reply command numbers are separated from each other by
a comma.
For set commands, the reply command number to be checked can be specified.