IDK MSD-54 Series Command Guide User Manual
Page 89
![background image](https://www.manualsdir.com/files/790490/content/doc089.png)
MSD-54 Series 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 2047
bit10 bit9
bit8
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Output
port
LOOP
BACK
LAN8 LAN7 LAN6 LAN5 LAN4 LAN3 LAN2 LAN1
RS-23
2C
CH2
RS-23
2C
CH1
Specify “1” for the bit of the output port from which the command is sent (Since bit
15-11 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 “12”(0000000000001100 in binary).
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. 101).