14.12.2012 Views

COGNEX DM100_200 ControlCommands - Bci GmbH

COGNEX DM100_200 ControlCommands - Bci GmbH

COGNEX DM100_200 ControlCommands - Bci GmbH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DMCC Overview<br />

Command responses are sent in space delimited ASCII text without a header or footer.<br />

Extended: The reader responds with a header data footer block similar to the command format. Symbol<br />

read/no-read data returned from the reader is encoded in base64 as described in RFC 2045.<br />

||checksum:command-id[status]<br />

checksum<br />

The response uses the same checksum format as the command sent to the reader.<br />

0: no checksum<br />

1: last byte before footer is XOR of bytes<br />

command-id<br />

The command-id sent to the reader is retuned in the response header.<br />

status<br />

An integer in ASCII text format.<br />

0: no error<br />

1: reader initiated read-string<br />

100: unidentified error<br />

101: command invalid<br />

102: parameter invalid<br />

103: checksum incorrect<br />

104: parameter rejected/altered due to reader state<br />

Examples<br />

Command Silent Response<br />

||>GET<br />

SYMBOL.DATAMATRIX\r\n<br />

||>SET<br />

SYMBOL.DATAMATRIX<br />

ON\r\n<br />

||>TRIGGER ON\r\n decoded data or no-read<br />

response<br />

DataMan Control Commands Documentation 3.5<br />

DataMan Control Commands<br />

Action Commands<br />

System Commands<br />

Camera & Light Commands<br />

Decoder Commands<br />

Symbology Commands<br />

Data Formatting Commands<br />

Data Validation Commands<br />

Code Quality Commands<br />

I/O Commands<br />

Communication Commands<br />

DataMan Control Commands Documentation 3.5<br />

Action Commands<br />

Extended<br />

Response Description<br />

ON ||[0]ON\r\n Is the DataMatrix<br />

symbology enabled?<br />

no response ||[0]\r\n Enable the DataMatrix<br />

symbology.<br />

||[0]\r\n ||[1]<br />

decoded data or no-read<br />

response in base64\r\n<br />

Trigger Command<br />

Set/Get Command Arguments Range Meaning Description<br />

file://C:\Dokumente und Einstellungen\schiermann\Lokale Einstellungen\Temp\~hh7...<br />

Page 2 of 24<br />

27.12.2010

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

Saved successfully!

Ooh no, something went wrong!