29.11.2012 Views

EMIS Interface Description - Measurement Solutions

EMIS Interface Description - Measurement Solutions

EMIS Interface Description - Measurement Solutions

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sening®<br />

Innovative Tank Truck Systems<br />

Specification<br />

Euro <strong>Interface</strong> <strong>EMIS</strong><br />

<strong>Interface</strong> <strong>Description</strong><br />

• There is further scope to output control characters from Software version 3.12. In accordance<br />

with the char constant Depiction of the C Programming Language, binary data in assocation<br />

with a backslash ( \ ) can be outputted directly through the “Text“ variable.<br />

• SET,PRN,Text=“ABC\\\”\n\r\x1B123\0” outputs ABC\“ 0AHex 0D Hex 1BHex 123 00Hex thus 12<br />

characters.<br />

The following are supported - \0 \a \b \f \n \r \t \v \“ \’ \\.<br />

for instance,\x10 indicates the two characters following \x as being hexa-decimal figures and<br />

transformed into a hex value.<br />

• Octal transformation is not supported. Althought this makes the Hex variable superfluous, it<br />

continues to be supported for compatibility considerartions.<br />

Supported backslash characters:<br />

Zeichenfolge HEX-Format Bezeichnung<br />

\0 0x00 Null<br />

\a 0x07 Bell<br />

\b 0x08 Backspace<br />

\f 0x0C Form Feed<br />

\n 0x0A Line Feed<br />

\r<br />

0x0D<br />

Carriage<br />

Return<br />

\t 0x09 H-Tabulator<br />

\v 0x0B V-Tabulator<br />

\“<br />

0x22<br />

doppeltes<br />

Hochkomma<br />

\’<br />

0x27<br />

Einfaches<br />

Hochkomma<br />

\\ 0x5C Backslash<br />

Example for outputting a text onto a printer:<br />

Direction Telegramm<br />

<strong>EMIS</strong> SET,PRN,STATUS,MODE=”OBC”<br />

OBC <br />

<strong>EMIS</strong> SET,PRN,Text=”Testausgabe\r\n”<br />

OBC <br />

OBC <br />

OBC <br />

<strong>EMIS</strong> SET,PRN,Text=”2. Zeile\r\n”<br />

OBC <br />

OBC <br />

OBC <br />

<strong>EMIS</strong> SET,PRN,STATUS,MODE=”READY”<br />

OBC <br />

MNF19002EUS / DOK-411E Rev. 2.00 / MB / jp / Juli 2008 47<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

8<br />

9<br />

A<br />

Variablendefinition

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!