Byte Description; Handshake Procedure - Pepperl+Fuchs IVI-KHA6-4HRX Manual

Control interface unit 4 read/write heads
Table of Contents

Advertisement

IDENT-I • IVI-KHA6-4HRX, IVI-KHD2-4HRX
Operating control interface units using the 3964R protocol

8.1.1 Byte description:

1
2
3
4
5 and 6
7 and 8
9
10
The control interface unit do not use bytes 4 to 8. Their content is copied in the re-
sponse message.

8.1.2 Handshake procedure

To establish communication, the control system sends the ASCII control character
STX (Start of Text). The control interface unit responds with the ASCII character DLE
(Data Link Escape), after which the user information is transmitted. Whenever it ap-
pears in the user data, the character DLE is sent twice. When the data has been trans-
mitted, the control system inserts the characters DLE ETX BCC, indicating the end of
transmission, and waits for a DLE acknowledge character from the control interface
unit. The data is verified with the block check character, BCC. BCC is the longitudinal
even parity (EXOR logic operation on all data bytes) of the block transmitted or re-
ceived. The calculation begins with the first byte of user data after communication is
established and ends after the characters DLE ETX when communication is terminat-
ed.
The control system sends the control character STX to establish communication. If
the control interface unit responds with DLE before the time-out for acknowledgment,
the protocol switches to send mode. If the control interface unit responds with NAK or
any character other than DLE, or if the acknowledgment time delay elapses without a
response, communication fails. With Siemens control systems, the procedure is
abandoned after 6 unsuccessful attempts, and the error is registered in the coordina-
tion byte KBS.
Subject to reasonable modifications due to technical advances.
36
Pepperl+Fuchs Group • Tel.: Germany (06 21) 7 76-0 • USA (330) 4 25 35 55 • Singapore 7 79 90 91 • Internet http://www.pepperl-fuchs.com
Message identification, 00h, or FFh for any follow-up message
Message identification, always 00h
SEND ('A') or FETCH ('E') command. Byte 3 is an ASCII character
Command type, .i.e. type of data to be transmitted
'D'
=
Data block
Target address for SEND, or source address for FETCH
Byte 5 = DB number, Byte 6 = DW number
Volume of user data to be transmitted, in bytes or words, depending
on data type
Byte number of the coordination marker, or FFh when no coordina-
tion marker is defined. In the case of control interface units, this byte
is always FFh.
Bits 0 to 3: Bit number of coordination marker. If no coordination
marker is defined, this byte is always Fh.
Bits 4 to 7: CPU number, expressed as a digit from 1 to 4. If no CPU
number is specified, but there is a coordination marker, it is taken as
0h. Where there is neither a CPU number nor a coordination marker,
it is Fh. In the case of control interface unit, this is always FFh.
Byte 4 is an ASCII character
Copyright Pepperl+Fuchs, Printed in Germany

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ivi-khd2-4hrx

Table of Contents