SlideShare a Scribd company logo
1 of 6
Download to read offline
Full Name Title
Prepared by Nguyen Duy Tan Engineer
Approved by Quang Nguyen Project manager
Revision No Effective date
1 1 October 2016
2 15 November 2016
3 22 May 2017
General info and specifications
1. SOJI Protocol
Request
0x31 Adr Fmt Data CS
1 byte 1 byte 1 byte [0 - 128] byte 1 byte
where
- Adr: address of sensor in the network
- Fmt: type of request
- Data: Field data
- CS: checksum by CRC8 method
Response
0x3e Adr Fmt Data CS
1 byte 1 byte 1 byte [0-128] byte 1 byte
where
- Adr: address of sensor in the network
- Fmt: type of request
Protocol of SOJI Fuel level sensor FJ-RS232/FJ-RS485 Version 1.0.2
Error control system
Transmission distance
Changed some commands
Document preparion
Description
First release
500m(RS485), 15m(RS232)
Added Modbus RTU register mapping
Items Specifications
Interface standard
Communication system
Parity
1 October 2016
1 October 2016
Date
RS232/RS485
Half-duplex communication system
No parity
CRC-8
Revision history
- Data: Field data
- CS: checksum by CRC8 method
Request code Description Type Description Unit data Type Description Unit data
0x02 Reading of serial number - - - U32 Sensor ID - Last 4 byte of UUID -
0x03 Record the sensor address in the network U8 0 .. 254 - U8 0x00 - without errors / 0x01 - with error -
U32 Sensor ID - Last 4 byte of UUID
U32 Max. calibration frequency Hz
U32 Min. calibration frequency Hz
S16 Temperature correction coefficient K1 -
S8
Additional coefficient of temperature correction
k2
-
U8 Sensor address in the network (T_NET_ADDRESS) -
U8 Autocalib mode (Enable=1, Disable=0) -
U8 Not used -
U16 Not used -
U32 Not used -
U16 Not used -
U8 Interval parameter filtration (10..120) 10 sec
U8 Interval of automatic parameter delivery (0 .. 60) 5 sec
U8
Periodic parameter delivery mode (0-Off, 1-Hex,
2-ASCII, 3- ASCII-EXT)
-
U8 Parameter filtration mode (1 - Off/0 - On) -
S16 Not used -
S16 Not used -
S16 Max value of the fuel height 0.1 mm
S16 Min value of the fuel height 0.1 mm
S16 Not used -
S16 Not used -
S16 Not used -
U8 Not used -
U8 Not used -
-
-
-
- -
Request Data
-0x24
Reading the setting structure
of output signal ranges
General information
-
Format
0x05
Reading the structure
of additional settings
-0x1E
Reading completed configuration -
Response Data
Firmware information
0x1A
Reading the date of
firmware compilation
- - - U8 dim[12] Line -
0x1B
Reading the time of
firmware compilation
- - - U8 dim[10] Line -
0x1C Reading the firmware version - - - U8 dim[3] Line -
S8 Temperature in sensor board °C
U16
Relative fuel level
- Fuel level in cond. unit (0 - 4095)
- Fuel level in mm [0.1mm]
- Fuel volume in tank [0.1 l]
- Fuel volume in the tank [0.4%]
-
0.1mm
0.1 l
0.4%
U32 Current frequency of oscillator Hz
S8 Temperature > 0, Error code < 0 °C
S16
Relative fuel level
- Fuel level in cond. unit (0 - 4095)
- Fuel level in mm [0.1mm]
- Fuel volume in tank [0.1 l]
- Fuel volume in the tank [0.4%]
1
0.1mm
0.1 l
0.4%
U32 Current frequency of oscillator Hz
S16 Not used -
S16 Electronic board temperature °C
U32 Frequency of reference oscillator Hz
U32 Frequency of measuring oscillator, initial Hz
U32
Frequency of measuring generator,
compensated
Hz
S16 Height of fuel in conditional units 1 c.u.
S16 Not used -
S16 Not used -
S16 Not used -
S16 Fuel volume in the tank 0.1 l
S16 Not used -
S16 Not used -
S16 Not used -
U16 Height of fuel in the sensor, initial 0.1 mm
U16 Height of fuel in the sensor, adjusted 0.1 mm
U16 Height of fuel in the sensor, filtered 0.1 mm
U16 Not used -
U8 Fuel volume in the tank in % of its volume 0.4%
U8 Not used -
U16 Not used -
Reading data
0x06
Reading the working parameters0x23 - -
0x1F
-
0x08 Calib to minimum - - - U8 0x00 - without errors / 0x01 - with error -
0x09 Calib to maximum - - - U8 0x00 - without errors / 0x01 - with error -
U16 Coefficient K1
S8 Addition coefficient K2
0x0B Record minimum calibration frequency U32 Calibration frequency 1 Hz U8 0x00 - without errors / 0x01 - with error -
0x0C Record maximum calibration frequency U32 Calibration frequency 1 Hz U8 0x00 - without errors / 0x01 - with error -
0x11 Record filteration interval U8 0 ... 60 sec 1 sec U8 0x00 - without errors / 0x01 - with error -
0x14 Read the filteration interval - - - U8 0 .. 120 1 sec
0x12 Set the access level of the installer U8 dim[8] Array of coded password - U8 0x00 - without errors / 0x01 - with error -
0x15 Read the installer password - - - U8 dim[8] Array of coded password -
S16 Not used -
S16 Not used -
S16 Max value of the fuel height 0.1 mm
S16
Min value of the fuel height in the
sensor
0.1 mm
S16 Not used -
S16 Not used -
S16 Not used -
U8 Not used -
U8 Not used -
0x07
Switch on pediodic delivery. Device stops
when receive a valid request.
- - - U8 0x00 - without errors / 0x01 - with error -
0x13
Record interval of automatic parameter
delivery
U8 0 .. 60 1 sec U8 0x00 - without errors / 0x01 - with error -
0x17
Record the periodic parameter delivery
mode after reset (power supply)
U8
- 0 - OFF
- 1 - HEX
- 2 - ASCII
- U8 0x00 - without errors / 0x01 - with error -
0x34 Read ASCII-EXT prefix and postfix - - -
struct{
U8 pre[30];
U8 post[30];}
Two lines of symbols, that end with "zero" -
0x35 Record ASCII-EXT prefix and postfix
struct{
U8 pre[30];
U8 post[30];}
Two lines of symbols, that end with
"zero"
- U8 0x00 - without errors / 0x01 - with error -
Record temperature corrrection
U8 0x00 - without errors / 0x01 - with error -
0x00 - without errors / 0x01 - with error -U8
Configuration
0x0A
Periodic mode
0x25
Record the setting structure of output
signal ranges
Notes
- All write commands require access
level 0x12
Types:
U8 - unsigned 8 bit value
S8 - signed 8 bit value
U16 - unsigned 16 bit value
S16 - signed 16 bit value
U32 - unsigned 32 bit value
S32 - signed 32 bit value
CRC error check
To calculate CRC Polynomial a^8 + a^5 + a^4 + 1 the following algorithms can be used (C language):
By tables method described in Dallas APPLICATION NOTE 27: Understanding and Using Cyclic Redundancy Checks with Dallas Semiconductor iButton Products
No Address Type Unit data
1 0x00 U16 -
2 0x01 U16 Hz
3 0x02 U16 Hz
4 0x03 U16 -
5 0x04 U16 °C
6 0x05 U16 -
7 0x06 U16 -
Min calibration frequency - high bit
Fuel level data (12 bit)
Temperature
Reserved for future use
Reserved for future use
2. Modbus RTU Register Mapping
The SOJI sensor is capable of communication via the RS-485 serial bus in the Modbus/RTU protocol.
The sensor supports the Modbus function 03 – Read Holding Registers
Description
Sensor address
Min calibration frequency - low bit
U8 CRC8 (U8 data,U8 crc)
{
U8 i = data ^ crc;
crc = 0;
if(i & 0x01) crc ^= 0x5e;
if(i & 0x02) crc ^= 0xbc;
if(i & 0x04) crc ^= 0x61;
if(i & 0x08) crc ^= 0xc2;
if(i & 0x10) crc ^= 0x9d;
if(i & 0x20) crc ^= 0x23;
if(i & 0x40) crc ^= 0x46;
if(i & 0x80) crc ^= 0x8c;
return crc;
}
8 0x07 U16 Hz
9 0x08 U16 Hz
10 0x09 U16 -
11 0x0A U16 Hz
12 0x0B U16 Hz
Max calibration frequency - low bit
Max calibration frequency - high bit
Reserved for future use
OSC current
OSC current

More Related Content

What's hot (8)

Đề tài: Đo tốc độ động cơ dùng 8051, HAY, 9đ
Đề tài: Đo tốc độ động cơ dùng 8051, HAY, 9đĐề tài: Đo tốc độ động cơ dùng 8051, HAY, 9đ
Đề tài: Đo tốc độ động cơ dùng 8051, HAY, 9đ
 
Obd pid Norma J1979
Obd pid Norma J1979Obd pid Norma J1979
Obd pid Norma J1979
 
2 s120 commissioning
2 s120 commissioning2 s120 commissioning
2 s120 commissioning
 
Hướng dẫn thực hành các trạm MPS.pdf
Hướng dẫn thực hành các trạm MPS.pdfHướng dẫn thực hành các trạm MPS.pdf
Hướng dẫn thực hành các trạm MPS.pdf
 
Tài liệu kỹ thuật biến tần Siemens S120
Tài liệu kỹ thuật biến tần Siemens S120Tài liệu kỹ thuật biến tần Siemens S120
Tài liệu kỹ thuật biến tần Siemens S120
 
luan van thac si thiet ke che tao may rua tay sat khuan
luan van thac si thiet ke che tao may rua tay sat khuanluan van thac si thiet ke che tao may rua tay sat khuan
luan van thac si thiet ke che tao may rua tay sat khuan
 
Régulation de niveau en boucle fermée pour différents réglages PID, exercice ...
Régulation de niveau en boucle fermée pour différents réglages PID, exercice ...Régulation de niveau en boucle fermée pour différents réglages PID, exercice ...
Régulation de niveau en boucle fermée pour différents réglages PID, exercice ...
 
API et Supervision industrielle
API et Supervision industrielle API et Supervision industrielle
API et Supervision industrielle
 

Similar to LIGO fuel level protocol rev c

Lecture 10 (serial communication)
Lecture 10 (serial communication)Lecture 10 (serial communication)
Lecture 10 (serial communication)cairo university
 
Lensen products introduction
Lensen products introductionLensen products introduction
Lensen products introductionSunny Chou
 
Regolatore Controller-Ucontrol
Regolatore Controller-UcontrolRegolatore Controller-Ucontrol
Regolatore Controller-Ucontrolconwaychris
 
eastron-sdm230-protocol-v14 (1).pdf
eastron-sdm230-protocol-v14 (1).pdfeastron-sdm230-protocol-v14 (1).pdf
eastron-sdm230-protocol-v14 (1).pdfHenry Quilla
 
Galil dmc 42x0 catalog
Galil dmc 42x0 catalogGalil dmc 42x0 catalog
Galil dmc 42x0 catalogElectromate
 
Galil DMC 42x0 Catalog
Galil DMC 42x0 CatalogGalil DMC 42x0 Catalog
Galil DMC 42x0 CatalogElectromate
 
Panasonic fpx
Panasonic fpxPanasonic fpx
Panasonic fpxsteven qi
 
8051 training an interactive tutorial
8051 training an interactive tutorial8051 training an interactive tutorial
8051 training an interactive tutorialFutura infotech
 
Wecon PLC Introduction 2017
Wecon PLC Introduction 2017Wecon PLC Introduction 2017
Wecon PLC Introduction 2017Lily Zheng
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR FundamentalsVinit Vyas
 
Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080Electromate
 
Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"surabhii007
 
Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080Electromate
 
Applied motion products st datasheet
Applied motion products st datasheetApplied motion products st datasheet
Applied motion products st datasheetElectromate
 
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_dCataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_dDien Ha The
 
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_dCataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_dThuan Kieu
 
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_dCataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_dDien Ha The
 

Similar to LIGO fuel level protocol rev c (20)

Lecture 10 (serial communication)
Lecture 10 (serial communication)Lecture 10 (serial communication)
Lecture 10 (serial communication)
 
Lecture 10 _serial_communication
Lecture 10 _serial_communicationLecture 10 _serial_communication
Lecture 10 _serial_communication
 
Lensen products introduction
Lensen products introductionLensen products introduction
Lensen products introduction
 
Regolatore Controller-Ucontrol
Regolatore Controller-UcontrolRegolatore Controller-Ucontrol
Regolatore Controller-Ucontrol
 
eastron-sdm230-protocol-v14 (1).pdf
eastron-sdm230-protocol-v14 (1).pdfeastron-sdm230-protocol-v14 (1).pdf
eastron-sdm230-protocol-v14 (1).pdf
 
Punch sensor, Arduino
Punch sensor, Arduino Punch sensor, Arduino
Punch sensor, Arduino
 
Galil dmc 42x0 catalog
Galil dmc 42x0 catalogGalil dmc 42x0 catalog
Galil dmc 42x0 catalog
 
Galil DMC 42x0 Catalog
Galil DMC 42x0 CatalogGalil DMC 42x0 Catalog
Galil DMC 42x0 Catalog
 
Panasonic fpx
Panasonic fpxPanasonic fpx
Panasonic fpx
 
8051 training an interactive tutorial
8051 training an interactive tutorial8051 training an interactive tutorial
8051 training an interactive tutorial
 
Wecon PLC Introduction 2017
Wecon PLC Introduction 2017Wecon PLC Introduction 2017
Wecon PLC Introduction 2017
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR Fundamentals
 
Spark
SparkSpark
Spark
 
Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080
 
Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"
 
Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080
 
Applied motion products st datasheet
Applied motion products st datasheetApplied motion products st datasheet
Applied motion products st datasheet
 
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_dCataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
 
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_dCataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
 
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_dCataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation-15_vat300_e_c6-1_rev_d
 

Recently uploaded

01552_14_01306_8.0_EPS_CMP_SW_VC2_Notebook.doc
01552_14_01306_8.0_EPS_CMP_SW_VC2_Notebook.doc01552_14_01306_8.0_EPS_CMP_SW_VC2_Notebook.doc
01552_14_01306_8.0_EPS_CMP_SW_VC2_Notebook.docazrfdstgdgdfh
 
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理ezgenuh
 
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...gajnagarg
 
Why Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So LoudWhy Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So LoudRoyalty Auto Service
 
Is Your BMW PDC Malfunctioning Discover How to Easily Reset It
Is Your BMW PDC Malfunctioning Discover How to Easily Reset ItIs Your BMW PDC Malfunctioning Discover How to Easily Reset It
Is Your BMW PDC Malfunctioning Discover How to Easily Reset ItEuroService Automotive
 
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国ezgenuh
 
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...nirzagarg
 
如何办理美国华盛顿大学毕业证(UW毕业证书)毕业证成绩单原版一比一
如何办理美国华盛顿大学毕业证(UW毕业证书)毕业证成绩单原版一比一如何办理美国华盛顿大学毕业证(UW毕业证书)毕业证成绩单原版一比一
如何办理美国华盛顿大学毕业证(UW毕业证书)毕业证成绩单原版一比一avy6anjnd
 
一比一原版西安大略大学毕业证(UWO毕业证)成绩单原件一模一样
一比一原版西安大略大学毕业证(UWO毕业证)成绩单原件一模一样一比一原版西安大略大学毕业证(UWO毕业证)成绩单原件一模一样
一比一原版西安大略大学毕业证(UWO毕业证)成绩单原件一模一样wsppdmt
 
JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...
JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...
JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...Excavator
 
T.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptx
T.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptxT.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptx
T.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptxBernardLongboan
 
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证62qaf0hi
 
Effortless Driving Experience Premier Mercedes Sprinter Suspension Service
Effortless Driving Experience Premier Mercedes Sprinter Suspension ServiceEffortless Driving Experience Premier Mercedes Sprinter Suspension Service
Effortless Driving Experience Premier Mercedes Sprinter Suspension ServiceSprinter Gurus
 
West Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptxWest Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptxPankajBhagat45
 
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdfJohn Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdfExcavator
 
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一opyff
 
