Discussion forum about Comet system products
You are not logged in.
Hi!
I have a S0110 device that is plugged on my PC (WinXP) via USB (COM port 14).
I am listening to this COM14 with a software called Portmon. Then, I start the Datalogger software (version 2.2.32.0). Finally, I download data from the device by doing File>>Download from device in the Datalogger software. In my listener, I can see requests and responses transiting on COM14 (in the example below, only one record has been found):
21 12:35:54 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 07 FF FF FF 04 24 12:35:54 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 5: 07 00 00 A2 A9 30 12:35:55 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 07 FF FF FF 04 33 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 5: 07 00 00 A2 A9 37 12:35:55 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 03 00 00 FF 02 40 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 51: 03 00 01 02 01 01 02 01 01 8C 01 0F 0F 0F 01 00 00 00 30 89 B6 00 00 FF FF FF FF FF FF FF FF FF FF FF 7B 0A C3 BC 89 4C 21 0C FF FF FF FF FF FF FF FF FF 46 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 84 F0 00 00 86 0C 00 00 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 50 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 80 00 00 00 00 00 00 00 80 00 00 00 00 54 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: 00 00 00 80 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 FF 20 FF FF 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF 58 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 62 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 66 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 18: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF C2 70 12:35:55 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 03 01 00 FF 03 73 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 24: 03 00 08 93 29 11 30 10 20 08 30 10 20 08 B6 27 B0 72 FF FF FF FF FF FF 77 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 54 65 6D 70 FF FF FF FF FF FF FF FF 81 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 85 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 89 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: 00 00 00 00 00 00 00 00 86 48 00 00 86 48 00 00 86 48 00 00 86 48 00 00 86 48 00 00 86 48 00 00 86 48 00 00 86 48 93 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: 00 00 B0 43 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 15 28 38 C8 FF FF FF FF FF FF FF FF FF FF FF FF 89 7A 00 00 97 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF 8A 23 9E FA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 101 12:35:55 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 7: FF FF FF FF FF FF 87 122 12:35:58 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 07 FF FF FF 04 125 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 5: 07 00 00 A2 A9 129 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 01 FF FF FF FE 132 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 19: 01 00 00 00 00 36 12 14 04 11 11 80 84 90 80 83 03 60 7D 136 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 09 FF FF FF 06 139 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 5: 09 00 01 18 22 143 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 03 00 00 FF 02 146 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 32: 03 00 01 02 01 01 02 01 01 8C 01 0F 0F 0F 01 00 00 00 30 89 B6 00 00 FF FF FF FF FF FF FF FF FF 150 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF 7B 0A C3 BC 89 4C 21 0C FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 84 F0 00 00 154 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: 86 0C 00 00 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 158 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: 02 F9 A1 95 02 F9 80 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 162 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF 20 FF FF 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 166 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 170 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 37: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF C2 174 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 03 01 00 FF 03 177 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 37: 03 00 08 93 29 11 30 10 20 08 30 10 20 08 B6 27 B0 72 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 181 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF 54 65 6D 70 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 185 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 189 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 86 48 00 00 86 193 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: 48 00 00 86 48 00 00 86 48 00 00 86 48 00 00 86 48 00 00 86 48 00 00 86 48 00 00 B0 43 FF FF FF FF FF FF FF FF FF 197 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 39: FF FF FF FF FF 15 28 38 C8 FF FF FF FF FF FF FF FF FF FF FF FF 89 7A 00 00 FF FF FF FF FF FF FF FF FF FF FF FF 8A 23 201 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 31: 9E FA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 87 205 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 03 02 00 FF 04 208 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 45: 03 00 FF FF FF FF FF FF FE 53 34 12 14 11 11 01 02 01 FD FE FF FF FF FF FF FF FE 04 35 12 14 11 11 01 02 01 20 5C FF FF FF FF FF FF FF 212 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 216 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 220 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 224 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 228 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 232 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 24: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF E6 237 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 03 03 00 FF 05 241 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 52: 03 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 245 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 249 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 253 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 257 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 261 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 265 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 17: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 03 271 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 03 04 00 FF 06 274 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 60: 03 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 278 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 282 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 286 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 292 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 296 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 300 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 9: FF FF FF FF FF FF FF FF 03 306 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 07 FF FF FF 04 309 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 5: 07 00 00 A2 A9 315 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 07 FF FF FF 04 318 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 5: 07 00 00 A2 A9 322 12:35:59 logger.exe IRP_MJ_WRITE VCP0 SUCCESS Length 5: 03 00 00 FF 02 325 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 42: 03 00 01 02 01 01 02 01 01 8C 01 0F 0F 0F 01 00 00 00 30 89 B6 00 00 FF FF FF FF FF FF FF FF FF FF FF 7B 0A C3 BC 89 4C 21 0C 329 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 84 F0 00 00 86 0C 00 00 A1 95 02 F9 A1 95 333 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 39: 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 A1 95 02 F9 80 00 00 00 00 337 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: 00 00 00 80 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 FF 20 FF FF 00 00 00 00 00 00 00 341 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 345 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 38: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 349 12:35:59 logger.exe IRP_MJ_READ VCP0 SUCCESS Length 26: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF C2
which corresponds to ( in the datalogger software):
14.11.2011 12:36:00 25.0
So, what I want to know is:
- can we communicate with this S0110 device with an application that we develop (in C# or VB) and that sends requests and reads responses on the COM port?
- if yes, what are the commands for:
- getting the current temperature
- erase device memory
- What are the responses when:
- getting the current temperature
- erase device memory
By the way, I found a document which is very useful but for TXXXX devices, which is: http://www.cometsystem.cz/english/manua … stxxxx.pdf
I would like to know if a similar document exists for SXXXX devices.
Thank you in advance for your answer.
Regards,
Offline
Hello Abidet,
R/S loggers uses Comet proprietary communication protocol. Self-implementation of this protocol is not easy but I think it is possible. Easiest way is use standard software for R/S loggers. At this moment our company not provide communication library for R/S loggers.
Some users created own library - see: http://code.google.com/p/comcomlib/. This library is not created by Comet, due to we can not provide any support for this library. Also this Czech tread can be useful: http://forum.cometsystem.cz/viewtopic.php?id=128. If you wish, I can send to your e-mail description of communication protocol for R/S loggers.
John
Offline
Hi! yes, please send me the description of the communication protocol for R/S loggers. This will be really useful.
Alexandre
Offline
What are the COM serial port settings for communicating with the S0110, I mean what are:
- the Baud rate
- the parity
- data bits
- number of stop bits
Regards,
Alexandre
Offline
Please check your email inbox.
Serial communication, communication speed of 38400 Bd, 8 data bits, no parity. Software must ensure reset of communication signals DTR and RTS (power of communication adapter). Statements have length of 5 bytes, the last byte is always check sum. Logger works in a loop of 10s, when 1 second is reserved for measurement and record of values and at the remaining time is possible to communicate. If logger does not reply to specified statement, it is neccessary to repeat the statement after 1 second. If logger is not in communication mode, it returns always error code after 1st specified statement and then it switches automatically to communication mode, when it receives specified statements correctly. Communication mode is ended automatically 10 seconds after the last communication. All changes in logger setting performed by writing to eeprom or ALARM RTC registers are valid after sending the RESET statement.
John
Offline