background image

Dedicated Commands 

MP150

 

Protocol 

Rev. B4  Aug 2019

 

29 

 

Advanced Average: The maximum and the average of the pixels of the x consecutive lines will 
be  calculated.  An  additional  parameter  y  gives  the  threshold  for  the  following  selection:  
If       

|max[pixel] 

  avg[pixel]|  >  y

        then     

max

      is  taken,  otherwise     

avg

I  y = 0 then the system will take its own threshold which bases on the estimated noise. 

 
In addition to averaging over multiple lines it is possible to average pixel within one line if not the full 
resolution is used; please refer to sectio

4.3.1

. 

This processing is executed before the calculation of sectors and alarms, to increase the signal-to-noise 
ratio of the system. 

5.8

 

Switching the Laser 

The laser is controlled with the command 

XL

 

XL1

 and 

XL0

 will switch the laser on and off. 

 

XLT

 allows switching the laser with the trigger input. The first trigger impulse (of at least 1sec) 

will switch it on and the following one will switch it off. 

 
The laser is switched off automatically after 10 minutes and outside the temperature range of 5 to 50°C 
(41 to 122°F). 

5.9

 

Field of View Considerations 

The field of view can be switched between 45° and 90°, with the following limitations (which are mainly 
caused by the motor encoder): 

 

countOfPixels * scanFrequency * 90°

 

/

 

fieldOfView <= 512pixel * 80Hz 

 
The following table shows the consequences of this equation: 
 

 

<= 40 Hz 

<= 80 Hz 

> 80 Hz 

45° 

max. 512 pixel 

max. 256 pixel  max. 128 pixel 

90°  max. 1024 pixel  max. 512 pixel  max. 256 pixel 

 
In addition we can state: 

countOfPixel

45°

  <=  countOfPixel

encoder

 / 2 

 
with 

countOfPixel

encoder

 : 1024 (<= 40 Hz), 512 (<= 80 Hz) and 256 (> 80 Hz) 

 
With the MP150 and Ethernet the 45° mode is depreciated. In the MP50 it did really raise the resolution 

 in the MP150 it makes only sense to reduce the amount of data to be sent. 

 

5.9.1

 

Why the Field of View Command does not send a NAK? 

A program which configures the scanner will usually work with a list of commands and the order of 
commands in this list is usually fixed. Imagine two cases: 
 

a)

 

The list is VF1, PM3 (45°, 256) and the scanner is at this moment configured to 90°, 512. If the 
scanner would send a NAK the program (with its fixed list) would generate an error after sending 
VF1 and would never start with this scanner. 

Содержание LineScanner MP150

Страница 1: ...MP150 Linescanner Protocol Manual Rev B4 Aug 2019 51101...

Страница 2: ......

Страница 3: ...Tel 49 30 478 0080 info flukeprocessinstruments de China Beijing China Tel 86 10 6438 4691 info flukeprocessinstruments cn Worldwide Service Fluke Process Instruments offers services including repair...

Страница 4: ...nufacturer or its subsidiaries 5 To forfeit this manual upon the manufacturer s request 6 WARRANTY The protocol manual is provided AS IS without representation or warranty of any kind Seller makes no...

Страница 5: ...do with the Surplus Pixel PMX 14 4 4 LINE COMPOSITION LINEMODE LM 14 4 4 1 A Line with Frame in Burst Mode 14 4 4 2 The Lines with Frame in Snapshot Mode 14 4 4 3 The Checksum of a Line or Snapshot 1...

Страница 6: ...VX 28 5 8 SWITCHING THE LASER 29 5 9 FIELD OF VIEW CONSIDERATIONS 29 5 9 1 Why the Field of View Command does not send a NAK 29 5 10 RESPONSE AND EXPOSURE TIME 30 5 11 AMBIENT TEMPERATURE COMPENSATION...

Страница 7: ...velopment of the scanner deviations from this manual may occur However it is the manufacturer s intent to maintain forward compatibility with newer versions As the scanner rarely checks commands it is...

Страница 8: ...e last data packet sent simple ACKs are not considered data and the first keepalive probe after the connection is marked to need keepalive this counter is not used any further tcp_keepalive_intvl the...

Страница 9: ...irst sign SOH or not SOH These ASCII control characters used in the protocol with their associated decimal and hexadecimal values are the following Control character decimal hexadecimal SOH start of h...

Страница 10: ...OH G Operation Code Sector EOT BCC The method of defining the operation code for retrieval of parameters is similar to the setting of the parameters The operation code is prefixed by a G for Get For s...

Страница 11: ...wing errors are defined and can be asked for using the GES command Bit positions of multiple errors are or ed up in the answer as described below the table error bit hexadecimal representation Descrip...

Страница 12: ...smission may be delayed several seconds if the averaging value is high If the scanner receives an ESC its data transmitting is halted and the scanner s internal data buffer is cleared Then the scanner...

Страница 13: ...yte first They give the temperature in C This mode is compatible to the MP50 Example 13hex 02hex 531 C 4 2 3 Word Mode 2 for Temperature DMWT2 In this mode the pixel data contains temperatures which a...

Страница 14: ...ode This is the format of data sent from the scanner to the PC in Burst Mode SYN Line with Line Line Line Line Line FrameStart Pixeldata TempIntern Sektorinfos Triggerbyte Checksum SYN 16hex 22dec Fra...

Страница 15: ...he communication via RS485 Unlike Ethernet the RS232 itself has no mechanism against communication errors 4 4 6 MP150 Line Modes 4 4 6 1 Line Mode 11hex LM 11hex the six bytes of the traditional secto...

