Balluff BIS C-6002 Manual Download Page 15

29

29

english

Reading 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 

 38ff):

1. The host sends to the output buffer:

– the command designator to subaddress 01

Hex

,

– the start address for reading or writing to subaddress 02

H

EX

/03

H

EX

,

– the number of bytes for reading or writing to subaddress 04

H

EX

/05

H

EX

,

– 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 bit 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 blocks
(block 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 the
host and the BIS C-60_2 processor.

3. The processor has processed the command correctly (AE bit in the bit header of the input

buffer). If an error occurred during execution of the command, an error number will be
written to subaddress 01

Hex

 of the input buffer and the AF bit in the bit header of the input

buffer will be set.

Function Description
Processing data carriers

C60_2-019_818217_0806-e.p65

30

english

30

Special
characteristics

Auto-Read

Function Description
Processing data carriers

Codetag 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 the
data carrier available in the input buffer of the respective read/write head as soon as the tag is
detected (30 bytes with 2nd bit header, 31 bites without 2nd bit header, or less if the buffer
size 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 for
each read/write head, the start address must be specified for each head using the command
designator 07

Hex

. 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 are
used.

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 bit
header or 31 bytes without 2nd bit header (or les if the buffer size has been set smaller).

Summary of Contents for BIS C-6002

Page 1: ...DP Manual Deutsch bitte wenden C60_2 019_818217_0806 e p65 2 No 818 217 D E Edition 0806 Subject to modification Replaces edition 0608 Balluff GmbH Schurwaldstrasse 9 73765 Neuhausen a d F Germany Ph...

Page 2: ...ial environment in conformity with Class A of the EMC Law Installation and operation should be carried out by trained personnel only Unauthorized work and improper use will void the warranty and liabi...

Page 3: ...plication 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...

Page 4: ...connected to the BIS C 6022 processor Series BIS C 60_2 processors have in addition a digital input The input has various functions depending on the configuration see Parametering Whether the compact...

Page 5: ...BIS C 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 C 60_2 processor Important hints fo...

Page 6: ...The preset is stored in the GSD file Input Output Buffer Unit s Master Data Parametering Bytes User Parameter Bytes BUS interface PROFIBUS DP C60_2 019_818217_0806 e p65 12 english 12 Station Address...

Page 7: ...ontrol to the processor and vice versa is indicated by a control bit This bit is used to implement a handshake between the control and the processor Following is a simplified representation of the seq...

Page 8: ...f bytes read without double bit header Buffer size 2 number of bytes read with double bit header Function Description Input and Output Buffers Please note the basic procedure on 14 and 29 35 and the e...

Page 9: ...ase note the basic procedure on 14 and 29 35 and the examples on pages 36 53 C60_2 019_818217_0806 e p65 18 english 18 Function Description Output buffer configuration and explanation Sub Bit Meaning...

Page 10: ...e tag is to be read The value is stored in the EEPROM the High Byte is also required for the address range from 256 to 8 191 or Data for writing to the Data carrier or Program data for writing to the...

Page 11: ...Function Description address Name 00Hex continued Bit Header IN KN Use the same bit in the bit header Either IN or KN may be displayed Therefore select either Parameter 4th byte bit 7 1 or Parameter...

Page 12: ...of the output buffers are not identical 2nd bit header must be served 11Hex Invoking a function that is not possible since the processor is in compatible with BIS C 6_2 mode 12Hex Copying is not possi...

Page 13: ...uffer 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 C 60_2 processor through the digital in...

Page 14: ...bit 5 Dynamic mode on read write head 2 for effects on read write times see 54 55 5th byte bit 4 Activate Auto Read function for Head 2 starting at specified address after CT Present the number of by...

Page 15: ...ssing data carriers Codetag 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 readi...

Page 16: ...to be written from the controller Only then are the data written to the data carrier as described on 29 Writing with simultaneous data transmission In the case of a write job the processor begins to...

Page 17: ...m from the data carrier The user must document exactly which data are to be read from where and with what number of bytes for the respective program see example 11 on 51 The command identifier 22Hex c...

Page 18: ...ed data carriers is not available C60_2 019_818217_0806 e p65 36 english 36 Initializing the Data carrier for the CRC_16 data checking The processing of this command is similar to a write command Star...

Page 19: ...ss subaddresses of the input buffer in the order shown 3 Process subaddresses of the input buffer 4 Process subaddresses of the input buffer 6 Process subaddresses of the input buffer 5 Process subadd...

Page 20: ...tput buffer 00Hex 07Hex Invert TI Bit Example No 3 like 2nd example but with simultaneous data transmission For configuring with double bit header and 8 byte buffer size Continued on next BIS C 60_2 I...

Page 21: ...aneous data transmission For configuring with double bit header and 8 byte buffer size Read 30 bytes starting at data carrier address 10 with read error and simultaneous data transmission data carrier...

Page 22: ...t and AF Bit 5 Process subaddress of the input buffer Function Description Examples for protocol sequence C60_2 019_818217_0806 e p65 44 english 44 Example No 7 For configuring with double bit header...

Page 23: ...tten to the data carrier in front of Head 2 The AE bit is not set until the write process at Head 2 has been successfully completed Any errors at Head 2 are indicated by the AF bit in the bit header f...

Page 24: ...Hex Reset AA Bit and AE Bit Function Description Examples for protocol sequence C60_2 019_818217_0806 e p65 48 english 48 Example No 10 Store Mixed Data Access program For configuring with double bit...

Page 25: ...ontinued on next Function Description Examples for protocol sequence BIS C 60_2 Identification System Host C60_2 019_818217_0806 e p65 50 english 50 00Hex 07Hex Reset AV Bit 00Hex 07Hex Reset AA Bit a...

Page 26: ...nput buffer 4 Process subaddresses of the output buffer Function Description Examples for protocol sequence C60_2 019_818217_0806 e p65 52 english 52 Example No 12 Use Mixed Data Access program For co...

Page 27: ...nergy field until the Data carrier is recognized must be added For double read and compare Data carrier with 32 byte blocks Data carrier with 64 byte blocks No of bytes Read time ms No of bytes Read t...

Page 28: ...rom 0 to 31 112 from 0 to 63 224 C60_2 019_818217_0806 e p65 56 english 56 Function displays on BIS C 60_2 The BIS C 60_2 uses the three side mounted LED s to indicate important conditions of the iden...

Page 29: ...M4 screws Caution wires inside Mounting the BIS C 6002 processor C60_2 019_818217_0806 e p65 58 english 58 BIS C 6002 Opening the Processor Opening the Processor BIS C 6002 Opening the processor The...

Page 30: ...igital input through the PG 9 fitting Close up the processor If the processor is equipped with an adapter BIS C 650 Connect the read write heads to terminals Head 1 and Head 2 BIS C 670 Connect the re...

Page 31: ...case S2 has to be open Terminal block Bus station S2 Terminating resistor closed active open passive Bus station Bus station BIS C 6002 BIS C 6002 KL2 Interface Information Wiring Diagrams green red...

Page 32: ...ER RS 232 Terminal block connections 01 CT Present 1 02 CT Present 2 C60_2 019_818217_0806 e p65 64 english 64 Terminal block connections The ground connector should be connected to earth directly or...

Page 33: ...IS C 6002 ST11 Interface Information Wiring Diagrams Bus station BIS C 6002 ST11 Bus station Bus station 5 pin female X3 output 5 pin male X2 input Output Input Connect shield to connector housing Con...

Page 34: ...t be in the CN position see 13 Please refer to the manual for BIS C 6_2 for the parameter values and enabling the Select both heads function and use the GSD file C6x2 n c do not connect C60_2 019_8182...

Page 35: ...x 35 mm Dimensions with adapter BIS C 650 ca 185 x 90 x 35 mm Weight ca 500 g Ambient temperature 0 C to 50 C Enclosure rating IP 65 with read write head Terminal block 19 pin Cable entry 2 x PG 11 f...

Page 36: ...BIS C 350 and BIS C 352 option for mounted adapter BIS C 670 1 x connector 8 pin male for one of the read write heads BIS C 350 or BIS C 352 BIS operating messages Ready Bus active LED red green CT1 P...

Page 37: ...rnal read write heads BIS C 355 _ _S92 with cable BIS C 520 655 adapter with 4 connections for external read write heads BIS C 3_ _ execpt BIS C 35_ 670 adapter with one cable connection for an extern...

Page 38: ...To set the PROFIBUS DP address activate or deactivate the internal termination resistor set the compatibility mode or to change the EEPROM you must open up the BIS C 6022 proces sor Remove the 4 screw...

Page 39: ...connect the external resistor to the potential Note In this case the S2 switch has to be open No supply voltage is allowed on the PROFIBUS connections Connect cable for the supply voltage the digital...

Page 40: ...ND 9 10 12 n c 1 2 3 4 X4 Service interface Pin Function 1 n c 2 TxD 3 GND 4 RxD Protection ground PE C60_2 019_818217_0806 e p65 80 english 80 Head 2 Head 1 X1 X2 X3 1 2 3 4 5 6 7 8 Head 1 Head 2 19...

Page 41: ...to 60 C Protection class IP 65 when connected Integral connector X1 for VS CT Present_ IN 5 pin male Round connector X2 X3 for PROFIBUS DP 12 pin female Integral connector X4 for Service interface 4 p...

Page 42: ...perating messages Ready Bus active LED red green CT1 Present operating LED green yellow CT2 Present operating LED green yellow Electrical Connections continued C60_2 019_818217_0806 e p65 84 english 8...

Page 43: ...l G BEL 29 1D Ctrl GS 51 33 3 72 48 H 93 5D 114 72 r 8 08 Ctrl H BS 30 1E Ctrl RS 52 34 4 73 49 I 94 5E 115 73 s 9 09 Ctrl I HT 31 1F Ctrl _ US 53 35 5 74 4A J 95 5F _ 116 74 t 10 0A Ctrl J LF 32 20 S...

Reviews: