background image

IDENT-I • IRI-KHD2-4.RX, IRI-KHA6-4.RX
Operating control interface units using the 3964R protocol

Subject to reasonable modifications due to technical advances.

Copyright Fuchs, Printed in Germany

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

Da

te

 of

 issue

27.

0

2

.2002

34

8.2.3

Read commands

Read commands for data carriers

 

Example: 

A single read attempt at head-no. 3. Read 5 bytes starting at address 
0Ah (=10) : 77 03 00 0A 05

Structure of the response message after the data has been read

Example:

Response to the above read command: 77 04 03 11 22 33 44 55

Structure of the response message in the event of an error

Example:

Response to the above read command if no code was read: 77 80 07

Command

Hex identifier

Auto Read Bytes

57h

Single Read Bytes

77h

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Command

Head-no.

Data start 1

Data start 2

Quantity

Byte 1

High

Byte 2

Low

Byte 2

Byte 3

Byte 4 ...

Byte n

Command

0

Status/Head

Head-no.

Data

Byte 1

High

Byte 2

Low

Byte 2

Byte 3

command

8

Status/Head

Status/Error

}

}

}

}

}

}

}

}

}

}

}

}

}

}

Summary of Contents for IRI-KHA6-4.RX

Page 1: ...FACTORY AUTOMATION MANUAL IRI KHD2 4 RX IRI KHA6 4 RX CONTROL INTERFACE UNIT FOR 4 READ HEADS...

Page 2: ...of the Electrical Industry as published by the Central Association of the Elektrotechnik und Elektroindustrie ZVEI e V including the supplementary clause Extended reservation of title We at Pepperl Fu...

Page 3: ...ad head number RHn 16 6 2 Data formats DF 17 6 3 Error messages 20 6 4 Example of a program written in Basic 20 7 Technical Data 21 7 1 General specifications 21 7 2 Connection diagram AND TERMINAL AS...

Page 4: ...Subject to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Internet...

Page 5: ...ww pepperl fuchs com Date of issue 27 02 2002 3 1 Declaration of Conformity The Control interfaces IRI KHD2 4 RX and IRI KHA6 4 RX have been developed and produced in accordance with the applicable Eu...

Page 6: ...mity Subject to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Inter...

Page 7: ...7 79 90 91 Internet http www pepperl fuchs com Date of issue 27 02 2002 5 2 General information This symbol warns the user of possible danger Failure to heed this warning can lead to personal injury...

Page 8: ...n Subject to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Internet...

Page 9: ...US is possible by interrogating the diagno sis status information Device failure or breakdown of a read head can be detected and indicated by the master unit The protection of operating personnel and...

Page 10: ...ct to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Internet http w...

Page 11: ...e read head and must be installed face on or raised Only this way a safe operation is ensured Flush mounting in metal reduce the read distance Versions with mounting links are available The read dista...

Page 12: ...bject to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Internet htt...

Page 13: ...with DIP switches S1 S2 and S3 as follows Data is transmitted using one start bit 8 data bits one stop bit and no parity bit The control interface unit also responds to one and a half and two stop bit...

Page 14: ...Date of issue 27 02 2002 12 5 1 RS 232 Interface The RS 232 interface connections are routed to the 9 pin sub D connector as follows Bild 5 1 9 pin Sub D connector with pin connection The cable for c...

Page 15: ...minals 17 and 18 should be connected 5 3 20 mA current loop or TTY interface The TTY interface was originally designed for teletype control Two pairs of conduc tors are used one to send and one to rec...

Page 16: ...MUNFLEX C11Y up to 100 m read head cable 2 cross sectional area of at least 4 x 0 5 mm2 maximum resistance 37 Ohm km maximum capacitance 90 pF m With a cable length of 100 m a series resistor of 82 Oh...

Page 17: ...a single read operation The control interface issues the code or sends an error message if no code carrier was present AR Autoread mode The read head repeatedly performs read operations This will con...

Page 18: ...ed At switch on read head 1 is selected If a read head number is not specified the pre viously selected head remains effective All read heads can be switched off by select ing read head 0 This is a go...

Page 19: ...ta format 10 the basic setting the binary mode is not admissible and the code is always transmitted as ASCII characters R1 CR LF The read head 1 reads a code if a code carrier is available If no code...

Page 20: ...example the following character is sent No provision is made for the binary mode in data format 10 In data format 28 the first 12 bits A01h 1010 0000 0001b and the following 16 bits 1C3Eh 0001 1100 00...

Page 21: ...g character string is sent The binary mode returns the following byte sequence The read head numbers are transmitted by the first byte as illustrated below Hex 2A 01 1C 3E Den 42 1 28 62 ASCII 3 A 0 1...

Page 22: ...d X This command is not defined and the mes sage M2 CR LF is returned 6 4 Example of a program written in Basic 10 OPEN COM1 9600 n 8 1 CS DS CD LF AS 1 20 PRINT 1 AR1 30 INPUT CODE 40 PRINT CODE 50 G...

Page 23: ...of DIP switches three different operating modes can be selected at the control interface unit fixcode 3964R protocol with RK512 interpreter or 3964R proto col without RK512 Interpreter With the fixco...

Page 24: ...ion 1 supply voltage read head 1 plus 2 direction read head 1 3 data read head 1 4 supply voltage read head 1 minus 5 reserved 6 PROFIBUS RxD TxD P 7 reserved 8 reserved 9 reserved 10 reserved 11 rese...

Page 25: ...ed 18 PROFIBUS RxD TxD N 19 reserved 20 reserved 21 reserved 22 reserved 23 reserved 24 reserved 25 supply voltage read head 3 plus 26 direction read head 3 27 data read head 3 28 supply voltage read...

Page 26: ...with interpreter 3964R without interpreter Transmission rate 300 19 200 Bit s Number of read heads max 4 Read write head power supply 100 mA 16 5 V DC 5 Ambient conditions Operating temperature 25 C t...

Page 27: ...bit and one stop bit The transmission rate is set via DIP switches S1 S2 and S3 Communication always starts with a command message either to transmit data SEND messages or to fetch data FETCH message...

Page 28: ...ol 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...

Page 29: ...check character is correct and no other receive er rors have occurred the control system transmits DLE If the BCC is incorrect NAK is transmitted to the control interface unit and a repetition of the...

Page 30: ...rface unit are in terrogated continuously For each correctly received FETCH message the control interface unit returns a re sponse message in which the status of all 4 read heads always 20 bytes is tr...

Page 31: ...ord of a read head after reading a code Example 1A650DC455 i e Read head 1 Code A650DC4 Read sequence no 55 Bild 8 3 Data record of a read head after failure to read a code Read head specific error an...

Page 32: ...rom the initializing SEND message The only restriction is in relation to the data type The data can be transmitted in a single data block only Accordingly send and receive data are organized in words...

Page 33: ...on of the RST command the control interface unit responds with a message transmitting the status of the control interface unit The commands are transmitted to the control inter face unit in the form o...

Page 34: ...command it is interrogated once only The result code or error message will then be transmitted in a SEND message After successful transmission the control interface unit waits for another command Exam...

Page 35: ...rrier no code carrier available are suppressed Codes are transmitted only when a new code is read at least 5 unsuccessful read attempts have occurred between two successful read ings of identical code...

Page 36: ...head no 3 Read 5 bytes starting at address 0Ah 10 77 03 00 0A 05 Structure of the response message after the data has been read Example Response to the above read command 77 04 03 11 22 33 44 55 Struc...

Page 37: ...ol interface unit after RAM test 02 Memory error in control interface unit after ROM test 03 Unable to understand command 04 Parity error in serial communication 05 Write error 06 Read head not connec...

Page 38: ...g the 3964R protocol Subject to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore...

Page 39: ...7 39 47 71 G 67 103 g 08 8 BS 28 40 48 72 H 68 104 h 09 9 HT 29 41 49 73 I 69 105 i 0A 10 LF 2A 42 4A 74 J 6A 106 j 0B 11 VT 2B 43 4B 75 K 6B 107 k 0C 12 FF 2C 44 4C 76 L 6C 108 l 0D 13 CR 2D 45 4D 77...

Page 40: ...ject to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Internet http...

Page 41: ...t to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Internet http ww...

Page 42: ...t to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Internet http ww...

Page 43: ...of the Electrical Industry as published by the Central Association of the Elektrotechnik und Elektroindustrie ZVEI e V including the supplementary clause Extended reservation of title We at Pepperl Fu...

Page 44: ...face Areas of Application Machine engineering Conveyor or transport Packaging and bottling Automotive industry Subject to reasonable modifications due to technical advances Copyright PEPPERL FUCHS Pri...

Reviews: