
8-58
IM AQ6370C-17EN
Remote Control Using the RS-232 Port
Using the program function, the unit can send remote commands, receive talker data,
and perform serial polling on the external device which is connected to the RS-232 port.
Connect a cross cable to the RS-232 interface at the back side of the instrument. See
chapter 4 for the various serial communication settings. If you want to receive query data
from the external device, use the send/receive command. Query data is stored in the
specified string variable @$.
Send Commands
SEND RS-232 ‘control command (56 chars)’
SEND RS-232 ’control command (56 chars)’ ;@
SEND RS-232 ’control command (20 chars)’ :@:’ control command (20 chars)’
Send/Receive Command
SENDRCV RS-232 ‘query command (56 chars)’;@$
Note
• Depending on the external device connected, there are times when it is necessary to
change the delimiter setting of the send command. If the setting for the delimiter must be
changed, use the SET SEND DELIMITER special command and make the setting match
that of the instrument on the receiving end. (Default: CR+LF)
• Using a command such as SEND RS232 ’control command (56 characters)’;@, if you
insert <wsp> between the command string and the variable @, add " " to the end of the
command.
Remote Control of an External Instrument Using the LAN Port
Using the program function, specify the “Computer Name” or “IP address” and “Port
Number” of the external device connected to the LAN connector to perform remote
control. “Computer Name” or “IP address” must be entered it in the character variable
@$ of the program command. If you want to receive query data from the external device,
use the send/receive command. Query data is stored in the specified string variable @$.
Send Commands
SEND LAN @$ **** ‘control command (56 chars)’
SEND LAN @$ **** ’control command (56 chars)’ ;@
SEND LAN @$ **** ’control command (20 chars)’ :@:’control command (20 chars)
@$: Computer name or IP address
****: Port Number’
Send/Receive Command
SENDRCV LAN @$ **** ‘query command (56 characters)’
@$: computer name or IP address
****: Port number
Note
• Be sure to set the instrument’s IP address correctly.
• When using DHCP, the instrument’s IP address is automatically set. Set ADDRESS
SETTING under TCP/IP SETTING to AUTO (DHCP).
• Please ask your network administrator for details about network connections.
• Using a command such as SEND LAN ’control command (56 characters)’;@, if you
insert <wsp> between the command string and the variable @, add " " to the end of the
command.
8.4 Controlling an External Instrument with the Program Function