background image

 

 

COMMUNICATION PROTOCOL IN MODE SINGLE AND MULTI 

RRF installation and operating manual 

Pag. 13 

Where: 

 

<FLAGS>

 : Register of flags, encoded as shown in the table below:

 

The communication parameters are fixed to 

38400,N,8,1

. The transmission strings are as follows: 

 

Binary Encoding:  

0x80 

<TRF1> 

<TRF2> 

. . . 

<TRFn> 

<CS> 

EOT 

Bit 7 

Bit 6 

Bit 5 

Bit 4 

Bit 3 

Bit 2 

Bit 1 

Bit 0 

Timeout 

Out of range  Overweight  Underweight  Unstable weight 

Negative sign 

 

<HW>

: Most significant byte (bit 23 … bit 16) of the weight value in 24-bit (0xFF if timeout) 

 

<MW>

: Intermediate Byte (bit 15 … bit 8) of the weight value in 24-bit (0xFF if timeout) 

 

<LW>

: Least significant byte (bit 7 … bit 0) of the weight value in 24-bit (0xFF if timeout) 

 

<VBAT>

: Battery voltage in tenths of Volts (binary data)(0xFF if timeout) 

 

<CS>: 

Checksum calculated as the sum of the first 6 bytes in binary 2's complement (0xFF - sum) 

 

EOT

:  end of transmission; character of end string (ASCII value0x04).

 

 

<PESO>: 

ASCII string of weight expressed with 8 characters right justified, with any decimal point 

and minus sign. (In case of timeout are transmitted 8 characters „-‟). 

 

<BATT>

: ASCII string of voltage battery, 2 characters expressed in tenths of Volts. 

 

ETX

:  end of text; text end character (ASCII value 0x03). 

 

<CHKSUM>

: two-character checksum of string data. It is calculated by performing the exclusive OR 

(XOR) of all the characters from STX to ETX, STX and ETX excluded. The result of the XOR is de-
composed into two separate characters, considering separately the upper 4 bits (first character) and 
the lower 4 bits (second character

). 

The two obtained characters are then encoded ASCII. (Example: 

XOR = 5Dh; C C = «5D» that is 35h e 44h). 

 

EOT

:  end of transmission; character of end string (ASCII value 0x04).

 

ASCII Encoding:

 

0x80 

<TRF1> 

<TRF2> 

<TRFn> 

ETX 

<CHKSUM> 

EOT 

. . . 

Where: 

 

<STATO>

 : weight status, can take the values shown in the following table:

 

“S” 

“M” 

“E” 

“O” 

“U” 

“Z” 

“T” 

Stable weight  Weight in motion  Out of range  Overweight 

Underweight 

Initial zero not performed 

Timeout 

String for weight request: 

 
In case of transmission on request, for both encoding type, The request string is as follows: 

0x80 

“N” 

EOT 

Where: 

 

“N”: 

character identifier of the request (ASCII value 0x4E). 

 

EOT

:  end of transmission; character of end string

 

(ASCII value 0x04).

 

<STATO> 

<PESO> 

<BATT> 

Where <TRFx> consists of 3 fields:

 

<FLAGS> 

<HW> 

<MW> 

<LW> 

<VBAT> 

Where <TRFx> consists of 5 fields:

 

Summary of Contents for RRF

Page 1: ...RF TRANSCEIVER RRF INSTALLATION AND OPERATING MANUAL SOFTWARE CODE PRRF04 VERSION Rev 0 0...

Page 2: ...Page 8 RS232 SERIAL CONNECTION Page 8 RS422 RS485 SERIAL CONNECTION Page 9 USB CONNECTION Page 9 RF CHANNEL SELECTION Page 10 SELECTING THE NUMBER OF TRF IN THE NETWORK MULTI Page 10 INSTRUMENT CONFIG...

Page 3: ...ions For each anomaly contact your nearest Service Centre Any attempt to disassemble the instrument or any modification of the instrument not expressly approved will void the warranty and will relieve...

Page 4: ...the serial port or USB a string with all the weight obtained Applications 4 5 and 6 The RF communication frequency is 868MHz with power up to 10mW with 7 operation channels selectable from dip switch...

Page 5: ...ugh an indicator RRF TRF TRF TRF 1 2 N USB PC Application 5 MULTI acquisition of the weight from N TRF transmitters through a PC RRF installation and operating manual Pag 5 INSTRUMENT 1 RRF RS485 TRF...

Page 6: ...xcluding antenna and connector Enclosure Cast aluminium Protection degree IP65 Connection Screw terminals pitch 5 08 mm cable gland SERIAL INTERFACE Rs232 Communication parameters 9600 19200 38400 N 8...

Page 7: ...ddition INSTRUMENT INSTALLATION The following procedures must be performed by qualified personnel All connection must be performed with instrument turned off The instrument is secured by 2 screws inse...

Page 8: ...cy is sensitive to vibration Fasten the instrument and use the dumpers RS232 SERIAL CONNECTION To make the serial connection use a shielded cable making sure to ground the shield at one of the two end...

Page 9: ...s for example outputs connected to con tactors or power cables but must follow his own path USB CONNECTION The USB cable is connected via the terminal block inside the instrument In the version with U...

Page 10: ...y application 4 5 and 6 must be select the number of TRF transmitters connected via radio In mode SINGLE and DIRECT this selection is not considered The selection of the number of TRF is made through...

Page 11: ...15mW to 10 mW The programming of these parameters is performed using the PC application PWIN38 that allows through a wizard to configure the RF system in few steps The PC is connected via USB port use...

Page 12: ...t loader on waiting to receive file LED blinks continuously Function of the boot loader in progress FIRMWARE BOOT LOADER The instrument has the boot loader function for firmware update This can be don...

Page 13: ...transmitted 8 characters BATT ASCII string of voltage battery 2 characters expressed in tenths of Volts ETX end of text text end character ASCII value 0x03 CHKSUM two character checksum of string dat...

Page 14: ...on Verify the installation by referring to this manual Hardware failure Use the diagnostic LED to indicate the fault detected The receiver does not receive the correct string Incorrect communication p...

Reviews: