Omega Engineering OMB-NETSCAN 1500 User Manual page 154

Ethernet/internet-based data logging & control instrument
Table of Contents

Advertisement

API Command Reference
TYPE
EXECUTION
SYNTAX
DESCRIPTION
The Power-On Reset (
data in data buffers and configuration are erased.
Note: Because the
Note: Issuing the Power-Up Default Settings (
EXAMPLE
PRINT#1,"*RX"
SLEEP 4
WHILE (S% and 4) = 0
PRINT #1, "U1X"
INPUT#2,A$
S%=VAL(A$)
WEND
TYPE
EXECUTION
SYNTAX
DESCRIPTION
With the Power-Up Settings (
configuration when it is powered on or when the Power-On Reset (
configuration will be exactly the same as the configuration it had when it was last powered down or a
command issued. Specifying this mode will insure that the unit will always come up with the configuration which
has most recently been defined. Using this mode is convenient if it is undesirable to reconfigure the unit every
time it is powered up or a
Specifying the mode to be
when a
command. The factory defaults settings are defined in the Configuring Power-Up State section of Appendix D.
Note: Issuing the Power-Up Default Settings (
EXAMPLE
PRINT#1,"Q?T?Y?X"
LINE INPUT#1,A$
PRINT A$
PRINT#1,"*S1X"
PRINT#1, "*RX"
SLEEP 5
PRINT#1,"Q?T?Y?X"
LINE INPUT#1,A$
PRINT A$
A-14
*R
System
Immediate
*R
Power-On Reset. Equivalent to a hardware reset.
*R
) command has the same effect on the unit as removing and re-applying power. All
*R
command performs a full power-on reset, 3 or 4 seconds are required before you can
communicate with the unit. A total of at least 5 seconds is required before normal operations can take
place.
command will cause any previously defined configuration to be irrevocably lost. The calibration factors for
the unit and its slaves, however, will remain intact.
*S
System
Immediate
*Smode
Specify power-up configuration mode. Valid options for
*S
) command, specifying the mode to be
*R
command is issued.
will cause the unit to load the factory default configuration when it is powered on or
1
*R
command is issued. Using this mode is the same as power-cycling the unit then issuing the
command will cause any previously defined configuration to be irrevocably lost. The calibration factors for
the unit and its slaves, however, will remain intact.
- Power-On Reset
*S1
) command and then power-cycling the unit, or issuing the
' Restore power-on settings to the unit
' Wait 4 seconds to restore communication
' Keep checking the serial poll response of the unit until it is ready,
meaning that bit 4 is asserted
- Power-Up Settings
up under last known configuration (default).
default configuration.
*S1
) command and then power-cycling the unit, or issuing the
' Retrieve some current configuration settings
' Get the settings
' Screen shows
001000,000000
' Configure to power up with factory defaults
' Reset the unit
' Wait for the unit to reset
' Retrieve some current configuration settings
' Get the settings
' Screen shows
000000,000000
mode
- Power up under factory
1
0
will cause the unit to load its last known
*R
) command is issued. The last known
Q1,7,7,7,0 T1,3,0,0 Y000100,
Q1,0,0,0,0 T0,0,0,0 Y000000,
NetScan User's Manual
Appendix A
*R
are:
0
- Power
*R
*F
*R

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents