background image

Dedicated Commands

 

22 

Rev. B4  Aug 2019

 

MP150 Protocol

 

5.3

 

Zones 

A sector is calculated for each line; its result is bound to one line. If the result is calculated for multiple 

lines then the sector becomes a “Zone”, see 

Figure 4. 

 

Figure 4 

These commands are used to control the zone functions at the analog outputs, and to define the snapshot 
mode for the digital interface: 

ZD, ZM, ZW, ZZ, ZT, TF

 

 

ZM

 switches the zone mode on/off and defines the conditions necessary to initiate a zone. The parameter 

0

 switches the zone mode off (turns off averaging, minimum or maximum between lines of the analog 

output as prescribed by 

SC

). When using the parameter 

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 parameter 

2

 starts the zone with the external trigger signal.  

 
The parameter 

3

 starts the zone if the temperature threshold, given with command 

ZT

, is crossed. The 

transition direction is given with the command 

TF

: If the 

TF

 (temperature transition direction) is set to 

1

, the zone will start as soon as one pixel moves above the 

ZT

 temperature provided that the zone has 

been reset by having all its pixels below the 

ZT

 temperature. 

 
For a new zone to occur, a reset must occur. If the parameter 

2

 is used for 

TF

, the opposite temperature 

transition conditions will activate/reset zones. 

Zone Intervall 

Zone Time 

Conveyor Belt 

Delay Time 

Sector 

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...

Отзывы: