Omega Vehicle Security OMB-NETSCAN 1500 User Manual Page 154

  • Download
  • Add to my manuals
  • Print
  • Page
    / 256
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 153
API Command Reference
Appendix A
A-14 NetScan Users Manual
*R
- Power-On Reset
TYPE
System
EXECUTION
Immediate
SYNTAX
*R
Power-On Reset. Equivalent to a hardware reset.
DESCRIPTION
The Power-On Reset (
*R
) command has the same effect on the unit as removing and re-applying power. All
data in data buffers and configuration are erased.
Note: Because the
*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.
Note: Issuing the Power-Up Default Settings (
*S1
) command and then power-cycling the unit, or issuing the
*R
command will cause any previously defined configuration to be irrevocably lost. The calibration factors for
the unit and its slaves, however, will remain intact.
EXAMPLE
PRINT#1,"*RX"
Restore power-on settings to the unit
SLEEP 4
Wait 4 seconds to restore communication
WHILE (S% and 4) = 0
PRINT #1, U1X"
INPUT#2,A$
S%=VAL(A$)
Keep checking the serial poll response of the unit until it is ready,
meaning that bit 4 is asserted
WEND
*S
- Power-Up Settings
TYPE
System
EXECUTION
Immediate
SYNTAX
*Smode
Specify power-up configuration mode. Valid options for
mode
are:
0
- Power
up under last known configuration (default).
1
- Power up under factory
default configuration.
DESCRIPTION
With the Power-Up Settings (
*S
) command, specifying the mode to be
0
will cause the unit to load its last known
configuration when it is powered on or when the Power-On Reset (
*R
) command is issued. The last known
configuration will be exactly the same as the configuration it had when it was last powered down or a
*R
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
*R
command is issued.
Specifying the mode to be
1
will cause the unit to load the factory default configuration when it is powered on or
when a
*R
command is issued. Using this mode is the same as power-cycling the unit then issuing the
*F
command. The factory defaults settings are defined in the
Configuring Power-Up State
section of
Appendix D
.
Note: Issuing the Power-Up Default Settings (
*S1
) command and then power-cycling the unit, or issuing the
*R
command will cause any previously defined configuration to be irrevocably lost. The calibration factors for
the unit and its slaves, however, will remain intact.
EXAMPLE
PRINT#1,"Q?T?Y?X"
Retrieve some current configuration settings
LINE INPUT#1,A$
Get the settings
PRINT A$
Screen shows
Q1,7,7,7,0 T1,3,0,0 Y000100,
001000,000000
PRINT#1,"*S1X"
Configure to power up with factory defaults
PRINT#1, *RX
Reset the unit
SLEEP 5
Wait for the unit to reset
PRINT#1,"Q?T?Y?X"
Retrieve some current configuration settings
LINE INPUT#1,A$
Get the settings
PRINT A$
Screen shows
Q1,0,0,0,0 T0,0,0,0 Y000000,
000000,000000
Page view 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 255 256

Comments to this Manuals

No comments