Balluff BISS301J Tag Reader User Manual Manual 2

Balluff Inc Tag Reader Manual 2

Contents

Manual 2

1 Electronic Identification Systems BIS Processor BIS S-60_2Profibus DPManualDeutsch – bitte wenden!S60_2-019_828318_0303-e mit CRC.p6522ENo. 828 318 D/E •  Edition 0303Subject to modification.http://www.balluff.dehttp://www.balluff.dehttp://www.balluff.dehttp://www.balluff.dehttp://www.balluff.deBalluff GmbHSchurwaldstrasse 973765 Neuhausen a.d.F.GermanyPhone +49 (0) 71 58/1 73-0Fax +49 (0) 71 58/50 10E-Mail: balluff@balluff.de
33EContentsSafety Considerations................................................................................................................. 4Introduction, BIS S Identification Systems .............................................................................. 5/6BIS S-60_2 Processor, Basic knowledge for application ........................................................ 7/8BUS interface PROFIBUS-DP................................................................................................ 9-11Function Description: Communication with the processor .................................................... 12Input and Output Buffers................................................................ 13/14Output buffer, configuration and explanation ................................ 15-18Input buffer, configuration and explanation ...................................19-21Parametering the BIS S-60_2 processor ........................................22-24Processing data carriers ................................................................. 25-31Reading and writing ............................................................................ 25Codetag Present.................................................................................. 26Special characteristics ........................................................................ 26Auto-Read ........................................................................................... 26Reading and writing in dynamic mode ............................................... 27Reading and writing with simultaneous data transmission ................ 27Mixed Data Access ........................................................................ 28-30CRC initialization ................................................................................. 31Examples for protocol sequence ...................................................32-47Read/Write Times ................................................................................................................ 48/49LED Display .............................................................................................................................. 50BIS S-6002 BIS S-6022Mounting the Processor .............................................................. 51 ....................................... 61Opening the Processor / Interface information ........................... 52 ....................................... 62Interface Information / Wiring Diagrams ................................. 52-55 .................................. 62-65Changing the EEPROM ............................................................... 56 ....................................... 66Technical Data ........................................................................ 57/58 .................................. 67/68Ordering Information ............................................................... 59/60 .................................. 69/70Appendix, ASCII Table .............................................................................................................. 71S60_2-019_828318_0303-e mit CRC.p6544ESafety ConsiderationsSeries BIS S-60_2 processors along with the other BIS S system components comprise anidentification system and may only be used for this purpose in an industrial environment inconformity with Class A of the EMC Law.Installation and operation should be carried out by trained personnel only. Unauthorized workand improper use will void the warranty and liability.When installing the processor, follow the chapters containing the wiring diagrams closely.Special care is required when connecting the processor to external controllers, in particularwith respect to selection and polarity of the signals and power supply.Only approved power supplies may be used for powering the processor. See chapter 'Techni-cal Data' for details.Prevailing safety regulations must be adhered to when using the identification system. In par-ticular, steps must be taken to ensure that a failure of or defect in the identification systemdoes not result in hazards to persons or equipment.This includes maintaining the specified ambient conditions and regular testing for functionalityof the identification system including all its associated components.Should there ever be indications that the identification system is not working properly, itshould be taken out of commission and secured from unauthorized use.This manual applies to processors in the series BIS S-6002-019-050-03-ST11 andBIS S-6022-019-050-03-ST14.Installation andOperationUse and CheckingFault ConditionsScopeApproved Operation
55EPrinciplesIntroductionBIS S Identification SystemsApplications☞This manual is designed to assist the user in setting up the control program and installing andstarting up the components of the BIS S Identification System, and to assure rapid, trouble-free operation.The BIS S Identification Systems belongs in the category ofnon-contact systems for reading and writing.This dual function permits applications for not only transporting information in fixed-program-med Data carriers, but also for gathering and passing along up-to-date information as well.If 2 read/write heads are connected to a BIS S-60_2 processor, both heads can be operatedindependently of each other. This means for example that you can read a Data carrier from onehead while writing to another Data carrier at the other head.Some of the notable areas of application include– for controlling material flow in production processes(e.g. in model-specific processes),for workpiece conveying in transfer lines,in data gathering for quality assurance,for gathering safety-related data,– in equipment organization;– in storage systems for monitoring inventory movement;– in transporting and conveying systems;– in waste management for quantity-based fee assessment.S60_2-019_828318_0303-e mit CRC.p6566EBIS S-3_ _BIS S-3_ _ BIS S-3_ _BIS S-3_ _System Components The main components of the BIS S Identification Systems are:–Processor,–Read/Write Heads and–Data carriersIntroductionBIS S Identification SystemsPROFIBUS-DPData carriers BIS S-1_ _-...Schematicrepresentation of anIdentification System(example)Processor BIS S-6002Read/write headProcessor BIS S-6022Configuration withBIS S-6002 andBIS S-6022processor
77ESelecting SystemComponentsThe BIS S-6002 processor has a plastic housing.The BIS S-6022 processor has a metal housing.Connection is made through round connectors. Two read/write heads can be cable con-nected.Series BIS S-60_2 processors have in addition a digital input. The input has various functionsdepending on the configuration (see Parametering).The read/write distances depend on which data carriers are used. Additional information on theread/write heads in series BIS S-3_ _ including all the possible data carrier/read-write headcombinations can be found in the manuals for the respective read/write heads.The system components are electrically supplied by the processor. The data carrier representsa free-standing unit and needs no line-carried power. It receives its energy from the read/writehead. The latter constantly sends out a carrier signal which supplies the code head as soon asthe required distance between the two is reached. The read/write operation takes place duringthis phase. Reading and writing may be dynamic or static.BIS S-60_2 ProcessorBasic knowledge for applicationS60_2-019_828318_0303-e mit CRC.p6588EBIS S-60_2 ProcessorBasic knowledge for applicationThe processor writes data from the host system to the Data carrier or reads data from the tagthrough the read/write head and prepares it for the host system. Host systems may include:–a host computer (e.g. industrial PC) or–a programmable logic controller (PLC)When sending data between the read/write head and the Data carrier a procedure is requiredfor recognizing whether the data were correctly read or written.The processor is supplied with standard Balluff procedure of double reading and comparing.In addition to this procedure a second alternative is available: CRC_16 data checking.Here a test code is written to the Data carrier, allowing data to be checked for validity at anytime or location.Advantages of CRC_16   Advantages of double readingData checking even during the non-active phase(CT outside read/write head zone).No bytes on the data carrier need to be reservedfor storing a check code.Shorter read times since each page is read onlyonce.Shorter write times since no CRC needs to bewritten.Since both variations have their advantages depending on the application, the user is free toselect which method of data checking he wishes to use (see Parametering on   23).It is not permitted to operate the system using both check procedures!Control FunctionData checking☞
99ECommunication between the BIS S-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 S-60_2 processor).Important hints for use with PLC:In some control systems the PROFIBUS-DP data area is not synchronously transmitted with theupdating of the input/output content. If more than 2 bytes of data are sent, a mechanism mustbe used which guarantees that the data in the PLC and the data in the BIS S are always identi-cal!1st alternative: Synchronous data transmission as a setting on the MasterIn this method the bus Master ensures that all the data necessary for the respective Slave arealways sent contiguously. There is usually a special software function in the PLC which likewisecontrols access between the PLC and bus Master so that data are always sent contiguously.2nd alternative: Set 2nd bit headerData exchange between PLC and BIS is controlled by the so-called bit header. This is alwaysthe first byte of the respective read/write head in the data buffer. This bit header exists both inthe input range (data from BIS to the PLC) and in the output range (data from the PLC to theBIS). lIf this bit header is also sent as the last byte, a comparison of these two bytes can beused to guarantee the consistency of the transmitted data.In this method the PLC cycle is unaffected nor is the bus access time changed. All that isrequired is that a byte in the data buffer be used for the 2nd bit header instead of for user data.This 2nd alternative is the Balluff recommended setting (factory default).PROFIBUS-DP☞BUS interface PROFIBUS-DPS60_2-019_828318_0303-e mit CRC.p651010 EStation AddressFor the correct parametering of the bus master as per type, CD ROM, containing the unit’smaster data in the form of a GSD file is included with the BIS S-60_2 processor.The Processor BIS S-60_2 is delivered with the station address 126. This has to be set indi-vidually before using in a bus system. See information on   11.An input buffer and an output buffer are used for the data exchange with the control system.The size of these buffers has to be configured via the master.The possible settings are entered in the GSD file (and Type file). A minimum of 4 and a maxi-mum of 128 bytes can be accommodated. However, it must be an even number.Besides, in the case of the BIS S-60_2 processor, there are 6 further bytes (User-ParameterBytes) which have to be set while parametering. The significance of the 6 bytes for para-metering is described starting from   22.The preset is stored in the GSD file.Input/Output BufferUnit's Master DataParametering BytesUser-Parameter Bytes☞☞BUS interface PROFIBUS-DP
1111EStation AddresssettingThe station address under which the unit is accessed on the bus can be assigned through theslide switch S1. Each address shall be assigned only once.The slide switch S1 is binary coded. The setting of the station address is carried out accordingto the scheme shown in the table. Switch position: no = left, yes = right.The address 85 is set in the following figure.X1 X2 X3Head1Head21on243on onon67on on5on8ononon onHead 1Head 2S113246 578911121416 15 13 10S21719 18➪no  yesTo open the cover of the processor, see   52 for BIS S-6002 or   62 for BIS S-6022.BUS interface PROFIBUS-DPStationAddressSlide switch S17654321262524232221200 not allowed1 nonononononoyes2 nononononoyesno3 nononononoyesyes4 nonononoyesnono5 nonononoyesnoyes...85 yes no yes no yes no yes...123 yes yes yes yes no yes yes124 yes yes yes yes yes no no125 yes yes yes yes yes no yes126 yes yes yes yes yes yes no127 not allowedSlide switch S1(with cover removed)always on noS60_2-019_828318_0303-e mit CRC.p651212 EFunction DescriptionCommunication with the processorCommunication between the host system and the processor takes place using a fixed proto-col sequence. Data integrity from the control to the processor and vice-versa is indicated by acontrol bit. This bit is used to implement a handshake between the control and the processor.Following is a simplified representation of the sequence of a job sent from the control to theprocessor:1. The control sends a command designator to the processor together with the associatedcommand parameters and sets a bit (AV bit). This bit indicates to the processor that thetransmitted data are valid and that the job is now beginning.2. The processor takes the job and sets a bit (AA bit), which indicates this to the control.3.  If an additional exchange of data between the control and the processor is required tocarry out the job, each uses a bit (TI bit and TO bit) to indicate that the control / processoris now ready for additional data exchange or has accepted the received data.4. Once the processor has carried out the job correctly, it sets a bit (AE bit).5. Once the control has accepted all the important data, it indicates this to the processor byresetting the bit that was set at the beginning (AV bit).6. The processor now in turn sets all the control bits that were set during the sequence(AA bit, AE bit) and is ready for the next job.Please see also 25...31 and theexamples on 32...47.Basic Procedure
1313EInput and OutputBuffersIn order to transmit commands and data between the BIS S-60_2 and the host system, thelatter must prepare two fields. These two fields are:–the output bufferfor the control commands which are sent to the BIS Identification System andfor the data to be written.–the input bufferfor the data to be read andfor the designators and error codes which come from the BIS Identification System.The possible setting values are stored in the GSD file.The buffer size can be selected between 4 and 128 bytes in steps of 2 bytes. This must begiven by the master during parametering. The total buffer size is divided into 2 ranges:Buffer range 1 for Read/Write Head 1; size is specified in paramter byte 6.Buffer range 2 for Read/Write Head 2; size = total buffer size – buffer size of Read/WriteHead 1.See   14 for example.If a buffer size of less than 8 bytes is set for a read/write head, a read/write request can becarried out without specifying the start address and the number of bytes. Automatic reading forCodetag present (see   26) remains active. This permits fast reading of small data quantitieswithout placing an unnecessary load on the bus.Buffer size – 1 = number of bytes read without double bit header;Buffer size – 2 = number of bytes read with double bit header.☞Function DescriptionInput and Output BuffersPlease note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.S60_2-019_828318_0303-e mit CRC.p651414 EFunction DescriptionInput and Output Buffers☞Example: The 82 bytes for the total buffer need to be distributed. An input/output buffer of46 bytes is assigned to Read/Write Head 1. This results in an input/output buffer of 36 bytesfor Read/Write Head 2.Procedure: The buffer size for Read/Write Head 1 is set to 46 bytes. This means using theparameter byte 6 to enter Hex value 2E (corresponds to 46 decimal), which corresponds tobinary 00101110.PLC Organisation: The buffer range starts at input byte IB 32 and output byte OB 32.Result:Read/Write Head 1: Subaddress 00 IB 32 and OB 32(R/W 1) Input buffer IB 32 to IB 77Output buffer OB 32 to OB 77Read/Write Head 2: Subaddress 00 IB 78 and OB 78(R/W 2) Input buffer IB 78 to IB 113Output buffer OB 78 to OB 113IB 0 / OB 0 PLC bufferBuffer for R/W 1Buffer for R/W 2Input and OutputBuffers(continued)Note that these buffers can be in two differentsequences depending on the type of control.The following description is based on sequence 1!Sequence 1 Sequence 2Subaddress 00 Subaddress 0101 0002 0303 0204 0505 0406 0707 06Please note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.
1515EConfiguration of theoutput buffer for one(1) read/write headDescription ofOutput BufferPlease note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.The last byte can be arranged as a 2nd bit header through parametering (default).Function DescriptionOutput buffer, configuration and explanationBit No.76543210Subaddress00Hex = Bit Header CT TI GR AV Bit Name01Hex Command Designator  or Data02Hex Start Address (Low Byte) or Program No.  or Data03Hex Start Address (High Byte)  or Data04Hex No. of Bytes (Low Byte)  or Data05Hex No. of Bytes (High Byte)  or Data06Hex Data... DataLast Byte 2nd Bit Header (as above)  or DataSub- Bit Meaning Function Descriptionaddress Name00Hex CT Data carrier type Select Data carrier type: for Data carrier type:Bit Header 1 64 Byte block size BIS S-1_ _-32, -42TI Toggle-Bit In Shows during a read action that the controller is readyfor additional data.GR Ground state Causes the BIS system to go to the ground statefor the respective read/write head.Any pending command is cancelled.AV Command Signals the identification system that a commandfor the respective read/write head is present.(continued next  )S60_2-019_828318_0303-e mit CRC.p651616 EFunction DescriptionOutput buffer, configuration and explanationSub- Meaning Function Descriptionaddress01Hex Command designator00Hex No command present01Hex Read data carrier02Hex Write to data carrier06HEX Store program in the EEPROM for the Mixed Data Accessfunction07HEX Store the start address for the Auto-Read function in the EEPROM12HEX Initialize the CRC16 data check21HEX Read for Mixed Data Access function(corresponding to the program stored in the EEPROM)22HEX Write for Mixed Data Access function(corresponding to the program stored in the EEPROM)or: Data for writing to the data carrieror: Program data for writing to the EEPROM.(continued next  )Description ofOutput Buffer(continued)Please note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.
1717EFunction DescriptionOutput buffer, configuration and explanationDescription ofOutput Buffer(continued)Sub- Meaning Function Descriptionaddress02Hex Start address Address at which reading from or writing to the data carrier begins.(Low Byte) (The Low Byte includes the address range from 0 to 255).or: Start address Address  for the Auto-Read function, starting at which the code(Low Byte) tag is to be read. The value is stored in the EEPROM. (The LowByte covers the address range from 0 to 255).or: Program No Number of the program to be stored in the EEPROM inconjunction with command ID 06Hex for Mixed Data Accessfunction (values between 01Hex and 0AHex are allowed!).or: Program No. Number of the program stored in the EEPROM for read or writeoperations in conjunction with command ID 21Hex or 22Hex for theMixed Data Access function.or: Data for writing to the data carrieror: Program data for writing to the EEPROM.03Hex Start address Address for reading from or writing to the Data carrier (the High Byte(High Byte) is additionally used for the address range from 256 to 16.383).or: Start address Address for the Auto-Read function, starting at which the code(High Byte) tag is to be read. The value is stored in the EEPROM (the HighByte is also required for the address range from 256 to 16.383).or: Data for writing to the Data carrieror: Program data for writing to the EEPROM.(continued next  )Please note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.S60_2-019_828318_0303-e mit CRC.p651818 EFunction DescriptionOutput buffer, configuration and explanationDescription ofOutput Buffer(continued)Sub- Meaning Function Descriptionaddress04Hex No. of bytes Number of bytes to read or write beginning with the start address(Low Byte) (the Low Byte includes from 1 to 256 bytes).or: Data for writing to the data carrieror: Program data for writing to the EEPROM.05Hex No. of bytes Number of bytes to read or write beginning with the start address(High Byte) (the High Byte is additionally used for the range between 257 and16.384 bytes).or: Data for writing to the data carrieror: Program data for writing to the EEPROM.06Hex Data for writing to the data carrieror: Program data for writing to the EEPROM.... Data for writing to the data carrieror: Program data for writing to the EEPROM.Last byte2nd Bit header The data are valid if the 1st and 2nd bit header are identical.or: Data for writing to the data carrieror: Program data for writing to the EEPROM.Please note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.
1919EFunction DescriptionInput buffer, configuration and explanationConfiguration of theinput buffer for one(1) read/write headThe last byte can be arranged as a 2nd bit header through parametering (default).Sub- Bit Meaning Function Descriptionaddress Name00Hex BB Ready The BIS Identification System is in the Ready state.Bit Header HF Head Error Cable break from read/write head orno read/write head connected.TO Toggle-Bit Out for read: BIS has new/additional data ready.for write: BIS is ready to accept new/additional data.(continued on next  )Bit No.76543210Subaddress00Hex = B it Header BB HF TO IN AF AE AA CP Bit Name01Hex Error Code or Data02Hex Data03Hex Data04Hex Data05Hex Data06Hex Data... DataLast byte 2nd Bit Header (as above) or DataDescription ofInput BufferPlease note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.S60_2-019_828318_0303-e mit CRC.p652020 EFunction DescriptionInput buffer, configuration and explanationDescription ofInput Buffer(continued)Sub- Bit Meaning Function Descriptionaddress Name00Hex (continued)Bit Header IN Input If the parameter "Input IN" is 1, this bit indicates thestate of the Input.AF Command Error The command was incorrectly processed or aborted.AE Command end The command was finished without error.AA Command start The command was recognized and started.CP Codetag Present Data carrier present within the active zone of theread/write head.In addition to the CP bit, the output signal CT present is available. Thisallows you to process the presence of a data carrier directly as a hardwaresignal.Sub- Meaning Function Descriptionaddress01Hex Error code Error number is entered if command was incorrectly processedor aborted.  Only valid with AF bit!00Hex No error.01Hex Reading or writing not possible because no data carrier is presentin the active zone of a read/write head.02Hex Read error.03Hex Data carrier was removed from the active zone of the read/writehead while it was being read.04Hex Write error.(continued on next  )Please note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.
2121ESub- Meaning Function Descriptionaddress01Hex Error code (continued)05Hex Data carrier was removed from the active zone of the read/writehead while it was being written.07Hex AV bit is set but the command designator is missing or invalid.                  or: Number of bytes is 00Hex.09Hex Cable break to select read/write head, or head not connected.0CHex The EEPROM cannot be read/programmed.0DHex Communication with the read/write head.0EHex The CRC of the read data does not coincide with the CRC ofthe data carrier.0FHex Contents of the 1st and 2nd bit header (1st and last bytes) ofthe output buffers are not identical (2nd bit header must be served).20Hex Addressing of the read/write job is outside the memory range ofthe data carrier.21Hex Invoking of a function which is not possible for the data carrierwhich is in front of the read/write head.or: Data Data which was read from the data carrier.02Hex Data Data which was read from the data carrier.... Data Data which was read from the data carrier.Last byte2nd Bit header The data are valid if the 1st and 2nd bit headers are inagreement.or: Data Data which was read from the data carrier.Function DescriptionInput buffer, configuration and explanationDescription ofInput Buffer(continued)Please note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.S60_2-019_828318_0303-e mit CRC.p652222 EFunction DescriptionParametering the BIS S-60_2 processorParameters,OverviewThere are 6 user parameter bytes stored on the Profibus master that can be used to activateand deactivate various functions. Setting is done directly by linking a device to the Profibusmaster. 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 aCRC_16 data check (see   8).– Simultaneous data transmission for both read/write heads:With simultaneous data transmission shorter read/write times can be achieved dependingon the amount of data to be read/written and the type of controller.– Dynamic operation on read/write head 1 or 2:If dynamic operation is parametered, a read/write job can be sent even though there is noData carrier in the active zone of the head. As soon as a Data carrier passes by the head,the command is immediately carried out.– "Auto-Read” for read/write head 1 or 2:If this function is activated, the processor reads out the first (max. 31) bytes from the Datacarrier starting at a defined start address as soon as the tag enters the active zone of theread/write head. The start address must first have been stored in the processor’s EEPROMwith the command ID 07Hex.– 2nd bit header at end of in- and output buffer:The 2nd bit header (factory setting) prevents data from being accepted by the bus as longas it is not fully updated.– Display state of the digital input in the bit header of the input buffer:If this function is activated, the IN-bit displays the state of the digital input of the processor:IN = 0 Õ digital input low; IN = 1 Õ digital input high– Reset BIS S-60_2 processor through the digital input:If this function is activated, the processor is reset when the digital input is set to high.Please note thebasic procedure on 12 and 25...31and the exampleson pages   32...47.
2323EParametering BytesUser-Parameter Bytes For parametering all 6 bytes must always be transferred in Hex. Only the bits mentionedmay be changed. No guaranty will be given for the proper functioning of theBIS S-60_2 if any of the other bits are changed.The default values (factory setting) for the 6 bytes are:1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byteHex 00 80 00 82 00 02Binary 00000000 10000000 00000000 10000010 00000000 00000010           bit 3          bit 4   bit 7  bit 2          bit 4 bit 1...8      bit 5       bit 5 bit 8       bit 5The bits which serve for parametering have the following functions:1st byte, bit 5, Activate CRC-16 data checking1st byte, bit 3, Activate simultaneous data transmission for both read/write heads2nd byte, bit 5, Dynamic mode on read/write head 1(for effects on read/write times, see   48/49)2nd byte, bit 4, Activate Auto-Read function starting at specified address after CT-Presentfor Head 1 (the number of bytes read depends on the selected buffer sizeminus bit headers for Head 1)4th byte, bit 8, Arrange a 2nd bit header at the end of the input and output buffersIf this function is selected, then the minimum size of both buffers is 4 words (8 bytes) each.Please note the basic procedure on   12 and 25...31 and the examples on pages   32...47.Function DescriptionParametering, Parametering BytesBit state: 0 = no1 = yesThese are used forconfiguration:Having the followingfunctions:☞S60_2-019_828318_0303-e mit CRC.p652424 E4th byte, bit 7, Display state of the digital input in the bit header of the input buffers:0 = no1 = yes Input is Low: "IN" in the bit header of the input buffers = 0.Input is High: "IN" in the bit header of the input buffers = 1.4th byte, bit 2, Reset the BIS S-60_2 processor through the digital input:0 = no1 = yes Input is Low: Do not reset.Input is High: Reset.5th byte, bit 5 Dynamic mode on read/write head 2(for effects on read/write times, see   48/49)5th byte, bit 4 Activate Auto-Read function for Head 2 starting at specified address afterCT-Present (the number of bytes read depends on the selected buffer sizeminus bit headers for Head 2)6th byte, bit 1...8 No. of bytes in input and output buffer which shall be used forread/write head 1, see example on   14The specification for the input and output buffer on the Master applies to both read/writeheads, i.e. this buffer must be divided for both heads. The specification is done in Hex formatand must be in a range between 02Hex and 80Hex (128 dec.).If only one read/write head (Head 1) will be used, you may enter the same value here as for thetotal buffer size. An entry of less than 2 bytes results in an undefined state.Please note the basic procedure on   12 and 25...31 and the examples on pages   32...47.Parametering BytesUser-Parameter Bytes(continued)Function DescriptionParametering, Parametering BytesBit state: 0 = no1 = yes☞
2525EReading and writing To carry out a read or write job, the Data carrier must be located in the active zone of the read/write head.A read/write job has the following sequence (see examples on   32ff):1. The host sends to the output buffer:– the command designator to subaddress 01Hex,– the start address for reading or writing to subaddress 02HEX/03HEX,– the number of bytes for reading or writing to subaddress 04HEX/05HEX,– the CT bit in the bit header according to the Data carrier type (block size),– and sets the AV bit in the bit header to high.2. The processor:– takes the request (AA in the bit header of the input buffer to high),– begins to transport the data;read = from data carrier to input buffer,write = from output buffer to data carrier.(Larger data quantities are sent in blocksblock size with 2nd bit header = buffer size – 2),block size without 2nd bit header = buffer size – 1).The toggle bits in the two bit headers are used as a kind of handshaking between thehost and the BIS S-60_2 processor.3. The processor has processed the command correctly (AE bit in the bit header of the inputbuffer). If an error occurred during execution of the command, an error number will bewritten to subaddress 01Hex of the input buffer and the AF bit in the bit header of the inputbuffer will be set.Function DescriptionProcessing data carriersS60_2-019_828318_0303-e mit CRC.p652626 ESpecialcharacteristicsAuto-ReadFunction DescriptionProcessing data carriersCodetag Present As soon as the data carrier enters the active one of the read/write head, the processor indi-cates 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 thedata carrier available in the input buffer of the respective read/write head as soon as the tag isdetected (30 bytes with 2nd bit header, 31 bites without 2nd bit header, or less if the buffersize has been set smaller).The data are only valid after the rising edge of the CP bit in the bit header of the input buffer.They remain valid until the falling edge of the CP bit, or until the controller issues a new job.To adjust the read/write functions to the numerous possible applications, a few unique fea-tures have been implemented that the user can select and set when parametering or program-ming the processor. These are as follows:If the Auto-Read function is activated, the data are read as soon as a data carrier is recog-nized. No command from the controller is required. Since there is an in- and output buffer foreach read/write head, the start address must be specified for each head using the commanddesignator 07Hex. The start addresses may be different. The number of bytes read is deter-mined by the selected size of the input buffer, which is distributed over both heads when 2 areused.This distinguishes the Auto-Read function from the standard setting for automatic reading,which always starts at Address 0 and includes a maximum number of 30 bytes with 2nd bitheader or 31 bytes without 2nd bit header (or less if the buffer size has been set smaller).☞
2727EReading and writingin dynamic modeIn normal operation a read/write job is rejected by the BIS S-60_2 processor by setting theAF bit and an error number if there is no data carrier in the active zone of the read/write head.If dynamic mode is configured, the processor accepts the read/write job and stores it. When adata carrier is recognized, the stored job is carried out.Reading without simultaneous data transmission: In the case of a read job the processorfirst reads our all requested data from the data carrier after receiving the start address and thedesired number of bytes, and then sets the AE bit. Then the data read from the data carrierare written to the input buffer. In the case of larger data amounts this is done in blocks, con-trolled by the handshake with the toggle bits as described on   25.Reading with simultaneous data transmission: In the case of a read job the processor be-gins by transmitting the data into the input buffer as soon as the first 30 bytes (with 2nd bitheader, or 31 bytes without 2nd bit header, or less if the buffer size was set smaller) have beenread from the data carrier beginning with the start address, and indicates this by inverting theTO bit. As soon as the controller inverts the TI bit, the processor sends the data, which havein the meantime been read, to the input buffer. This is repeated until the processor has readout all the desired data from the data carrier. Now the processor sets the AE bit and outputsthe remaining data on the input buffer.Writing without simultaneous data transmission: In the case of a write job the processorwaits until it has received all the data that need to be written from the controller. Only then arethe data written to the data carrier as described on   25.Writing with simultaneous data transmission: In the case of a write job the processor be-gins to write the data to the data carrier as soon as it has received the first data to be writtenfrom the controller’s output buffer. Once all the data have been written to the data carrier, theAE bit is set.Reading and writingwith simultaneousdata transmissionFunction DescriptionProcessing data carriersS60_2-019_828318_0303-e mit CRC.p652828 EMixed Data AccessFunction DescriptionProcessing data carriersSmall read/write programs can be stored in the BIS S-60_2 processor’s EEPROM.The Mixed Data Access function is useful when the required information is stored on the datacarrier at various addresses. This function makes it possible to read out this “mixed”, i.e. non-contiguously stored data from the data carrier in a single procedure and using just one com-mand.Up to 10 programs with up to 25 instructions can be stored. Each program instruction con-tains a “start address” and a “number of bytes” specification. The amount of data for readingmay not exceed 2 kB.Storing a program:The command identifier 06Hex is used to send the read/write program to the BIS S-60_2 pro-cessor. One program per command can be stored. All 25 program records plus an additional2 bytes with FFHexFFHex as a terminator must always be sent. This means a total of 104 bytesof information per program must be sent (including the command identifier and program num-ber).The individual program records must all be contiguous. They must be sent one after the otherand be terminated with FFHexFFHex as a terminator. It is recommended that the remaining, un-used memory sector be filled with FFHexFFHex.If an address range is selected twice, the data will also be output twice.☞
2929EMixed Data Access(cont.)The following shows the structure of a program:Program structure Subaddress Value RangeCommand designator 01Hex 06Hex1. Program recordProgram number 02Hex 01Hex 01Hex to 0AHex1st data record:Start address Low Byte 03HexStart address High Byte 04HexNumber of bytes Low Byte 05HexNumber of bytes High Byte 06Hex2nd data record:...25th data record:Start address Low Byte 03HexStart address High Byte 04HexNumber of bytes Low Byte 05HexNumber of bytes High Byte 06HexTerminator FFHex FFHexTo store a second program, repeat this process.The procedure for writing these settings to the EEPROM is described in the 9th example on 42...44.Replacing the EEPROM is described on   56 for BIS S-6002 and on   66 for BIS S-6022.Function DescriptionProcessing data carriersS60_2-019_828318_0303-e mit CRC.p653030 EFunction DescriptionProcessing data carriersRead from datacarrier, with programMixed Data AccessWrite to data carrier,with program MixedData AccessThe command identifier 21Hex can be used to read out the program records stored in the pro-gram from the data carrier. The user must document exactly which data are to be read fromwhere and with what number of bytes for the respective program (see example 10 on   45)The command identifier 22Hex can be used to write the program records stored in the programto the data carrier. The user must document exactly which data are to be written from whereand with what number of bytes for the respective program (see example 11 on   46)
3131ETo be able to use the CRC check, the data carrier must first be initialized with the commandidentifier 12Hex (see   32/33). The CRC initialization is used like a normal write job. The latter isrejected (with an error message) if the processor recognizes that the data carrier does notcontain the correct CRC. Data carriers as shipped from the factory (all data are 0) can immedi-ately be programmed with a CRC check.If CRC-16 data checking is activated, a special error message is output to the interface when-ever a CRC error is detected.If the error message is not caused by a failed write request, it may be assumed that one ormore memory cells on the data carrier is defective. That data carrier must then be replaced.If the CRC error is however due to a failed write request, you must reinitialize the data carrierin order to continue using it.The checksum is written to the data carrier as a 2-byte wide datum. Two bytes per page are'lost', i.e., the page size becomes 62 bytes. This means that the actual usable number ofbytes is reduced:Data carrier type Usable bytes8192 bytes = 7936 bytes16384 bytes = 15872 bytesCRC initializationFunction DescriptionProcessing data carriersS60_2-019_828318_0303-e mit CRC.p653232 EInitializing the Data carrier for the CRC_16 data checkingThe processing of this command is similar to a write command. Start address and number ofbytes have to correspond to the maximum number of data to be used.In this example the complete memory range of a Data carrier with 8 kbytes shall be used(BIS S-1_ _-32/L with 64 byte block size). Because 2 bytes are used for the CRC only7936 bytes can be used as data bytes, hence: start address = 0, number of bytes = 7936.5.) Process subaddresses of the output buffer:BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer in theorder shown:3.) Process subaddresses of the output buffer: 4.) Process subaddresses of the output buffer:6.) Process subaddresses of the output buffer:Host:1.) Process subaddresses of the output buffer in theorder shown:...To be continueduntil the completememory range iswritten. See next  .Example No. 1For configuring withdouble bit headerand 128-byte buffersize!Function DescriptionExamples for protocol sequence00Hex/7FHex Set AA-Bit, invert TO-Bit01...7EHex Enter first 126 bytes of data00Hex/7FHex Invert TI-Bit01...7EHex Copy first 126 data bytes      Process subaddress of the input buffer:00Hex/7FHex Invert TO-Bit01...7EHex Enter the second 126 data bytes00Hex/7FHex Invert TI-Bit01...7EHex Copy second 126 data bytes     Process subaddress of the input buffer:00Hex/7FHex Invert TO-Bit01Hex Command designator 12Hex02Hex Start address 00Hex03Hex Start address 00Hex04Hex No. of bytes 00Hex05Hex No. of bytes 1FHex00Hex/7FHex Set AV-Bit, CT-Bit to 1
3333E129.) Process subaddresses of the output buffer: 130.) Process subaddresses of the input buffer:Example No. 1(continued)For configuring withdouble bit headerand 128-byte buffersize!127.) Process subaddresses of the output buffer: 128.) Process subaddresses of the output buffer:01...7EHex Enter the remaining data byte00Hex/7FHex Invert TI-Bit01...7EHex Copy the remaining data byte      Process subaddress of the input buffer:00Hex/7FHex Set AE-Bit00Hex/7FHex Reset AV-Bit 00Hex/7FHex Reset AA-Bit and AE-BitFunction DescriptionExamples for protocol sequenceBIS S-60_2 Identification System:Host:S60_2-019_828318_0303-e mit CRC.p653434 ERead 17 bytes starting at data carrier address 10 (Data carrier type with 64 byte block size):Example No. 2For configuring withdouble bit headerand 8-byte buffersize!7.) Process subaddresses of the input buffer: 8.) Process subaddresses of the input buffer:BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer in theorder shown:3.) Process subaddresses of the input buffer: 4.) Process subaddresses of the input buffer:6.) Process subaddresses of the input buffer:5.) Process subaddresses of the input buffer:Host:1.) Process subaddresses of the output buffer in theorder shown:01Hex Command designator 01Hex02Hex Start address Low Byte 0AHex03Hex Start address High Byte 00 Hex04Hex No. of bytes Low Byte 11Hex05Hex No. of bytes High Byte 00 Hex00Hex/07Hex CT-Bit to 1 (64 Byte block size),set AV-Bit00Hex/07Hex Set AA-Bit01...06Hex Enter first 6 bytes of data00Hex/07Hex Set AE-Bit01...06Hex Copy first 6 data bytes      Process subaddress of the output buffer:00Hex/07Hex Invert TI-Bit01...06Hex Enter the second 6 data bytes00Hex/07Hex Invert TO-Bit01...06Hex Copy second 6 data bytes     Process subaddress of the output buffer:00Hex/07Hex Invert TI-Bit01...05Hex Enter the remaining 5 data bytes00Hex/07Hex Invert TO-Bit01...05Hex Copy the remaining 5 data bytes      Process subaddress of the output buffer:00Hex/07Hex Reset AV-Bit00Hex/07Hex Reset AA-Bit and AE-BitFunction DescriptionExamples for protocol sequence
3535ERead 17 bytes starting at data carrier address 10, with simultaneous data transmission(data carrier type with 64 byte block size):While the read job is being carried out and as soon as the input buffer is filled, the first dataare sent. The AE bit is not set until the “Read” operation is completed by the processor.The reply “Job End” = AE bit is reliably set no later than before the last data are sent. Theexact time depends on the requested data amount, the input buffer size and the timing of thecontroller. This is indicated in the following by the note Set AE-Bit (in italics).01Hex Command designator 01Hex02Hex Start address Low Byte 0AHex03Hex Start address High Byte 00 Hex04Hex No. of bytes Low Byte 11Hex05Hex No. of bytes High Byte 00 Hex00Hex/07Hex CT-Bit to 1 (64 Byte block size),set AV-Bit00Hex/07Hex Set AA-Bit01...06Hex Enter first 6 bytes of data00Hex/07Hex Invert TO-Bit00Hex/07Hex Set AE-Bit01...06Hex Enter the second 6 data bytes00Hex/07Hex Invert TO-Bit00Hex/07Hex Set AE-Bit01...06Hex Copy first 6 data bytes      Process subaddress of the output buffer:00Hex/07Hex Invert TI-BitExample No. 3like 2nd example butwith simultaneousdata transmissionFor configuring withdouble bit headerand 8-byte buffersize!Continued on next  .BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer in theorder shown:Host:1.) Process subaddresses of the output buffer in theorder shown:3.) Process subaddresses of the input buffer: 4.) Process subaddresses of the input buffer:Function DescriptionExamples for protocol sequenceS60_2-019_828318_0303-e mit CRC.p653636 E01...05Hex Enter the remaining 5 data bytes00Hex/07Hex Invert TO-Bit00Hex/07Hex Set AE-BitExample No. 3(continued)like 2nd example butwith simultaneousdata transmissionFor configuring withdouble bit headerand 8-byte buffersize!7.) Process subaddresses of the input buffer: 8.) Process subaddresses of the input buffer:6.) Process subaddresses of the input buffer:5.) Process subaddresses of the input buffer:01...06Hex Copy second 6 data bytes     Process subaddress of the output buffer:00Hex/07Hex Invert TI-Bit01...05Hex Copy the remaining 5 data bytes      Process subaddress of the output buffer:00Hex/07Hex Reset AV-Bit00Hex/07Hex Reset AA-Bit and AE-BitFunction DescriptionExamples for protocol sequenceBIS S-60_2 Identification System:Host:
3737EExample No. 4For configuring withdouble bit headerand 8-byte buffersize!Read 30 bytes starting at data carrier address 10 with read error(data carrier type with 64 byte block size):Host:1.) Process subaddresses of the output buffer in theorder shown:BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer in theorder shown:If an error occurs right away:3.) Process subaddress of the input buffer: 4.) Process subaddresses of the input buffer:01Hex Command designator 01Hex02Hex Start address Low Byte 0AHex03Hex Start address High Byte 00 Hex04Hex No. of bytes Low Byte 1EHex05Hex No. of bytes High Byte 00 Hex00Hex/07Hex Set CT-Bit to 1 (64 Byte block size),set AV-Bit00Hex/07Hex Set AA-Bit01Hex Enter error number00Hex/07Hex Set AF-Bit01Hex Copy error number      Process subaddress of the output buffer:00Hex/07Hex Reset AV-Bit00Hex/07Hex Reset AA-Bit and AF-BitFunction DescriptionExamples for protocol sequenceS60_2-019_828318_0303-e mit CRC.p653838 EExample No. 5,like 4th example butwith simultaneousdata transmissionFor configuring withdouble bit headerand 8-byte buffersize!Read 30 bytes starting at data carrier address 10, with read error and simultaneous datatransmission (data carrier type with 64 byte block size):If an error occurs, the AF bit is set instead of the AE-Bit, with a corresponding error number.When the AF-BIT is set the job is interrupted and declared to be ended.BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer in theorder shown:If an error occurs right away:☞An error can also occur after the data have already been sent (see 6th example on the next ).Host:1.) Process subaddresses of the output buffer in theorder shown:3.) Process subaddress of the input buffer: 4.) Process subaddresses of the input buffer:Function DescriptionExamples for protocol sequence01Hex Command designator 01Hex02Hex Start address Low Byte 0AHex03Hex Start address High Byte 00 Hex04Hex No. of bytes Low Byte 1EHex05Hex No. of bytes High Byte 00 Hex00Hex/07Hex Set CT-Bit to 1 (64 Byte block size),set AV-Bit00Hex/07Hex Set AA-Bit01Hex Enter error number00Hex/07Hex Set AF-Bit01Hex Copy error number      Process subaddress of the output buffer:00Hex/07Hex Reset AV-Bit00Hex/07Hex Reset AA-Bit and AF-Bit
3939EExample No. 6,with simultaneousdata transmissionFor configuring withdouble bit headerand 8-byte buffersize!Read 30 bytes starting at data carrier address 10, with read error and simultaneous datatransmission (data carrier type with 64 byte block size):If an error occurs after data have started to be sent, the AF-Bit is set instead of the AE-Bit alongwith the corresponding error number. The error message AF is dominant. It cannot be specifiedwhich data are incorrect. When the AF-BIT is set the job is interrupted and declared to be ended.4.) Process subaddresses of the input buffer:If an error has occurred:01Hex Enter error number00Hex/07Hex Set AF-Bit00Hex/07Hex Set AA-Bit01...06Hex Enter the first 6 data bytes00Hex/07Hex Invert TO-Bit01...06Hex Copy first 6 data bytes      Process subaddress of the output buffer:00Hex/07Hex Invert TI-Bit6.) Process subaddresses of the input buffer:BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer in theorder shown:Host:1.) Process subaddresses of the output buffer in theorder shown:3.) Process subaddress of the input buffer:01Hex Command designator 01Hex02Hex Start address Low Byte 0AHex03Hex Start address High Byte 00 Hex04Hex No. of bytes Low Byte 1EHex05Hex No. of bytes High Byte 00 Hex00Hex/07Hex Set CT-Bit to 1 (64 Byte block size),set AV-Bit01Hex Copy error number      Process subaddress of the output buffer:00Hex/07Hex Reset AV-Bit00Hex/07Hex Reset AA-Bit and AF-Bit5.) Process subaddress of the input buffer:Function DescriptionExamples for protocol sequenceS60_2-019_828318_0303-e mit CRC.p654040 EExample No. 7For configuring withdouble bit headerand 8-byte buffersize!Write 16 bytes starting at data carrier address 20 (data carrier type with 64 byte block size):Host:1.) Process subaddresses of the output buffer in theorder shown:BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer in theorder shown:3.) Process subaddresses of the output buffer: 4.) Process subaddresses of the output buffer:9.) Process subaddresses of the output buffer: 10.)Process subaddresses of the input buffer:5.) Process subaddresses of the output buffer: 6.) Process subaddresses of the output buffer:7.) Process subaddresses of the output buffer: 8.) Process subaddresses of the output buffer:01Hex Command designator 02Hex02Hex/03Hex Start address 14Hex / 00Hex04Hex/05Hex No. of bytes 10Hex / 00Hex00Hex/07Hex CT-Bit to 1 (64 Byte block size),set AV-Bit00Hex/07Hex Set AA-Bit, invert TO-Bit01...06Hex Enter the first 6 data bytes00Hex/07Hex Invert TI-Bit01...06Hex Copy the first 6 data bytes      Process subaddress of the input buffer:00Hex/07Hex Invert TO-Bit01...06Hex Enter the second 6 data bytes00Hex/07Hex Invert TI-Bit01...06Hex Copy the second 6 data bytes      Process subaddress of the input buffer:00Hex/07Hex Invert TO-Bit01...04Hex Enter the remaining 4 data bytes00Hex/07Hex Invert TI-Bit01...04Hex Copy the remaining 4 data bytes     Process subaddress of the input buffer:00Hex/07Hex Set AE-Bit00Hex/07Hex Reset AV-Bit 00Hex/07Hex Reset AA-Bit and AE-BitFunction DescriptionExamples for protocol sequence
4141EExample No. 8Address assignmentfor the Auto-ReadfunctionFor configuring withdouble bit headerand 8-byte buffersize!Programming start address 75 (data carrier type with 64 byte block size):01Hex Command designator 07Hex02Hex Start address Low Byte 4B Hex03Hex Start address High Byte 00 Hex00Hex/07Hex CT-Bit to 1 (64 Byte block size),set AV-Bit00Hex/07Hex Set AA-Bit and AE-BitTo ensure correct data output, use command identifier 07Hex for each distributed buffer Head 1and/or Head 2.If the Auto-Read function is not activated, the processor runs in standard mode and sendsstarting with data carrier address 0 until the buffer is filled, but a maximum of 30 bytes fordouble bit header or 31 bytes for a single bit header.☞Host:1.) Process subaddresses of the output buffer in theorder shown:BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer:3.) Process subaddresses of the output buffer: 4.) Process subaddresses of the input buffer:00Hex/07Hex Reset AV-Bit 00Hex/07Hex Reset AA-Bit and AE-BitFunction DescriptionExamples for protocol sequenceS60_2-019_828318_0303-e mit CRC.p654242 EExample No. 9Store Mixed DataAccess programFor configuring withdouble bit headerand 8-byte buffersize!Storing a program for reading out 3 data records:1st data record Start address  5 Number of bytes 72nd data record Start address  75 Number of bytes 33rd data record Start address  312 Number of bytes 17Total number of bytes exchanged in the operation: 27 bytesAll 104 bytes are written for the programming.Host:1.) Process subaddresses of the output buffer in theorder shown:Host:2.) Process subaddresses of the input buffer:01Hex Command designator 06Hex02Hex Program  number 01Hex00Hex/07Hex CT-Bit to  1 (64 bytes block size),set AV-Bit00Hex/07Hex Set AA-Bit, invert TO-Bit3.) Process subaddresses of the output buffer: 4.) Process subaddresses of the input buffer:01Hex 1st start address (Low Byte) 05Hex02Hex (High Byte) 00Hex03Hex 1st number of bytes (Low Byte) 07Hex04Hex (High Byte) 00Hex05Hex 2nd start address (Low Byte) 4BHex06Hex (High Byte) 00Hex00Hex/07Hex Invert TI-Bit00Hex/07Hex Invert TO-BitContinued on next  .Function DescriptionExamples for protocol sequence
4343EExample No. 9Store Mixed DataAccess program(continued)For configuring withdouble bit headerand 8-byte buffersize!5.) Process subaddresses of the output buffer: 6.) Process subaddresses of the input buffer:01Hex02Hex2nd number ofbytes(Low Byte) 03Hex(High Byte) 00Hex03Hex 3rd start address (Low Byte)  38Hex04Hex (High Byte) 01Hex05Hex 3rd number ofbytes(Low Byte) 11Hex06Hex (High Byte) 00Hex00Hex/07Hex Invert TI-Bit00Hex/07Hex Invert TO-Bit7.) Process subaddresses of the output buffer: 8.) Process subaddresses of the input buffer:01Hex/02Hex Terminator FFHex/FFHex03Hex/04Hex (not used) FFHex/FFHex05Hex/06Hex (not used) FFHex/FFHex00Hex/07Hex Invert TI-Bit00Hex/07Hex Invert TO-BitFill all unused start addresses and number of bytes with FFHex! Continued on next  .Function DescriptionExamples for protocol sequenceBIS S-60_2 Identification System:Host:S60_2-019_828318_0303-e mit CRC.p654444 E00Hex/07Hex Reset AV-Bit 00Hex/07Hex Reset AA-Bit and AE-Bit35.)Process subaddresses of the output buffer: 36.)Process subaddresses of the input buffer:01Hex/02Hex Terminator FFHex/FFHex03Hex/04Hex (not used) FFHex/FFHex05Hex/06Hex (not used) FFHex/FFHex00Hex/07Hex Invert TI-Bit00Hex/07Hex Set AE-Bit37.)Process subaddresses of the output buffer: 38.)Process subaddresses of the input buffer:We recommend that you carefully document which parameters are used for start addresses andnumber of bytes for writing/reading the desired data records.The data are sequenced in the exact order specified in the program.☞Example No. 9Store Mixed DataAccess program(continued)For configuring withdouble bit headerand 8-byte buffersize!Function DescriptionExamples for protocol sequenceBIS S-60_2 Identification System:Host:
4545EExample No. 10Use Mixed DataAccess programFor configuring withdouble bit headerand 8-byte buffersize!Read data carrier using Program No. 1 (data carrier type with 64 byte block size):01Hex Command designator 21Hex02Hex Program  number  01Hex00Hex/07Hex CT-Bit to 1 (64 byte block size),set AV-Bit00Hex/07Hex Set AA-Bit01...06Hex Enter first 6 bytes of data00Hex/07Hex Set AE-Bit01...06Hex Enter the second 6 data bytes00Hex/07Hex Invert TO-Bit01...06Hex Copy first 6 data bytes      Process subaddress of the output buffer:00Hex/07Hex Invert TI-Bit... A total of 27 bytes of data are exchanged.For the remainder of the procedure, see Example 2 on   34.Dynamic mode is turned off while the Mixed Data Access program is being run.☞Host:1.) Process subaddresses of the output buffer in theorder shown:BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer in theorder shown:3.) Process subaddresses of the input buffer: 4.) Process subaddresses of the output buffer:Function DescriptionExamples for protocol sequenceS60_2-019_828318_0303-e mit CRC.p654646 EExample No. 11Use Mixed DataAccess programFor configuring withdouble bit headerand 8-byte buffersize!Write data carrier using Program No. 1 (data carrier type with 64 byte block size):01Hex Command designator 21Hex02Hex Program  number  01Hex00Hex/07Hex CT-Bit to 1 (64 byte block size),set AV-Bit... A total of 27 bytes of data are exchanged.For the remainder of the procedure, see Example 7 on   40.Dynamic mode is turned off while the Mixed Data Access program is being run.☞Host:1.) Process subaddresses of the output buffer in theorder shown:BIS S-60_2 Identification System:2.) Process subaddresses of the input buffer in theorder shown:3.) Process subaddresses of the input buffer: 4.) Process subaddresses of the input buffer:Function DescriptionExamples for protocol sequence00Hex/07Hex Set AA-Bit01...06Hex Enter first 6 bytes of data00Hex/07Hex Set AE-Bit01...06Hex Enter the second 6 data bytes00Hex/07Hex Invert TO-Bit01...06Hex Copy first 6 data bytes      Process subaddress of the output buffer:00Hex/07Hex Invert TI-Bit
4747EExample No. 12 Put the relevant read/write head into ground state:Both read/write heads can be independently set to the ground state.Host:1.) Process subaddresses of the output buffer:BIS S-60_2 Identification System:2.) Go to ground state;Process subaddresses of the input buffer:3.) Process subaddresses of the output buffer: 4.) Process subaddresses of the input buffer:00Hex/07Hex Set GR-Bit 00Hex/07Hex Reset BB-Bit00Hex/07Hex Reset GR-Bit 00Hex/07Hex Set BB-BitFunction DescriptionExamples for protocol sequenceS60_2-019_828318_0303-e mit CRC.p654848 ERead times fromData carrier toprocessor instatic mode(parametering:2nd byte, bit 5 = 0,without CRC-16 datacheck)The indicated times apply after the Data carrier has been recognized. If the Data carrier is notyet recognized, an additional 45 ms for building the required energy field until the Data carrier isrecognized must be added.For double read and compare:Data carrier with 64 byte blocksNo. of bytes Read time [ms]from 0 to 63 29for each additional64 bytes add 31from 0 to 2047 = 990Including readback and compare:Data carrier with 64 byte blocksNo. of bytes Write time [ms]from 0 to 63 31 + n * 1.5for 64 bytes or more y * 31 + n * 1.5n = number of contiguous bytes to writey = number of blocks to be processedExample: 100 bytes from address 130 have to be written. Data carrier with 64 bytes per block.The blocks 3 and 4 will be processed since the start address 130 is in block 3 and the endaddress 229 in block 4.t = 2 * 31 + 100 * 1.5 = 212 msWrite times fromprocessor to Datacarrier in staticmode(parametering:2nd byte, bit 5 = 0,without CRC-16 datacheck)Read/Write Times☞
4949ERead times fromData carrier toprocessor indynamic mode(parametering:2nd byte, bit 5 = 1,without CRC-16 datacheck)Read times within the 1st block for dual read and compare:The indicated times apply after the Data carrier has been recognized. If the Data carrier is notyet recognized, an additional 45 ms for building the required energy field until the Data carrier isrecognized must be added.Formula: t = (m + 1) * 0.5 msExample: Read 11 bytes starting at address 9, i.e. the highest address to be read is 19.This corresponds to 10 ms.Read/Write Timesm = highest address to be readData carrier with 64 byte blocksNo. of bytes Read time [ms]from 0 to 3 2for each additionalbyte add 0.5from 0 to 63 29S60_2-019_828318_0303-e mit CRC.p655050 EFunction displayson BIS S-60_2The BIS S-60_2 uses the three side-mounted LED's to indicate important conditions of theidentification system.LED Status MeaningReady / red Supply voltage OK; no hardware error,Bus active however, bus not active.green Supply voltage / hardware OK,bus active.CT1 present / green Data carrier read/write-ready at read/write head 1. operating yellow Read/write command at read/write head 1 inprocess.yellow flashes Cable break to read/write head or not connected.[f ≈ 2 Hz]yellow flashes faster Communication with R/W Head 1 is faulty[f ≈ 4 Hz] or R/W Head 1 is defective.off No data carrier in read/write range ofread/write head 1.CT2 present / green Data carrier read/write-ready at read/write head 2.operating yellow Read/write command at read/write head 2 inprocess.yellow flashes Cable break to read/write head or not connected.[f ≈ 2 Hz]yellow flashes faster Communication with R/W Head 2 is faulty[f ≈ 4 Hz] or R/W Head 2 is defective.off No data carrier in read/write range ofread/write head 2.If all three LED's are synchronously flashing, it means a hardware error. Return the unit to the factory.LED Display
5151EBIS S-6002Mounting the ProcessorThe processor is attached using  4 M4 screws.Mounting theBIS S-6002processorX1 X2 X3Head1Head212.512.816.8150904.371.645.5~9.5~19.618.521.582BIS S-6002 dimensionsS60_2-019_828318_0303-e mit CRC.p655252 EX1 X2 X3Head1Head2BIS S-6002Opening the Processor / Interface informationConnection for read/write head 2 Connection for read/write head 1BIS S-6002interfacesConnection locationsand namesTo set the PROFIBUS-DP address, activate or deactivate the internal termination resistor, or tochange the EEPROM, you must open up the BIS S-6002 processor.Remove the 4 screws on the BIS S-6002 and lift off the cover. See the following   for addi-tional information.Opening theBIS S-6002processorBe sure beforeopening that theunit is disconnectedfrom power.Mounting of the cover(4 screws),max. permissible tighteningtorque: 0.15 NmPROFIBUS-DPOutputPROFIBUS-DPInputSupply voltagedigital inputFunctionground FE
5353EBIS S-6002Interface Information / Wiring DiagramsPROFIBUS-DP Ensure that the device is turned off.To insert BIS S-6002 processor into the serial PROFIBUS-DP, there are the terminal X2 for thePROFIBUS input and the terminal X3 for the PROFIBUS output....12341234ABVPDGNDABVPDGNDABABBus station BIS S-6002Bus station Bus station5-pin femaleX3, output5-pin maleX2, inputOutput InputConnect shieldto connectorhousingConnect shieldto connectorhousinggreenred redgreenS60_2-019_828318_0303-e mit CRC.p655454 EPROFIBUS-DPTerminating resistorBIS S-6002Interface Information / Wiring DiagramsIn case the processor is the last bus module in the chain, then only the incoming cable is con-nected to X2.The last bus module must terminate the bus with a resistor. In the case of the BIS S-6002, thiscan be realized in two different ways:1. In the device by closing the switch S2(factory standard is open)Note: Output terminal must be closedoff with a screw cover in order tomaintain the enclosure rating.2. Outside the device in a connector to socket X3. In this case the signal VP (pin 1) andDGND (pin 3) should be brought out in order to connect the external resistor to the poten-tial.Note: In this case S2 has to be open!To insert BIS S-6002 processor into the serial PROFIBUS and to connect the supply voltageand the digital input, the cables have to be connected to the terminals of the processor. Theread/write heads have to be connected to the terminals of Head 1 and Head 2.S2 Terminating resistorclosed activeopen passiveWiring
5555EX1 X2 X3Head1Head2Wiring diagram forBIS S-6002processorPROFIBUS-DPSupplyvoltage,digital inputFunctionground FEBIS S-6002Interface Information / Wiring Diagrams12354X1, supply voltage, digital inputX2, PROFIBUS-input (male)12354n.c. = do notconnectX3, PROFIBUS-output (female)21453Pin Function1VP2A3DGND4B5n.c.Pin Function1+Vs2IN3Vs4+IN5n.c.Connection for Read/Write Head 2The function-ground connector FE should beconnected to earth directly or through a RCcombination depending on the system (poten-tial counterpoise).When connecting the bus leads, make surethat the shield has proper connection to con-nector housing.Terminal locationand designationConnection forRead/Write Head 1S60_2-019_828318_0303-e mit CRC.p655656 EX1 X2 X3Head1Head21on243on onon67on on5on8ononon onHead 1Head 2S113246 578911121416 15 13 10S21719 18Changing theEEPROM in theBIS S-6002processorLocation of theEEPROMBIS S-6002Changing the EEPROMTo replace the EEPROM, open up the processor as described on   52.Be sure before opening that the unit is discon-nected from power..To avoid damaging the EEPROM, please ob-serve the requirements for handling electrostati-cally sensitive components.The EEPROM is replaced by unplugging andplugging back into the socket.
5757EDimensions,WeightHousing PlasticDimensions ca. 179 x 90 x 45,5 mmWeight ca. 500 gAmbient temperature 0 °C to + 60 °CEnclosure rating IP 65 (when connected)Integral connector X1 for VS, IN 5-pin (male)Integral connector X2 for PROFIBUS-DP Input 5-pin (male)Integral connector X3 for PROFIBUS-DP Output 5-pin (female)Supply voltage VS, input DC 24 V ± 10 %Ripple ≤ 10 %Current draw ≤ 600 mAPROFIBUS-DP slave Terminal block, electrically isolatedDigital Input (+IN, –IN) Optocoupler isolatedControl voltage active 4 V to 40 VControl voltage inactive 1.5 V to –40 VInput current at 24 V 11 mADelay time, typ. 5 msRead/Write Head 2 x connectors 8-pin (female)for all read/write heads BIS S-3_ _with 8-pin connector (male)OperatingConditionsConnectionsEnclosure RatingElectricalConnectionsBIS S-6002Technical DataS60_2-019_828318_0303-e mit CRC.p655858 EBIS S-6002Technical DataFunction Displays BIS operating messages:Ready / Bus active LED red / greenCT1 present / operating LED green / yellowCT2 present / operating LED green / yellowThe CE-Mark is your assurance that our products are in conformance with theEC-Guideline89/336/EEC (EMC-Guideline)and the EMC Law. Testing in our EMC Laboratory, which is accredited by the DATech forTesting of Electromagnetic Compatibility, has confirmed that Balluff products meet theEMC requirements of the Generic StandardEN 50081-2 (Emission) and EN 50082-2 (Noise Immunity).
5959EBalluff Identification SystemType S Read/Write SystemHardware Type6002 = plastic housing, PROFIBUS-DPSoftware-Type019 = PROFIBUS-DPRead/Write Head, connection050 = with two connections for  read/write heads BIS S-3_ _Interface03 = bus versionsUser ConnectionST11 = Connector version X1, X2, X3 (2× male 5-pin, 1× female 5-pin)Ordering CodeBIS S-6002Ordering InformationBIS S-6002-019-050-03-ST11S60_2-019_828318_0303-e mit CRC.p656060 EType Ordering codeConnector for X1 BKS-S 79-00for X2 BKS-S103-00for X3 BKS-S105-00Termination for X3 BKS-S105-R01Protective cap for Head_, X3 BKS 12-CS-00Connector for  Head 1, Head 2 BKS-S117-00no cableConnection cable for Head 1, Head 2; 25 m BIS-S-501-PU1-25one end with molded-in connector,one end for user-assembled connector,length as desired, max. 25 mConnection cable for Head 1, Head 2; 25 m BIS-S-502-PU1-25one end with molded-in right-angle connector,one end for user-assembled connector,length as desired, max. 25 mAccessory(optional,not included)BIS S-6002Ordering Information
6161EMounting theBIS S-6022processorBIS S-6022Mounting ProcessorThe processor is mounted using 4 M4 screws.M4ca. 156310060 ca. 20ca. 15145160Head 2   Head 1X1X4X2X3S60_2-019_828318_0303-e mit CRC.p656262 EHead 2   Head 1X1X2X3X4Connection for read/write head 2 Connection for read/write head 1BIS S-6022interfacesConnection locationsand names Function ground FETo set the PROFIBUS-DP address, activate or deactivate, or to change the EEPROM, youmust open up the BIS S-6022 processor.Remove the 4 screws on the BIS S-6022 and lift off the cover. See the following   for addi-tional information.Opening theBIS S-6022processorBIS S-6022Opening the processor / Interface informationPROFIBUS-DPInputPROFIBUS-DPOutputSupply voltage,digital inputBe sure beforeopening that the unitis disconnectedfrom power.Mounting of the cover(4 screws),max. permissible tighteningtorque: 0.15 NmService interface
6363EBIS S-6022Interface Information / Wiring DiagramsPROFIBUS-DP Ensure that the device is turned off.To insert BIS S-6022 processor into the serial PROFIBUS-DP, there are the terminal X2 for thePROFIBUS input and the terminal X3 for the PROFIBUS output....12341234ABVPDGNDABVPDGNDABABBus station BIS S-6022Bus station Bus station5-pin femaleX3, output5-pin maleX2, inputOutput InputConnect shieldto connectorhousingConnect shieldto connectorhousinggreenred redgreenS60_2-019_828318_0303-e mit CRC.p656464 EBIS S-6022Interface Information / Wiring DiagramsPROFIBUS-DPTerminating resistorIn case the processor is the last bus module in the chain, then only the incoming cable is con-nected to X2.The last bus module must terminate the bus with a resistor. In the case of the BIS S-6002, thiscan be realized in two different ways:1. In the device by closing the switch S2(factory standard is open)Note: Output terminal must be closedoff with a screw cover in order tomaintain the enclosure rating.2. Outside the device in a connector to socket X3. In this case the signal VP (pin 1) andDGND (pin 3) should be brought out in order to connect the external resistor to the poten-tial.Note: In this case S2 has to be open!To insert BIS S-6002 processor into the serial PROFIBUS and to connect the supply voltageand the digital input, the cables have to be connected to the terminals of the processor. Theread/write heads have to be connected to the terminals of Head 1 and Head 2.S2 Terminating resistorclosed activeopen passiveWiring
6565EBIS S-6022Interface Information / Wiring DiagramsWiring diagram forBIS S-6022processorX1, supply voltage, digital inputn.c. = do notconnect!The function-ground connector FE should be connected to earth  directly orthrough a RC combination depending on the system (potential counterpoise).When connecting the bus leads, make sure that the shield has proper connectionto connector housing.12354X2, PROFIBUSinput (male)12354X3, PROFIBUSoutput (female)21453Pin Function1VP2A3DGND4B5n.c.Pin Function1+Vs2IN3Vs4+IN5n.c.Functionground FE☞1234X4, Service interfacePin Function1n.c.2TxD3GND4RxDHead 2   Head 1X1X2X3X41on243on onon67on on5on8ononon onHead 1Head 2S113246 578911121416 15 13 10S21719 18S60_2-019_828318_0303-e mit CRC.p656666 EChanging theEEPROM in theBIS S-6022processorBIS S-6022Changing the EEPROMTo change the EEPROM, open the processor as described on   62.Be sure before opening that the unit isdisconnected from power.To avoid damaging the EEPROM, pleaseobserve the requirements for handlingelectrostatically sensitive components.The EEPROM is replaced by unpluggingand plugging back into the socket.Location of theEEPROMHead 2   Head 1X1X2X3X41on243on onon67on on5on8ononon onHead 1Head 2S113246 578911121416 15 13 10S21719 18
6767EDimensions, weight Housing MetalDimensions 190 x 120 x 60 mmWeight 820 gAmbient temperature 0 °C to +60 °CProtection class IP 65 (when connected)Integral connector X1 for VS,  +IN 5-pin (male)Integral connector X2 for PROFIBUS-DP input 5-pin (male)Integral connector X3 for PROFIBUS-DP output 5-pin (female)Integral connector X4 for Service interface 4-pin (male)Supply voltage VSDC 24 V ± 10 %Ripple ≤ 10 %Current draw ≤ 600 mADigital input +IN Optocoupler isolatedControl voltage active 4 V to 40 VControl voltage inactive 1.5 V to –40 VInput current at 24 V 11 mADelay time, typ. 5 msPROFIBUS-DP, Connector X2, X3 serial interface for PROFIBUS stationsHead 1, Head 2, Read/Write Head via 2 x connectors 8-pin connector (female)for all read/write heads BIS S-3_ _with 8-pin connector (male)Service interface X4 RS 232BIS S-6022Technical DataOperating conditionsEnclosureElectricalconnectionsConnectionsS60_2-019_828318_0303-e mit CRC.p656868 EBIS S-6022Technical DataFunction displaysThe CE-Mark is your assurance that our products are in conformance with theEC-Guideline89/336/EEC (EMC-Guideline)and the EMC Law. Testing in our EMC Laboratory, which is accredited by the DATech forTesting of Electromagnetic Compatibility, has confirmed that Balluff products meet theEMC requirements of the Generic StandardEN 50081-2 (Emission) and EN 50082-2 (Noise Immunity).BIS operating messages:Ready / Bus active LED red / greenCT1 present / operating LED green / yellowCT2 present / operating LED green / yellow
6969EBIS S-6022-019-050-03-ST14Balluff Identification SystemType S Read/Write SystemHardware Type6022 = metal housing, PROFIBUS-DPSoftware Type019 = PROFIBUS-DPVersion050 = with two connections for read/write heads BIS S-3_ _Interface03 = bus versionsUser ConnectionST14 = Connector version X1, X2, X3, X4 (male: 2× 5-pin, 1× 4-pin, female: 1× 5-pin)Ordering codeBIS S-6022Ordering InformationS60_2-019_828318_0303-e mit CRC.p657070 EType Ordering codeMating connector for X1 BKS-S 79-00for X2 BKS-S103-00for X3 BKS-S105-00for X4 BKS-S 10-3Termination for X3 BKS-S105-R01Protective cap for Head_, X3 BKS 12-CS-00Protective cap for X4 BES 12-SM-2Connector for  Head 1, Head 2 BKS-S117-00no cableConnection cable for Head 1, Head 2; 25 m BIS-S-501-PU1-25one end with molded-in connector,one end for user-assembled connector,length as desired, max. 25 mConnection cable for Head 1, Head 2; 25 m BIS-S-502-PU1-25one end with molded-in right-angle connector,one end for user-assembled connector,length as desired, max. 25 mBIS S-6022Ordering InformationAccessory(optional,not included)
7171EAppendix, ASCII TableD eci-mal H ex C ontrolC ode ASC II D eci-mal H ex C ontrolC ode ASC II D eci-mal H ex A SC II D eci-mal H ex A SC II D eci-mal H ex A SC II D eci-mal H ex A SC II0 00 Ctrl @ NUL 22 16 Ctrl V SYN 44 2C , 65 41 A 86 56 V 107 6B k1 01 Ctrl A SOH 23 17 Ctrl W ETB 45 2D - 66 42 B 87 57 W 108 6C l2 02 Ctrl B STX 24 18 Ctrl X CAN 46 2E . 67 43 C 88 58 X 109 6D m3 03 Ctrl C ETX 25 19 Ctrl Y EM 47 2F / 68 44 D 89 59 Y 110 6E n4 04 Ctrl D EOT 26 1A Ctrl Z SUB 48 30 0 69 45 E 90 5A Z 111 6F o5 05 Ctrl E ENQ 27 1B Ctrl [ ESC 49 31 1 70 46 F 91 5B [ 112 70 p6 06 Ctrl F ACK 28 1C Ctrl \ FS 50 32 2 71 47 G 92 5C \ 113 71 q7 07 Ctrl G BEL 29 1D Ctrl ] GS 51 33 3 72 48 H 93 5D ] 114 72 r8 08 Ctrl H BS 30 1E Ctrl ^ RS 52 34 4 73 49 I 94 5E ^ 115 73 s9 09 Ctrl I HT 31 1F Ctrl _ US 53 35 5 74 4A J 95 5F _ 116 74 t10 0A Ctrl J LF 32 20 SP 54 36 6 75 4B K 96 60 ` 117 75 u11 0B Ctrl K VT 33 21 ! 55 37 7 76 4C L 97 61 a 118 76 v12 0C Ctrl L FF 34 22 " 56 38 8 77 4D M 98 62 b 119 77 w13 0D Ctrl M CR 35 23 # 57 39 9 78 4E N 99 63 c 120 78 x14 0E Ctrl N SO 36 24 $ 58 3A : 79 4F O 100 64 d 121 79 y15 0F Ctrl O SI 37 25 % 59 3B ; 80 50 P 101 65 e 122 7A z16 10 Ctrl P DLE 38 26 & 60 3C < 81 51 Q 102 66 f 123 7B {17 11 Ctrl Q DC1 39 27 ' 61 3D = 82 52 R 103 67 g 124 7C |18 12 Ctrl R DC2 40 28 ( 62 3E > 83 53 S 104 68 h 125 7D }19 13 Ctrl S DC3 41 29 ) 63 3F ? 84 54 T 105 69 i 126 7E ~20 14 Ctrl T DC4 42 2A * 64 40 @ 85 55 U 106 6A j 127 7F DEL21 15 Ctrl U NAK 43 2B +S60_2-019_828318_0303-e mit CRC.p65

Navigation menu