Dedicated Commands
20
MP150 Protocol
To get the width from the
result
sent via Ethernet you must use the following formula:
Width = result * (2 * Distance_Scanner_Object) / 8192
To get the width from the current output you must use the following formula:
Width = (I
–
SZ) / (SM
–
SZ) * (2 * Distance_Scanner_Object)
Where
SZ
(command Sector Zero) is usually 0/4 mA and
SM
(command Sector Max) is usually 20 mA.
The commands
SL
and
SR
do lose their traditional function.
•
SL
is not used, and
•
SR
gives an offset in pixels to move the edges in the direction of the plateau centre.
The commands
SB
and
ST
do lose their traditional function too. They are fixed to 0 and 8192, the result
will be in this range.
Please take care with the offset! It adds inaccuracy to the result. The width of the plateau becomes
dependent on its position in the viewing field.
5.2.4
The Translation of Temperature into 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 (command
SZ
)
•
the current corresponding to the maximum temperature (command
SM
)
5.2.5
How the Current / Temperature gets calculated?
The current / temperature gets calculated using the formula:
Temperature = (ST
–
SB) / (SM
–
SZ) * (Current
–
SZ) + SB
Current = (SM
–
SZ) / (ST
–
SB) * (Temperature
–
SB) + SZ
5.2.6
Sector Alarms
For each analog output and subsequently for each sector, an alarm condition can be defined (using the
commands Trigger Top
TT
and Trigger Bottom
TB
). Equally, an alarm condition can be defined for the
digital interface too (sector 0). These conditions are independently integrated such that the alarm will
be activated as soon as any one of the conditions is fulfilled.
The result of this integration is requested by the command
GAR
. If at least one alarm condition is
fulfilled, the command will return
AR1
, otherwise it will return
AR0
.
Example: To set an upper alarm limit for sector 1 at 200°C:
TT10200
.
Summary of Contents for LineScanner MP150
Page 1: ...MP150 Linescanner Protocol Manual Rev B4 Aug 2019 51101...
Page 2: ......