3 communications commands – INFICON STM-2 USB Thin Film Rate/Thickness Monitor User Manual
Page 76
5 - 8
PN
07
4-
61
3-
P1
A
STM-2 Operating Manual
5.3 Communications Commands
Some processes may require the development of specialized software. The STM-2
command set is listed in
.
STM-2 uses command prefix 0x80 to introduce command sequences. The data
payload that follows 0x80 are standard ASCII character sequences. This
vocabulary is documented in
Common commands have the same initial character sequences, and are
distinguished by variable numeric arguments which further specify the intended
action or target of the command/query.
Therefore, only the data payload content which distinguishes these commands are
found in this section.
All responses conform to the SMDP specification (refer to
)
with the lower four bits of the returned <CMD_RSP> byte being a non-zero value
in the range of 1 to 15. The upper 4 bits are the same as the host command group
(CmdOpcode_xxx), 3 to 8. The lower three bits have the value 1 to 7 as defined in
. This value indicates whether the receiver could
process the query or found fault with it. If the address is not matched with a slave,
the checksum of the frame fails, or the command is otherwise improper, no
response is returned by the slave.
The fourth bit (D3, 8 weight) is a power fail flag bit, and the slave replies with this
bit set when the platform has been reset, until such a time as the master sends one
of the following:
Acknowledge-power-fail command (CmdOpcode_ACKPF 0x60), low level
SMDP message
USRAPI_ackPfail (?) command, application specific command (0x80)
The message from the master clears the power fail flag such that the status bit, D3,
of all subsequent replies is now zero. This allows the master to detect at the earliest
transaction (first valid communications after reboot/reset) that the slave device has
been reset and needs to be re-synchronized. This might be considered a fatal error
(power supply was reset and system state harmed), a soft error which can be
recovered from, or a non-issue requiring no intervention.
Table 5-2 STM-2 command set
STM-2
command
Parameter
Send
Returned
Description
@
None
@
STM-2D1.0 Instrument model and firmware version
L
None
L
Acknowledge "a" response
b
None
b
Set parameters to default values
d
None
d
Cause reset