一比一原版(UdeM学位证书)蒙特利尔大学毕业证学历认证怎样办
一比一原版(UdeM学位证书)蒙特利尔大学毕业证学历认证怎样办一比一原版(UdeM学位证书)蒙特利尔大学毕业证学历认证怎样办
一比一原版(UdeM学位证书)蒙特利尔大学毕业证学历认证怎样办ezgenuh
 
Muslim Call Girls Churchgate WhatsApp +91-9930687706, Best Service
Muslim Call Girls Churchgate WhatsApp +91-9930687706, Best ServiceMuslim Call Girls Churchgate WhatsApp +91-9930687706, Best Service
Muslim Call Girls Churchgate WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
一比一原版伯明翰城市大学毕业证成绩单留信学历认证
一比一原版伯明翰城市大学毕业证成绩单留信学历认证一比一原版伯明翰城市大学毕业证成绩单留信学历认证
一比一原版伯明翰城市大学毕业证成绩单留信学历认证62qaf0hi
 

Recently uploaded (20)

01552_14_01306_8.0_EPS_CMP_SW_VC2_Notebook.doc
01552_14_01306_8.0_EPS_CMP_SW_VC2_Notebook.doc01552_14_01306_8.0_EPS_CMP_SW_VC2_Notebook.doc
01552_14_01306_8.0_EPS_CMP_SW_VC2_Notebook.doc
 
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
 
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
 
Why Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So LoudWhy Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So Loud
 
Is Your BMW PDC Malfunctioning Discover How to Easily Reset It
Is Your BMW PDC Malfunctioning Discover How to Easily Reset ItIs Your BMW PDC Malfunctioning Discover How to Easily Reset It
Is Your BMW PDC Malfunctioning Discover How to Easily Reset It
 
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
一比一原版(UVic学位证书)维多利亚大学毕业证学历认证买留学回国
 
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
 
如何办理美国华盛顿大学毕业证(UW毕业证书)毕业证成绩单原版一比一
如何办理美国华盛顿大学毕业证(UW毕业证书)毕业证成绩单原版一比一如何办理美国华盛顿大学毕业证(UW毕业证书)毕业证成绩单原版一比一
如何办理美国华盛顿大学毕业证(UW毕业证书)毕业证成绩单原版一比一
 
一比一原版西安大略大学毕业证(UWO毕业证)成绩单原件一模一样
一比一原版西安大略大学毕业证(UWO毕业证)成绩单原件一模一样一比一原版西安大略大学毕业证(UWO毕业证)成绩单原件一模一样
一比一原版西安大略大学毕业证(UWO毕业证)成绩单原件一模一样
 
JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...
JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...
JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...
 
T.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptx
T.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptxT.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptx
T.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptx
 
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
 
Effortless Driving Experience Premier Mercedes Sprinter Suspension Service
Effortless Driving Experience Premier Mercedes Sprinter Suspension ServiceEffortless Driving Experience Premier Mercedes Sprinter Suspension Service
Effortless Driving Experience Premier Mercedes Sprinter Suspension Service
 
West Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptxWest Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptx
 
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdfJohn Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
 
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
 
一比一原版(UdeM学位证书)蒙特利尔大学毕业证学历认证怎样办
一比一原版(UdeM学位证书)蒙特利尔大学毕业证学历认证怎样办一比一原版(UdeM学位证书)蒙特利尔大学毕业证学历认证怎样办
一比一原版(UdeM学位证书)蒙特利尔大学毕业证学历认证怎样办
 
Muslim Call Girls Churchgate WhatsApp +91-9930687706, Best Service
Muslim Call Girls Churchgate WhatsApp +91-9930687706, Best ServiceMuslim Call Girls Churchgate WhatsApp +91-9930687706, Best Service
Muslim Call Girls Churchgate WhatsApp +91-9930687706, Best Service
 
一比一原版伯明翰城市大学毕业证成绩单留信学历认证
一比一原版伯明翰城市大学毕业证成绩单留信学历认证一比一原版伯明翰城市大学毕业证成绩单留信学历认证
一比一原版伯明翰城市大学毕业证成绩单留信学历认证
 

