CC220_Serial Communications
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Bosch Data Format
Input Data
For data input to the Bosch control system, the following format is generally recommended,
<LF>
(DFS, … )<LF> Program identification
… <LF>
Program block
… <LF>
Program block
… <LF>
Program block
… <LF>
Program block
M02<LF>
End of program
Notes:
All characters prior to the first line feed character, <LF>, are stripped from the data
stream.
The end of program code, “M30”, may be used in place of “M02”.
A line feed character, <LF>, must follow the end of program code, “M02” or “M30”.
An optional carriage return character, can preceed a line feed character in the input data.
The program identification block is optional, but must be used if the soft key
“PROGRAM” is not pressed during the “DATA IN” dialogue.
Certain control characters, if present in the data stream, are filtered (i.e. stripped) by the
Bosch control on input. These characters include the following,
ASCII
Char(dec.) Name Description
2 STX Start of text
3 ETX End of text
18 DC2 Data control 2, Device ON
20 DC4 Data control 4, Device OFF
Output Data
The output data format varies depending on the type of handshaking used.
Output Data Format with Hardware Handshaking
Hardware handshaking is specified when soft key “SW CONTROL” is not highlighted.
Data is output with the following format when hardware handshaking is used.
<STX><LF>
(DFS, …)<LF>
Program identification
16