![API 8512 Series Скачать руководство пользователя страница 23](http://html.mh-extra.com/html/api/8512-series/8512-series_operation-and-installation-manual_2953475023.webp)
MANUAL IM635
Command Operation
Page 23
ERR?
0, "no error"
LLO
Function:
Local lockout
Syntax:
LLO
enable
Argument(s):
enable
byte, 0-1 (or OFF/ON)
Remarks:
This command controls the local lockout function which can be used to disable front panel
control. Setting local lockout ON disables local operation, while setting it OFF enables local use.
By default, this parameter is OFF.
Return Value: none
Example(s):
LLO 1
// turns on local lockout, disabling front panel
LLO OFF
// turns off lockout, enabling front panel operation
LLO?
Function:
Local Lockout query
Syntax:
LLO?
Argument(s): none
Remarks:
This function returns the current setting of the Local Lockout function.
Return Value: integer
'0' indicates lockout off. Non-zero indicates lockout is active.
Example(s):
LLO OFF;
LLO?
0
// returns a '0' indicating lockout is off
6.5.
Setup and Configuration Commands
NOTE: The SET commands are used to update settings which are stored in non-volatile memory (NVM), and do
not typically take effect until the next system restart event (see REBOOT) unless otherwise noted. The settings
listed here are dependent on the installed hardware, so not all settings are available on some implementations,
such as the LCD and CANbus interfaces.
SET EOS
Function:
sets the Program Message Terminator and/or Response Message Terminator end of string
characters
Syntax:
SET EOS
interface inout val
Argument(s):
interface
protocol selection SERIAL, USB, GPIB, TCP, UDP, or ALL
inout
PMT (input) or RMT (output)
val
word, eos characters
Remarks:
This function sets the input Program Message Terminator (PMT) or the output Response Message
Terminator (RMT) sequences. Each communications port/protocol can have separate definitions.
The
val
parameter specifies the character sequence used, and can specify up to two characters,
typically as a hex word high byte-low byte pair. Common definitions for the terminators include
the ASCII CR (0x0D) and LF (0x0A) characters. A single character may be specified either by
using 0 for the high byte, such as 0x000D, or by only specifying a single character (ie 0x0D). On
input, the message will terminate when either of the two character codes are received, while for
output the characters are sent low byte then high byte, unless it is specified as 0. Note that the
serial CONSOLE and network TELNET servers are excluded from this selection and always use a
fixed CRLF (0x0A0D) sequence. The current settings may be viewed using the SHOW EOS
command.
Return Value: none
Example(s):
SET EOS SERIAL PMT 0x0A0D // set serial input to terminate on either CR or LF
SET EOS SERIAL RMT 0x0A0D // set serial output sequence as CR-LF
SET EOS USB PMT 0x0A0D
// set usb input to terminate on either CR or LF