Страница 16: ...e voltage input 2 Bytes for error bits see section 3 4 Error Handling page 11 2 Bytes for result sector zone 0 2 Bytes for result sector zone 1 2 Bytes for result sector zone 2 2 Bytes for result sect...

Страница 17: ...RAM Various protocol commands effect changes of these RAM based parameters When powering on the scanner parameters are transferred from Flash ROM into RAM Unless the PS command is issued powering off...

Страница 18: ...3 Some of these commands are applicable to digital interface parameters The digital interface number is 0 Figure 1 5 2 1 Sector Position SL SR The position of a sector within each line gets defined wi...

Страница 19: ...um value will be output If the parameter 3 is transmitted the average value will be output Parameter 4 will give the internal temperature information to the current output command SCn4 Therefore the s...

Страница 20: ...o Current The current output is defined by the minimum temperature of the sector command SB the maximum temperature of the sector command ST the current corresponding to the minimum temperature comman...

Страница 21: ...lowing set of commands defines the alarm behaviour TM TZ TT TB AF AR EF RC and SC to get the sector result which will be tested for the alarm limits The follow state diagram shall show the function of...

Страница 22: ...0 for the digital interface the LC value will determine the number of lines returned when an STX is sent The parameter 1 starts the zone with a timer for a cycle time given with command ZZ The parame...

Страница 23: ...request is required as a reset condition before the zone start can be determined The delay time ZD for the digital interface zone will also be applied when digital zone mode 0 ZM00 is used This means...

Страница 24: ...The Hold Commands in State Diagrams The result of a section or zone can be hold using the following set of commands that defines the hold behaviour HM HV HT EF The follow state diagrams Figure 6 shall...

Страница 25: ...Zone It is distinguished between sectors and zones There are Sectors if the line count is set to 1 LC001 Zones if the line count is set greater as 1 Internally a sector is a zone of length 1 So a sect...

Страница 26: ...9 MP150 Protocol Zones are defined in relation to zone 0 the complete snapshot given by the pixel per line and the line count The following figure illustrates this Zone 0 Zone 1 x1 y1 x2 y2 x3 y3 x4 y...

Страница 27: ...voltage input using ERange overwrites all others above 5 5 1 The Emissivity Vector EMV It is possible to give every pixel its own emissivity using the command EMV The syntax of this command differs a...

Страница 28: ...26 29 1 27 28 28 27 29 26 1 30 25 2 31 24 4 32 23 6 33 22 9 34 22 2 35 21 6 36 21 37 20 4 38 19 9 5 7 Averaging combining or condensing Lines AT AV AVX Using the commands AT averaging time or AV line...

Страница 29: ...and outside the temperature range of 5 to 50 C 41 to 122 F 5 9 Field of View Considerations The field of view can be switched between 45 and 90 with the following limitations which are mainly caused b...

Страница 30: ...e standard temperature calculation the background temperature is assumed to be equal to the internal temperature of the scanner The more the background temperature differs from the internal temperatur...

Страница 31: ...erase write cycles writing takes place under the following conditions Every two hours If the internal temperature gets over 55 C 131 F With the set command Unfortunately there is the need to have a se...

Страница 32: ...re time to return max 3 sec The MP50 did not send the trigger byte as described in the manual With 5 V at the input it sends 0 and with 0 V it sends 1 it is described opposite The MP150 is doing it li...

Страница 33: ...bient compensation bottom Low range AL integer In case of AC2 this parameter defines the temperature that corresponds to 0 V at the voltage input min range 3 21 Ambient compensation top High range AH...

Страница 34: ...last value d 1 set minimum d 2 set maximum 0 Emissivity Vector EMV d v d count of values in v v vector of emissivities see section 5 5 1 off Error Status Reset ES Reset of error status if possible Emi...

Страница 35: ...mperature GIM Returns the maximal allowed internal temperature 60 3 22 MAC address GMAC Read only returns Hardware MAC address format xx xx xx xx xx xx where xx is hexnumber 00 FF returns 00 00 00 00...

Страница 36: ...10 6 Line Count LC ddd Count of lines to send after STX ddd 1 768 1 Line Mode LM hexa LM 0 no Appendix to Line Transfer LM 1 Sector Values LM 2 Zone Values LM 5 Sector Values like LM 1 with bit 15 Sec...

Страница 37: ...ult Ethernet gateway RO d d d d d 0 255 With 0 0 0 0 no route command is sent to the operating system of the scanner 0 0 0 0 Sector Bottom SB ndddd Temperature minimum of sector n 0 3 dddd temperature...

Страница 38: ...emperature Range TR d d 1 standard temperature range d 2 extended temperature range 1 for MP50 only Temp Flow TF nd n 0 3 sector interface d 1 Starting with cross over ZT d 2 Starting with cross under...

Страница 39: ...Zone Cycle in Zone Mode 1 n 0 3 dddd time in tenth of a second 0 7 2 Tetragon Zones In this table the commands are to be find which were introduced for the Tetragon Zones not necessarily rectangular...

Страница 40: ...e Delay ZD ndddd Zone Start Delay Time Is not used at all and replaced by the ZP command It will give an answer for backward compatibility 0 Zone Width ZW ndddd Time of the Zone Is not used at all and...

Страница 41: ...f Mode Trigger Mode TM nd n 0 3 sector interface d 0 no Turn Alarm off The alarm will stay as long as the alarm condition is true d 1 Turn off Alarm with Timer d 2 Turn off Alarm with Trigger 0 Trigge...

Страница 42: ...er chA analog channel chD digital channel chA or chD 1 no output 1 1 Get the size of the Process Image GIO_PI returns AO AI DO DI AO analog out AI analog in DO digital out DI digital in Sector Bottom...

Отзывы: