4. REMOTE OPERATION
Page 103
© 2007 DH Instruments, a Fluke Company
MSGFMT
Purpose
Read or set the type of program command format to use (enhanced or classic).
Command
Query
“MSGFMT
n
“MSGFMT?”
Classic “MSGFMT=
n
“MSGFMT”
Arguments
n:
‘1’ to use the enhanced command format.
‘0’ to use the classic command format.
Defaults “MSGFMT
0”
Remarks
The user can select the type of remote command format to use. This format must agree with
the format sent to the PPCH-G.
The enhanced query form of this command (“MSGFMT?
n
”) should always be used to set the
desired format, as it will be accepted regardless of the current format (classic or enhanced).
Example
(enhanced)
Cmd sent:
Reply:
“MSGFMT 1”
“1”
(No reply if IEEE-488)
Example
(enhanced)
Cmd sent:
Reply:
“MSGFMT? 1”
“1”
Example
(classic)
Sent:
Reply:
“MSGFMT=1”
“MSGFMT=1”
Errors
ERR# 6:
Missing or improper program message argument(s).
See Also
4.3
PASSTHRU
Purpose
To allow the host PC to communicate with a device connected to the PPCH-G COM2 port.
Command
Query
“PASSTHRU
n
“PASSTHRU?”
Classic “PASSTHRU=
n
”
“PASSTHRU”
Arguments
n
:
The string to send out of the COM2 port. It must be less than 40 characters long.
Remarks
Generally, the PPCH-G COM2 port is used for communication with
DHI
RPM4s used as
PPCH-G external measurement devices.
The COM2 port can alternatively be used to communicate to another RS232 device (such as
another PPCH-G). This allows the user to use one COM port or IEEE-488 port on the host
computer to communicate with the PPCH-G and another device. The Command format
specifies and sends the argument. A carriage return and a line feed (
<CR><LF>
) are added
to the string that is sent.
The Query format is used to check the PPCH-G COM2 receive buffer to see if a message has
been received on COM2 from the device. The message received by the COM2 port must be
terminated with a carriage return or a carriage return and a line feed. Only one message is
retained by the COM2 port. The label “COM2:” precedes the message text. If the COM2
receive buffer is empty, then the reply is just be ‘COM2:”
If the PPCH-G is using an external RPM4 as the active RPT, then this command should not
be used to interfere with the RPM4.
The ‘#’ command can also be used for this sort of operation, but with fewer options available.
Example
(enhanced)
Cmd sent:
Reply:
Reply:
“PASSTHRU=VER”
“COM2:DH INSTRUMENTS, INC PPCH-G VER1.01a”
“COM2:” (If the COM2 buffer is empty)
Example
(classic)
Sent:
Reply:
Reply:
“PASSTHRU=VER”
“COM2:DH INSTRUMENTS, INC PPCH-G VER1.01a”
“COM2:” (If the COM2 buffer is empty)
See Also
“#” , “COM2”
Содержание PPCH-G
Страница 10: ...PPCH G OPERATION AND MAINTENANCE MANUAL 2007 DH Instruments a Fluke Company Page VIII N NO OT TE ES S...
Страница 96: ...PPCH G OPERATION AND MAINTENANCE MANUAL 2007 DH Instruments a Fluke Company Page 86 N NO OT TE ES S...
Страница 154: ...PPCH G OPERATION AND MAINTENANCE MANUAL 2007 DH Instruments a Fluke Company Page 144 N NO OT TE ES S...
Страница 158: ...PPCH G OPERATION AND MAINTENANCE MANUAL 2007 DH Instruments a Fluke Company Page 148 N NO OT TE ES S...