LIGO fuel level protocol rev c

  • 1. Full Name Title Prepared by Nguyen Duy Tan Engineer Approved by Quang Nguyen Project manager Revision No Effective date 1 1 October 2016 2 15 November 2016 3 22 May 2017 General info and specifications 1. SOJI Protocol Request 0x31 Adr Fmt Data CS 1 byte 1 byte 1 byte [0 - 128] byte 1 byte where - Adr: address of sensor in the network - Fmt: type of request - Data: Field data - CS: checksum by CRC8 method Response 0x3e Adr Fmt Data CS 1 byte 1 byte 1 byte [0-128] byte 1 byte where - Adr: address of sensor in the network - Fmt: type of request Protocol of SOJI Fuel level sensor FJ-RS232/FJ-RS485 Version 1.0.2 Error control system Transmission distance Changed some commands Document preparion Description First release 500m(RS485), 15m(RS232) Added Modbus RTU register mapping Items Specifications Interface standard Communication system Parity 1 October 2016 1 October 2016 Date RS232/RS485 Half-duplex communication system No parity CRC-8 Revision history
  • 2. - Data: Field data - CS: checksum by CRC8 method Request code Description Type Description Unit data Type Description Unit data 0x02 Reading of serial number - - - U32 Sensor ID - Last 4 byte of UUID - 0x03 Record the sensor address in the network U8 0 .. 254 - U8 0x00 - without errors / 0x01 - with error - U32 Sensor ID - Last 4 byte of UUID U32 Max. calibration frequency Hz U32 Min. calibration frequency Hz S16 Temperature correction coefficient K1 - S8 Additional coefficient of temperature correction k2 - U8 Sensor address in the network (T_NET_ADDRESS) - U8 Autocalib mode (Enable=1, Disable=0) - U8 Not used - U16 Not used - U32 Not used - U16 Not used - U8 Interval parameter filtration (10..120) 10 sec U8 Interval of automatic parameter delivery (0 .. 60) 5 sec U8 Periodic parameter delivery mode (0-Off, 1-Hex, 2-ASCII, 3- ASCII-EXT) - U8 Parameter filtration mode (1 - Off/0 - On) - S16 Not used - S16 Not used - S16 Max value of the fuel height 0.1 mm S16 Min value of the fuel height 0.1 mm S16 Not used - S16 Not used - S16 Not used - U8 Not used - U8 Not used - - - - - - Request Data -0x24 Reading the setting structure of output signal ranges General information - Format 0x05 Reading the structure of additional settings -0x1E Reading completed configuration - Response Data Firmware information
  • 3. 0x1A Reading the date of firmware compilation - - - U8 dim[12] Line - 0x1B Reading the time of firmware compilation - - - U8 dim[10] Line - 0x1C Reading the firmware version - - - U8 dim[3] Line - S8 Temperature in sensor board °C U16 Relative fuel level - Fuel level in cond. unit (0 - 4095) - Fuel level in mm [0.1mm] - Fuel volume in tank [0.1 l] - Fuel volume in the tank [0.4%] - 0.1mm 0.1 l 0.4% U32 Current frequency of oscillator Hz S8 Temperature > 0, Error code < 0 °C S16 Relative fuel level - Fuel level in cond. unit (0 - 4095) - Fuel level in mm [0.1mm] - Fuel volume in tank [0.1 l] - Fuel volume in the tank [0.4%] 1 0.1mm 0.1 l 0.4% U32 Current frequency of oscillator Hz S16 Not used - S16 Electronic board temperature °C U32 Frequency of reference oscillator Hz U32 Frequency of measuring oscillator, initial Hz U32 Frequency of measuring generator, compensated Hz S16 Height of fuel in conditional units 1 c.u. S16 Not used - S16 Not used - S16 Not used - S16 Fuel volume in the tank 0.1 l S16 Not used - S16 Not used - S16 Not used - U16 Height of fuel in the sensor, initial 0.1 mm U16 Height of fuel in the sensor, adjusted 0.1 mm U16 Height of fuel in the sensor, filtered 0.1 mm U16 Not used - U8 Fuel volume in the tank in % of its volume 0.4% U8 Not used - U16 Not used - Reading data 0x06 Reading the working parameters0x23 - - 0x1F -
  • 4. 0x08 Calib to minimum - - - U8 0x00 - without errors / 0x01 - with error - 0x09 Calib to maximum - - - U8 0x00 - without errors / 0x01 - with error - U16 Coefficient K1 S8 Addition coefficient K2 0x0B Record minimum calibration frequency U32 Calibration frequency 1 Hz U8 0x00 - without errors / 0x01 - with error - 0x0C Record maximum calibration frequency U32 Calibration frequency 1 Hz U8 0x00 - without errors / 0x01 - with error - 0x11 Record filteration interval U8 0 ... 60 sec 1 sec U8 0x00 - without errors / 0x01 - with error - 0x14 Read the filteration interval - - - U8 0 .. 120 1 sec 0x12 Set the access level of the installer U8 dim[8] Array of coded password - U8 0x00 - without errors / 0x01 - with error - 0x15 Read the installer password - - - U8 dim[8] Array of coded password - S16 Not used - S16 Not used - S16 Max value of the fuel height 0.1 mm S16 Min value of the fuel height in the sensor 0.1 mm S16 Not used - S16 Not used - S16 Not used - U8 Not used - U8 Not used - 0x07 Switch on pediodic delivery. Device stops when receive a valid request. - - - U8 0x00 - without errors / 0x01 - with error - 0x13 Record interval of automatic parameter delivery U8 0 .. 60 1 sec U8 0x00 - without errors / 0x01 - with error - 0x17 Record the periodic parameter delivery mode after reset (power supply) U8 - 0 - OFF - 1 - HEX - 2 - ASCII - U8 0x00 - without errors / 0x01 - with error - 0x34 Read ASCII-EXT prefix and postfix - - - struct{ U8 pre[30]; U8 post[30];} Two lines of symbols, that end with "zero" - 0x35 Record ASCII-EXT prefix and postfix struct{ U8 pre[30]; U8 post[30];} Two lines of symbols, that end with "zero" - U8 0x00 - without errors / 0x01 - with error - Record temperature corrrection U8 0x00 - without errors / 0x01 - with error - 0x00 - without errors / 0x01 - with error -U8 Configuration 0x0A Periodic mode 0x25 Record the setting structure of output signal ranges
  • 5. Notes - All write commands require access level 0x12 Types: U8 - unsigned 8 bit value S8 - signed 8 bit value U16 - unsigned 16 bit value S16 - signed 16 bit value U32 - unsigned 32 bit value S32 - signed 32 bit value CRC error check To calculate CRC Polynomial a^8 + a^5 + a^4 + 1 the following algorithms can be used (C language): By tables method described in Dallas APPLICATION NOTE 27: Understanding and Using Cyclic Redundancy Checks with Dallas Semiconductor iButton Products No Address Type Unit data 1 0x00 U16 - 2 0x01 U16 Hz 3 0x02 U16 Hz 4 0x03 U16 - 5 0x04 U16 °C 6 0x05 U16 - 7 0x06 U16 - Min calibration frequency - high bit Fuel level data (12 bit) Temperature Reserved for future use Reserved for future use 2. Modbus RTU Register Mapping The SOJI sensor is capable of communication via the RS-485 serial bus in the Modbus/RTU protocol. The sensor supports the Modbus function 03 – Read Holding Registers Description Sensor address Min calibration frequency - low bit U8 CRC8 (U8 data,U8 crc) { U8 i = data ^ crc; crc = 0; if(i & 0x01) crc ^= 0x5e; if(i & 0x02) crc ^= 0xbc; if(i & 0x04) crc ^= 0x61; if(i & 0x08) crc ^= 0xc2; if(i & 0x10) crc ^= 0x9d; if(i & 0x20) crc ^= 0x23; if(i & 0x40) crc ^= 0x46; if(i & 0x80) crc ^= 0x8c; return crc; }
  • 6. 8 0x07 U16 Hz 9 0x08 U16 Hz 10 0x09 U16 - 11 0x0A U16 Hz 12 0x0B U16 Hz Max calibration frequency - low bit Max calibration frequency - high bit Reserved for future use OSC current OSC current