
PST-1000 series Technical Manual 5 - 28
TM
POWER ON/OFF CONTROL
EXTERNAL POWER SWITCH
This switch is originally a software controlled power “ON/OFF” switch. It can
be programmed into a power “ON” only switch through software command. The so
called software controlled switch means that when the switch is pressed during system
working, the system will be turned off after all data in the SSD buffer are secured. The
SSD buffer mentioned here is an infrastructure of the system and is different from the
RAMDRIVE mentioned in the last section. To program this switch, the programmer
needs to issue the following mentioned commands in the application program to
COM1 under the protocol: 9600 bps, parity none, 8 data bits, 1 stop bit.
• Change to power on only switch -- the command string is <1B> <19> <01> in
hexadecimal format.
• Change to power on/off switch -- the command string is <1B> <19> <00> in
hexadecimal format (default status)
SOFTWARE SWITCH OFF
An even safer method to turn the system off is the software off switch. Usually
the position LP of the 6 position key switch (or any other key or key combination or
any other position of the 6 position key switch as may be preferred) is selected for this
purpose. The programmer has to program the answer back code of position LP of the
programmable keyboard to some command to close the application program (such as
“Alt+F4”). At the end of the closing operation, the application program should issue
the following mentioned software switch off command string to COM1 under the
protocol: 9600 bps, parity none, 8 data bits, 1 stop bit. Or, as an alternative, the
programmer may program the answer back code of position LP to contain:
The closing command of the application program;
A certain period of hold on time to allow a safe closing;
The command to call for a program which will send the
software switch off command string to COM1 as described.
The hexadecimal command string for software switch off function is :
<1B> <06> <16> <19> <0D>.
Comentários a estes Manuais