background image

                                                                                           Sensorsoft Thermometer User’s Manual

 

Writing custom software programs for the Sensorsoft 
Thermometer 

 
Sensorsoft provides three methods for allowing your custom software programs to communicate 
with Sensorsoft Thermometers, outlined here: 
 

Simple Text Commands Interface 

 
The 

Simple Text Commands Interface

 can be used interactively with a terminal program 

(HyperTerminal, TeraTerm, Putty, Telnet, Screen, etc.) or by user-written programs and language 
scripts. These commands make it possible to read Sensorsoft devices in many systems including 
Linux, UNIX and embedded applications. The following single letter (lower case) commands 
should be ended with a carriage return and or line feed character: 
 

r read 

temperature 

read model number 

read firmware version 

 
This interface outputs temperature readings in Celsius and only supports 0.5 C resolution 
measurements. If you need temperatures in Fahrenheit (F), you will need to do a conversion in 
your software (i.e. F = 9/5C + 32).  
 
Using this method, we recommend keeping the cabling short (<100 ft) as the 

Simple Text 

Commands Interface

 does not support the built-in CRC error detection. 

 

Sensorsoft Device Monitoring .NET Component for Windows 

 

This method involves use of the Sensorsoft Device Monitoring.NET Component for creating 
software on Windows based systems. It provides a high-level Windows .NET-based API to 
implement the Sensorsoft Device Protocol. You can download and learn more about this free 
software at: 

http://www.sensorsoft.com/developers.html

 

 

Sensorsoft Device Protocol (SSDP) for Advanced Programmers 

 
This software method is the most advanced way of supporting Sensorsoft devices. It has several 
advantages over the Simple Text Commands Interface discussed above. These include: 
 

 

CRC error detection for use over long serial cables (1000 ft) 

 

higher resolution measurements (0.1) 

 

auto-discovery by reading device ID record 

 
The Sensorsoft Device Protocol uses a binary, packet-formatted, master-slave protocol. Your host 
computer (master) must send commands to, and receive responses back from, the Sensorsoft 
device (slave). All data is represented in the 

little endian format 

- least significant byte first and 

the most significant byte last. 

 

18

Содержание ST6105C

Страница 1: ...r s Manual Models ST6105J ST6105C and ST6154J Manual P N 071 0014 Rev 18 February 21 2019 Copyright 1999 2019 Sensorsoft Corporation All rights reserved Sensorsoft and Soft Thermometer are trademarks...

Страница 2: ......

Страница 3: ...opriate measurement instruments for making comparisons 11 Correct method for making comparisons 12 What to do if you believe the Sensorsoft device is reading incorrectly 12 Making extension cables for...

Страница 4: ...Thermometer may be referred to as a thermometer device Soft Thermometer Sensorsoft device or SSD Sensorsoft Soft Device throughout the manual Glossary of Acronyms RWME Remote Watchman Enterprise softw...

Страница 5: ...equired CRC error detection detects transmission errors and improves reliability SSDP only Virtually unlimited cable lengths 1000 ft SSDP only Plug and go operation little or no user configuration req...

Страница 6: ...meter to come into contact with harsh chemicals or cleaning agents If the housing needs to be cleaned use a damp cloth or vacuum cleaner Use a Velcro fastener P N F1000 or F1001 to affix the Sensorsof...

Страница 7: ...er refer to its documentation for more details on the above Note the physical port number where you plugged the cable into your computer or device console server If the Sensorsoft Thermometer is being...

Страница 8: ...onductor Communications connector 8 position modular jack accepts 8 position plug RJ45 Power source Port powered RTS and DTR both asserted or via External DC power connector Power supply current drain...

Страница 9: ...rial Injection molded ABS thermoplastic Housing Color Light gray Sensor type Semiconductor Communications cable Integrated 6 m 20 ft colour matched cable with DB 9F female mini D SUB connector Power s...

Страница 10: ...ectronics Housing Temperature Operating Range 40 C to 60 C 40 F to 140 F Electronics Housing Humidity Operating Range 90 RH non condensing Communications connector 8 position modular jack accepts 8 po...

Страница 11: ...cantly better accuracy and resolution then the device under testing When a calibration check is performed on a Unit under Test with an instrument traceable to the National Standards Laboratory the Uni...

Страница 12: ...minutes for the Sensorsoft device and the traceable measurement instrument to acclimatize to the environment 4 Make sure you know how to get a live up to the second temperature reading from the Sensor...

Страница 13: ...d get jammed In this situation it makes sense to terminate the cables on site using hand crimp tools The following details will assist you in this process NOTE A C suffix Sensorsoft device has a built...

Страница 14: ...parts needed to make good quality extension cables Hand Tools Tyco Crimping Tool P N 90312 1 or 90302 1 for subminiature D pin or socket contacts Tyco PROCRIMPER P N 58448 2 for subminiature D pin or...

Страница 15: ...has a RJ45 jack connector It accepts a plug in cable This includes models ST6105J and ST6154J Figure 3 Illustrates a J suffix Sensorsoft device that accepts a cable with RJ 45 plug IMPORTANT A properl...

Страница 16: ...1 for modular plugs Tyco 8 position modular die set P N 853400 1 Tyco Crimping Tool P N 90312 1 or 90302 1 for subminiature D pin or socket contacts Tyco PROCRIMPER P N 58448 2 for subminiature D pin...

Страница 17: ...into the SSD M indicates male pin type connector F indicates female socket type connector Figure 5 The C2012A cable is used to connect a J suffix Sensorsoft device to multi port serial cards or devic...

Страница 18: ...commend keeping the cabling short 100 ft as the Simple Text Commands Interface does not support the built in CRC error detection Sensorsoft Device Monitoring NET Component for Windows This method invo...

Страница 19: ...nsorsoft device may ignore your commands can be due to data transmission CRC errors or improper power up delay during hot plugging Sending SSDP commands to the Sensorsoft device Each command packet yo...

Страница 20: ...01h 00h 00h 00h 00h 00h 47h 98h Send the following bytes to request a temperature reading in Celsius 0 5 C resolution C5h 0Ch 00h 01h 00h 00h 00h 00h 00h 01h 0Eh 49h Send the following bytes to reques...

Страница 21: ...nt that the previous host command was received and executed without errors The Sensorsoft device only acknowledges correctly received commands that have no CRC errors If the Sensorsoft device detects...

Страница 22: ...5 6 and 7 can be ignored they are not used Converting SSDP DATA byte s to temperature readings Recent Sensorsoft temperature measuring devices can output temperature readings in two different formats...

Страница 23: ...1111 FFFFh 25 C 11111111 11001110 FFCEh 40 C 11111111 10110000 FFB0h 55 C 11111111 10010010 FF92h Please note that the least significant temperature DATA byte is in terms of a 0 5 C The sign bit is du...

Страница 24: ...d strings The sequence of four strings begins at the 10th byte in the response packet To read the SSD s description count to the 10th byte in the ID response and extract the subsequent ASCII null term...

Страница 25: ...ser s Manual Sample ID response packet from a ST6105J Sensorsoft Thermometer Byte Contents 1 90h 2 4Fh 3 00h 4 9 01h 00h 00h 03h 03h 07h 10 Sensorsoft R Thermometer 00h Sensorsoft Corp 00h ST6105J 00h...

Страница 26: ...support to help you overcome your difficulties see web site address below Sensorsoft Corporation does not provide free support to those wishing to write their own software although this is available o...

Страница 27: ...n a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with this guide may cause harmful interference to radio comm...

Отзывы: