![Ditel MICRA-D Скачать руководство пользователя страница 50](http://html1.mh-extra.com/html/ditel/micra-d/micra-d_instruction-manual_2510361050.webp)
50
ASCII PROTOCOL
The Transmission format is: 1 START bit, 8 DATA bits, NO parity bit and 1 STOP bit.
• MESSAGE FORMAT TO BE SENT
A message sent to the instrument must be composed of the following sequence of ASCII characters:
*
D
d
C
C
X ........................... X
CR
One " * " byte [ASCII 42] of start of message.
Two address bytes (from 00 to 99).
One or two ASCII characters corresponding to the desired command according to the functions table (List of commands).
In case that the command request for a modification of parameters, the new value shall be transmitted with one byte of sign
(+ [ASCII 43] or - [ASCII 45] ) followed by a block of N ASCII characters (depending on model), including the decimal point.
One " CR " [ASCII 13] character of end of message. CR= Carriage Return
• MESSAGE FORMAT FROM INSTRUMENT
The data sent from the instrument as a response to a data request type command from the master device is the following:
SP
X ........................... X
CR
One byte of blank space [ASCII 32].
One text (requested values) consisting of a byte of sign (+ [ASCII 43] or - [ASCII 45] ) followed by a block of N ASCII
characters (depending on model) including the decimal point.
One " CR " byte [ASCII 13] of end of message. CR = Carriage Return
If the command belongs to “orders” or “changing parameters”, the instruments gives no response.
50
ASCII PROTOCOL
The Transmission format is: 1 START bit, 8 DATA bits, NO parity bit and 1 STOP bit.
• MESSAGE FORMAT TO BE SENT
A message sent to the instrument must be composed of the following sequence of ASCII characters:
*
D
d
C
C
X ........................... X
CR
One " * " byte [ASCII 42] of start of message.
Two address bytes (from 00 to 99).
One or two ASCII characters corresponding to the desired command according to the functions table (List of commands).
In case that the command request for a modification of parameters, the new value shall be transmitted with one byte of sign
(+ [ASCII 43] or - [ASCII 45] ) followed by a block of N ASCII characters (depending on model), including the decimal point.
One " CR " [ASCII 13] character of end of message. CR= Carriage Return
• MESSAGE FORMAT FROM INSTRUMENT
The data sent from the instrument as a response to a data request type command from the master device is the following:
SP
X ........................... X
CR
One byte of blank space [ASCII 32].
One text (requested values) consisting of a byte of sign (+ [ASCII 43] or - [ASCII 45] ) followed by a block of N ASCII
characters (depending on model) including the decimal point.
One " CR " byte [ASCII 13] of end of message. CR = Carriage Return
If the command belongs to “orders” or “changing parameters”, the instruments gives no response.