Polarization Extinction Ratio Meter PEM-340
9-3
The delimiter for RS-232C communication is set in the factory as CR (carriage return). This
can be changed when power to the PEM-340 is initially switched on. For an explanation of this
procedure please see Section 8-1 Power On.
9-3. Control Commands
The following table lists the communication conditions that should be set to enable
communication through the RS-232C interface of the PEM-340.
The table below lists the control commands specic to the PEM-340 which can be implemented
using either the GPIB or RS-232C protocols. A command consists of two letters and may
be written in either upper or lower case. As appropriate, the commands can be issued with
or without a numerical sufx. A delimiter must be attached to the end of each command to
ensure correct execution and termination of each command line. The delimiter required for
GPIB operation is CR+LF. The delimiter required for RS-232C operation can be CR, LF or
CR+LF. This delimiter is set in the factory to CR and this can be changed during the ‘Power
On’ procedure; for details see Section 8-1 Power On.
To read data from the PEM-340 it is rst necessary to set the output parameter to the required
data parameter. When subsequent read commands are issued, the data corresponding to the
set parameter is read. In RS-232C communication “echo-back” is used to verify correct
communications. Once the output parameter has been set, the DI command is used to request
data from the unit. In both GPIB and RS-232C protocols when a command that cannot be
interpreted is issued, the PEM-340 outputs “NR” to the next data request. This output stops
when a valid command is received.
Communication Method Full Duplex
Baud rate 9600 bps
Data Length 8 bit
Stop Bit 1 bit
Parity None
Flow Control None