background image

 

____________________________________________________________________________________ 
 

____________________________________________________________________________________ 
Speeder X1 and X2 Configuration and API Guide  

Page 29/36

 

6.2  Permanent memory parameters 

Writing parameters into permanent memory requires special attention. 

Permanent memory parameters are protected by  a special lock that has to be opened 
before  changing  the  parameters.  The  parameter  area  is  also  protected  by  checksum 
calculation.  If  the  checksum  is  wrong,  the  sensor  does  not  perform  measurements. 
Having  transferred  the  user  parameters  into  the  permanent  memory,  the  sensor 
automatically calculates the checksum. 

To enable the permanent memory for writing: 

Command from PC  

 

Reply 

 

<esc>X<cr>   (X, ASCII-code 88, h58) 

 

 
WR ENABLE<cr><lf> 

Parameters are set to permanent memory by command: 

Command from PC  

 

Reply 

 

<esc>S<cr>   (S, ASCII-code 83, h53) 

 

 
SOK<cr><lf> 

Parameters can be read from permanent memory by command: 

Command from PC  

 

Reply 

 

<esc>P<No.><cr> 

 

 
P00xxx<cr><lf> 

<esc>   ASCII code 27 

     P        Command (ASCII code 80) 

No.  

      parameter #1-61 in ASCII format 

<cr>      ASCII code 13 

xxx 

Value of parameter 

 

6.3  Parameter list 

The sensor includes three types of parameters. In binary format each bit in the parameter 
carries meaning. In byte (8 bit) and word (16 bit) formats the parameter is able to receive 
values from 0 to 255 and from 0 to 65000 respectively.  

In the following descriptions these parameters are marked as: 

  B 

= Byte (8 bits) 

  W 

= Word (2 bytes) 

Note: All parameters are not valid for all software versions. 

 

Summary of Contents for speeder x1

Page 1: ...Speeder X1 and X2 Laser Radar Configuration and API Guide...

Page 2: ..._______________________________________________________________________ ____________________________________________________________________________________ Speeder X1 and X2 Configuration and API Gui...

Page 3: ...fi Downloads Documents http www noptel fi eng nms index php doc 7_downloads 5_manuals group MSC Software http www noptel fi eng nms index php doc 7_downloads 7_software group MSC Firmware Ask from inf...

Page 4: ...ASCII format of the distance measurement 11 4 SPEED MEASUREMENTS 13 4 1 SPEED MEASUREMENT MODE FOR VERTICAL INSTALLATION 13 4 1 1 Speed calculation method 17 4 1 2 Delayed trigger in speed measuremen...

Page 5: ...1 2 Communication protocol Baud rates The sensors operate connected to the RS 232 or RS 422 port using baud rates of 1200 to 921600 bd The bit stream of serial port consists of Data bits 8 Parity Non...

Page 6: ...e permanent memory user should always test the proper function of the sensor 1 3 Commands in Configuration mode The commands in Configuration mode are as follows Command Description Answer c Measure d...

Page 7: ...configuring the sensor for applications are light blue The end of the line of answer is always cr lf 1 Distance measurement commands Commands c and C return results according to Chapter 3 1 With comma...

Page 8: ...V cr An example of answer for command V SPEEDER X1 CMS5012242 RS232 Noptel Oy ParamDate 2012 04 20 Version 5 00 50 BAF3h SW Date Dec 14 2012 SW time 12 51 12 Ubat 11 4 V OK The order of lines varies a...

Page 9: ...ger window mode Chapter 5 1 The sensor controls the measurement results in the trigger window and according to parameters it gives trigger output signal and sends trigger distance to serial port In th...

Page 10: ...ion mode Output of the sensor after mode command esc M No cr are following Mode No Output 0 MOK no effect 1 MOK Dxxxxx aaaaa Dxxxxx aaaaa 5 example MOK TRIGGER MODE TRIG IN 500 550 cm ESC to EXIT 7 ex...

Page 11: ...Default 1 B Operation Mode 0 or 1 2 B Control Byte 1 b4 Hardware Input Disable 0 3 B Control Byte 2 b2 Decimal Enable 0 b3 Amplitude Output Enable 1 b5 Fast Key Disable 0 4 B Baud Rate 1 10 4 5 6 W P...

Page 12: ...Code is given only if the Amplitude Output is Enabled Control Byte 2 Bit 3 1 Error messages in ASCII distance measurement mode Hex value Dec val Error 1 1 EEPROM R W error 2 2 No object 4 4 Receiver...

Page 13: ...5 m height it should be aimed to at least to 25 m distance in order to achieve good speed measurement readings Fig 2 Default orientation of the Speeder X1 laser radar for vertical installation is lase...

Page 14: ...culates the speed of the target The accuracy for the speed measurement is better than 2 km h 2 for over 100 km h speeds when the measurement beam hits the vehicle which travels on the lane not on the...

Page 15: ...elected for approaching vehicles When this bit is set trigger will occur when vehicle is detected by Beam A In case bit is cleared or Speed limit is set trigger will occur when vehicle is detected by...

Page 16: ...PD Q Size OCC Height INT CNT ERR A_OK A_ALL B_OK B_ALL CNT2 Flow AveSPD results 3655 3328 0 00 02 774 A 106 103 2 01 003 0127 123 02 497 0000002 000 163 165 133 133 142 852 100 Result fields are descr...

Page 17: ...sure two distance profiles onto a vehicle from two successive positions on the road Both profiles include about 50 to 200 measurements depending on the setup and speed of the vehicle Both profiles are...

Page 18: ...t distance to the ground and vehicle speed are known Fig 5 Noptel laser radar collects distance measurement data from the area between the sensor and the road surface detecting all passing vehicles It...

Page 19: ...to 7 Error Code if bit 6 1 Second data byte MSB LSB No 7 6 5 4 3 2 1 0 Value Note 0 x x x x x x x h00 to h7F Distance Value LSB Distance bits 6 to 0 cm E if error h45 Third data byte only if bit 3 of...

Page 20: ...lates Measurement beam hitting the target is shown in the Fig 6 The height of the measurement beam should be lower for the car in the picture but it is correct for higher vehicles Installation is alwa...

Page 21: ...38000 29 30 W Speed Pulse Rate Hz 2k 8k 4000 32 B Speed Geometry dm 43 B Trigger Window End for Multiple Lanes m 1 255 44 B DirChangeDist m 0 255 53 B Sensor Orientation 0 1 2 1 Advanced configuration...

Page 22: ...of the sensor and 10 to detect correct measurement window When orientation of the sensor is unknown to user it is possible to set parameter 53 to value 0 Function detects the orientation of the senso...

Page 23: ...C U CR Output Comment Calibration for horizontal measurement Y N Horizontal mode if value in parameter 43 is nonzero answer Y Use maximum measurement distance 40 m Trigger Window End for multiple lane...

Page 24: ...s mode an OK message will be sent every minute if the sensor is functional OK text can be disabled by bit 1 of parameter 26 Parameters related to Trigger window mode are No Type Name Description Unit...

Page 25: ...hapter 4 3 Automatic setting of the measurement window 5 1 1 In window and Out of window triggering The trigger window mode has two alternative operation principles Normally the trigger signal is give...

Page 26: ...trigger mode to the trigger moment This function is enabled by setting bit 0 of Control Byte 4 par 50 Time between trigger events is enabled by setting bit 1 of Control Byte 4 par 50 The trigger occup...

Page 27: ...modify the parameters in non permanent memory and after finishing the modification store them into the permanent memory 6 1 User parameter commands User parameters can be set by command Command from P...

Page 28: ...e of parameter Example Read the parameter 19 Command from PC Reply esc L19 cr L00060 cr lf The parameters in two successive bytes word can be read by one command Command from PC Reply esc LW No cr L00...

Page 29: ...culates the checksum To enable the permanent memory for writing Command from PC Reply esc X cr X ASCII code 88 h58 WR ENABLE cr lf Parameters are set to permanent memory by command Command from PC Rep...

Page 30: ...s Hz 50 2000 2000 7 B Averaging Average calculation of 2n single shot measurements to produce the final distance value E g n 4 Average 16 Note Affects Normal mode only Average calculation affects the...

Page 31: ...vate Triggering mode 10 ms 0 255 30 26 B Control Byte 3 See Chapter 6 6 29 30 W Speed Pulse Rate Speed pulse rate is in use after detection of a vehicle in speed measurement application or mode Speede...

Page 32: ...ght values of different vehicles by enabling Height measurement by bit 7 of parameter 26 and making some test speed measurements cm 200 1000 43 B Trigger Window End for Multiple Lanes Defines the maxi...

Page 33: ...16 HW input Disable Disables trigger input x 32 Speed Behind The sensor measures speed for departing targets x 64 Print Speed Data Development use only Enables output of detailed speed measurement rep...

Page 34: ...and 7 when also bit 7 of parameter 2 is set 6 7 Control Byte 4 MSB LSB No 7 6 5 4 3 2 1 0 Value Note 50 Control Byte 4 bits x 1 Trigger Time Output Time from the beginning of the measurement session i...

Page 35: ...ly for speeding cases Data to be outputted is collected as string and printed out after vehicle has passed By enabling this byte and setting speed limit to 0 sensor prints vehicle information after it...

Page 36: ...ptel Oy Address Teknologiantie 2 FI 90590 Oulu Finland Tel 358 40 181 4351 Fax 358 8 556 4101 E mail info noptel fi Technical support see our Web site www noptel fi Speeder X1 and X2 Laser Radar Confi...

Reviews: