Rs-232 interface commands – Olson Technology OTEB-CW-B User Manual
Page 37
34
RS-232 Interface Commands
RS-232 Command
Code
Units
Notes
Read Model #
RMDL
-
Returns the Model Number
Read Serial #
RSN
-
Returns the Serial Number
Read date of manufacture
RDATE
-
Returns the date of manufacture
Read Firmware Revision
RREV
Returns the revision level of the firmware.
Set the IP address
SIP
Set the gateway address
SGATE
Set the network mask
SNET
Get the IP address
GIP
Type a space after the opcode & before hitting the Return or Enter key
Get the gateway address
GGATE
Type a space after the opcode & before hitting the Return or Enter key
Get the network mask
GNET
Type a space after the opcode & before hitting the Return or Enter key
Read control mode type
RCM
-
Returns either “POWER”, “CURRENT” or “GAIN” for the control mode type
Read Measured Gain value
RMG
dB
Returns “Gain = xx.x”
Read Gain setpoint value
RGS
dB
Returns “Gset = xx.x”
Read Minimum Gain Setpoint
RMINGAIN
db
Return the minimum gain that can be set in AGC mode “Gmin = xx.x”
Read Maximum Gain Setpoint
RMAXGAIN
db
Returns the maximum gain that can be set in AGC mode, in the format
“Gmax = xx.x”
Read Total optical Output power
ROP
dBm
Returns “Pout = xx.x”
Read Constant Output Power value
RPS
dBm
Returns “Pset = xx.x”
Read Maximum Power Setpoint
RMP
dBm
Returns “Pmax = xx.x”
Read Current Setpoint value
RCS
Amps
Returns “Iset = x.xxx ”
Read Maximum Current Setpoint
RMC
Amps
Returns “Imax = x.xxx”
Read pump laser current
RLC
Amps
Returns “Imeas = x.xxx”
Read Ambient Temperature
RAT
Deg. C
Returns ”Amp. = XX deg C”
Read Total optical Input power
RIP
dBm
Returns “Pin = x.xx” NOTE: this value could be negative and/or have 2
digits containing 1 decimal point; i.e. –12, -2.2, 0.0, 3.5
Read Temperature Alarm Threshold
RTEMPTHRESH
Deg. C
Returns “AMP. minor alarm = XX deg C” Which = the current minor alarm
value. major alarm temp > minor alarm temp
Read “Input Power Low” Alarm Level
RPINLOW
dBm
Returns: “Pin Low Alarm Level = xx.x”
NOTE: this value could be negative and/or have 2 digits containing 1 deci-
mal point; i.e. –12, -2.2, 0.0, 3.5
Read “Input Power Off” Alarm Level
RPINOFF
dBm
Returns: “Pin Off Alarm Level = xx.x”
NOTE: this value could be negative and/or have 2 digits containing 1 deci-
mal point; i.e. –12, -2.2, 0.0, 3.5
Read “Input Power High” Alarm Level
RPINHIGH
dBm
Returns: “Pin High Alarm Level = xx.x” NOTE: this value could be negative
and/or have 2 digits containing 1 decimal point; i.e. –12, -2.2, 0.0, 3.5
Read “Input Power Too High” Alarm Level
RPINTOOHIGH
dBm
Returns: “Pin Too High Alarm Level = xx.x NOTE: this value could be nega-
tive and/or have 2 digits containing 1 decimal point; i.e. –12, -2.2, 0.0, 3.5
Read “Output Power Low” Alarm Level
RPOUTLOW
dBm
Returns the threshold level for the “Output Power Low” alarm, in the format
“Pout Low Alarm Level = xx.x”
Read “Output Power Off” Alarm level.
RPOUTOFF
dBm
Returns the “Output Power Off” Alarm threshold, in the format “Pout Off
Alarm Level = xx.x”
Read the Autorestore Input Power Thresh-
old
RAUTOTHRESH
dBm
Returns the threshold for the automatic restoration of emission, in the for-
mat “Autorestore Level = xx.x”
Enable Access to the provisioning com-
mands.
LOGIN
-
This command must be followd by the 6 digit passcode to enable access to
the provisioning commands. Default Value is 999999
Read Status Value
STA
-
Returns the status of the unit encoded as a 32 bit integer.
Bit 0 - Temperature Alarm
Bit 1 - Fan Alarm
Bit 2 - Output Too High Alarm
Bit 3 - Output High Alarm
Bit 4 - Output Low Alarm
Bit 5 - Input Too High Alarm
Bit 6 - Input High Alarm
Bit 7 - Input Low Alarm
Bit 8 - Output Off Alarm