background image

IDENT-I • IVI-KHA6-4HRX, IVI-KHD2-4HRX
Notes

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

D

a

te

 of

 i

s

s

u

e

2

7

.0

8

.2

001

56

Содержание IVI-KHA6-4HRX

Страница 1: ...FACTORY AUTOMATION MANUAL IVI KHA6 4HRX IVI KHD2 4HRX IVI KHA6 4HRX IVI KHD2 4HRX IVI KHA6 4HRX IVI KHD2 4HRX IVI KHA6 4HRX IVI KHD2 4HRX CONTROL INTERFACE UNIT FOR 4 READ WRITE HEADS...

Страница 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...

Страница 3: ...5 interfaces 13 5 3 20 mA current loop or TTY interface 13 5 4 Connection cables 13 6 Commands 15 6 1 Commands in the basic fixed code operating mode 15 6 1 1 Command overview 15 6 1 2 Command structu...

Страница 4: ...tructure of all messages 37 8 1 4 Data exchange via FETCH messages involving 3964R with RK512 38 8 1 5 Data exchange via 3964R with RK512 involving SEND messages 40 8 1 6 Data exchange without the RK5...

Страница 5: ...ww pepperl fuchs com Date of issue 27 08 2001 3 1 Declaration of conformity The Control interfaces IVI KHA6 4HRX and IVI KHD2 4HRX have been developed and produced in accordance with the applicable Eu...

Страница 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...

Страница 7: ...7 79 90 91 Internet http www pepperl fuchs com Date of issue 27 08 2001 5 2 General information This symbol warns the user of possible danger Failure to heed this warning can lead to personal injury...

Страница 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...

Страница 9: ...s possible by interrogating the diagno sis status information Device failure or breakdown of a read write head can be de tected and indicated by the master unit The protection of operating personnel a...

Страница 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...

Страница 11: ...control interface unit The operating mode is selected by means of DIP switches S4 S5 and S6 located on the top of the unit When configured in fixed code mode this interface unit is software compatibl...

Страница 12: ...s 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...

Страница 13: ...nd 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 bits In the basic fixed code...

Страница 14: ...001 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 connection to a PC shou...

Страница 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...

Страница 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...

Страница 17: ...KHD2 4HRX commands are implemented in this mode The commands consist of a number of ASCII characters comprising the mode read head number and data format The read head number and the data format can b...

Страница 18: ...es all read heads This is useful when energy consumption needs to be kept to the minimum Command Description R Read mode The read head reads the code once The control interface unit trans mits the cod...

Страница 19: ...Description RST Restart This command cancels all previously programmed commands and resets the control interface unit to the basic settings i e with no active read command and using data format 10 Th...

Страница 20: ...lowing character string is transmitted There is no provision for the binary mode in data format 10 In Data Format 28 the first 12 bits A01h 1010 0000 0001b and the next 16 bits 1C3Eh 0001 1100 0011 11...

Страница 21: ...ssue 27 08 2001 19 In binary mode there is no decimal conversion The read head number is transferred in bits 4 and 5 of the first byte The two most significant bits 6 and 7 are set to 0 x x x x contai...

Страница 22: ...re error in control interface unit E2 No code carrier or data carrier in position or data transfer is not possible E3 Unable to read code carrier or data carrier M5 Binary mode cannot be used in the s...

Страница 23: ...only be implemented with read write heads All control instructions to the system are defined as system commands These commands are introduced by one character the command header which may be followed...

Страница 24: ...h reply string after the status message If more than one data carrier is detected in a read cycle a separate reply string terminated with the ETX character will be transmitted for each code that is re...

Страница 25: ...rs transmit ted depends on the command 32DB 32 data bytes in binary format CHCK Check sum for the data transmission binary 1 byte The sum of all transmitted characters ignoring any carry over Status S...

Страница 26: ...ytes 7 to 11 in auto mode with read head 1 Command W 1 07 05 54h 03h Command k HdNo StAdrH BytesH DB CHCK ETX Response k Status CHCK ETX Command K HdNo StAdrH BytesH DB CHCK ETX Response K Status CHCK...

Страница 27: ...the first character of the command may be either upper or lower case Set data carrier type This command is used to indicate the type of data carrier with which the control inter face unit is to commun...

Страница 28: ...ad from or write to the front of the data carrier If this fails the read write operation is repeated from the other side This function is disabled by the Restart command o Restart This command re init...

Страница 29: ...Singapore 7 79 90 91 Internet http www pepperl fuchs com Date of issue 27 08 2001 27 Example Write P F to the data carrier at start address 10 in auto mode and using read head No 2 Complete command K...

Страница 30: ...T Read 32 bytes in Single mode 50 CMND w10020 60 GOSUB 1000 70 CMND CMND CHECKSUM ETX 80 PRINT Command CMND 90 PRINT 1 CMND 100 RESPONSE INPUT 37 1 110 PRINT Response RESPONSE 120 PRINT 130 PRINT Writ...

Страница 31: ...es Status Hex Value Description 00 No error 01 Command not defined 02 Read head not connected or not ready 03 No code carrier or data carrier connected or unable to transmit data 04 Write error 05 EPR...

Страница 32: ...ect 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...

Страница 33: ...the same route The interface unit is accommodated in a 60 mm wide terminal housing to which up to four read write heads may be connected The terminal layout is as shown in the connection diagram abov...

Страница 34: ...ion read write head 1 3 data read write head 1 4 supply voltage read write head 1 minus 5 reserved 6 PROFIBUS RxD TxD P 7 reserved 8 reserved 9 reserved 10 reserved 11 reserved 12 reserved 13 supply v...

Страница 35: ...reserved 22 reserved 23 reserved 24 reserved 25 supply voltage read write head 3 plus 26 direction read write head 3 27 data read write head 3 28 supply voltage read write head 3 minus 29 reserved 30...

Страница 36: ...nt loop passive Transmission rate 300 19 200 Bit s Number of read write heads max 4 Read write head power sup ply 120 mA 17 5 V DC 5 Ambient conditions Operating temperature 25 C to 70 C 248 to 343 Ke...

Страница 37: ...1 11 bit character frame 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 mes...

Страница 38: ...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...

Страница 39: ...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...

Страница 40: ...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...

Страница 41: ...ord of a read head after reading a code Example 1A650DC455 i e Read head 1 Code A650DC4 Read sequence no 55 Bild 8 5 Data record of a read head after failure to read a code Read head specific error an...

Страница 42: ...from 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...

Страница 43: ...e control interface unit The commands are transmitted to the control inter face unit in the form of data in a SEND message The commands are encoded byte by byte The control interface unit acknowledges...

Страница 44: ...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 Bild 8 12 Structur...

Страница 45: ...uppressed 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 codes Together with the code data an 8 bi...

Страница 46: ...ss 0Ah 10 77 03 00 0A 05 Structure of the response message after the data has been read Bild 8 16 Structure of the response message after the data has been read Example Response to the above read comm...

Страница 47: ...B 01 00 14 02 AA BB Structure of the response message after the data has been written Bild 8 20 Structure of the response message after the data has been written Example Response to the above write co...

Страница 48: ...at head 4 Read page 2 6C 04 00 02 Structure of the response message after data has been read Bild 8 24 Structure of the response message after data has been read Example The above read page command wa...

Страница 49: ...read commands Structure of a write page command Bild 8 26 Structure of a write page command Example Auto write page 3 at all connected read heads 4D 05 00 03 32 bytes of data Structure of the respons...

Страница 50: ...hen no errors detected Bild 8 30 Structure of the head status nibble when no errors detected Bild 8 31 Valid start addresses Data Start 1 and Data Start 2 for read write commands for the various data...

Страница 51: ...ad ope rations Hex Value Signification 00 No error 01 Memory error in control interface unit after RAM test 02 Memory error in control interface unit after ROM test 03 Unable to understand command 04...

Страница 52: ...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...

Страница 53: ...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...

Страница 54: ...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...

Страница 55: ...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...

Страница 56: ...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...

Страница 57: ...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...

Страница 58: ...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...

Страница 59: ...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...

Страница 60: ...eas of Application 0 Worldwide Headquarters 12 34 53674 8 9 5 4 45 7 9 5 4 45 7 77 http www pepperl fuchs com e mail fa info de pepperl fuchs com The Pepperl Fuchs Group USA Headquarters 577 8 99734 8...

Отзывы: