background image

 

 

Manual Supercom 646 GPRS rev. 04-02-2011 

44 

13. Annexe E 

13.1 BIN file Format 

 

Periodically, the FTP-GPRS module read the data stored in the central 646 and create a BIN file that is up-
loaded to the FTP server. This BIN file contains the data of all devices read by radio. 

File name: 

<IMEI>_<FileTime>.BIN 

For example: 

355632003678233_1236585660786.BIN 

The IMEI is a 15 digits number that represents the International Mobile Equipment Identifier of the 
FTP-GPRS module. 
The FileTime is the local time of the file creation (in milliseconds from midnight, January 1, 1970) 
For further details on IMEI and FileTime see in the table below. 

The BIN file is a binary file composed of : 

- a fixed header of 16 bytes 
- a variable length DeviceData structure repeated for each device 
- a fixed trailer of 7 bytes 

The following table describes the internal data structure of a BIN file: 

Sect  Field Name 

Size [byte]  First byte  Range 

Description 

H

e

a

d

e

IMEI 

MSB 

0..10

15

-1 

International Mobile Equipment Identifier.  
This number is unique for each FTP-
GPRS module. 

FileTime 

MSB 

0..10

13

-1 

Local time of the file creation. Number of 
milliseconds from midnight, January 1, 
1970 (1970-01-01T00:00). 

D

e

v

ic

e

D

a

ta

 

PrimaryAddr 

MSB 

0..255 

M-Bus primary address. Always 0 for the 
central 646, the radio devices don't have a 
primary address. 

IdNumber 

MSB 

0..99'999'999  M-Bus identification number. 

TelegramType 

MSB 

0..2 

Type of the telegrams. Always 1 (M-Bus) 
for the central 646. 

TelegramsLength 

MSB 

0..32'767 

Length (in bytes) of the following Tele-
gramsData 

TelegramsData 

Telegrams 

Length 

  

Concatenated telegrams of the device. 

T

ra

ile

DeviceListCount 

MSB 

0..32'767 

Number of devices in the list. 

DeviceReadCount 

MSB 

0..32'767 

Number of read devices. 

Error 

0; 1 

0: No error (DeviceReadCount = Device-
ListCount); 1: some devices are not read 
(DeviceReadCount < DeviceListCount) 

CRC 

LSB 

  

CRC16 of this file content according to 
RFC1662. 

MSB: Most Significant Byte 
LSB: Least Significant Byte 

 
 
 

Summary of Contents for Supercom 646

Page 1: ...chnical modification Radio Central Supercom 646 Revision 04 02 2011 Manual Supercom 646 GPRS rev 04 Sontex SA 2605 Sonceboz Switzerland Phone 41 32 488 30 00 Fax 41 32 488 30 01 Email sontex sontex ch...

Page 2: ...point 3 Add pictures 010410 April 01 2010 SV Add pictures interior view 301110 30 11 10 SV Ajouter explications batterie abonnement Trame MBUS chapitre R p teur 13 12 10 13 12 10 SV Traduction selon m...

Page 3: ...tarting the radio central with the software Tools646 10 4 Radio device data collection and periods 11 4 1 Radio schedule 11 4 2 Saving data 12 5 Description of Light Emitting Diodes LED 13 5 1 LED dis...

Page 4: ...1 Reading process of the radio central configuration 33 9 2 Reading process of the radio central saved device list 34 9 3 Reading process of the radio central s read and saved device data 35 10 Annexe...

Page 5: ...dio Heating Cost Distributor 502s 552 556 Radio Water Distributor 590 Supercal 539 Compact Energy Meter with radio option Supercal 531 Integrator with radio option Radio Module 540 2 entries max Super...

Page 6: ...per cover of the base remove the cover and remove the screw that attaches the two parts Remove the upper case cover and attach the lower part containing the electronic card using the four screws The c...

Page 7: ...GSM function allows to connect to the radio central Supercom 646 by using the GSM net work This remote connection can be established through a computer connected to a modem The GPRS function allows se...

Page 8: ...SM network This may take up to 1 minute Once connected to the GSM network the orange LED of the module will flash every 3 seconds Remark Make sure that the correct PIN code of the SIM card is availabl...

Page 9: ...of the case To do this one must slide the covers together Tighten the fixation screw of the two covers and then insert the lead seal in the opening on the upper cover of the case Once the seal is fixe...

Page 10: ...rammed the radio communication between the central and the different radio devices must be tested Program an immediate reading according to the list contained in the central Verify that all the radio...

Page 11: ...hedule During a radio data collection the time of the device questioned by the central will be automatically synchronized with the time of the radio central Supercom 646 It is therefore important to c...

Page 12: ...of the last readout as well as the firmware version of the radio central Supercom 646 The radio central Supercom 646 is equipped with a memory that can stock up to 1000 radio devices The following Son...

Page 13: ...n LED blinks for 0 5 second each second Orange LED blinks alternately Sleeping Mode Normal Green LED ON Orange LED OFF Green LED blinks for 40 ms every 4 seconds Orange LED OFF Time or memory is not a...

Page 14: ...r supply problems network or battery the two LEDs indicate the problem 5 3 1 Power network stopped or low battery power Status 230V Network Power Stopped Low Battery Power Sleeping Mode Normal Green L...

Page 15: ...is advised to touch a ground such as a hot water pipe to discharge oneself of any static electricity With the option of the power network module be careful with high tension power sources Avoid touchi...

Page 16: ...the connection cable If the backup batteries are discharged cut the Nylon strap around the backup battery to release it from the mother board and replace it with a new one of the exact same specifica...

Page 17: ...ld be live All repairs and service work must be done by persons specialized for this kind of equipment If the cases and or the power cable show signs of damage or an anomaly the Supercom 646 Radio Cen...

Page 18: ...re humidity atmospheric pressure Electronic Characteristics Network Power Module Backup Battery 3V Lithium Manganese Dioxide Li MnO2 format 2 3 A Power Module Batteries 3 6V Lithium Thionyl Chloride L...

Page 19: ...Manual Supercom 646 GPRS rev 04 02 2011 19 6 4 Dimensions Interior view Supercom 646 Batterie USB Supercom 646 main power supply 230 VAC USB GPRS View from the bottom with DIN rail holder...

Page 20: ...ading and writing or only in reading 1 Data containing the configuration of the central reading and writing 2 Data containing the list of memorized devices reading and writing 3 Data containing the da...

Page 21: ...66 op D 8 bits StateOfParameterActivat ion 0 0 1 0 Reading date 2 84 01 6D xx xx xx xx F 32 bits DateAndTime 0 0 2 0 Reading period 2 81 01 FD si xx C 8 bits day month StorageInterval 0 0 2 0 Reading...

Page 22: ...meout 82 40 FF 12 xx xx C 16 bits 1 2 s Timeout 1 0 0 0 K1 module inactivity timeout 82 50 FF 12 xx xx C 16 bits 1 2 s Timeout 1 1 0 0 K1 module byte interval 82 60 FF 10 xx xx C 16 bits 1 32768 s Tim...

Page 23: ...N code 8D 80 40 FF 18 Ln ch ch ch ch ch ch ch ch LVAR 0 8 Note 2 empty disabled PinCode 2 0 0 0 K2 module call back number 8D 80 40 FF 1E Ln ch ch ch ch ch ch ch ch ch ch ch ch ch ch ch ch LVAR 0 16 e...

Page 24: ...011b 0 dBm 1100b 10 dBm 1101b 20 dBm or more 1110b Reserved 1111b Reserved bit8 SND_UD frame unknown CI bit9 SND_UD frame structured write unknown field bit10 Access right violation bit11 SND_UD frame...

Page 25: ...0 minutes 1 the upload start immediately bit3 Select the devices that will be read 0 all devices 1 only the devices without data the devices never read from the last clear pp Parameter flags Warning d...

Page 26: ...on busy 10b Any application error Any application error 11b Reserved bit2 Main power cut or battery low Power low bit3 Permanent error bit4 Temporary error bit5 Manufacturer specific bit6 Invalid time...

Page 27: ...8D 90 50 FD 12 Ln ch ch ch ch ch ch ch ch ch ch ch ch ch ch ch ch LVAR 0 16 Note 2 AccessCodeUser 2 5 0 0 K2 FTP Password 8D 90 50 FD 16 Ln ch ch ch ch ch ch ch ch ch ch ch ch ch ch ch ch LVAR 0 16 N...

Page 28: ...Entry sheet DeviceListEntry 0 0 0 0 Entry of device list 0D FF 16 Ld xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx LVAR...

Page 29: ...7h xxxxxxxxh 80h 01h 00h 0101h FFh FFh xxxxxxxxh 581 Water counter All values xxxxxxxxh 4DEEh 20 07h xxxxxxxxh 80h 01h 00h 0101h FFh FFh xxxxxxxxh Current values B1h 01h 00h All values B1h 02h 00h 541...

Page 30: ...08 FF FF FF FF FF FF FF FF LVAR Notes 2 and 5 0 0 0 0 Reset battery use duration 03 FD 6C 00 00 00 B 24 bits Note 10 OperatingTimeBattery 0 0 0 0 Parameter flags Bits set 01 FD E6 03 pp D 8 bits Menti...

Page 31: ...e central Fill in the frame Structured write SND_UD with the information relative to the device to be added to the list See the field Device Entry for the information to add according to the type of d...

Page 32: ...upercom 646 GPRS rev 04 02 2011 32 8 Uses 8 1 Firmware updating The Supercom 646 Radio Central firmware can be updated with the Toosl646 software from a computer via the communication interface of the...

Page 33: ...Manual Supercom 646 GPRS rev 04 02 2011 33 9 Annexe A 9 1 Reading process of the radio central configu ration...

Page 34: ...Manual Supercom 646 GPRS rev 04 02 2011 34 9 2 Reading process of the radio central saved device list...

Page 35: ...ng process of the radio central s read and saved device data The frame RSP_UP contains the read data of the selected radio device This frame RSP_UD is specific to each Sontex radio device The descript...

Page 36: ...Manual Supercom 646 GPRS rev 04 02 2011 36 10 Annexe B 10 1 Writing or configuration process of the radio central...

Page 37: ...Every repeater is considered as one radio device Up to 6 repeaters can be cascaded one after the other in the same chain Several chains in different directions are possible The functionality is suppo...

Page 38: ...ed by Tools646 The call back number must be parameterized in the central unit using Tools646 in direct connection optical interface RS232 or USB Remote parameterization of the call back number is not...

Page 39: ...ng Tools646 12 1 6 HTTP Time Server access The FTP GPRS module needs the URL address of an HTTP time server to adjust the central unit clock Normally all HTTP servers can supply the time with a degree...

Page 40: ...parated by commas The parameters of some commands can be optional 12 2 1 2 Content of a reply SMS sent by the central unit Syntax num_id command result 1 result 2 Details num_id central unit identific...

Page 41: ...format num_app number of appliances for which data are available and total number of appliances attempt remaining number of attempts to read the radio Example SMS sent 1234 TEST SMS received 12345678...

Page 42: ...specified in any desired order and they must be separated by at least one space no comma CLEAR Clear data from devices before radio reading ALL Radio reading of all devices By default only those devi...

Page 43: ...call back number If the call back number is not specified the call back function of the central unit is deactivated By default the central unit does not send back a reply To receive a reply the quest...

Page 44: ...Field Name Size byte First byte Range Description Header IMEI 8 MSB 0 10 15 1 International Mobile Equipment Identifier This number is unique for each FTP GPRS module FileTime 8 MSB 0 10 13 1 Local ti...

Page 45: ...Manual Supercom 646 GPRS rev 04 02 2011 45 Notes...

Page 46: ...Manual Supercom 646 GPRS rev 04 02 2011 46 Notes...

Page 47: ...Manual Supercom 646 GPRS rev 04 02 2011 47 CD...

Page 48: ...conformity The detailed conformity certificate is available on the Sontex site www sontex ch Technical Support For technical support contact the local Sontex agent or Sontex SA directly Hotline Sonte...

Reviews: