L60_2-019_828132_1007-e.p65 1 Manual Electronic Identification Systems BIS Processor BIS L-60_2 Profibus DP Deutsch – bitte wenden! 2 No. 828 132 D/E • Edition 1007 Subject to modification. Replaces edition 1002. Balluff GmbH Schurwaldstrasse 9 73765 Neuhausen a.d.F. Germany Phone +49 7158 173-0 Fax +49 7158 5010 balluff@balluff.de www.balluff.
L60_2-019_828132_1007-e.p65 3 Contents Safety Considerations ................................................................................................................. 4 Introduction, BIS L Identification Systems ............................................................................... 5/6 BIS L-60_2 Processor, Basic knowledge for application .......................................................... 7/8 BUS interface PROFIBUS-DP ...............................................................
L60_2-019_828132_1007-e.p65 5 Introduction BIS L Identification Systems This manual is designed to assist the user in setting up the control program and installing and starting up the components of the BIS L Identification System, and to assure rapid, troublefree operation. Principles The BIS L Identification Systems belongs in the category of non-contact systems for reading and writing.
L60_2-019_828132_1007-e.p65 7 BIS L-60_2 Processor Basic knowledge for application Selecting System Components The BIS L-6002 processor has a plastic housing. The BIS L-6022 processor has a metal housing. Connection is made through round connectors. Two read/write heads can be cable connected. Series BIS L-60_2 processors have in addition a digital input. The input has various functions depending on the configuration (see Parametering). The read/write distances depend on which data carriers are used.
L60_2-019_828132_1007-e.p65 9 BUS interface PROFIBUS-DP PROFIBUS-DP Communication between the BIS L-60_2 processor and the host system is via PROFIBUS-DP. The PROFIBUS-DP system consists of the components: – the bus master and – the bus modules/slaves (here the BIS L-60_2 processor). ☞ Important hints for use with PLC: In some control systems the PROFIBUS-DP data area is not synchronously transmitted with the updating of the input/output content.
L60_2-019_828132_1007-e.p65 11 BUS interface PROFIBUS-DP The station address under which the unit is accessed on the bus can be assigned through the slide switch S1. Each address shall be assigned only once. Station Address setting The slide switch S1 is binary coded. The setting of the station address is carried out according to the scheme shown in the table. Switch position: no = left, yes = right. The address 85 is set in the following figure.
L60_2-019_828132_1007-e.p65 13 Function Description Input and Output Buffers Input and Output Buffers In order to transmit commands and data between the BIS L-60_2 and the host system, the latter must prepare two fields. These two fields are: – the output buffer for the control commands which are sent to the BIS Identification System and for the data to be written. – the input buffer for the data to be read and for the designators and error codes which come from the BIS Identification System.
L60_2-019_828132_1007-e.p65 15 Function Description Output buffer, configuration and explanation Configuration of the Output Buffer for One (1) Read/Write Head The last two bytes can be parameterized as the 2nd bit header (default). Bit No. 6 5 00Hex = Bit Header TI KA GR 01Hex Command Designator or 02Hex Start Address (Low Byte) or Program No. or Data 03Hex Start Address (High Byte) or Data 4 3 2 1 0 AV 04Hex No. of Bytes (Low Byte) or Data 05Hex No.
L60_2-019_828132_1007-e.p65 17 Function Description Output buffer, configuration and explanation Description of Output Buffer (continued) Subaddress Meaning Function Description 02 Hex Start address (Low Byte) Start address (Low Byte) Address at which reading from or writing to the data carrier begins. (The Low Byte includes the address range from 0 to 255). Address for the Auto-Read function, starting at which the code tag is to be read. The value is stored in the EEPROM.
L60_2-019_828132_1007-e.p65 19 Function Description Input buffer, configuration and explanation Configuration of the input buffer for one (1) read/write head The last byte can be arranged as a 2nd bit header through parametering (default). Bit No. 7 6 BB HF 5 4 3 2 1 TO IN AF AE AA 0 Subaddress 00Hex = Bit Header 01Hex Error Code 02Hex Data 03Hex Data 04Hex Data 05Hex Data 06Hex Data ...
L60_2-019_828132_1007-e.p65 21 Function Description Input buffer, configuration and explanation Description of Input Buffer (continued) Subaddress Meaning Function Description 01Hex Error code 05Hex (continued) Data carrier was removed from the active zone of the read/write head while it was being written. AV bit is set but the command designator is missing or invalid. Number of bytes is 00Hex . Cable break to select read/write head, or head not connected. The EEPROM cannot be read/programmed.
L60_2-019_828132_1007-e.p65 23 Function Description Parametering the BIS L-60_2 processor Parameters, Overview There are 6 user parameter bytes stored on the Profibus master that can be used to activate and deactivate various functions. Setting is done directly by linking a device to the Profibus master. The parameter default settings are stored in the GSD file. – CRC_16 data check: If this function is activated, the correctness of the read or written data is ensured by a CRC_16 data check (see 8).
L60_2-019_828132_1007-e.p65 25 Function Description Parametering, Parametering Bytes Parametering Bytes User-Parameter Bytes For parametering all 6 bytes must always be transferred in Hex. Only the bits mentioned may be changed. No guaranty will be given for the proper functioning of the BIS L-60_2 if any of the other bits are changed.
L60_2-019_828132_1007-e.p65 27 Function Description Parametering, Parametering Bytes Parametering Bytes User-Parameter Bytes (continued) ☞ 6th byte, bit 1...6 No. of bytes in input and output buffer which shall be used for read/write head 1, see example on 16 The specification for the input and output buffer on the Master applies to both read/write heads, i.e. this buffer must be divided for both heads. The specification is done in Hex format and must be in a range between 02Hex and 80 Hex (128 dec.).
L60_2-019_828132_1007-e.p65 29 Data-carrier models BIS L-20_-03/L Data carrier BIS L-20_-03/L CT present Model BIS L-20_-03/L data carriers have a unique serial number consisting of 5 bytes. These are read-only and are considered like user data. At CT Present the 5 bytes of the serial number are read from the data carrier and stored in the Profibus input buffer (see 31).
L60_2-019_828132_1007-e.p65 31 Function Description Processing data carriers Codetag Present (CP bit) ☞ As soon as the data carrier enters the active one of the read/write head, the processor indicates this by setting the CP bit (Codetag Present). To accelerate the reading of small amounts of data, the ID system makes the first bytes of the data carrier available in the input buffer of the respective read/write head as soon as the tag is detected.
L60_2-019_828132_1007-e.p65 33 Function Description Processing data carriers Mixed Data Access Small read/write programs can be stored in the BIS L-60_2 processor’s EEPROM. The Mixed Data Access function is useful when the required information is stored on the data carrier at various addresses. This function makes it possible to read out this “mixed”, i.e. noncontiguously stored data from the data carrier in a single procedure and using just one command.
L60_2-019_828132_1007-e.p65 35 Function Description Processing data carriers The command identifier 21Hex can be used to read out the program records stored in the Read from data carrier, with program program from the data carrier.
L60_2-019_828132_1007-e.p65 37 Function Description Examples for protocol sequence Example No. 1 For configuring with double bit header and 8-byte buffer size! Initializing the data carrier for the CRC_16 data checking The processing of this command is similar to a write command. Start address and number of bytes have to correspond to the maximum number of data to be used. In this example the complete memory range of a data carrier with 192 bytes shall be used (BIS L-10 _-01/L).
L60_2-019_828132_1007-e.p65 39 Function Description Examples for protocol sequence Example No. 2 For configuring with double bit header and 8-byte buffer size! Read 17 bytes starting at data carrier address 10 (data carrier type BIS L-10 _-01/L): Host: BIS L-60_2 Identification System: 1.) Process subaddresses of the output buffer in the order shown: 2.
L60_2-019_828132_1007-e.p65 41 Function Description Examples for protocol sequence Example No. 3 (continued) like 2nd example but with simultaneous data transmission For configuring with double bit header and 8-byte buffer size! Host: BIS L-60_2 Identification System: 5.) Process subaddresses of the input buffer: 01...06 Hex Copy second 6 data bytes Process subaddress of the output buffer: 00Hex /07Hex Invert TI-Bit 7.) Process subaddresses of the input buffer: 01...
L60_2-019_828132_1007-e.p65 43 Function Description Examples for protocol sequence Example No. 5 For configuring with double bit header and 8-byte buffer size! Write 16 bytes starting at data carrier address 20 (data carrier type BIS L-10 _-01/L): Host: BIS L-60_2 Identification System: 1.) Process subaddresses of the output buffer in the order shown: 2.
L60_2-019_828132_1007-e.p65 45 Function Description Examples for protocol sequence Example No. 7 Store Mixed Data Access program Storing a program for reading out 3 data records: 1st data record Start address 5 Number of bytes 2nd data record Start address 75 Number of bytes 3rd data record Start address 112 Number of bytes For configuring with double bit header and 8-byte buffer size! Total number of bytes exchanged in the operation: All 104 bytes are written for the programming.
L60_2-019_828132_1007-e.p65 47 Function Description Examples for protocol sequence Example No. 7 Store Mixed Data Access program (continued) For configuring with double bit header and 8-byte buffer size! Host: 01Hex /02Hex (not used) FFHex /FFHex 03Hex /04Hex 05Hex /06Hex 00Hex /07Hex (not used) (not used) Invert TI-Bit FFHex /FFHex FFHex /FFHex 11.)Process subaddresses of the output buffer: 00Hex /07Hex ☞ BIS L-60_2 Identification System: 9.
L60_2-019_828132_1007-e.p65 49 Function Description Examples for protocol sequence Example No. 9 Use Mixed Data Access program For configuring with double bit header and 8-byte buffer size! Write data carrier using Program No. 1 (data carrier type BIS L-10 _-01/L): Host: BIS L-60_2 Identification System: 1.) Process subaddresses of the output buffer in the order shown: 2.
L60_2-019_828132_1007-e.
L60_2-019_828132_1007-e.p65 53 BIS L-6002 Mounting the Processor The processor is attached using 4 M4 screws. 18.5 ~9.5 Mounting the BIS L-6002 processor Head2 Head1 150 71.6 16.8 12.8 4.3 12.5 ~19.6 82 21.5 BIS L-6002 dimensions X1 45.
L60_2-019_828132_1007-e.p65 55 BIS L-6002 Interface Information / Wiring Diagrams Wiring To insert BIS L-6002 processor into the serial PROFIBUS and to connect the supply voltage and the digital input, the cables have to be connected to the terminals of the processor. The read/write heads have to be connected to the terminals Head 1 and Head 2. PROFIBUS-DP Ensure that the device is turned off.
L60_2-019_828132_1007-e.p65 57 BIS L-6002 Interface Information / Wiring Diagrams Wiring diagram for BIS L-6002 processor X1, supply voltage, digital input Connection for Read/Write Head 2 Head2 Head1 Connection for Read/Write Head 1 4 3 Pin Function 1 +Vs 5 2 1 X2, PROFIBUSinput (male) 4 2 –IN 3 –Vs 4 +IN 5 n.c. Pin Function X3, PROFIBUSoutput (female) 3 3 4 1 5 5 1 2 1 2 VP 2 A 3 DGND 4 B 5 n.c. n.c.
L60_2-019_828132_1007-e.p65 59 BIS L-6002 Technical Data Dimensions, Weight Housing Dimensions Weight Plastic ca. 179 x 90 x 45,5 mm ca.
L60_2-019_828132_1007-e.
L60_2-019_828132_1007-e.p65 63 BIS L-6022 Mounting the Processor Mounting the BIS L-6022 processor The processor is mounted using 4 M4 screws. Head 2 Head 1 ca. 15 M4 145 X2 160 X1 ca. 15 X3 X4 ca. 20 60 63 100 63 english 64 BIS L-6022 Opening the Processor / Interface Information Opening the BIS L-6022 processor To set the PROFIBUS-DP address, activate or deactivate, or to change the EEPROM, you must open up the BIS L-6022 processor.
L60_2-019_828132_1007-e.p65 65 BIS L-6022 Interface Information / Wiring Diagrams Wiring To insert BIS L-6022 processor into the serial PROFIBUS and to connect the supply voltage and the digital input, the cables have to be connected to the terminals of the processor. The read/write heads have to be connected to the terminals Head 1 and Head 2. PROFIBUS-DP Ensure that the device is turned off.
L60_2-019_828132_1007-e.p65 67 BIS L-6022 Interface Information / Wiring Diagrams Head 2 Head 1 Wiring diagram for BIS L-6022 processor X1, supply voltage, digital input 4 3 5 S1 on on on on on on on on X1 1 2 3 4 5 6 7 8 Head 2 Head 1 2 1 X2, PROFIBUSinput (male) X2 4 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Pin Function 1 +Vs 2 –IN 3 –Vs 4 +IN 5 n.c. Pin Function X3, PROFIBUSoutput (female) 3 3 4 on on on 1 S2 5 X3 5 1 2 1 2 VP 2 A 3 DGND B 5 n.c.
L60_2-019_828132_1007-e.
L60_2-019_828132_1007-e.
L60_2-019_828132_1007-e.