Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
SLS7000 Users manual LMI Sel<strong>co</strong>m AB<br />
Measurement Units: LSBs/Millimeters/Inches Tab-key<br />
Proto<strong>co</strong>l Type: ASCII/Binary Tab-key<br />
Interface: Sel<strong>co</strong>m/RS-422 Tab-key<br />
Samples Per Average: 1 - 1024 Num. Keys + Enter<br />
Valid threshold (%) 10 - 90 Num. Keys + Enter<br />
Analog Output On Invalid: Hold Latest Valid/Output<br />
Zero<br />
Tab-key<br />
F1 = Save And Exit F1<br />
F2 = Save Do Not Exit F2<br />
F3 = Exit Do Not Save F3<br />
Illegal <strong>co</strong>mmands<br />
Command: $Q> (as an example of an illegal <strong>co</strong>mmand)<br />
Reply:<br />
All <strong>co</strong>mmands, which are illegal, have parameters with values outside the legal range, or <strong>co</strong>ntain too<br />
many characters (more than 12) will be rejected by the SLS7000 sensor and cause the reply shown<br />
above.<br />
Binary replies (RS-232)<br />
The SLS7000 sensor can be set up to give binary replies over RS-232. The primary reason for using<br />
this mode would be to speed up the data transfers and to make the master’s job easier in de<strong>co</strong>ding<br />
the SLS7000 sensor’s output. Only a subset of the <strong>co</strong>mmands described in section Conventions can<br />
be used with binary replies. For instance, it would be impossible or at least rather <strong>co</strong>mplicated to<br />
transmit a fractional value in binary mode.<br />
Note:<br />
Only the replies are binary. The <strong>co</strong>mmands sent by the master to the SLS7000 sensors are the same<br />
as in ASCII reply mode.<br />
Reply structure<br />
In binary mode the reply to each <strong>co</strong>mmand has a leading identifier, which <strong>co</strong>nsists of one byte, but<br />
there is no trailing prompter. In the replies to batch <strong>co</strong>mmands only one identifier is output for the<br />
whole batch, i.e. no identifying byte is prefixed to each data item. This means that the master must<br />
keep a <strong>co</strong>rrect <strong>co</strong>unt of received bytes in order to de<strong>co</strong>de data properly and to know when the next<br />
<strong>co</strong>mmand can be sent. This is especially important in the batch <strong>co</strong>mmands where large amounts of<br />
data, with different types of data intermixed, may occur.<br />
Batch Commands<br />
The batch <strong>co</strong>mmands can be used in binary mode. If two or more <strong>co</strong>mmands are <strong>co</strong>ncatenated, the<br />
identifier bytes are ORed together in the reply to allow the master to check that the SLS7000 sensor<br />
understood the <strong>co</strong>mmand <strong>co</strong>rrectly.<br />
2000-05-24 813364 P1 28