IDK MSD-804FD User Manual
Page 89

MSD-804FD Users Guide (Command Guide)
89
@SEC
Set control command (Control communication command)
Command
format
@SEC, no, delay, port, memo, length, command, timeout, retry, interval, retryover,
display (
, recv_1, recv_2・・・)
Return value
format
@SEC, 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
OUT1B
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).
Can be set only if Cat5e/Cat6 output option is installed.
-
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 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
: The number of retries
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 = Specify “0” for communication command control.
recv_1-32
: Replied command check
1 to 32 = Specify reply command number to be checked. Up to 32 commands
can be specified by using commas.
If you send only parameters of reply command number you want to check, the reply
commands without sent parameter are automatically set to “Not check”.
Register reply commands in @SRC Set reply command (P. 99).
Example Send @SEC,1,10,3,POW
Register to control command 1 as follows: