Command Description: Read/Write Commands - Pepperl+Fuchs IVI-KHA6-4HRX Manual

Control interface unit 4 read/write heads
Table of Contents

Advertisement

StAdrH
BytesH
DB
32DB
CHCK
Status
ETX

6.2.3 Command description: read/write commands

Read 32 bytes from address 0, Single mode
Command:
Response:
Example:
Read 32 bytes from address 0, Auto mode
Command:
Response:
Example:
Read bytes, Single mode
Command:
Response:
Subject to reasonable modifications due to technical advances.
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
IDENT-I • IVI-KHA6-4HRX, IVI-KHD2-4HRX
Start address. Address of the first relevant byte in read/write mode.
The syntax and length of this command differs according to the type
of data carrier. Addressing is carried out byte by byte.
IDC- ...
IDC- ... -1K:
IMC-40-64K:
IMC-40-256K:
Number of corresponding bytes in read/write mode in hexadecimal
notation, 2 ASCII characters
(01 ... 20-StAdrHr) for IDC- ... (Max. 32 bytes)
(01 ... 80-StAdrH) for IDC- ... -1K and IMC-40- ... (Max. 128 bytes).
Binary representation of data. The number of characters transmit-
ted depends on the command.
32 data bytes in binary format.
Check sum for the data transmission (binary, 1 byte). The sum of all
transmitted characters ignoring any carry-over.
Status or error message in read/write mode, 2 ASCII characters
space (ASCII characters 32d).
End of Text (ASCII character 03h)
a <HdNo><CHCK><ETX>
a <Status><DB><CHCK><ETX>
Read all data in slave mode with read head 2:
Command: a 2 93h 03h
A <HdNo><CHCK><ETX>
A <Status><DB><CHCK><ETX>
Read all data in auto mode with read head 1:
Command: A 1 72h 03h
w <HdNo><StAdrH><BytesH><CHCK><ETX>
w <Status><DB><CHCK><ETX>
(00 ... 1F)
(00 ... 7F)
(0000 ... 1FFF)
(0000 ... 7FFF)
Copyright Pepperl+Fuchs, Printed in Germany
Commands
2 ASCII characters
2 ASCII characters
4 ASCII characters
4 ASCII characters
23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ivi-khd2-4hrx

Table of Contents