EasyManua.ls Logo

HEIDENHAIN TNC 430 PA/M - Transmission Protocol with Block Check Character; Header; Block Check Character (BCC)

HEIDENHAIN TNC 430 PA/M
1135 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
December 2001 Data Transmission Protocols 8 23
8.4.3 Transmission Protocol with Block Check Character
This protocol is specific to HEIDENHAIN and operates with its own control
characters and an additional data check feature when transmitting.
The protocol is set with the following operating modes:
n FE1 mode
n FE2 mode
n EXT1/EXT2/EXT3 mode if MP5030.x = 1
The data transfer protocol is identical for all these modes except for the FE1
mode. In the FE1 mode, a command sequence is output at the beginning to
request the contents directory from the peripheral unit.
Header When a file is transferred, the first block called the header consists of
the following characters:
<SOH><K><Name><M><ETB><BCC><DC1>
Block Check
Character (BCC)
In addition to checking the parity of the individual characters, the parity of the
complete transferred block is also checked. The BCC always rounds the
individual bits of the transferred characters in a data transfer block to even
parity.
Example of BCC generation:
In this example, program 15, which has been written in HEIDENHAIN dialog
(H), is input through the data interface (E).
A parity bit is also generated for the BCC. With even parity, the parity bit in this
example is assigned the value 1.
Character Meaning
<SOH> Identifies the beginning of the header
<K> File code
<Name> File name
<M> Data transfer mode (E = input, A = output)
<ETB> Identifies the end of the header
<BCC> Block Check Character
<DC1> XON
Character Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
SOH0000001
H 1001000
1 0110001
5 0110101
E 1000101
ETB 0010111
BCC 0011111

Table of Contents

Related product manuals