Balluff BISM4XX00 BIS M-400-007-001-00-S115 User Manual M 4 007 S115 854304 0910 en p65

Balluff Inc BIS M-400-007-001-00-S115 M 4 007 S115 854304 0910 en p65

Contents

User Manual 1 of 2.pdf

1Identification Systems BISCompact ProcessorBIS M-4_ _-007-...-S115ManualDeutsch – bitte wenden!M-4_ _-007-S115_854304_0910_en.p652No. 854 304 D/E • Edition 0910Subject to modification.Replaces edition 0706.Balluff GmbHSchurwaldstrasse 973765 Neuhausen a.d.F.GermanyPhone +49 7158 173-0Fax +49 7158 5010balluff@balluff.de www.balluff.com
33englishContentsSafety Notes ............................................................................................................................... 4Introduction BIS M-4_ _ Identification System ...................................................................... 5/6Basic knowledge for using the BIS M-4_ _ Processor ............................................................ 7Configuration .........................................................................................................................8-16Programming Information .................................................................................................... 17-29Error Numbers ..................................................................................................................... 30/31Read/Write Times .................................................................................................................... 32Installation RS232 ............................................................................................................... 33-42Interface Information RS232 .................................................................................................... 43Connection Diagrams RS232................................................................................................... 44Installation RS422 .................................................................................................................... 45Interface Information RS422 .................................................................................................... 46Technical  Data .......................................................................................................................... 47Ordering Information ................................................................................................................ 48Accessories .............................................................................................................................. 49Symbols / Abbreviations ......................................................................................................... 50Appendix, ASCII Table ............................................................................................................. 51M-4_ _-007-S115_854304_0910_en.p654english4Safety NotesBIS M-4_ _ processor together with the other BIS M system components comprise theIdentification System and may only be used for this purpose in industrial applicationscorresponding to Class A of the EMC Directive.Installation and operation are permitted by trained specialists only. Unauthorized modifica-tions and improper use will result in loss of the right to make warranty and liability claims.When installing the processor, follow exactly the connection diagrams provided later in thisdocument. Take special care when connecting the processor to external controllers, espe-cially with respect to the selection and polarity of the connections including the powersupply.Only approved power supplies may be used. For specific information, see the TechnicalData section.When deploying the identification system, all relevant safety regulations must be followed.In particular, measures must be taken to ensure that any defect in the identification systemdoes not result in a hazard to persons or equipment.This includes maintaining the permissible ambient conditions and regular inspection forproper function of the identification system and all the associated components.At the first sign that the identification system is not working properly, it should be takenout of service and guarded against unauthorized use.This document applies to the processor BIS M-40_-007-00_-0_-S115 (Software versionV1.4, Hardware version V2.0 and higher).ScopeMalfunctionInstallation andoperationDeployment andinspectionProper use andoperation
55englishIntroductionBIS M-4_ _ Identification SystemPrincipleThis manual is intended to guide the user in installing and commissioning the componentsin the BIS M-4_ _ identification system, so that start-up time is reduced to an absoluteminimum.The BIS M-4_ _ identification system belongs to the category ofnon-contacting systems,which can both read and write.This dual function permits uses where not only information permanently stored in the datacarrier can be transported, but also current information can be collected and transported.The main areas of application include– in production for controlling material flow(e.g., for part-specific processes),in workpiece transport using conveying systems,for obtaining safety-relevant data,– in process materials organization.The processor and the read head form a compact unit which is contained in a housing.The data carrier represents an independent unit. It does not require line-fed power andreceives its energy from the integrated read head in the BIS M-4_ _ identification system.The read head continuously sends a carrier signal which supplies the data carrier as soonas the latter has reached the required distance from the read head. The read/write processtakes place during this phase. This may be static or dynamic. The data are output seriallyand made available to the host system. These host systems may be:– a control computer (e.g., industrial PC) having a serial port, or– a programmable logic controller (PLC).ApplicationsSystem componentfunctionM-4_ _-007-S115_854304_0910_en.p656english6IntroductionBIS M-4_ _ Identification SystemSystemcomponentsThe main components of the BIS M-4_ _ identification system are–the processor with integrated read head, and–the data carrier(s).Schematicrepresentation of anidentification system(example)Connections tohost systemConnections tohost systemBIS M-400...BIS M-401...Data carriers BIS M-1..
77englishBIS M-4_ _ ProcessorBasic knowledge for applicationData integrity withCRC_16When sending data between the read/write head and the data carrier a procedure isrequired for recognizing whether the data were correctly read or written.The processor is supplied with standard Balluff procedure of double reading and compar-ing. 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 atany time or location.Advantages of CRC_16 Advantages of double readingData checking even during the non-active phase No bytes on the data carrier need to be(CT outside read/write head zone). reserved for storing a check code.Shorter read times since each page is read only Shorter write times since no CRC needsonce. to be written.Since both variations have their advantages depending on the application, the user is freeto select which method of data checking he wishes to use (see Configuration   8-16).To use the CRC check method, the data carriers must be initialized. You use either datacarriers with the data map factory configured (all data are 0), or you must use the proces-sor to write the special initialization command 'Z' to the data carriers.It is not permitted to operate the system using both check procedures!M-4_ _-007-S115_854304_0910_en.p658english8ConfigurationBefore programming, the processor configuration must be carried out, in case the factorysettings will not be used.Configuration is done using a computer and the Balluff software Configuration software BIS,and it is stored in the processor. It may be overwritten at any time. The configuration can bestored in a file, making it accessible when required.☞No data carrier is allowed in front of the read head while configuring the processor.
99englishThe first screen shows the parameters baud rate, number of data and stop bits, and paritytype for the serial interface selected. The graphic shows the factory settings. The othersettings are carried out in the corresponding masks which are illustrated in the following  .ConfigurationInterfaceBIS M-40.-007-...M-4_ _-007-S115_854304_0910_en.p6510english10ParametersBIS M-40.-007-...Configuration
1111englishOperation with blockcheck BCC is factory set. For host devices which require a terminator,the additional use of Carriage Return 'CR' or Line Feed with Carriage Return 'LF CR' is madeavailable. The following page contains examples of the various possibilities.Examples forterminating telegrams:Protocol TypeConfigurationProtocol Variants Telegram with command,Address and no. of bytesEnd Acknow-ledgeTe r m i na t o rwith blockcheck BCC 'R 0000 0001' BCC <ACK> '0'with Carriage Return 'R 0000 0001' 'CR' <ACK> '0'with TerminatorCarriage Return'R 0000 0001' 'CR' <ACK> '0' 'CR'with TerminatorCarriage return and Line feed'R 0000 0001' 'LF CR' <ACK> '0' 'LF CR'M-4_ _-007-S115_854304_0910_en.p6512english12Configuration– Immediately send CT dataEach time another data carrier is detected, it is read according to the configuration and thedata are output. This setting eliminates the read command in dialog mode.– Dynamic ModeThis function switches off the error-message "No data carrier present", i.e.:-> In dynamic mode, a read or write telegram is stored until a data carrier enters theworking range of the corresponding read/write head.-> Without dynamic mode, a read or write telegram is acknowledged with an errormessage (<NAK> '1') if there is no data carrier present in front of a read/write head;the processor goes into the ground state.– Send power-on messageIf this function is activated, the processor sends the device name and software versionas soon as power is turned on.– Serial number when CT Pres.If the function "Type and serial number when CT pres." is parameterized, the number ofthe data carrier type followed by the 8-byte unique serial number (at Mifare 4 bytes+ 4 bytes '0Hex') is sent.Parameters
1313englishParameters(continued)ConfigurationRead and send data carrier data without direct command:The specified data amount (number of bytes beginning at start address) is read from the newlydetected data carrier.After reading, the data are automatically output.If desired, a BCC and/or 1 or 2 freely definable terminators may be sent also.M-4_ _-007-S115_854304_0910_en.p6514english14Parameters(continued)Configuration– CRC_16 initializationTo be able to use the CRC_16 check, the data carrier must first be initialized with the com-mand identifier Z (see   28). The CRC_16 initialization is used like a normal write job. Thelatter is rejected (with an error message) if the processor recognizes that the data carrier doesnot contain the correct CRC_16 checksum. Data carriers as shipped from the factory (all dataare 0) can immediately be written with CRC-checked data.If CRC_16 data checking is activated, a special error message is output to the interfacewhenever a CRC_16 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.
1515englishConfigurationIf CRC_16 was parameterized and a data carrier is recognized whose CRC_16 checksum isincorrect, the read data are not output. The CT present LED comes on and the digital output isset - the data carrier can be processed using the initialization command (Z).The checksum is written to the data carrier as a 2-byte datum for each CRC block (corre-sponds to 16 bytes). 2 bytes are used (lost) for each CRC block, i.e., the CRC block containsonly 14 bytes of user data. This means that the actual usable number of bytes is reduced:CRC_16 andCodetag PresentCRC_16MifareBalluff data carrier type Manufacture Name Memory capacity Usable bytes using CRC Memory typeBIS M-1_ _-01 Philips Mifare Classic 752 Byte 658 Byte EEPROMISO15693Balluff data carrier type Manufacture Name Memory capacity Usable bytes using CRC Memory typeBIS M-1_ _-02 Fujitsu MB89R118 2000 Byte 1750 Byte FRAMBIS M-1_ _-031Philips SL2ICS20 112 Byte 98 Byte EEPROMBIS M-1_ _-041Texas Inst. TAG-IT Plus 256 Byte 224 Byte EEPROMBIS M-1_ _-051Infineon SRF55V02P 224 Byte 196 Byte EEPROMBIS M-1_ _-061EM EM4135 288 Byte 252 Byte EEPROMBIS M-1_ _-071Infineon SRF55V10P 992 Byte 868 Byte EEPROMSupported datacarriers andmemory capacity1 on requestM-4_ _-007-S115_854304_0910_en.p6516english16ConfigurationSelect the data carrier type, you want to process:- ALL TYPES- MIFARE- ISO 15693ALL TYPES: All data carriers supported by Balluff can be processed.MIFARE: All  Mifare data carriers supported by Balluff can be processed.ISO 15693: All ISO15693 data carriers supported by Balluff can be processed.(See   15 "Supported data carriers and memory capacity".)Data carrier type
1717englishThe preceding sections describe basic telegram sequence, and configuration and wiring ofthe interfaces. What now follows is information about the proper construction of the telegramsthemselves.Specific telegrams exist in the BIS M Identification System for particular tasks. Theyalways begin with the command which is associated with the telegram type.'L' Read the data carrier with 2-byte reservation'P' Write to the data carrier with 2-byte reservation'C' Write a constant value to the data carrier with read/write select with2-byte reservation'R' Read the data carrier'W' Write to the data carrier'Q' Restart the processor (acknowledge)'Z' Initialize CRC_16 data check'U' Read data carrier ID and output with status byte.Please note:– Continuous querying on the interface is not permitted!Telegram types withtheir associatedcommands(ASCII characters)Programming InformationM-4_ _-007-S115_854304_0910_en.p6518english18Telegram Contents Start address and The start address (A3, A2, A1, A0) and the number of bytes to sendno. of bytes (L3, L2, L1, L0) are sent in decimal as ASCII characters. For the startaddress, the range 0000 to "memory capacity -1" can be used, and forthe number of bytes 0001 to "memory capacity".A3 ... L0 represent one ASCII character each.Please note: Start address + number of bytes may not exceed1024 bytes.Reserved The commands 'L' (read data carrier with L-command), 'P' (write todata carrier with P-command), 'C' (write to the data carrier withC-command) and 'Z' (initialize CRC_16 data check) cause the 2 bytesgiven after the address and the number of 8 bytes to be read/written tobe reserved with '1'.Acknowledge The acknowledgement <ACK> '0' is sent by the Identification System ifthe serially transmitted characters were recognized as correct and thereis a data carrier in the active zone of a read/write head. In the 'R'command, the <ACK> '0' is only sent if the data is ready for transmission.<NAK> + Error No.' is sent if an error was recognized or if there is nodata carrier in the active zone of a read/write head.Start <STX> starts the data transmission.Transmitted The data are transmitted code transparent (no data conversion).BytesProgramming Information
1919englishThe BCC block check is formed as an EXOR of the serially transmitted binary characters ofthe telegram block. Example: Read 128 bytes starting at address 13.The command line without BCC is: 'L  0013 0128 11'. The BCC is formed:'L = 0100 1100 EXOR0 = 0011 0000 EXOR0 = 0011 0000 EXOR1 = 0011 0001 EXOR3 = 0011 0011 EXOR0 = 0011 0000 EXOR1 = 0011 0001 EXOR2 = 0011 0010 EXOR8 = 0011 1000 EXOR1 = 0011 0010 EXOR1' = 0011 0000 EXORBlock check result:  BCC = 0100 0101 =  'E'If necessary the finish using block check BCC can be replaced with a special ASCII character.This is:– Carriage Return 'CR'For hosts which always require a terminator character, this must always be included in thetelegrams. Available are:– Carriage Return 'CR' or– Line Feed with Carriage Return 'LF CR'.The various protocol variants are represented on the following  .See also: Configuration starting on   8.BCC Block CheckVariants for finishwith BCC,TerminatorProgramming InformationM-4_ _-007-S115_854304_0910_en.p6520english20Description ofVarious ProtocolVariantsProgramming InformationThe respective positions for the additional terminator are shown in the tables in italics.Reference is now made to the command string 'L  0013 0128 11 E' with 'E' as BCC (seepreceding  ). This command string is here shown in its possible variants; also shown arethe various forms of acknowledgement with and without terminator:Command line from Acknowledge from BIS Acknowledge from BIShost system to BIS  for correct reception for incorrect receptionwith BCCbut no terminator No terminator No terminator'L  0013 0128 11 E' <ACK> '0' <NAK> '1'with 'CR' instead of BCC,no terminator No terminator No terminator'L  0013 0128 11 CR' <ACK> '0' <NAK> '1'no BCC,with terminator 'CR' with terminator 'CR' with terminator 'CR''L  0013 0128 11 CR' <ACK> '0 CR' <NAK> '1 CR'no BCC,with terminator 'LF CR' with terminator 'LF CR' with terminator 'LF CR''L  0013 0128 11 LF CR' <ACK> '0 LF CR' <NAK> '1 LF CR'For <NAK> with error number a '1' was used here (no data carrier present) as an error ex-ample.
2121englishValues inside apostrophes represent the respective character(s) in ASCII code.1) The command 'Quit' is not permitted at this point.2) Instead of block check BCC, depending on protocol variant either Carriage Return 'CR' or LIne Feed with Carriage Return may be used.3) <ACK> '0' is returned as acknowledgement if there is no error, or <NAK> + Error No. if an error occurs.4) For protocol variants which always require a terminator, either 'CR' or 'LF CR' must be inserted here.5) The number of bytes to send may not exceed 1024 bytes.Programming InformationRead from data carrier with command LWrite to data carrier with command PTask Data Flow Com-mandStart addressof first byte tobe sentNumber ofbytes to besentre-serv-edEnd2)Acknow-ledge3)Termi-nator4)Starttrans-missionTermi-nator4)Data (from startaddress to startaddress+ no. of bytes)End2)Acknow-ledge3)Termi-nator4)Read from hostsystem toBIS'L' A3 A2 A1 A0'0   0   0   0'tomemorycapacity -1L3 L2 L1 L0'0   0   0   1'tomemorycapacity 5)'1' '1'BCCorsee2)<STX> 'CR' or'LF CR'from BISto hostsystem<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'D1 D2 D3 ... Dn BCCorsee2)1) 1)Write from hostsystem toBIS'P' A3 A2 A1 A0'0   0   0   0'tomemorycapacity -1L3 L3 L1 L0'0   0   0   1'to'memorycapacity 5)'1' '1'BCCorsee2)<STX> D1 D2 D3 ... Dn BCCorsee2)from BISto hostsystem<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'1) 1)M-4_ _-007-S115_854304_0910_en.p6522english22-> Read 10 bytes starting at address 50 of the data carrier.The host  sends  'L  0 0 5 0  0 0 1 0   1 1 H' BCC (48Hex)Address of first byte to readNumber of bytes to readreservedThe BIS processor acknowledges with <ACK> '0'The host system gives the start command <STX>The BIS processor provides the data from the data carrier 1 2 3 4 5 6 7 8 9 0 '1' BCC (31Hex)-> Write 5 bytes starting at address 100 of the data carrier.The host sends 'P  0 1 0 0   0 0 0 5   1 1 L' BCC (54Hex)Address of first byte to writeNumber of bytes to writereservedThe BIS processor acknowledges with <ACK> '0'The host system gives the start command and data <STX> 1 2 3 4 5 '3' BCC (33Hex)The processor acknowledges with <ACK> '0'Values inside apostrophes represent the respective character(s) in ASCII code.Telegram examplefor   21:Write to data carrierwith command Pwith block check (BCC)Programming InformationTelegram examplefor   21:Read from datacarrier withcommand Lwith block check (BCC)
2323englishProgramming InformationWriting a constant value in the data carrier with command CThis command can be used to erase a data carrier data. One saves the time for the transmission of the write byte.Data within angle brackets are control characters.Values inside apostrophes represent the respective character(s) in ASCII code.1) The command 'Quit' is not permitted at this point.2) Instead of block check BCC, depending on protocol variant either Carriage Return 'CR' or LIne Feed with Carriage Return may be used.3) <ACK> '0' is returned as acknowledgement if there is no error, or <NAK> + 'Error No.' if an error occurs.4) For protocol variants which always require a terminator, either 'CR' or 'LF CR' must be inserted here.5) The number of bytes to send may not exceed 1024 bytes.Ta s k D a t a F l o w C o m-mandStart addressof first byte tobe sentNumber ofbytes to besentre-serv-edEnd2)Acknow-ledge3)Termi-nator4)Starttrans-missionTermi-nator4)Data (from startaddress to startaddress+ no. of bytes)End2)Acknow-ledge3)Termi-nator4)Write from hostsystem toBIS'C' A3 A2 A1 A0'0   0   0   0'tomemorycapacity -1L3 L3 L1 L0'0   0   0   1'tomemorycapacitity 5)'1' '1'BCCorsee2)<STX> D BCCorsee2)from BISto hostsystem<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'1) 1)M-4_ _-007-S115_854304_0910_en.p6524english24Programming Information-> Write 101 bytes of ASCII data value 0 (30Hex) starting at address 20 of the data carrier.The host sends 'C  0 0 2 0    0 1 0 1   1 1 A'  BCC (41Hex)Address of first byte to writeNumber of bytes to writereservedThe BIS processor acknowledges with <ACK> '0'The host system gives the start command and data <STX>  '0 2'   BCC (32Hex)The processor acknowledges with <ACK> '0'Data within angle brackets are control characters.Values inside apostrophes represent the respective character(s) in ASCII code.Telegram examplefor   23:Write to data carrierwith command Cwith block check (BCC)
2525englishProgramming InformationRead from Data carrier, Write to Data carrierValues inside apostrophes represent the respective character(s) in ASCII code.1) The command 'Quit' is not permitted at this point.2) Instead of block check BCC, depending on protocol variant either Carriage Return 'CR' or LIne Feed with Carriage Return may be used.3) <ACK> '0' is returned as acknowledgement if there is no error, or <NAK> + Error No. if an error occurs.4) For protocol variants which always require a terminator, either 'CR' or 'LF CR' must be inserted here.5) The number of bytes to send may not exceed 1024 bytes.Task Data Flow Com-mandStart addressof first byte tosendNumber ofbytes tosendEnd2)Acknow-ledge3)Te rm i -nator4)Starttrans-missionTe rm i -nator4)Data (from startaddress to startaddress+ no. of bytes)End2)Acknow-ledge3)Te rm i -nator4)Read from hostsystem toBIS'R' A3 A2 A1 A0'0   0   0   0'tomemorycapacity -1L3 L3 L1 L0'0   0   0   1'tomemorycapacity 5)BCCorsee2)<STX> 'CR' or'LF CR'from BISto hostsystem<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'D1 D2 D3 ... Dn BCCorsee2)1)Write from hostsystem toBIS'W' A3 A2 A1 A0'0   0   0   0'tomemorycapacity -1L3 L3 L1 L0'0   0   0   1'tomemorycapacity 5)BCCorsee2)<STX> D1 D2 D3 ... Dn BCCorsee2)from BISto hostsystem<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'1) 1)M-4_ _-007-S115_854304_0910_en.p6526english26Programming InformationRead from Data carrier: ->  Read 10 bytes starting at address 50.The host sends 'R  0 0 5 0   0 0 1 0   V'     BCC (56Hex)Address of first byte to readNumber of bytes to readThe BIS processor acknowledges with <ACK> '0'The host gives the start command <STX>The BIS processor provides the datafrom the data carrier 1 2 3 4 5 6 7 8 9 0  'SOH'  BCC (01Hex)Write to Data carrier: ->  Write 5 bytes starting at address 100.The host system sends 'W  0 1 0 0  0 0 0 5  S' BCC (53Hex)The BIS processor acknowledges with <ACK> '0'The host sends the data <STX>  1 2 3 4 5     '3' BCC (33Hex)The BIS processor acknowledges with <ACK> '0'Telegram examplefor   25:Read from Datacarrierwith block check (BCC)The 'R' and 'W' commands represent a subtype of the 'L' and 'P' commands.Values inside apostrophes represent the respective character(s) in ASCII code.Telegram examplefor   25:Write to Data carrierwith block check (BCC)
2727englishRestart theProcessor (Quit)Programming InformationValues inside apostrophes represent the respective character(s) in ASCII code.Sending the Restart command causes a telegram in process to be aborted and puts theprocessor in the ground state. After this telegram is acknowledged, an approx. 500 ms pauseshould be allowed before starting a new telegram.Important! The Quit command is not permitted while the processor is waiting for a terminator(BCC, 'CR' or 'LF CR'). In this situation, the Quit would be incorrectly interpreted as a termina-tor or datum.1) The command 'Quit' is not permitted at this point.2) Instead of block check BCC, depending on protocol variant either Carriage Return 'CR' or LIne Feed withCarriage Return may be used.Put the BIS system into the ground state.The host sends 'Q Q'           BCC (51Hex)The BIS processor acknowledges  with 'Q Q'           BCC (51Hex)Telegram example:Restart the Processor(Quit)with block check (BCC)Task Data Flow Command End 2) Acknowledge End 2)Restart(Quit)from host system to BIS 'Q' BCC or see 2)from BIS to host system 'Q' BCC or see 2)1)M-4_ _-007-S115_854304_0910_en.p6528english28Initialize CRC_16 data checkThis telegram initializes a data carrier located at the read/write head for use of CRC_16 data checking. This tele-gram must also be send again if a CRC error results from a failed write operation, i.e., the data carrier must bereinitialized in order to use it again.Please note the table on   15! The indicated number of usable bytes may not be exceeded, i.e., the sum of start addressplus number of bytes must not exceed the data carrier memory capacity!1) The command 'Quit' is not permitted at this point.2) Instead of BCC block check, depending on the protocol variant either Carriage Return 'CR' or Line Feed with Carriage Return 'LF CR'may be used.3) <ACK> '0" is sent as an acknowledgement if there was no error, or <NAK> + 'Error-No.' if there was an error.4) For protocol variants which always need a terminator, either 'CR' or 'LF CR' must be inserted here.The characters between the apostrophes represent the respective ASCII character(s). '_' = Space = ASCII 20Hex.Programming InformationTask Data Flow Com-mandStart addressof first byte tobe sentNumber ofbytes to besentreserv-edEnd2)Acknow-ledge3)Te r mi -nator4)Starttrans-missionData (from startaddress to startaddress+ no. of bytes)End2)Acknow-ledge3)Te r mi -nator4)InitializeCRC_16rangefrom hostsystem toBIS'Z'A3 A2 A1 A0'0   0   0   0'to usablebytes atCRC -1L3 L3 L1 L0'0   0   0   1'to usablebytes atCRC -1'1' '1'BCCorsee2)<STX> D1 D2 D3 .... Dn BCCorsee2)from BISto hostsystem<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'<ACK>'0'or <NAK>+ Error-No.'CR' or'LF CR'1) 1)
2929englishWith the telegram the status byte (Tag Present), data carrier type and data carrier ID ofdata carriers are read and sent. In contrast to the standard command, here the reply is notan <ACK> or <NAK>, but rather a fixed data telegram.Task Data Flow Command End  2) Status message End  2)Check StatusMessageFrom host system to BIS 'U' BCCor see 2)From BIS to host system S1 Type1 ID1 BCCor see 2)1)1) The Command 'Quit' is not permitted at this point.2) Instead of BCC block check, depending on the protocol variant either Carriage Return 'CR' or Line Feedwith Carriage Return 'LF CR' may be used.S1 = Status byte ('1' no data carrier; '0' data carrier)Typ1 = Number of the data carrier type (see   15 "Supported data carriers and memorycapacity")ID1 = ID of the data carrier type is 8 bytes long (at Mifare 4 Byte + 4 Byte '0Hex')The host sends 'U U' BCC (55Hex)The BIS processor acknowledges with '0J123400005' BCC (35Hex) if a data carrier wasrecognizedThe BIS processor acknowledges with '1xxxxxxxxx1' BCC (31Hex) if no data carrierwas recognized(x = 'NUL')Values inside apostrophes represent the respective character(s) in ASCII code.Querystatus byte,data carrier type,data carrier IDProgramming InformationTelegram example:Query status byte,data carrier type anddata carrier IDM-4_ _-007-S115_854304_0910_en.p6530english30Error Numbers The BIS M-4_ _ always outputs an error number. The meaning of these error numbers isindicated in the following table.Error NumbersNo. Error  Description Effect 1 No data carrier present Telegram aborted,processor goes into ground state.2 Read error Read telegram aborted,processor goes into ground state.Possible read error:- data carrier removed- Key false4 Write error Write telegram aborted,processor goes into groundstate.Possible write error:- data carrier removed- Key falseCAUTION: An aborted writecould cause new data to bewritten to the data carrierwhich may be incomplete! *)6 Interface error Processor goes into ground state.(parity or stop bit error)7 Telegram format error Processor goes into ground state. Possible format errors:- Command is not 'L', 'P', 'C', 'R', 'W', 'Z' or 'U'.- Start address or number of bytes exceed permissible range*) Note: If a CRC data check is used, error message “E” could result if error 4 was not cleared.
3131englishError Numbers(continued)Error NumbersNo. Error  Description Effect 8 BCC error, the trans-mitted BCC is wrongTelegr am  is  ab or te d ,processor goes into ground state.D CT error Bad CT signal,processor goes into ground state.E CRC error: the CRC on thedata carrier is wrong. *)Telegram aborted,processor goes into ground state.*) Note: If a CRC data check is used, error message “E” could result if in the preceding commanderror 4 was reported.M-4_ _-007-S115_854304_0910_en.p6532english32Read/Write TimesAll data are typical values. Deviations are possible depending on the application and combinationof read/write head and data carrier!The data apply to static operation, no CRC_16 data checking.☞Variations in the ms range are possible.Electrical interference may increase the read/write times.☞Read timesWrite timesData carrier with each 16 bytes/block BIS M-1_ _-01 BIS M-1_ _-02Time for data carrier recognition/serial ID < 20 ms < 30 msRead bytes 0 to 15 < 20 ms < 30 msFor each additional 16 bytes add another < 10 ms < 15 msData carrier with each 16 bytes/block BIS M-1_ _-01 BIS M-1_ _-02Time for data carrier recognition/serial ID < 20 ms < 30 msWrite bytes 0 to 15 < 40 ms < 65 msFor each additional 16 bytes add another < 30 ms < 45 ms
3333englishBIS M-4_ _InstallationInstalling theBIS M-4_ _,permissibledistancesWhen installing two BIS M-400 on a metal base, there is normally no mutual interference. Ifa metal frame is located in an unfavorable location, problems may result when reading outthe data carriers. In this case the read distance will be reduced to 80 % of the maximumvalue.Testing is recommended in critical applications !Distance from data carrier to data carrierMetal frameMinimum distance from read head to read head:BIS M-400-007-00_-... => min. 20 cmBIS M-401-007-001-... => min. 60 cmBIS M-451-007-001-... => min. 60 cmBIS M-101-01/LBIS M-108-02/LBIS M-110-02/LBIS M-111-02/LBIS M-102-01/LBIS M-112-02/LBIS M-105-01/ABIS M-122-02/ABIS M-120-01/L BIS M-150-02/ABIS M-151-02/ABIS M-400-007-00_-.. > 10 cm > 15 cm > 10 cm - -BIS M-401-007-001-.. > 20 cm > 20 cm - > 25 cm -BIS M-451-007-001-.. - - - - > 25 cmM-4_ _-007-S115_854304_0910_en.p6534english34Clear zone aM30x1.5Data carrier Active surfaceTightening torque max. 40 NmM12x136138350 10Clear zone c Clear zone bBIS M-400-007-001-_ _-S115InstallationInstallation andpermissibledistances
3535englishBIS M-400-007-001-_ _-S115InstallationCharacteristic databy data carrierSpeed in m/sreadmin.  di st ance 9 10 3 ,5 3,5 9 8 9 14DT BIS M-... 101-01/L 102-01/L 105-01/A 105-02/A 108-02/L 110-02/L 111-02/L 112-02/LID No. 2.4 3.3 1.25 0.93 1.6 1.33 1.6 2.4No. of bytes 16 1.65 2.2 0.8 0.55 1 0.76 1 1.332 1.5 1.8 0.7 0.42 0.8 0.65 0.8 148 1.28 1.58 0.5 0.38 0.6 0.5 0.6 0.8664 1.1 1.4 0.4 0.3 0.5 0.43 0.5 0.7writemin.  di st ance 9 10 3.5 3.5 9 8 9 14No. of bytes 16 1.05 1.45 0.52 0.27 0.7 0.5 0.7 0.932 0.73 1 .1 0.38 0.19 0.45 0.33 0.45 0.648 0.58 0.8 0.2 0.15 0.36 0.23 0.36 0.4864 0.48 0.65 0.15 0.12 0.28 0.17 0.28 0.38Characteristicdata by datacarrier (instal ledin clear zone)at v = 0 (static condition) Clear zoneDis-tance(mm)Center axis offset at a distance of:(mm)abc515203035BIS M-101-01/L 0-20 ±14 ±10 ±5 - - 100 30 50BIS M-102-01/L 0-28 ±20 ±20 ±15 - - 150 30 50BIS M-105-01/A 0-7 ±7 - - - - 100 20 20BIS M-105-02/A 0-11 ±8 - - - - 100 20 20BIS M-108-02/L 0-28 ±16 ±14 ±14 - - 100 30 25BIS M-110-02/L 0-20 ±12 ±8 ±5 - - 100 30 25BIS M-111-02/L 0-28 ±16 ±14 ±14 - - 100 30 25BIS M-112-02/L 0-38 ±22 ±20 ±20 ±16 ±10 150 30 50(Data carrier is flush installed)BIS M-108-02/L 0-16 ±10 ±6 - - - 100 30 -M-4_ _-007-S115_854304_0910_en.p6536english36BIS M-401-007-001-_ _-S115InstallationInstallation andpermissibledistances
3737englishBIS M-401-007-001-_ _-S115InstallationCharacteristicdata by datacarrier (installedin clear zone)at v = 0 (static condition) Clear zoneDis-tance(mm)Center ax is offset at a distance of:(mm)abc20 30 40 50 60BIS M-101-01/L0-28±15 ----2007050BIS M-102-01/L 0-45 ±30 ±24 ±15 - - 200 70 50BIS M-120-01/L 0 - 50x ±40 ±40 ±28 ±4 -250 70 80y ±30 ±28 ±18 ±4 -BIS M-108-02/L 0-40 ±25 ±20 ±15 - - 200 50 70BIS M-110-02/L 0-30 ±20 ±10 - - - 200 50 70BIS M-111-02/L 0-40 ±25 ±20 ±15 - - 200 50 70BIS M-112-02/L 20-60 - ±35 ±35 ±25 ±25 200 50 70Characteristic databy data carrierSpeed in m/srea dmin. distance914151091220DT BIS M-... 101-01/L 102-01/L 120-01/L 108-02/L 110-02/L 111-02/L 112-02/LID No. 4.1 4.5 4.8 3.2 2.6 3.2 4.3No. of bytes 16 2.7 3.8 4.2 1.88 1.4 1.88 2.632 2.28 3 3.9 1.56 1.13 1.56 2.348 1.7 6 2.25 3.25 1.2 5 0.85 1.2 5 1.864 1.5 1.9 3 0.98 0.65 0.98 1.5writemin. distance914151091220No. of bytes 16 1.5 5 2.2 3.1 1.25 0.8 5 1.2 5 1.6532 1.3 4 1.78 2.2 5 0.84 0.5 5 0.84 1.0848 1 1.3 1.7 5 0.7 0.3 8 0.7 0.8 864 0.9 3 1 1.5 3 0.5 0.25 0.5 0.78M-4_ _-007-S115_854304_0910_en.p6538english38BIS M-400-007-002-_ _-S115InstallationInstallation andpermissibledistancesClear zone aData carrier Active  surfaceTightening torquemax. 40 NmClear zone c Clear zone b
3939englishCharacteristic databy data carrierCharacteristicdata by datacarrier (installedin clear zone)at v = 0 (static condition) Clear zoneDistance(mm) read/writeCenter axis offset at a distance of:(mm)abc5 10152025BIS M-101-01/ L 0-15 ±9 ±6 ±4 - - 10 0 30 25BIS M-102-01/ L 0-18 ±16 ±12 ±8 - - 15 0 30 50BIS M-105-01/A 0-6 ±4----1002010BIS M-105-02/A 0-9 ±6----1002010BIS M-108-02/ L 0-20 ±14 ±12 ±10 ±7 - 100 30 25BIS M-110-02/ L 0-15 ±8 ±6 ±4 - - 10 0 30 25BIS M-111-02/ L 0-20 ±12 ±10 ±10 - - 10 0 30 25BIS M-112-02/ L 0-28 ±20 ±18 ±18 ±16 ±12 150 30 50(Data carrier is flush installed)BIS M-105-01/A 0-5 ±2----10020-BIS M-105-02/A 0-5 ±2----10020-BIS M-108-02/ L 0-12 ±8 ±6 - - - 10 0 30 -Speed in m/sreadmin. distance673,53,56568DT BIS M-... 101-01/L 102-01/L 105-01/A 105-02/A 108-02/L 110-02/L 111-02/L 112-02/LID No. 2 2.6 0.85 0.6 1.3 1 1.3 1.8No. of bytes 16 1.3 2 0.54 0.38 0.87 0.7 0.87 1.1532 1 1.75 0.48 0.28 0.66 0.5 0.66 148 0.88 1.4 0.38 0.21 0.52 0.4 0.52 0.8864 0.78 1.3 0.33 0.17 0.48 0.3 0.48 0.73writ emin. distance673.53.56568No. of bytes 16 0.9 1.38 0.38 0.25 0.51 0.38 0.51 0.8232 0.62 1.05 0.24 0.11 0.33 0.25 0.33 0.5848 0.44 0.78 0.19 0.08 0.27 0.18 0.27 0.464 0.38 0.62 0.11 - 0.2 0.15 0.2 0.32BIS M-400-007-002-_ _-S115InstallationM-4_ _-007-S115_854304_0910_en.p6540english40Installation andpermissibledistancesBIS M-451-007-001-_ _-S115InstallationData carrierClear zone aActive surfaceClear zone c Clear zone b
4141englishBIS M-451-007-001-_ _-S115InstallationCharacteristic databy data carrier Characteristicdata by datacarrier (installedin clear zone)at v = 0 (static condition) Clear zoneDistance(mm) read/writeX-axis offset at a distanceof: (mm)Y-axis offset at a distanceof: (mm)abc0...10 25 40 50 0...10 25 40 50BIS M-150-02/A 0-60 ±50 ±40 ±30 ±10 ±10 ±10 ±8 ±5 200 70 0BIS M-151-02/A 0-60 ±50 ±40 ±30 ±10 ±10 ±10 ±8 ±5 200 70 0(in air)BIS M-150-02/A 0-40 ±40 ±30 ±10 - ±10 ±8 ±5 - 200 70 -BIS M-151-02/A 0-5 ±40 ±30 ±10 - ±10 ±8 ±5 - 100 20 -M-4_ _-007-S115_854304_0910_en.p6542english42BIS M-4_ _-007-_ _ _-00-S115InstallationPin assignmentsBIS M-4_ _-007-...-00-S115RS232 = 00 Color code using cablesBKS-S116-PU / -S115-PU1 OUT TP yellow2TxD gray3RxD pink4NC red5 RTS (TP) green6-VS blue7+VS brown8COM white
4343englishBIS M-4_ _-007-_ _ _-00-S115Interface InformationInterfaceV.24 / RS232➀ RTS connection (TP) allows TP display in the BISCOMRW.EXE program.➁ OUT TP switches to +24V when there is a data carrier in the capture zone.9 pin connectorM-4_ _-007-...-00-S115M-4_ _-007-S115_854304_0910_en.p6544english44BIS M-4_ _-007-_ _ _-00-S115Connection DiagramsWiring the outputsOUT TP (only forRS232)Supply voltage: DC 24 V +10% / –20% (incl. ripple)Output current: max. 200 mAVoltage drop at 50 mA: < 1.5 V
4545englishBIS M-4_ _-007-_ _ _-02-S115InstallationPin assignmentsBIS M-4_ _-007-...-02-S115RS422 = 00 Color code using cablesBKS-S116-PU / -S115-PU1 OUT TP yellow2TxD gray3RxD pink4NC red5 RTS (TP) green6-VS blue7+VS brown8COM whiteM-4_ _-007-S115_854304_0910_en.p6546english46InterfaceRS4224-wirespoint-to-pointBIS M-4_ _-007-_ _ _-02-S115Interface InformationM-4_ _-007-...-02-S115* For the power supply and the RS422 interface a galvanic isolation is recommended!   Twisted pair cable data links.1) Termination1)
4747englishBIS M-4_ _Technical DataGeneral data Housing M-400-... M-401-...CuZn nickel-plated plastic (PBT)Ambient temperature 0 °C to +70 °CEnclosure rating IP 67Supply voltage  VSDC 24 V +10 % / –20 % (incl. ripple)LPS Class 2Current consumption ≤ 50 mA with no loadPower LED greenTag Present (TP) LED  yellowTemperature rangeEnclosure ratingSupply voltageLED functionindicatorThis product was developed and produced considering the claimedEuropean standards and guidelines.Control No 3TLJFile No E227256Process Control EquipmentCE Declaration ofConformity anduser safety☞You can separately request a Declaration of Conformity.Further safety measures you can find in chapter Safety (see   4).M-4_ _-007-S115_854304_0910_en.p6548english48BIS M-4_ _Ordering InformationPart NumbersBalluff Identification SystemSeries MHardware type4_ _ = Processor400 = M30 housing401 = Maxisensor451 = Maxisensor for data carrier on metalSoftware type007 = Balluff-ProtocolHardware version001 = Coil002 = M18 read/write headInterface00 = RS23202 = RS422 (4-wires, point-to-point)ModuleS115 = M12 8-pole femaleBIS M-4_ _-007-00_-0_-S115
4949englishBIS M-4_ _Ordering InformationAccessories(optional, notincluded in scope ofdelivery)Type Part No.Mating connector without  cable BKS-S115-00Cable (Pin assignments see   40) BKS-S116-PU-..Cable (Pin assignments see   40) BKS-S115-PU-..Cable is available in various standard lengths:2 m, 5 m, 10 m, 15 m, 20 m, 25 mExample: BKS-S115-PU-02 Part number for 2 m cableBKS-S116-PU-15 Part number for 15 m cable  For BIS M-4_ _-007-00_-0_-S115 and a baud rate of 19.200 cable length max. 15 m                                  9.600 cable length max. 20 m☞M-4_ _-007-S115_854304_0910_en.p6550english50Symbols / AbbreviationsDC CurrentLimited Power Source Class 2Function groundESD SymbolLPS
5151englishAppendix, ASCII TableDeci-mal Hex ControlCode ASCII Deci-mal Hex ControlCode ASCII Deci-mal Hex ASCII Deci-mal Hex ASCII Deci-mal Hex ASCII Deci-mal Hex ASCII0 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 +M-4_ _-007-S115_854304_0910_en.p65

Navigation menu