Lsv2 Transmission Protocol; Timeouts - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

Load selected file

10.8.4 LSV2 transmission protocol

Timeouts

July 2013
To read in a file from an external memory, the iTNC sends a header with the
file name.
iTNC to peripheral
<SOH><K>Name<E><ETB>BCC
<DC1>
<ACK>
...
<ACK>
<EOT>
The LSV2 protocol is a data transfer protocol for the two-way transfer of
commands and data.
The data is transferred in blocks—so-called telegrams—into which the data is
split up.
The following functions are possible:
Data transfer
File management, such as deleting, copying and renaming files
Changing, creating and deleting paths
Remote operation of the control functions. The control screen appears on
the computer monitor. All functions can be executed from the computer.
Real DNC operation. Starting and stopping the machine from the PC
Diagnosis of iTNC error messages and keystrokes for service purposes. The
last 1000 events are stored in the iTNC.
An LSV2 command can be used to disable/re-enable write-access on tables
exclusively for HEIDENHAIN-DNC.
The selected NC programs can be stopped and unselected in the Program
Run Single Block and Full Sequence operating modes.
HEIDENHAIN offers the respective software packages. Please contact
HEIDENHAIN for further information.
You can define your own times for timeouts in the system file OEM.SYS:
LSV2TIME0 = Timeout for receiving block STX to ETX (default 3 s)
LSV2TIME1 = Timeout for acknowledging ENQ or check sum (default 3 s)
LSV2TIME2 = Timeout when sending DLE 0, DLE 1 or NAK until a valid
character is received (default 1 s)
Input range: 0.001 to 3.6 s
Note
If the code words are not defined or if the input range is exceeded, the
default values are used.
10.8 Data Transmission Protocols
Peripheral to iTNC
<ACK>
<STX>"1st line"<ETB>BCC<DC1>
...
<STX> "last line"<ETB>BCC <DC1>
<ETX>
1913

Advertisement

Table of Contents
loading

Table of Contents

Save PDF