Inductive Read/Write Identsystem CIS3 System - Manual for Read-Only Head CIT3PL.. Read/Write Head CIT3SX.. Ident. Nr. 071652 EUCHNER GmbH + Co. Industrie-Elektrik und -Elektronik Kohlhammerstraße 16 D-70771 Leinfelden-Echterdingen Telefon: Telefax: 07 11 / 75 97-0 07 11 / 75 33 16 www.euchner.de info@euchner.
EUCHNER Identsystem CIS3 Contents 1. Overview................................................................................................................. 3 1.1. Cable- and terminal assignment................................................................................. 3 1.1.1 Read-Only Head CIT3PL........................................................................................ 3 1.1.2 Read/Write Head CIT3SX... ..............................................................................
EUCHNER Identsystem CIS3 1. Overview This Manual describes on the whole the communication between PLC resp. CNC control and the CIT3SX... read/write head. The Protocol R transfer procedure serves to connect the CIT3SX1 read/write head to PLC or NC controls. The transfer telegrams for the commands - Program (write) data carrier - Read data carrier are based on the 3964-R transfer procedure /1/ 1.1. Cable- and terminal assignment 1.1.1 Read-Only Head CIT3PL...
EUCHNER Identsystem CIS3 1.1.2 Read/Write Head CIT3SX... Figure 2: Terminal assignment read/write head CIT3SX1R1G05... ( basic unit with terminal cover open ) 1.2 Connection example for read/write head CIT3SX... 24V GND PC oder SPS 9-pin Klemme 4 TxD 3 GND 2 RxD 1 24V 2 Receive Data 3 Transmit Data 4 Data Term Ready 5 Signal Ground 7 Request to Send 8 Clear to Send 6 Data Set Ready 25-pin 3 2 20 7 4 5 6 Figure 3 2. Notes on installation • Do not connect the read/write head CIT3SX...
EUCHNER Identsystem CIS3 3. Pulse Timing Diagram for the Read-Only Head CIT3PL... The above pulse timing diagram shows the time response of the input and output signals of the read-only head with respect to the PLC. As soon as a data carrier is read in, the first digit is disposed at the data outputs of the readonly head. To switch the following digits to the data outputs, you have to give a HIGH-pulse to the Skip-input. With every HIGH-pulse to the Skip-input, the digits are switched on.
EUCHNER Identsystem CIS3 4. Basic telegram structure without response telegram Each command and any related data blocks are transferred within the telegram frame in accordance with Procedure 3964-R from and to the read/write head (Figure 4). With Protocol 3964-R, the relevant receiver acknowledges the received telegram by returning an acknowledgement character (DLE). In the case of negative acknowledgement (NAK), the entire protocol is repeated.
EUCHNER Identsystem CIS3 4.2 Special features of the 3964-R data transfer protocol /1/ The 3964-R data transfer protocol is a comparatively reliable program for electronic data interchange between a control and a connected peripheral since data transfer is handled with a standardised protocol. On controls with integrated 3964-R driver (see /1/ for instance), it is not necessary for the user to bother with the details of connection set-up and cleardown resp. data integrity.
EUCHNER Identsystem CIS3 4.2.2.1 Control sends /1/ The control sends the control character STX in order to set up the connection. If the peripheral responds before expiry of the acknowledgement delay time (QVZ, typically: 2 seconds) with control character DLE, the transfer protocol reverts to Transmit mode.
EUCHNER Identsystem CIS3 4.2.3 Summary of the most important points • DLE doubling: In order for the control to be able to distinguish between control character DLE and any randomly occurring DLE as user information character, a further DLE must be sent in the case of a DLE as user information character.
EUCHNER Identsystem CIS3 5. Commands for writing and reading the data carrier Read and write operations are always initiated by the higher-level control (NC, PLC) with a "command telegram". The read/write head then sends a response telegram to the control. Control Read/write head CIT3SX... Command telegram → Response telegram ← 5.
EUCHNER Byte No. 0 1 2 3 4 5 6 Identsystem Description ASCII Number of telegram Bytes Command identification Read/write head address * Padding data Error number R F CIS3 CONTENTS HEX 52 46 01 00 00 Error No. ** Decimal 7 82 70 01 00 00 Figure 6: Response telegram "Write data carrier" (telegram core) *) For downward compatibility with the CIS2 identification system. The content of the header address must always be 1 in the case of CIS3.
EUCHNER Byte No. 0 1 2 3 4 5 Identsystem Description ASCII Number of telegram Bytes Command identification Read/write head address *) Start address of user data Number of Bytes of user data 6 7 ... 22 User data R L CIS3 CONTENTS HEX 52 4C 01 00 0 ... Fh Decimal 8 ... 23 82 76 01 00 0 ... 15 1 ... 10h 1 ... 16 ASCII or HEX resp. BCD (code-transparent) Figure 8: Response telegram "Read data carrier" (telegram core) Byte No.
EUCHNER Identsystem CIS3 5.3. Command overview: Description Command telegram Response telegram Program data (Num. Tele-Bytes) TP (Read/write head address *) (Start address) (Number of Bytes user data) (User data.....) (Num. Tele-Bytes) TL (Read/write head address *) (Start address) (Number of Bytes user data) (Num. Tele-Bytes) RF (read/write head address *) (Error No.) Read data carrier in active area (Num.
EUCHNER Identsystem CIS3 7.
EUCHNER Identsystem CIS3 CASE 2 REM ********* Datentraeger schreiben ************* INPUT "Datenträger Startadresse :", A! INPUT "Daten max.
EUCHNER Identsystem CIS3 BCCWE = BCCWE XOR ASC(C$) IF C$ = DLE$ THEN 'DLE Vedopplung nach 3964R D$ = INPUT$(1, #1) BCCWE = BCCWE XOR ASC(D$) END IF A$ = A$ + C$ NEXT i C$ = INPUT$(1, #1) 'DLE einlesen BCCWE = BCCWE XOR ASC(C$) C$ = INPUT$(1, #1) 'ETX einlesen BCCWE = BCCWE XOR ASC(C$) C$ = INPUT$(1, #1) 'BCC einlesen IF Wiederholzaehler = AnVersu THEN 'nach mehrmaligen ungültigen Versuch, Verbindung abbrechen PRINT "Kein gültiges Antworttelegramm" PRINT #1, NAK$ GOTO Abbruch END IF IF BCCWE <> ASC(C$) TH
EUCHNER Identsystem CIS3 ' * '*************************** Datenträger lesen ***************************** '* FUNCTION Lesebefehl$ (Start!, Anzahl%, Kopfnr%) Starthi% = Start \ 256 Startlo% = Start MOD 256 'Startadresse in high und low Teil aufteilen Telegramm$ = CHR$(7) + "TL" + CHR$(Kopfnr%) + CHR$(Starthi%) + CHR$(Startlo%) + CHR$(Anzahl%) IF Telegrammsenden(Telegramm$, 6) <> 0 THEN GOTO ende1 A$ = Antworttelegramm(6) 'Antworttelegramm einlesen PRINT "Antworttelegramm auswerten" 'Antworttelegramm a
EUCHNER Identsystem CIS3 Wiederholzaehler = 0 Protokolstart: PRINT #1, STX$; A$ = INPUT$(1, #1) 'STX ausgeben 'DLE einlesen IF Wiederholzaehler = AnVersu! THEN PRINT "Kein Verbindungsaufbau": INPUT " ", Q Telegrammsenden = -1 GOTO ENDE2 END IF IF A$ <> DLE$ THEN Wiederholzaehler = Wiederholzaehler + 1 GOTO Protokolstart END IF telegraus$ = "" FOR i = 1 TO LEN(Telegramm$) C$ = MID$(Telegramm$, i, 1) IF C$ = DLE$ THEN telegraus$ = telegraus$ + C$ 'DLE Verdopplung nach 3964R telegraus$ = telegraus$ + C$ N
EUCHNER Identsystem Ambient temperature: 25 °C 8. Maximum permitted centre offset of the CIT3PL... read only head Test conditions: Read-only head CIT3PL1N30-5000 (Order No. 040085) 12 11 10 9 8 7 6 5 4 3 2 1 0 -20 -15 -5 0 Subject to technical modifications -10 Data carrier CIS3P35X16SH01KH (Order No.
EUCHNER 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Identsystem 19 20 21 22 23 24 Num ber of Decim al Digits 18 25 max. relative read speed as a function of number of digits 9. Maximum relative speed with the CIT3PL...
EUCHNER Identsystem CIS3 10. Installation instructions for CIS3 data carriers Please comply with the following points when installing the data carrier in order to comply with the technical specifications contained in the data sheets for the CIS3 ident system even in the case of flush installation in metal: • On data carrier, Type CIS3P35X16SH01KH (Order No. 040045 or 071745), there must be a minimum clearance of 5 mm per side with respect to the surrounding metal on the long side (35 mm side).
EUCHNER Identsystem CIS3 11. Technical data CIT3PL1N30-5000 Operating voltage: Current consumption: Load current per output: Storage temperature Ambient temperature Read distance: Centre offset: Response time (for 4 decimal digits): Relative speed: CIT3SX1R1G05KS: Operating voltage: Current consumption: Storage temperature Ambient temperature Type of connection: Line length (RS232): Read distance: Write distance (Static writing): Write time 4 decimal digits: 32 decimal digits: 15 - 28 V 100 mA (max.
EUCHNER Identsystem CIS3 Bibliography: /1/ SIEMENS Manuals : Connection components for S5 controls: Communication processor CP 521 SI Designation : SIEMENS Order No. Device Manual CP 521 SI GES5 998 - 1 UD 11 Communication processor CP 523 Designation : SIEMENS Order No. Device Manual CP 523(d/e/f/s/i) GES5 998 - 0 DD d 1 Communication processor CP 544 Designation : SIEMENS Order No. Device Manual CP 544(d/e/f) GES5 998 - 2 DB d 1 /2/ Link, W.