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

31

8.2

Command interpreter, systems for fixed code and read/write commands

8.2.1

Command structure

The mode commands described below behave in the same way as the corresponding 
standard commands. For each mode command received, with the exception 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 of data in a SEND message. The commands are encoded byte 
by byte. The control interface unit acknowledges the commands with a further SEND 
message, in which the status corresponding to the command is transmitted.

8.2.2

Mode commands

Example:

Correct transmission of the "Double-sided read" command

Description

Hex identifier

Parameter

Reset

01h

00h

Double-sided read

02h

00h

Byte 1

Byte 2

Mode command

Parameter

Byte 1

Byte 2

Mode command

Status/Error

Transmitted to the control interface unit:

’02 00'

Transmitted to the control system:

'02 00'

No message is transmitted in response to an RST command!

}

}

}

}

Содержание IRI-KHA6-4.RX

Страница 1: ...FACTORY AUTOMATION MANUAL IRI KHD2 4 RX IRI KHA6 4 RX CONTROL INTERFACE UNIT FOR 4 READ 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: ...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...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Отзывы: