EasyManua.ls Logo

Fluke Thermalert 4.0 - 10 Programming Guide; Command Structure; Requesting a Parameter (Poll Mode); Setting a Parameter (Poll Mode)

Fluke Thermalert 4.0
97 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Thermalert
®
4.0 Series
Users Manual, Rev. 1.1, May 2018
78
10 Programming Guide
This section explains the sensor’s communication protocol. A protocol is the set of commands that define all
possible communications with the sensor. The commands are described along with their associated ASCII
command characters and related message format information. Use them when writing custom programs for your
applications or when communicating with your sensor with a terminal program.
10.1 Command Structure
After transmitting one command, it is obligatory to wait for the response from the sensor before sending another.
Make sure that a command sent was completely transmitted from the sender before the next command can be
sent.
Note
All commands must be entered in upper case (capital) letters!
10.1.1 Requesting a Parameter (Poll Mode)
?E<CR> “?” is the command for “request”
“E” is the parameter requested
<CR> carriage return (0D
hex
) is closing the request
10.1.2 Setting a Parameter (Poll Mode)
E=0.975<CR> “E” is the parameter to be set
“=” is the command for “set a parameter”
“0.975” is the value for the parameter
<CR> carriage return (0D
hex
) is closing the setting
10.1.3 Sensor Response
!E0.975<CR><LF> “!” is the parameter for “answer”
“E” is the parameter
“0.975” is the value for the parameter
<CR> <LF> (0D
hex
0A
hex
) is closing the answer
For processing the received commands, the device typically needs about 200 ms. For certain commands, this
time can be even longer.
10.1.4 Sensor Notification
With a notification the sensor informs the host, that the sensor or the firmware was reset.
#XI<CR><LF> “#” is the parameter for “Notification”
“XI” is the value for the notification (e.g. “XI” firmware reset)
<CR> <LF> (0D
hex
0A
hex
) is closing the notification
!XL<CR><LF> “!” is the parameter for “Notification”
“XL1” is the value for the notification (e.g. “XL1” laser switched on)
<CR> <LF> (0D
hex
0A
hex
) is closing the notification
10.1.5 Error Messages
An asterisk * will be transmitted back to the host in the event of an “illegal” instruction. An illegal instruction can
be caused by a syntax error with the following response:
w ww. . com
information@itm.com1.800.561.8187

Table of Contents