Balluff BIS C-6002 Скачать руководство пользователя страница 16

31

31

english

Reading and writing
in dynamic mode

In normal operation a read/write job is rejected by the BIS C-60_2 processor by setting the AF
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 a
data carrier is recognized, the stored job is carried out.

Reading without simultaneous data transmission:

 In the case of a read job the proces-

sor first reads our all requested data from the data carrier after receiving the start address
and the desired number of bytes, and then sets the AE bit. Then the data read from the
data carrier are written to the input buffer. In the case of larger data amounts this is done in
blocks, controlled by the handshake with the toggle bits as described on   29.

Reading with simultaneous data transmission:

 In the case of a read job the processor

begins by transmitting the data into the input buffer as soon as the first 30 bytes (with 2nd
bit header, or 31 bytes without 2nd bit header, or less if the buffer size was set smaller)
have been read from the data carrier beginning with the start address, and indicates this
by inverting the TO bit. As soon as the controller inverts the TI bit, the processor sends the
data, which have in the meantime been read, to the input buffer. This is repeated until the
processor has read out all the desired data from the data carrier. Now the processor sets
the AE bit and outputs the remaining data on the input buffer.

Writing without simultaneous data transmission:

 In the case of a write job the proces-

sor waits until it has received all the data that need 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 write the data to the data carrier as soon as it has received the first data to be
written from the controller’s output buffer. Once all the data have been written to the data
carrier, the AE bit is set.

Reading and writing
with simultaneous
data transmission

Function Description
Processing data carriers

C60_2-019_818217_0806-e.p65

32

english

32

Mixed Data Access

Function Description
Processing data carriers

Small read/write programs can be stored in the BIS C-60_2 processor’s EEPROM.

The Mixed Data Access function is useful when the required information is stored on the
data carrier at various addresses. This function makes it possible to read out this “mixed”,
i.e. non-contiguously stored data from the data carrier in a single procedure and using just
one command.

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 reading
may not exceed 2 kB.

Storing a program:

The command identifier 06

Hex

 is used to send the read/write program to the BIS C-60_2 pro-

cessor. One program per command can be stored. All 25 program records plus an additional
2 bytes with FF

Hex

FF

Hex

 as a terminator must always be sent. This means a total of 

104 bytes

of 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 other
and be terminated with 2 bytes FF

Hex

FF

Hex

 as a terminator. It is recommended that the remaining,

unused memory sector be filled with FF

Hex

FF

Hex

.

If an address range is selected twice, the data will also be output twice.

Содержание BIS C-6002

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: