+ All Categories
Home > Documents > Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1...

Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1...

Date post: 18-May-2018
Category:
Upload: vunhi
View: 220 times
Download: 1 times
Share this document with a friend
41
1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch – bitte wenden! C-6_3-025_0001_E.p65 2 No. 811 993 D/E • Edition 0001 Subject to modification, replaces edition 9810. Gebhard Balluff GmbH & Co. Schurwaldstrasse 9 73765 Neuhausen a.d.F. Germany Phone +49 (0) 71 58/1 73-0 Fax +49 (0) 71 58/50 10 E-Mail: [email protected]
Transcript
Page 1: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

1

Electronic Identification Systems BISProcessor BIS C-6_3

DeviceNet

Manual

Deutsch – bitte wenden!

C-6_3-025_0001_E.p65

2

No. 811 993 D/E • Edition 0001Subject to modification,replaces edition 9810.

Gebhard Balluff GmbH & Co.Schurwaldstrasse 973765 Neuhausen a.d.F.GermanyPhone +49 (0) 71 58/1 73-0Fax +49 (0) 71 58/50 10E-Mail: [email protected]

http://www.balluff.de

Page 2: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

3

3

deu

tsch

E

eng

lish

Contents

Safety Considerations ................................................................................................................... 4Introduction BIS C-6_3 Identification System .......................................................................... 5/6Application BIS C-6_3 Processor .............................................................................................. 7/8Installation of the EDS file ............................................................................................................. 9Configuration ......................................................................................................................... 10-29Operating Modes (Modes 1 to 3) ......................................................................................... 30-36Functional Description (Modes 2 and 3) .............................................................................. 37-51Functional Description (Mode 1) .......................................................................................... 52-59Protocol Mode 1 .................................................................................................................... 60-64Read/Write Times .................................................................................................................. 65/66LED Display ................................................................................................................................. 67Regarding BIS C-603 Processor:Mounting Processor / Head .................................................................................................. 68/69Wiring Diagrams .................................................................................................................... 70-72Technical Data ....................................................................................................................... 73/74Ordering Information ................................................................................................................... 75Regarding BIS C-623 Processor:Mounting Processor .................................................................................................................... 76Wiring Diagrams .................................................................................................................... 77/78Technical Data ....................................................................................................................... 79/80Ordering Information ................................................................................................................... 81Appendix:ASCII Table .................................................................................................................................. 82

Please take note ofthe changed factorysettings fromversion V1.4onwards:

Node address: 63Baudrate: 125 kBaud

C-6_3-025_0001_E.p65

4

4 E

DeviceNet is a registered trademark of the Allen-Bradley Corporation.Windows is a registered trademark of the Microsoft Corporation.

BIS C-6_3 Processors together with the other BIS C system components comprise the Identi-fication System and may be used only for this purpose.

Installation and operation should be carried out by technically trained personnel only.Unauthorized access and improper use will lead to loss of warranty and liability claims.When installing the processor, consult the section on wiring diagrams carefully. Specialcaution must be used when wiring the processor to external controllers, particularly withrespect to selection and polarity of the signals and power supply.Only approved power supplies may be used with the processor. See the section on TechnicalData for details.

The relevant safety procedures must be followed when using the Identification System. Inparticular, steps must be taken to ensure that no danger to persons or equipment can ariseshould a fault occur in the Identification System.This includes maintaining the published ambient operating conditions and regular checking ofthe functionality of the Identification System with all its associated components.

As soon as there is evidence that the Identification System is not functioning properly, itshould be taken out of service and protected against unauthorized use.

This description is valid for processors in the series BIS C-603-025...03-ST1 andBIS C-623-025-050-03-ST7.

Installation andOperation

Use and Checking

Fault Conditions

Scope

Safety Considerations

Page 3: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

5

5

deu

tsch

E

Principles

This manual is designed to assist the user in setting up the control program and installing andstarting up the components of the BIS C-6_3 Identification System, and to assure rapid,trouble-free operation.

The BIS C-6_3 Identification System belongs to the category ofnon-contact systems for reading and writing.This dual function permits applications for not only transporting information in fixed-programmedcode tags, but also for gathering and passing along up-to-date information as well.

Some of the notable areas of application include– controlling material flow in production processes

(e.g. in model-specific processes),conveying workpiece in transfer lines,in data gathering for quality assurance ,gathering safety-related data,

– tool coding and monitoring;

– equipment organization;

– storage systems for monitoring inventory movement;

– transporting and conveying systems;

– waste management for quantity-based fee assessment.

IntroductionBIS C-6_3 Identification System

Applications

C-6_3-025_0001_E.p65

6

6 E

Processor

Processor

DeviceNet

Code Tags BIS C-1..

Read/Write Heads1)

BIS C-6_3with Adapter

BIS C-6_3with Head

Trunk line

Drop line

T-Port tap T-Port tap

System Components The main components of the BIS C-6_3 Identification System are– Processor,– Read/Write Heads and– Code Tags.

IntroductionBIS C-6_3 Identification System

Schematicrepresentation of anIdentification System(example)

1) except BIS C-350 and -352

Page 4: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

7

7

deu

tsch

E

Selecting SystemComponents

The BIS C-603 processor has a plastic housing. A single read/write head from seriesBIS C-65_ can be directly connected to the processor, which creates a compact unit. If theBIS C-650 adapter is attached instead of the BIS C-65_ read/write head, two read/writeheads may be cable connected. If the BIS C-670 adapter is attached, one read/write headmay be cable connected.The BIS C-623 processor has a metal housing. Two read/write heads can be cable connectedto the BIS C-623 processor.Additional information on the read/write heads in series BIS C-65_ including all the possiblecode tag combinations can be found in the manuals for the respective read/write heads.Whether the compact version of the processor with integrated read/write head makes senseor whether the external solution is preferred depends primarily on the spatial arrangement ofthe components. There are no functional limitations. All read/write heads are suitable for bothstatic and dynamic reading. Distance and relative velocity are based on which code tag isselected. Additional information on the read/write heads in series BIS C-65_ and seriesBIS C-3_ _ including all the possible code tag/read-write head combinations can be found inthe manuals for the respective read/write heads.The system components are electrically supplied by the processor. The code tag representsan free-standing unit and needs no line-carried power. It receives its energy from the read/write head. The latter constantly sends out a carrier signal which supplies the code head assoon as the required distance between the two is reached. The read/write operation takesplace during this phase. Reading and writing may be dynamic or static.

ApplicationBIS C-6_3 Processor

C-6_3-025_0001_E.p65

8

8 E

The processor writes data from the host system to the code tag 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)

Communication between the BIS C-6_3 Processor and the host system is via DeviceNet net-work.The DeviceNet network mainly consists of the following components, which are connectedvia trunk lines and drop lines:– the DeviceNet Master as part of the host controller– the I/O modules (DeviceNet nodes) as bus participants, in this case the BIS C-6_3

Processor.

A maximum of 127 nodes can be connected to a DeviceNet Master.The DeviceNet Master converts data: from the host system into the serial protocol of theDeviceNet network and vice versa. For this purpose it contains the DeviceNet interface forconnecting to the distributed DeviceNet nodes. For set up information of the DeviceNetMaster, see the relevant manual.The address setting (node number / NodeID), the operating mode and the parametering of theBIS C-6_3 Processor are carried out, for example, with the Windows software "DeviceNet-Manager" from Allen-Bradley. See the manual of DeviceNet Manager for informationregarding the DeviceNet Manager and for its installation on a PC.Each delivery of the Processor BIS C-6_3 is accompanied by a diskette containing an EDSfile (Electronic Data Sheet). The EDS file includes all parameters of the BIS C-6_3 Processorunit and will be installed in the EDS library of the DeviceNet Manager.

DeviceNet

ApplicationBIS C-6_3 Processor

Control Function

Please take note ofthe changed factorysettings fromversion V1.4onwards:

Node address: 63Baudrate: 125 kBaud

Page 5: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

9

9

deu

tsch

E

InstallationEDS file

Installing theEDS file

Start the DeviceNet Manager. Click on Utilities and then on Install EDS Files.... Select thedrive in which thediskette with the EDSfile is, in the windowwhich opens. Markthe file 1.eds in the listof file names shown.In the lower part of thewindow is displayed

the manufacturer's name and the product nameas well as any revisions.Confirm with OK, to installthe EDS file. Answer thequestion Set DeviceBitmap? with no.

Follow the steps described above to update an already existing EDS file. The last windowshows the status information pertaining to the existing and the new EDS files. Confirm withyes if you want to over write the existing file.

Updating theEDS file

C-6_3-025_0001_E.p65

10

10 E

You can parameter a participant (node) off-line by carrying out the setup with the aid of theDeviceNet Manager and storing the configuration as a file. You can then load the file in thenode after you have coupled (withRS 232 Interface) the node andyour computer to the DeviceNetnetworkYou can also configure the nodeon-line by carrying out the setupwith the DeviceNet Manager,while the participant and yourcomputer are connected to theDeviceNet network.Besides, the host can adjust theparameters during operation.Note: Some changes require areset command in order for themto be activated.

Configurationoff-line / on-line

Configuration

Page 6: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

11

11

deu

tsch

E

Configuration

Preparing theconfiguration

Open the menu File and click on New Project. Enter the necessary data in the fields. Sincethe project name is used as subdirectory for storing theconfiguration file not all characters are allowed. Thedirectory of the DeviceNet Manager is used as path. Ifrequired you can select another path.You can enter a description of the project in the fieldProject Description, which will be helpful to you later onto differentiate between the various projects. Confirm withOK after you have finished with the entries.

In the next window Add Network to Project, make a newnetwork, in which the new units to be configured are,within this new subdirectory. Not all characters are allowedsince the network name is used as file name.You can enter a description of the network in the fieldNetwork Description, which will be helpful to you later on todifferentiate between the various networks. Confirm withOK after you have finished with the entries.

C-6_3-025_0001_E.p65

12

12 E

Configuration

Preparing theconfiguration(continued)

In the next window is afree area where ahorizontal line is dis-played. This is the trunkline for the newDeviceNet network.Double clicking onGeneric in the list ofpossible instrumentcategories displays thelist of available manu-facturers. After a doubleclick on Balluff Inc., theProcessor BIS C-6_3appears.

Using Drag and Droppull the line Balluff BIS C-6_3 on to the free area with the trunk line. A symbolic picture will beinserted automatically, and connected to the trunk line with a drop line. The unit is still la-belled as Node_0, i.e. it has the node address 0, which is reserved for the master. Simulta-neously another window is open where you can enter the intendedaddress and a short description of the unit. Close the window withthe button Apply.When you move the cursor over the node symbol, Balluff BIS C-6_3as fly-out appears. Double clicking on the symbol opens the DeviceConfiguration - Enhanced Mode window in which you can completelyparameter the Processor BIS C-6_3.

Please take note ofthe changed factorysettings fromversion V1.4onwards:

Node address: 63Baudrate: 125 kBaud

Page 7: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

13

13

deu

tsch

E

All possibilities which can be adapted are listed in the field Parameters.The settings and values shown underValue give the factory settings at thebeginning. You can revert to thesevalues any time by using the key Set toDefaults.To change a parameter mark the corre-sponding line and press the key ModifyParameter.... The window which opensshows you all the possible settings andgives the default and limiting values.All the positions included in the list aredescribed in detail below one after theother.

Line 1 Reset_Option Default: Enable (= 1)With this setting the Processor BIS C-6_3 can bereset by the host with a high level on the digitalinput.Disable (= 0): Reset via digital input is not possible.Enable (= 1): Reset via digital input possible.

You may close this action with the OK button orcontinue with the next parameter using the Next >> button.

Parameter #1Reset option

Configuration

Preparing theconfiguration(continued)

C-6_3-025_0001_E.p65

14

14 E

Line 2 Operating_Mode Default: no dynamic mode (= 0)This setting describes the handling of arriving read/write commands when there is no code tag withinthe active zone of a read/write head.Dynamic mode (= 0): A read/write job is refused withError 1 if there is no code tag in the active zone.Dynamic mode (= 1): Read/write command is buff-ered until a code tag is recognized.

Line 3 DigIN_Mode Default: Disable (= 0)In this setting the state of the digital input is notshown in the input bit register. This option can onlybe set if the digital input is not used to select theread/write head. If it is necessary to use a digitalinput for selecting the read/write head, its currentstatus must always be shown in the input bit regis-ter. Any attempt in this case to set this parameterto 0 will cause the error Device State Conflict to bereplied, i.e., this option is not available in the cur-rent operating mode.Enable (= 1): Show the state of the digital input in the input bit register.

Configuration

Parameter #2Dynamic mode

Parameter #3State ofdigital input

Page 8: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

15

15

deu

tsch

E

Line 4 Head_Select_Mode Default: both heads selected (= 0)In this setting both read/write heads connected to the BIS Processor are active.If in operating modes 2 and 3 (data coordinated byDeviceNet interface) the data length to be read/written as well as the read/write address are notdetermined from the I/O messages received by theMaster, these values are read from the parametersconfigured for Head 1 (DataInLength,DataOutLength, as well as DataInAddress andDataOutAddress).Note: It must be assured that a code tag is presentat only one of the two write/read heads, since al-ways only one codetag can be processed.

Head select via HD bit (= 1): In this setting the hostselects via the HD bit in the bit register of the output buffer, which head must be activated.HD bit = 0: Select read/write head 1HD bit = 1: Select read/write head 2

Head select via discrete Input (= 2): In this setting the host selects via the digital input, whichhead must be activated.Note: DigIN_mode has to be set to 'Enable' (= 1)!Low: Select read/write head 1High: Select read/write head 2

Parameter #4Head selection

Configuration

C-6_3-025_0001_E.p65

16

16 E

Line 5R Input Header Default: read onlyThe bit register of the input buffer can only be read by DeviceNet Manager in the on-linemode, but cannot be changed.

Line 6 Output header Default: = 0, no bit set

Bit 0 AV bit Command = 1: Signals to the Identification System

that a command is present.Bit 1 RW bit Command indication

= 0: Read command = 1: Write command

Bit 2 GR bit Ground state = 1: Sets the BIS to the ground state.

Bit 3 do not change. Default: = 0Bit 4 HD bit select head directly

= 0: Select read/write head 1 = 1: Select read/write head 2

Bit 5 do not change. Default: = 0Bit 6 TI bit Toggle bit In

= 1: Shows during a read action that the host is ready for additional data.BIT 7 CT bit Select code tag type

= 0: with 32 byte/block for BIS C-1_ _-02, -03, -04 = 1: with 64 byte/block for BIS C-1_ _-10, -30

Parameter #6Bit registerof the output buffer

Parameter #5RBit registerof the input buffer

To set a bit: click = .

Reset: click = .

Configuration

Page 9: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

17

17

deu

tsch

E

Line 7 BIS_Mode Default: please refer to menu and textBit 0 B1 bit Mode 1

cyclic polling,coordination by host

= 1: The host coordinates the cyclic poll-ing of data, i.e., the protocol neces-sary for processing read/write com-mands must be handled by the host.

Values for the parameters DataInLength,DataOutLength, Read/Write Addresses andData Paths have no meaning, since in thismode the DeviceNet interface only passesdata received from the Master to theBIS C-6_3 and vice versa. This data transferis done through the Poll connection of the DeviceNet interface. The amount of data to be sentis set by the parameter Buffer_Length.The host control must poll the BIS C-6_3 in this mode until a command has been completelyprocessed. To read data from the BIS (e.g., read the bit register), it is sufficient for the host tosend a Poll Idle-Command (Poll command without data), and the DeviceNet interface willsend back the data amount defined with Buffer_Length (the contents of the input buffer).Note: This mode assumes that the Poll connection was allocated by the respectiveDeviceNet Master.

Parameter #7BIS operating mode

Configuration

You will find moredetails in the sec-tions "Operatingmodes" and "Func-tional descriptionMode 1".

To set a bit: click = .

Reset: click = .

C-6_3-025_0001_E.p65

18

18 E

Parameter #7BIS operating mode(continued)

Configuration

Bit 1 B2 bit Mode 2cyclic polling, coordination by theDeviceNet interface

= 1: The DeviceNet interface coordinatesthe data transfer, i.e. the DeviceNetinterface generates the commands forBIS C-6_3 according to the I/O mes-sages received from the Master andmonitors the complete handling of thecommands.

Setting of the maximum data amount to besent is done using the DataInLength orDataOutLength parameter, i.e. the lengths ofthe Poll command and Poll response message are variable. The larger DataInLength orDataOutLength parameter of the two heads defines the upper limit for input and output datalengths. The Poll command message (Master -> BIS slave) contains the output bit registerand may include write data for the corresponding code tag.The RW bit of the output bit register is used to discriminate between a Read command(RW=0) and a Write command (RW=1). At the same time, the HD bit in the output bit registercan be used to select the current read/write head (assuming Head select has been config-ured with the HD bit).The BIS_Mode parameter is used to set whether the code tag address to be written or read isalso sent, and whether the number of data bytes to be read or written is contained in the Pollcommand of the Master, or whether it is set by the parameter DataOutLength.

You will find moredetails in the sec-tions "Operatingmodes" and "Func-tional descriptionModes 2 and 3".

To set a bit: click = .

Reset: click = .

Page 10: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

19

19

deu

tsch

E

The Poll response message (BIS slave -> Master) contains, depending on the Input Assemblyselected:1) Input bit register and error code

2) Input bit register and any read data from the code tag, or in case of error the respectiveerror code. Ascertains validity of the data through the bit register, and bit codes.

The BIS C-6_3 Processor can be operated in mode 2 and 3 simultaneously, when Poll,Change-of-State, and BitStrobe are used for data exchange.

Bit 2 B3 bit Mode 3Change-of-State with BitStrobe

= 1: Data exchange is coordinated byDeviceNet interface (Change-of-Statewith BitStrobe).

The BitStrobe response message containsthe processor status + error code. The dataof the BitStrobe command from the Masterare ignored by the processor. The BitStrobemessage simply triggers the sending of bitregister and error code. The Bitstrobe re-sponse is not suitable for reading data from acode tag, since a maximum of only 8 bytescan be sent in it.

Parameter #7BIS operating mode(continued)

Configuration

You will find moredetails in the sec-tions "Operatingmodes" and "Func-tional descriptionModes 2 and 3".

To set a bit: click = .

Reset: click = .

C-6_3-025_0001_E.p65

20

20 E

The COS message of the Master contains data which are written to the code tag, and servesto toggle read/write heads. The BIS_Mode parameter can be used to set whether the addressof the code tag to be written or read should be included. In addition, this parameter deter-mines whether the number of data bytes to be read or written is contained in the Poll com-mand of the Master, or whether this is set in the DataOutLength parameter. Use DataInLengthor DataOutLength to set the maximum amount of data to be sent.The COS message of the Slave contains the data read from the code tag. Depending on theInput Assembly selected:1) Input bit register and error code.

2) Input bit register and any read data from the corresponding code tag, and in case of errorthe respective error number.

In Mode 3 the Slave automatically sends data as soon as the bits in the input bit register orthe data read from the BIS change (Change-of-State), or sends data at a predefined interval(cyclic). As soon as a new code tag appears in the active zone of the current read/write head,data are automatically read starting at Address 0 of the code tag and sent as a Change-of-State message. The length of this automatically read data is configurable using a parameter.The validity of automatically read data is not signaled using the AE bit!! Rather, a statechange in the CP bit of the input bit register from 0 -> 1 signals that data were automaticallyread and sent in the Change-of-State message starting at byte 1.

Parameter #7BIS operating mode(continued)

Configuration

You will find moredetails in the sec-tions "Operatingmodes" and "Func-tional descriptionModes 2 and 3".

Page 11: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

21

21

deu

tsch

E

Parameter #7BIS operating mode(continued)

Configuration

Bit 3 AD bit R/W address inMasters Comm.

= 0: Start address of data to be read orwritten is given by DataInAddress orDataOutAddress of the active head,but not by the Master.

= 1: Start address of data to be read orwritten is given by the Master. Thevalues for DataInAddress andDataOutAddress have no meaning.

Bit 4 DL bit R/W length inMasters Comm.

= 0: Length of data to be read or written is given by DataInLength or DataOutLength of theactive head, but not by the Master.

= 1: Length of data to be read or written is given by the Master.Note: The larger value of DataInLength or DataOutLength defines the maximumamount of data to be read or written!

Bit 5, 6, and 7 do not change, Default: = 0

To set a bit: click = .

Reset: click = .

C-6_3-025_0001_E.p65

22

22 E

Configuration

Line 8 Buffer Length Default: 256This value determines the size of the inputbuffer and of the output buffer for the data tobe read or written. Note, that the bit registeralways requires one byte additionally.Min. value: 6 bytesMax. value: 256 bytes

If the size of the buffer is smaller than theamount of data to be read or written + bitregister, the data must be sent in blocks untilall data are transferred.In BIS operating modes 2 and 3 the neces-sary handshake is coordinated automatically by the DeviceNet interface using the Toggle bitsin the bit register of the input and output buffer (see examples in chapters Protocol). Advan-tage: A host can therefore sent the entire data amount to be written with an I/O message tothe DeviceNet interface.Note:– In Mode 1 the host must coordinates the handshake using the Toggle bits in the bit register

of the input and output buffer (see examples in chapter Protocol Mode 1)!– In Mode 1 the values of bit 2 and 3 have no influence!

Parameter #8Size of input andoutput buffer

Page 12: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

23

23

deu

tsch

E

Line 9R Error Code Default: read onlyThe value returned gives the error code of the BIS system. An error number is returned whenthe command has not been correctly executed or has been aborted.0 No error.1 Read or write command aborted, be-

cause no code tag is in the read/writearea of the read/write head.

2 Read error.3 Code tag was removed from the read/

write area of the read/write head during aread command.

4 Write error.5 Code tag was removed from the read/

write area of the read/write head during awrite command.

6 Memory access error.7 AV bit is set, however, the command indication is missing or invalid.

or: Number of bytes is 0.9 Cable breakage to the selected read/write head or head not connected. If both read/write

heads were selected using parameter #4 Head_Select_Mode, one head may not beconnected. If both read/write heads are selected, the cable break message only comes ifthere is no code tag in front of the connected, functional head.

Additional error code of the DeviceNet interface:0Bhex: “Busy” is generated, when the Master sends a new command while a command isprocessed in the BIS system. The new command will not be processed.0Chex: “Invalid data length” is generated, when the BIS did not receive the full amount of data.

Configuration

Parameter 9RError codesof the BIS system

Note:Only valid if AF bitis set!

C-6_3-025_0001_E.p65

24

24 E

Line 10 Input length 1 Default: 255This parameter describes how many bytes ofdata shall be read from the code tag athead 1.Min. value: 1 byteMax. value: 255 bytes

Note: This setting is active only if it is notcontained in the I/O message of the Master,i.e. the DL bit (Bit 4 in parameter #7BIS_Mode) is not set (= 0).

Line 11 Input address 1 Default: 0This parameter describes the address start-ing from which data shall be read from thecode tag at head 1.Min. value: byte 0Max. value: byte 65,535

Note: This setting is active only if it is notcontained in the I/O message of the Master,i.e. the AD bit (Bit 3 in parameter #7BIS_Mode) is not set (= 0).

Parameter #10Number of read datafrom the code tag infront of head 1

Parameter #11Start address for theread data from thecode tag in front ofhead 1

Configuration

Page 13: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

25

25

deu

tsch

E

Line 12 Output length 1 Default: 252This parameter describes how many bytes ofdata shall be written to the code tag athead 1.Min. value: 1 byteMax. value: 255 bytes

Note: This setting is active only if it is notcontained in the I/O message of the Master,i.e. the DL bit (Bit 4 in parameter #7BIS_Mode) is not set (= 0).

Line 13 Output address 1 Default: 0This parameter describes the address start-ing from which data shall be written to thecode tag at head 1.Min. value: byte 0Max. value: byte 65,535

Note: This setting is active only if it is notcontained in the I/O message of the Master,i.e. the AD bit (Bit 3 in parameter #7BIS_Mode) is not set (= 0).

Configuration

Parameter #12Number of writedata for the code tagin front of head 1

Parameter #13Start address for thewrite data for thecode tag in front ofhead 1

C-6_3-025_0001_E.p65

26

26 E

Line 14 Input length 2 Default: 255Line 15 Input address 2 Default: 0Line 16 Output length 2 Default: 252Line 17 Output address 2 Default: 0In these parameters the settings are defined for the number of data and for the start addressfor head 2. Please proceed as indicated with parameters #10 ... 13.

Line 18 AutoRead Size Default: 64Note: This value is only effective in connec-tion with the BIS operating mode 1 (seeparameter #7).The length of data which is to be read fromthe codetag in front of the current head isdefined in this setting.Min. value: 0 byteMax. value: 64 bytes

Parameters #14 ... 17Settings for head 2refer toparameters 10 ... 13

Parameter #18Number of readbytes from a codetag in front of theactive head

Configuration

Page 14: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

27

27

deu

tsch

E

Line 19 Poll Input Default: Input Assembly 2 (= 5)Information and data to be made available over thePoll connection is selected here.Note: Changes to data path are only effective after areset!

Input Assembly 1 (= 4): In this setting the BISsystem delivers only the current contents of the bitregister of the input buffer with a length of 1 byte forthe Poll connection .

Input Assembly 2 (= 5): In this setting the BISsystem delivers the current contents of the bitregister of the input buffer in byte 0 and data inother bytes.AF bit = 0: Data follows in other bytes .AF bit = 1: Error code is returned in byte 1. The rest of the bytes are undefined.

Parameter #19Poll Input Assembly

Configuration

C-6_3-025_0001_E.p65

28

28 E

Parameter #20Change-of-State /Cyclic InputAssembly

Line 20 COS/Cyclic Input Default: Input Assembly 2 (= 5)Information and data to be made available over theChange-of-State / Cyclic Input connection is se-lected here.Note: Changes to data path are only effective aftera reset!Input Assembly 1 (= 4): In this setting the BIS sys-tem delivers only the current contents of the bitregister of the input buffer with a length of 1 byte forthe Poll connection.

Input Assembly 2 (= 5): In this setting the BISsystem delivers the current contents of the bitregister of the input buffer in byte 0 and data inother bytes.AF bit = 0: Data follows in other bytes .AF bit = 1: Error code is returned in byte 1. The rest of the bytes are undefined.

Configuration

Page 15: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

29

29

deu

tsch

E

Parameter #21Adapting the I/Oresponse

Configuration

Line 21 IO input length Default: I/O response = cnxn size (= 1)The parameter produced_connection_size defineshow much data can be transmitted over eachconnection. The DeviceNet interface calculates thisvalue from the configuration settings.I/O response <= cnxn size (= 0): In this setting onlypure user data are transmitted on each connectionbetween the BIS system and the DeviceNet inter-face.Note: Of course, this operation reduces the net-work load, especially with large quantity of data,but can lead to problems with most commonly available DeviceNet Masters, since they ex-pect a definite data size defined by produced_connection_size .I/O response = cnxn size (= 1): In this setting always all data made available by BIS systemwill be transmitted over the connection between the BIS system and the DeviceNet interface.This corresponds in Mode 1 to the value Buffer length (parameter #8). In modes 2 and 3, thiscorresponds to the larger of the DataInlength value of the two heads (Input length 1 or Inputlength 2, parameter #10 and #14).

C-6_3-025_0001_E.p65

30

30 E

Mode 1

Operating ModesModes 1 to 3

The parameter #7 BIS_Mode is used to select the BIS operating mode.The following modes are available:Mode 1: Cyclic Polling,

The data exchange is coordinated by the host.Mode 2: Cyclic Polling,

The data exchange is coordinated by the DeviceNet interface.Mode 3: Change-of-State with BitStrobe,

The data exchange is coordinated by the BIS C-6_3 Processor as in Mode 2.

The BIS C-6_3 The BIS C-6_3 can be run in both Modes 2 and 3 at the same time if data ex-change is to take place using Poll, Change-of-State and BitStrobe.

Cyclic Polling, Coordination by host

This mode is used for data coordination by the host, i.e., the protocol necessary for process-ing read/write commands must be handled by the host. Values for the parametersDataInLength, DataOutLength, Read/Write Addresses and Data Paths have no meaning, sincein this mode the DeviceNet interface only passes data received from the Master to the BIS C-6_3 and vice versa. This data transfer is done through the Poll connection of the DeviceNetinterface. The amount of data to be sent is set by the parameter #8 Buffer Length.The host control must poll the BIS C-6_3 in this mode until a command has been completelyprocessed. To read data from the BIS (e.g., read the bit register), it is sufficient for the host tosend a Poll Idle-Command (Poll command without data), and the DeviceNet interface willsend back the data amount defined with Buffer_Length (the contents of the input buffer). Theprotocol for reading and writing data is shown by examples in chapter Protocol. This modeassumes that the poll connection was allocated by the respective DeviceNet Master.

Selecting theoperating mode

Page 16: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

31

31

deu

tsch

E

Protocol

The host gives a read/write command. This results, in a simplified form, in the following pro-cedure (more detailed representation is given in the following examples):1. The host gives to the output buffer

– The command identification in byte 1,– The starting address from which to read or write,– The number of bytes to be read or written,– The code tag type (as per block size) and sets– The AV-Bit in the bit register of the output buffer.

2. The processor takes over the command ("AA" in the bit register of the input buffer)and begins the transport of the data (read = from code tag into the input buffer, write =from the output buffer into the code tag).

Large quantity of data will be transmitted in blocks when the buffer size is smaller thanthe data to be transmitted + bit register. In this case a sort of handshake is carried outwith the toggle bits TO and TI in the two bit registers. In order to accelerate the reading ofsmall quantity of data, the identification system makes available the first 7 bytes of thecode tag by putting them at once in the input buffer.

The data are valid only after the rising edge of the CP bit in the bit register of the inputbuffer. They remain valid until the falling edge of the CP bit or until the host gives a read orwrite command for the other head.

3. The processor has executed the command correctly ("AE" in the bit register of the inputbuffer). If an error occurs in the execution of the command, then an error number iswritten into byte 1 of the input buffer and the AF bit is set in the bit register of the inputbuffer.

Mode 1(continued)

Operating ModesModes 1 to 3

C-6_3-025_0001_E.p65

32

32 E

Cyclic Polling, Coordination by the DeviceNet interfaceThe DeviceNet interface takes the I/O messages received from the Master and generates thecommands for the BIS C-6_3, and monitors the complete processing of the command. Settingof the maximum data amount to be sent is done using the DataInLength or DataOutLengthparameter. More precisely, the lengths of the Poll command and Poll response message arevariable. The larger DataInLength or DataOutLength parameter of the two heads defines theupper limit for input and output data lengths.The RW bit of the output bit register is used to discriminate between a Read command(RW=0) and a Write command (RW=1).The Poll command message (Master -> BIS Slave) contains the output bit register and mayinclude write data for the corresponding code tag. At the same time, the HD bit in the outputbit register can be used to select the current read/write head (assuming Head Select hasbeen configured with the HD bit). The parameter #7 BIS_Mode is used to set whether thecode tag address to be written or read is also sent. In addition, this parameter determineswhether the number of data bytes to be read or written is contained in the Poll command ofthe Master, or whether it is set by the parameter DataOutLength.The Poll response message (BIS Slave -> Master) contains, depending on theInput Assembly selected,1) Input bit register and error code

2) Input bit register and any read data from the corresponding code tag, or in case of errorthe respective error number. Ascertains validity of the data through the bit register, and bitcodes.

Operating ModesModes 1 to 3

Mode 2

Page 17: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

33

33

deu

tsch

E

ProtocolCondition: The Change-of-State (or cyclic) connection for the BIS/DeviceNet interface wasallocated by the respective DeviceNet Master according to the DeviceNet Group 2 PredefinedSet, and that I/O data exchange can take place.1) The host sends an I/O message with bit register and any write data.

2) The DeviceNet interface generates from this a read/write command for the BIS C-6_3.

3) As a Poll response the input bit register (byte 0) is sent back. The result of the read/writeoperation is then available if the AE bit or the AF bit of the input bit register are set. Aslong as neither AE nor AF are set, the job is not finished, i.e., the remaining bytes of thePoll Response are without meaning.

4) The host must continue to poll the DeviceNet interface (i.e., either send the old command,or a Poll Idle command) until the result of the read/write command is available. A set AEbit (AE=1) signals a successful result of the corresponding read/write job. For read jobs,the remaining data bytes (starting at byte 1) represent the data read from the code tag, aswell as any filler bytes, which are set to null (filler bytes are sent when a Poll Responsehas for example 30 bytes, but only 12 bytes were read from the code tag). Sending of fillerbytes can be suppressed by a configurable parameter (see Configuration, parameter #21IO input length).A set AF bit (AF = 1) signals an error. The error is described in more detail in the succes-sive byte 1 (see Configuration, parameter #9R Error Code).

Mode 2(continued)

Operating ModesModes 1 to 3

C-6_3-025_0001_E.p65

34

34 E

In Mode 3, Change-of-State and BitStrobe can be active together, but only on one of the twoconnections. The BIS C-6_3 can be run simultaneously in Mode 2 or Mode 3 if data exchangeusing Poll, Change-of-State and BitStrobe is desired.Change-of-State (COS) in conjunction with BitStrobe,Data coordination by the processor is analogous to Mode 2.In contrast to Mode 2, where the Master constantly polls the Slave, in Mode 3 the Slaveautomatically sends data as soon as the bits in the input bit register or the data read from theBIS change (Change-of-State), or sends data at a predefined interval (cyclic). As soon as anew code tag appears in the active zone of the current read/write head, data areautomatically read starting at Address 0 of the code tag and sent as a Change-of-Statemessage. The length of this automatically read data is configurable using a parameter.

The validity of automatically read data is not signaled using the AE bit! Rather, a state change inthe CP bit of the input bit register from 0 -> 1 signals that data were automatically read and sentin the Change-of-State message starting at byte 1.

The BitStrobe response message contains the processor status + error code. The data of theBitStrobe command from the Master are ignored by the processor. The BitStrobe messagesimply triggers the sending of bit register and error code. The BitStrobe response is not suit-able for reading data from a code tag, since a maximum of only 8 bytes can be sent in it. TheCOS message of the Master contains data which are written to the code tag, and serves totoggle read/write heads.The BIS_Mode parameter #7 can be used to set whether the address of the code tag to bewritten or read should be included. In addition, this parameter determines whether the num-ber of data bytes to be read or written is contained in the Poll-Command of the Master, orwhether this is set in the DataOutLength parameter. Use DataInLength or DataOutLength toset the maximum amount of data to be sent.

Mode 3

Operating ModesModes 1 to 3

Page 18: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

35

35

deu

tsch

E

The COS message of the Slave contains the data read from the code tag. Depending on theInput Assembly selected,1) Input bit register and error code2) Input bit register and any data read from the corresponding code tag, and in case of error

the respective error number. Validity of the data determined using the bit register and errorcodes.

Protocol Change-of-State / cyclicCondition: The Change-of-State (or cyclic) connection for the BIS/DeviceNet interface wasallocated by the respective DeviceNet Master according to the DeviceNet Group 2 PredefinedSet, and that I/O data exchange can take place.1) The host sends an I/O message with bit register and any write data.

2) The DeviceNet interface generates from this a read/write command for the BIS C-6_3.

3) In Change-of-State mode, a Change-of-State message is generated by the BIS/DeviceNetinterface anytime there is a change in the input bit register, and in cyclic mode data aresent cyclic. In each case, the sent data packet contains the current input bit register inthe first byte.

The result of the read/write operation is then available when the AE bit or the AF bit in theinput bit register is set. As long as neither AE nor AF are set, the job has not beenfinished, i.e., the remaining bytes in the Change-of-State / cyclic message are withoutmeaning. A set AE bit (AE=1) signals a successful result of the corresponding read/writejob. For read jobs, the remaining data bytes (starting at byte 1) represent the data readfrom the code tag, as well as any filler bytes, which are set to null (filler bytes are sentwhen a Poll Response has for example 30 bytes, but only 12 bytes were read from thecode tag). Sending of filler bytes can be suppressed by a configurable parameter (seeConfiguration). A set AF bit (AF=1) signals an error. The error is described in more detail inthe successive byte 1 (see Configuration, parameter #9R Error Code).

Mode 3(continued)

Operating ModesModes 1 to 3

C-6_3-025_0001_E.p65

36

36 E

Protocol BitStrobeCondition: The Change-of-State (or cyclic) connection for the BIS/DeviceNet interface wasallocated by the respective DeviceNet Master according to the DeviceNet Group 2 PredefinedSet, and that I/O data exchange can take place.1) The host sends a BitStrobe command

2) The DeviceNet interface generates as a BitStrobe response the current input bit registerand an error code (see Configuration, parameter #9R Error Code).

Mode 3(continued)

Operating ModesModes 1 to 3

Page 19: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

37

37

deu

tsch

E

Functional DescriptionModes 2 and 3

These objects are used to group attributes for various application objects. This permits forexample I/O data for various objects to be condensed into one data block and sent by meansof a message connection (e.g., Polling I/O). In Modes 2 and 3 the DeviceNet interface takesover coordination of the data, i.e., data supplied from the Master are used to generate theread/write commands for the BIS 6_3. In these modes the assemblies can be used to make acoarse selection of the data to be exchanged.In Mode 1 (data coordination by host), the settings for the mode type are irrelevant, sincehere all the DeviceNet interface does is pass data along between the host control and theBIS, without changing data contents or format.

Output assemblies contain I/O data which are sent from the Master to the Slave (BIS C-6_3)and always consist of output bit register + write data.Depending on the processor configuration, the I/O messages sent from the Master to the BISC-6_3 are structured differently. The parameter #7 BIS_Mode configures whether read/writeaddress and data length are contained in the Master I/O message or not. There are 4 possi-bilities here as to how the processor can interpret received data:1) Received data contain output bit register and any write data.

2) Received data contain output bit register, read/write address and any write data.

3) Received data contain output bit register, number of data to be read/written in bytes, andany write data.

4) Received data contain output bit register, read/write address, number of data to be read/written in bytes, and any write data.

Assembly Objects(Class Code 04hex)

Output Assemblies

C-6_3-025_0001_E.p65

38

38 E

The setting as to whether messages are sent to the processor with or without read/writeaddress is made using the AD bit of the parameters #7 BIS_Mode. If data are always readstarting at the same address or written to the same address, the read/write address(DataInAddress or DataOutAddress) does not need to be sent always (AD bit = 0). If the ad-dress is seldom changed, this can be changed, assuming the Master supports it, by usingexplicit messages during operation, instead of being sent with every I/O message. If theaddress is constantly changing, it makes sense to send this along as a component of the I/Omessage in each cycle.The setting as to whether messages are sent to the processor with or without indication ofthe read/write target address is made using the DL bit of the parameters #7 BIS_Mode. If thelength of the data to be read or written does not change during operation, it does not need tobe sent always (AD bit = 0). If the data length is seldom changed, this can be indicated,assuming the Master supports it, by using explicit messages during operation, instead ofbeing sent with every I/O message. If the data length is constantly changing, it makes senseto send this along as a component of the I/O message in each cycle (DL bit = 1).In addition to the data for writing to the code tag (optionally with address and data length),the outputs always send a status bit register as well, which permits configuration of theprocessor (e.g., selecting the read/write head to write to).The input and output assemblies arenumbered sequentially as shown in thetable. The assembly number corre-sponds to the number which can beconfigured using the DeviceNet-Man-ager.

No. Assembly allocated to

1 reserved

2 Output Assembly 1 bit register + data

3 reserved

4 Input Assembly 1 bit register + error

5 Input Assembly 2 bit register + error + read data

Functional DescriptionModes 2 and 3

Output Assemblies(continued)

Page 20: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

39

39

deu

tsch

E

The selected assembly entity determines which data are sent from the BIS to the Master (andvice versa). This only has significance in Modes 2 and 3 (Poll, or Change-of-State withBitStrobe). In Mode 1 (Master coordinates data), the data sent from the Master to the BISinterface are simply copied and the input data provided by the BIS are read.

This assembly is used simply for setting the output bit register. It is not accessible to the enduser who is configuring the BIS using an EDS (Electronic Data Sheet). (For configuration ofthe output bit register see parameter #6)

The DeviceNet interface uses the output assembly to coordinate the data according to theparameters of the BIS Config. Object and the BIS R/W Object. The DeviceNet interface gen-erates the corresponding read/write commands from the host-supplied data as well as theconfiguration parameters. These commands consist of: Command identifier, address (forread/write command) and the amount of data to be read or written.

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR RW AV Bit name

Byte 1 DataOut (for write command) / Lowbyte Address / Data Length

Byte 2 DataOut (for write command) / Lowbyte Address / Data Length

Byte 3 DataOut (for write command) / Lowbyte Address / Data Length

... ...

Last byte DataOut (for write command) / Lowbyte Address / Data Length

Command identifier: The first byte of the Poll data from the Master is processed:RW-Bit (Bit 1) set: write command (02),RW-Bit (Bit 1) not set: read command (01).

Output Assembly 1

Output Assembly 2

Functional DescriptionModes 2 and 3

Output Assemblies(continued)

C-6_3-025_0001_E.p65

40

40 E

Read/Write address: Depending on the current configuration (address in command word ornot), the read/write addresses are sent to the BIS output buffer:1) Address in Master Poll data (AD bit in parameter #7 BIS_Mode is set): Here bytes 2 and 3

of the Master Poll data are interpreted as an address and copied as a read/write addressto the output buffer.

2) Address not in Master Poll data (AD bit in parameter BIS_MODE is not set): Here the read/write address is taken from the current configuration of the currently selected head(DataInAddress, DataOutAddress). The current head is determined by:- the HD bit of the first byte of the Poll command

(if head select is configured by the HD bit),- the state of the digital input (if head select is selected on the digital input.

Here the state of the digital input must be indicated in the bit register (IN bit)).- if both heads are active, the configuration of Head 1 is used.

Data Length: The data length of the data to be read or written is

a) taken from the data which the Master provides if the DL bit in parameter #7 BIS_Mode isset,

b) taken from the parameter DataInlength (for read command) or DataOutLength (for writecommand) of the selected head, if the DL bit is not set (has a value of 0).

The data length thus determined for the command is entered in the BIS output buffer.Then the bit register ‘provided’ by the Master is copied to the first byte of the output bufferand the AV bit is set. This starts the command. The steps for further processing of the com-mand (Read/Write Data, Toggle Bits) are handled by the DeviceNet interface.

Output Assembly 2(continued)

Functional DescriptionModes 2 and 3

Page 21: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

41

41

deu

tsch

E

If a Poll command is received while the BIS is still working on another command, the newcommand is not passed on to the BIS. Instead, an error code is generated which is sent backas a Poll or Change-of-State response.The data provided by the Master must then have the following format:Case 1: AD bit and DL bit (parameter #7 BIS_Mode) are each 0, i.e., the data length for the

command to be generated is taken from the parameters of the BIS R/W object of therespective head. This means all the Master has to do is send the bit register and any writedata.

In this case a write command looks as follows:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR RW AV Bit name

Byte 1 DataOut (for write command)

Byte 2 DataOut (for write command)

Byte 3 DataOut (for write command)

... ...

Last byte DataOut (for write command)

The data amount in bytes to be sent by the Master for a write command is therefore:DataOutLength + 1 byte (i.e. DataOutLength of the respective head + bit register)For a read command this assembly looks as follows:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR RW AV Bit name

Output Assembly 2(continued)

Functional DescriptionModes 2 and 3

C-6_3-025_0001_E.p65

42

42 E

Case 2: AD bit = 0 and DL bit = 1, i.e., the data length for the command to be generated iscontained in the data packet which the Master receives. The read/write address is takenfrom the configuration (BIS R/W object) of the respective head.

In this case a write command looks as follows:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR RW AV Bit name

Byte 1 Data Length (Low byte)

Byte 2 Data Length (High byte)

Byte 3 DataOut

... ...

Last byte DataOut

The data amount which the Master has to send in bytes for a write command is therefore:Number of write data + 3 (write data + bit register + specified data length)and for a read command 3 bytes:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR RW AV Bit name

Byte 1 Data Length (Low byte)

Byte 2 Data Length (High byte)

Output Assembly 2(continued)

Functional DescriptionModes 2 and 3

Page 22: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

43

43

deu

tsch

E

Case 3: AD bit = 1 and DL bit = 0, i.e., the read/write address for the command to be gener-ated is contained in the data packet which the Master receives. The data length is takenfrom the configuration (BIS R/W object) of the respective head.

The data packet to send for a write command looks as follows:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR RW AV Bit name

Byte 1 Start address (Low byte) = 0

Byte 2 Start address (High byte) = 0

Byte 3 DataOut

... ...

Last byte DataOut

The data amount which the Master has to send in bytes for a write command is therefore:DataOutLength + 3 bytes (DataOutLength of the respective head + bit register + address)and for a read command 3 bytes:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR RW AV Bit name

Byte 1 Start address (Low byte) = 0

Byte 2 Start address (High byte) = 0

Output Assembly 2(continued)

Functional DescriptionModes 2 and 3

C-6_3-025_0001_E.p65

44

44 E

Case 4: AD bit = 1 and DL bit = 1, i.e., the read/write address for the command to be gener-ated as well as the data length is contained in the data packet which the Master receives.The data packet to send for a write command looks as follows:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR RW AV Bit name

Byte 1 Start address (Low byte) = 0

Byte 2 Start address (High byte) = 0

Byte 3 Data Length (Low byte) = A

Byte 4 Data Length (High byte) = 0

Byte 5 DataOut

... ...

Last byte DataOut

The data amount which the Master has to send in bytes for a write command is therefore:Number of data to write + 3 (number of write data + bit register + address + data length)and for a read command 5 bytes:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR RW AV Bit name

Byte 1 Start address (Low byte) = 0

Byte 2 Start address (High byte) = 0

Byte 3 Data Length (Low byte) = A

Byte 4 Data Length (High byte) = 0

Output Assembly 2(continued)

Functional DescriptionModes 2 and 3

Page 23: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

45

45

deu

tsch

E

Checking the received data amountIf too few data bytes are sent for a write command, the DeviceNet interface reacts with anerror message (0x0C = invalid data length). The maximum number of data which theDeviceNet interface can receive is determined by the larger value of the parameterDataOutLength of the two heads.Example: DataOutLength Head 1: 30 bytes

DataOutLength Head 2: 40 bytesA Poll or Change-of-State/cyclic command sent to the DeviceNet interface can therefore bemax. 45 bytes in size. (write data + any overhead for bit register, address and data length).If more data than this are sent, the entire message remains unprocessed !In the above example, if 30 data bytes are written on Head 1 but 40 bytes are sent by theMaster, this is permissible.Note: The DeviceNet interface ignores in this case the remaining data bytes.

Output Assembly 2(continued)

Functional DescriptionModes 2 and 3

C-6_3-025_0001_E.p65

46

46 E

I/O messages which are sent from the Slave (BIS C-6_3) to the MasterThe assembly entity is selected depending on what the application requires. The max. lengthof the I/O message, i.e., the maximum number of bytes which can be sent over an input tothe Master, is predetermined by the configured buffer size and is in any case limited to max.256 bytes.Input assemblies contain I/O messages which are sent from the Slave to the Master.This may be1) Bit register and error code (if no error occurs, error code = 0), but no read data.

2) Bit register and data which were read from the code tag, or error code if an error occurs.Here the number of data read is determined by the parameter DataInLength (attribute 101,BIS R/W object) of the respective head.

Input Assembly 1 sends back the current input bit register as a Poll/Change-of-State re-sponse.

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register BB HF TO IN AF AE CP Bit name

Byte 1 Error_Code / Data_In

The data length of Input Assembly 1 is always 2 bytes.

Input Assemblies

Input Assembly 1

Functional DescriptionModes 2 and 3

Page 24: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

47

47

deu

tsch

E

Input Assembly 2 provides the current input bit register as well as the data read from thecode tag, and in case of an error an error code.If no error is detected (AF bit = 0), then byte 1 corresponds to the first data byte to be sent. Ifan error was detected (AF bit = 1), then byte 1 corresponds to the error code and the remain-ing bytes are sent with a value of 0. The data length which is sent as a Poll/ or Change-of-State message is stored in the DataInLength parameter of the respective head.

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register BB HF TO IN AF AE CP Bit name

Byte 1 Error_Code / Data_In

Byte 2 Data_In

... ...

Last byte Data_In

The data length of the data sent over this assembly from the DeviceNet interface varies ofcourse depending on the previously executed command. While the reply to a correctly pro-cessed write command consist of just the BIS input bit register, the reply to a processed readcommand may be as large as 256 bytes (the data read + bit register).The parameter Full_Resp_Len (attribute 114 of the BIS Config. object) can be used to setwhether the length of the data sent shall be limited to the actual user data, or whether thedata length configured by the Produced_Connection_Size parameter of the Poll/Change-of-State connection is sent. In the latter case, it can be requested from the respective Master.

Input Assembly 2

Functional DescriptionModes 2 and 3

C-6_3-025_0001_E.p65

48

48 E

Mode 2, AD bit and DL bit in parameter #7 BIS_Mode are set, i.e., read/write address andnumber of data bytes to read/write are contained in the Poll command of the Master. The HDbit can be used to select the read/write head (parameter #4 Head Select Mode = 1).Head 1 shall read 10 bytes starting at address 0. The Poll command which must be sent fromthe host to the BIS has the following format:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT=0 TI=0 HD=0 GR=0 RW=0 AV=0 Bit name

Byte 1 Start address (Low byte) = 0

Byte 2 Start address (High byte) = 0

Byte 3 Data Length (Low byte) = A

Byte 4 Data Length (High byte) = 0

Note: The CT bit can be used to define the code tag type.

In modes 2 and 3, the TI and AV bits are ignored, since they are set by the DeviceNetinterface corresponding to the job in progress. The GR bit can then be used in modes 2 and 3to set the BIS to the ground state.The above command must be sent to the BIS repeatedly until there is a result (AE bit or AF bitof the input bit register returned as a Poll response are set).

Example 1

Functional DescriptionModes 2 and 3

Page 25: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

49

49

deu

tsch

E

Mode 2, AD bit in parameter #7 BIS_Mode is set, i.e., read/write address of the data bytes tobe read/written is contained in the Master Poll command. The number of data bytes to read/write is taken from the parameter DataInLength or DataOutLength of the respective head. TheHD bit can be used to select the read/write head (parameter #4 Head Select Mode = 1).Head 2 shall read 30 bytes starting at address 20. Here the parameter DataOutLength1 (num-ber of read data for Head 1) is set to 30 (this can have already been done using an explicitmessage, or using a Config Tool like the DeviceNet Manager).The Poll command which must be sent by the host to the BIS has the following format:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT=0 TI=0 HD=1 GR=0 RW=0 AV=0 Bit name

Byte 1 Start address (Low byte) = 14

Byte 2 Start address (High byte) = 0

Byte 3 not relevant

Byte 4 not relevant

The above command must be sent to the BIS repeatedly until there is a result (AE bit or AF bitof the input bit register returned as a Poll response are set).

Example 2

Functional DescriptionModes 2 and 3

C-6_3-025_0001_E.p65

50

50 E

Mode 2, AD bit and DL bit in parameter #7 BIS_Mode are set, i.e., read/write address andnumber of data bytes to read/write are contained in the Poll command of the Master. The HDbit can be used to select the read/write head (parameter #4 Head Select Mode = 1).Head 1 shall write 10 bytes starting at address 5. The Poll command which must be sent fromthe host to the BIS has the following format:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT=0 TI=0 HD=0 GR=0 RW=1 AV=0 Bit name

Byte 1 Start address (Low byte) = 5

Byte 2 Start address (High byte) = 0

Byte 3 Data Length (Low byte) = 0xA

Byte 4 Data Length (High byte) = 0

Byte 5 Data byte 0 = 1

Byte 6 Data byte 1 = 2

Byte 7 Data byte 2 = 3

Byte 8 Data byte 3 = 4

Byte 9 Data byte 4 = 5

Byte 10 Data byte 0 = 6

Byte 11 Data byte 1 = 7

Byte 12 Data byte 2 = 8

Byte 13 Data byte 3 = 9

Byte 14 Data byte 4 = 0xA

Byte 15 not relevant

The above command must be sent to the BIS repeatedly until there is a result (AE bit or AF bitof the input bit register returned as a Poll response are set).

Example 3

Functional DescriptionModes 2 and 3

Page 26: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

51

51

deu

tsch

E

Example 4

Functional DescriptionModes 2 and 3

Mode 3, AD bit and DL bit in parameter #7 BIS_Mode are set, i.e., read/write address andnumber of data bytes to read/write are contained in the Master command. The HD bit can beused to select the read/write head (parameter #4 Head Select Mode = 1).Head 2 shall write 5 bytes starting at address 7. The Poll command which must be sent fromthe host to the BIS has the following format:

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT=0 TI=0 HD=1 GR=0 RW=1 AV=0 Bit name

Byte 1 Start address (Low byte) = 7

Byte 2 Start address (High byte) = 0

Byte 3 Data Length (Low byte) = 5

Byte 4 Data Length (High byte) = 0

Byte 5 Data byte 0 = 1

Byte 6 Data byte 1 = 2

Byte 7 Data byte 2 = 3

Byte 8 Data byte 3 = 4

Byte 9 Data byte 4 = 5

Byte 10 not relevant

In contrast to Mode 2, the above command has to be sent only once to the BIS (repeatedsending has no negative effects, since the write command in question is only started once).The DeviceNet interface sends (cyclic or by state change) the input bit register + data. Basedon the input bit register, the result of the read/write command is recognized (if the AE bit orthe AF bit in the input bit register is set).

C-6_3-025_0001_E.p65

52

52 E

In order to transmit commands and data between the BIS C-6_3 Processor and the host sys-tem, the latter must prepare two fields. These two fields are:

– the output buffer- for the control commands which are sent to the BIS Identification System,- for the data to be written to the code tag, and- for the configuration data for configuring the BIS C-6_3 Processor.

– the input buffer- for the data to be read from the code tag,- for the designators and error codes which come from the BIS Identification System, and- for reading out the configuration data of the BIS C-6_3 Processor.

The buffer size is selectable between 6 and 256 bytes. In each buffer the first byte (bit regis-ter) is used as a bit header and serves to control the command sequences. The remainingbytes are assigned depending on command. Besides, the host can put together different dataarrangements through configuration (so called assemblies, see Functional description ofModes 2 and 3).

Input and outputbuffers

Functional DescriptionMode 1

Page 27: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

53

53

deu

tsch

E

Configuring theoutput buffer

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register CT TI HD GR AV Bit name

Byte 1 Command designator or Data

Byte 2 Start address (Low byte)or Head number or Data

Byte 3 Start address (High byte) or Data

Byte 4 Number of bytes (Low byte) or Data

Byte 5 Number of bytes (High byte) or Data

Byte 6 Data

... Data

Last byte Data

Bit name Meaning Functional description

CT Code tag type Select type of Code tag: for Code tag type:0 32 bytes block size BIS C-1_ _-02, -03, -041 64 bytes block size BIS C-1_ _-10, -30

TI Toggle-Bit in Controller is ready for additional data.HD Head select If the parameter #4 is set to 1 (Head select via HD bit), this bit can

be used to directly select the read/write head.0 Read/write head 11 Read/write head 2

GR Base state Causes the BIS system to go into the ground state.AV Job present Signals to the Identification System that a command is present.

Functional DescriptionMode 1

Description ofoutput buffer

C-6_3-025_0001_E.p65

54

54 E

Functional DescriptionMode 1

Sub- Meaning Functional descriptionaddress

Byte 1 Command designator00Hex No command present01Hex Read code tag02Hex Write to code tag03Hex Read/write head functions

or Data for writing to the code tag.

Byte 2 Start address Address at which reading from or writing to the code tag begins(Low byte) (the Low byte includes the address range from 0 to 255).

or Head number Select read/write head (for max. two heads) or find code tagin front of a read/write head.

01Hex Select Head 1.02Hex Select Head 2.03Hex Select both read/write heads. It must be determined that only

one code tag is in front of a read/write head, since only onecode tag at a time can be processed.

(continued on next page)

Description ofoutpu buffer(continued)

Page 28: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

55

55

deu

tsch

E

Functional DescriptionMode 1

Sub- Meaning Functional descriptionaddressByte 2 Head number (continued)

04Hex Check both read/write heads to see whether a code tag is present.If a code tag is found in the active zone of a head that headremains selected. Its head number 01Hex or 02Hex and thefirst 4 bytes of the code tag are written to the subaddressesByte 1 to Byte 5 of the input buffer.If no code tag is detected at one of the heads, the originally selectedhead remains active (Head 1 or 2 or both). As a result the "Headnumber" 04Hex is sent to the subaddress Byte 1 and 00Hex to thesubaddress Byte 2 of the input buffer.

05Hex Check both read/write heads until a code tag is found. See aboveunder 04Hex for further details.

or Data for writing to the code tag.

(continued on next page)

Description ofoutput buffer(continued)

C-6_3-025_0001_E.p65

56

56 E

Functional DescriptionMode 1

Sub- Meaning Functional descriptionaddress

Byte 3 Start address Start address for reading from or writing to the code tag (the High(High byte) byte is additionally used for the address range from 256 to 8,191).

or Data for writing to the code tag.

Byte 4 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 code tag.

Byte 5 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

and 8,192 bytes).

or Data for writing to the code tag.

Byte 6 Data for writing to the code tag.

... Data for writing to the code tag.

Last byte Data for writing to the code tag.

Description ofoutput buffer(continued)

Page 29: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

57

57

deu

tsch

E

Description ofinput buffer

Configuring theinput buffer

7 6 5 4 3 2 1 0 Bit no.

Byte 0 = bit register BB HF TO IN AF AE AA CP Bit name

Byte 1 Error ode or Head number or Data

Byte 2 Data

Byte 3 Data

Byte 4 Data

Byte 5 Data

Byte 6 Data

... Data

Last byte Data

Bit name Meaning Functional description

BB Ready The BIS Identification System is in the Ready state.HF Head failure Cable break from read/write head or

no 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.IN Input When the parameter "Input IN" = 1 this bit shows the state of

the input.AF Job error Job ended with error or was aborted.AE Job ended Job ended without error.AA Job started Job was recognized and started.CP Codetag Present Code tag present within the active zone of the selected

read/write head.

Functional DescriptionMode 1

C-6_3-025_0001_E.p65

58

58 E

Functional DescriptionMode 1

Sub- Meaning Functional descriptionaddress

Byte 1 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 code tag is present

in the active zone of a read/write head.02Hex Read error.03Hex Code tag was removed from the active zone of the read/write

head while it was being read.04Hex Write error.05Hex Code tag was removed from the active zone of the read/write

head while it was being written.06Hex Access error in memory.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.

If the command designator 03Hex with head number 03Hex

was used to select both read/write heads, it may be that one head

is not connected. If both read/write heads are selected, the cablebreak message is suppressed if a code tag was recognized infront of a connected, fully functional read/write head.

(continued on next page)

Description ofinput buffer(continued)

Page 30: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

59

59

deu

tsch

E

Functional DescriptionMode 1

Sub- Meaning Functional descriptionaddress

Byte 1 (continued)or Head Number If both read/write heads are selected, the number of the head

used is written here after a successful read or write process:Head 1 31Hex

Head 2 32Hex

Head number 3 = 33Hex is written when using the dynamic mode.Hence the data read with a read command beginswith subaddress 02Hex of the input buffer.

or Data Data which was read from the code tag(for exception see Head Number above).

Byte 2 Data Data which was read from the code tag.

... Data Data which was read from the code tag.

last Byte Data Data which was read from the code tag.

Description ofinput buffer(continued)

C-6_3-025_0001_E.p65

60

60 E

Read 19 bytes starting at code tag address 10 (tag type with 32 byte block size):Example 1Buffer size = 8 byte

7.) Process subaddresses of input buffer: 8.) Process subaddresses of input buffer:

BIS C-6_3 Identification System:

2.) Process subaddresses of input buffer in ordershown:

3.) Process subaddresses of input buffer: 4.) Process subaddresses of input buffer:

6.) Process subaddresses of input buffer:5.) Process subaddresses of input buffer:

Host:

1.) Process subaddresses of output buffer in ordershown:

ProtocolMode 1

01Hex Command designator 01Hex

02Hex Start address Low Byte 0AHex

03Hex Start address High Byte 00Hex

04Hex No. of bytes Low Byte 13Hex

05Hex No. of bytes High Byte 00Hex

00Hex CT-Bit to 0 (32 Byte block size),set AV-Bit

00Hex Set AA-Bit

01...07Hex Enter first 7 bytes of data

00Hex Set AE-Bit

01...07Hex Copy first 7 data bytes

Process subaddress of the output buffer:

00Hex Invert TI-Bit

01...07Hex Enter second 7 data bytes

00Hex Invert TO-Bit

01...07Hex Copy second 7 data bytes

Process subaddress of the output buffer:

00Hex Invert TI-Bit

01...05Hex Enter the remaining 5 data bytes

00Hex Invert TO-Bit

01...05Hex Copy the remaining 5 data bytes

Process subaddress of the output buffer:

00Hex Reset AV-Bit

00Hex Reset AA-Bit and AE-Bit

Page 31: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

61

61

deu

tsch

E

ProtocolMode 1

Example 2Buffer size = 8 byte

Read 40 bytes starting at code tag address 10 with read error(code tag type with 64 byte block size):

Host:

1.) Process subaddresses of the output buffer in theorder shown:

BIS C-6_3 Identification System:

2.) Process subaddresses of the input buffer in theorder shown:

3.) Process subaddresses of the output buffer: 4.) Process subaddresses of the input buffer:

00Hex Set AA-Bit

01Hex Enter error number

00Hex Set AF-Bit

01Hex Copy error number

00Hex Reset AV-Bit

00Hex Reset AA-Bit and AF-Bit

01Hex Command designator 01Hex

02Hex Start address Low Byte 0AHex

03Hex Start address High Byte 00Hex

04Hex No. of bytes Low Byte 28Hex

05Hex No. of bytes High Byte 00Hex

00Hex CT-Bit to 1 (64 Byte block size),set AV-Bit

C-6_3-025_0001_E.p65

62

62 E

Example 3Buffer size = 8 byte

ProtocolMode 1

Write 16 bytes starting at code tag address 20 (code tag type with 32 byte block size):Host:

1.) Process subaddresses of the output buffer in theorder shown:

BIS C-6_3 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 02Hex

02/03Hex Start address 14Hex / 00Hex

04/05Hex No. of bytes 10Hex / 00Hex

00Hex CT-Bit to 0 (32 Byte block size),set AV-Bit

00Hex Set AA-Bit, invert TO-Bit

01...07Hex Enter the first 7 data bytes

00Hex Invert TI-Bit

01...07Hex Copy the first 7 data bytes

Process subaddress of the input buffer:

00Hex Invert TO-Bit

01...07Hex Enter the second 7 data bytes

00Hex Invert TI-Bit

01...07Hex Copy the second 7 data bytes

Process subaddress of the input buffer:

00Hex Invert TO-Bit

01...02Hex Enter the remaining 2 bytes

00Hex Invert TI-Bit

01...02Hex Copy the remaining 2 data bytes

Process subaddress of the input buffer:

00Hex Set AE-Bit

00Hex Reset AV-Bit 00Hex Reset AA-Bit and AE-Bit

Page 32: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

63

63

deu

tsch

E

Example 4Buffer size = 8 byte

ProtocolMode 1

Put BIS C-6_3 Identification System into ground state:

Host:

1.) Process subaddresses of the output buffer:

BIS C-6_3 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 Set GR-Bit 00Hex Reset BB-Bit

00Hex Reset GR-Bit 00Hex Set BB-Bit

C-6_3-025_0001_E.p65

64

64 E

Example 5Buffer size = 8 byte

Example 6Buffer size = 8 byte

ProtocolMode 1

Switch to Head 2:

Select both heads:

Host:

1.) Process subaddresses of the output buffer in theorder shown:

BIS C-6_3 Identification System

2.) Process subaddresses of the input buffer in theorder shown:

Host:

1.) Process subaddresses of the output buffer in theorder shown:

BIS C-6_3 Identification System:

2.) Process subaddresses of the input buffer in theorder shown:

3.) Process subaddresses of the output buffer: 4.) Process subaddresses of the input buffer:

3.) Process subaddresses of the output buffer: 4.) Process subaddresses of the input buffer:

01Hex Command designator 03Hex

02Hex Enter head number 02Hex

00Hex CT-Bit to 0 (32 Byte block size),set AV-Bit

00Hex Set AA-Bit

Select Head 2

00Hex Set AE-Bit

00Hex Reset AV-Bit 00Hex Reset AA-Bit and AE-Bit

00Hex Reset AV-Bit 00Hex Reset AA-Bit and AE-Bit

01Hex Command designator 03Hex

02Hex Enter head function 03Hex

00Hex CT-Bit to 0 (32 Byte block size),set AV-Bit

00Hex Set AA-Bit

Select both heads

00Hex Set AE-Bit

Page 33: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

65

65

deu

tsch

E

Read timesfrom Code tagto processorin static mode(configurationparameter #2 = 0)

The indicated times apply after the code tag has been recognized. If the code tag is not yetrecognized, an additional 45 ms for building the required energy field until the code tag is recognizedmust be added.

For double read and compare:

Code tag with 32 byte blocks Code tag with 64 byte blocks

No. of bytes Read time [ms] No. of bytes Read time [ms]

from 0 to 31 110 from 0 to 63 220

for each additional32 bytes add 120

for each additional64 bytes add 230

from 0 to 255 = 950 from 0 to 2047 = 7350

Including readback and compare:

Code tag with 32 byte blocks Code tag with 64 byte blocks

No. of bytes Write time [ms] No. of bytes Write time [ms]

from 0 to 31 110 + n * 10 from 0 to 63 220 + n * 10

for 32 bytes or more y * 120 + n * 10 for 64 bytes or more y * 230 + n * 10

n = number of contiguous bytes to writey = number of blocks to be processed

Example: 17 bytes from address 187 have to be written. Code tag with 32 bytes per block.The blocks 5 and 6 will be processed since the start address 187 is in block 5 and the endaddress 203 in block 6.t = 2 * 120 + 17 * 10 = 410

Write timesfrom processorto Code tagin static mode(configurationparameter #2 = 0)

Read/Write Times

C-6_3-025_0001_E.p65

66

66 E

Read timesfrom Code tagto processorin dynamic mode(configurationparameter #2 = 1)

Read times within the 1st block for dual read and compare:

The indicated times apply after the code tag has been recognized. If the code tag is not yetrecognized, an additional 45 ms for building the required energy field until the code tag is recognizedmust be added.

m = highest address to be read

Formula: t = (m + 1) * 3.5 msExample: Read 11 bytes starting at address 9, i.e. the highest address to be read is 19.

This corresponds to 70 ms.

Read/Write Times

Code tag with 32 byte blocks Code tag with 64 byte blocks

No. of bytes Read time [ms] No. of bytes Read time [ms]

from 0 to 3 14 from 0 to 3 14

for each additionalbyte add 3.5

for each additionalbyte add 3.5

from 0 to 31 112 from 0 to 63 224

Page 34: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

67

67

deu

tsch

E

Function displays onBIS C-603

LED Display

Operating conditionson DeviceNet

Operating conditionson BIS

The BIS C-6_3 uses the three side-mounted LEDs to indicate important conditions from theidentification system and on the DeviceNet network.LED Status Meaning

Ready / CT-Present off Supply voltage/hardware not OK.on (green) Supply voltage OK; no hardware error.

However, no code tag in read/write range.on (yellow) Code tag read/write-ready.flashes (yellow) Cable break or read/write head not connected.

Codetag Operating off No read/write command in process.on (yellow) Read/write command in process.

MOD / NET STATUS off Device freezes up during "Initialization" after Power-on.on (red) Device on-line on the bus, however,

communication connection not yet established.on (green) Device on-line on the bus,

communication connection established.

If the two LEDs "Ready/CT-Present" and "Codetag Operating" are flashing synchronously, it means a memoryerror. The unit must be returned to the factory.

C-6_3-025_0001_E.p65

68

68 E

Mounting theBIS C-603 Processorand orientation ofthe read/write heador adapter

BIS C-603Mounting Processor / Head

The processor is attached using 4 lateral mounting holes.

Depending on model, theprocessor is equippedwith a read/write head orthe adapter for offsetread/write heads. Both theread/write head and theadapter can be rotated bythe user by + or -90 deg.to the desired position(see drawing). Be surethat power is off first.Loosen both screws(indicated with arrows).Carefully pull the head oradapter out towards theside (direction of arrow,right drawing).

Caution: wires inside!

Mount at the desiredorientation and screwtight again.

Caution:wires inside!

Page 35: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

69

69

deu

tsch

E

BIS C-603Mounting Processor / Head

In order to connect the power supply and the input signal, the BIS C-603 Processor must beopened.

Take care that the device is unpowered.

Loosen the 4 screws at the BIS C-603 and remove thecover. Feed the cable through the cable clamp. See thefollowing pages for additional information.

Opening theprocessorBIS C-603

Opening the processor

Mounting of the cover (4 screws),max. permissible tightening torque: 0.15 Nm

C-6_3-025_0001_E.p65

70

70 E

Wiring diagram forBIS C-603 Processorwith integratedread/write head

For power supplyand input

DeviceNetconnector

Terminalblock

BIS C-603Wiring Diagrams

Terminal location anddesignation

→A

View "A"

DeviceNet connector

Pinassignment

Pin Function

1 Drain

2 V+

3 V–

4 CAN_H

5 CAN_L

Terminal block assignmentsn.c. = do not connect!

8 7 6 5 4 3 2 1

+ VS - VS +IN -IN

POWER n.c. INPUT

Page 36: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

71

71

deu

tsch

E

Wiring diagram forBIS C-603 Processorwith BIS C-650adapter

Terminal location anddesignation

For power supplyand input

DeviceNetconnector

Terminalblock

→A

View "A"

DeviceNet connector

Pinassignment

Connection forRead/Write Head 2

Connection forRead/Write Head 1

BIS C-603Wiring Diagrams

Pin Function

1 Drain

2 V+

3 V–

4 CAN_H

5 CAN_L

Terminal block assignmentsn.c. = do not connect!

8 7 6 5 4 3 2 1

+ VS - VS +IN -IN

POWER n.c. INPUT

C-6_3-025_0001_E.p65

72

72 E

→A

8 7 6 5 4 3 2 1

+ VS - VS +IN -IN

POWER n.c. INPUT

Wiring diagram forBIS C-603 Processorwith BIS C-670adapter

Terminal location anddesignation

For power supplyand input

DeviceNetconnector

Terminalblock

View "A"

DeviceNet connector

Pinassignment

Connection forRead/Write Head

BIS C-603Wiring Diagrams

Pin Function

1 Drain

2 V+

3 V–

4 CAN_H

5 CAN_L

Terminal block assignmentsn.c. = do not connect!

Page 37: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

73

73

deu

tsch

E

Dimensions,Weight

Housing Plastic ABSDimensions with read/write head BIS C-652 167 x 90 x 35 mmDimensions with Adapter BIS C-650 145 x 90 x 35 mmWeight 500 g

Ambient Temperature 0 °C to + 60 °C

Terminal Block 8-pinCable Entry 1 x PG 9 fittingCable diameter 4 to 8 mmConnector 5-pin

Enclosure rating IP 65

Supply Voltage VS, input 24 V DC ± 20 %Ripple £ 10 %Current Draw £ÿ400 mAConductor size 0.14 to 1 mm2

with ferrules 0.25 to 0.34 mm2

DeviceNet connection 5-pin ConnectorRead/Write head integrated, BIS C-65_ and following *);option for mounted adapter BIS C-650 *) 2 x connectors 4-pin (male)

for all read/writ heads BIS C-3_ _with 4-pin connector (female),except BIS C-350 and BIS C-352

BIS C-603Technical Data

OperatingConditionsConnections

Enclosure Rating

ElectricalConnections

*) rotatable by 90 degrees

C-6_3-025_0001_E.p65

74

74 E

option for mounted adapter BIS C-670 *) 1 x connector 8-pin (male)for one of the read/write headsBIS C-350 or BIS C-352

Digital 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 mATurn-on delay type. 5 ms

BIS status messages:Ready / CT-Present LED green / yellowCodetag Operating LED yellowDeviceNet messages:MOD / NET STATUS LED green / red

Electrical Data

BIS C-603Technical Data

Functional Displays

The CE-Mark is your assurance that our products are in conformance with theEC-Guideline

89/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 Standard

EN 50081-2 (Emission) and EN 50082-2 (Noise Immunity).

ElectricalConnections(continued) *) rotatable by 90 degrees

Page 38: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

75

75

deu

tsch

E

Balluff Identification System

Type C Read/Write System

Hardware Type603 = DeviceNet

Software Type025 = DeviceNet

Read/Write Head000 = no read/write head651 = with read/write head Type 651 (with circular antenna on top)652 = with read/write head Type 652 (with circular antenna on front)653 = with read/write head Type 653 (with rod antenna)650 = adapter with two connections for external read/write heads BIS C-3_ _

(except BIS C-350 and -352)670 = adapter with one cable connection for an external read/write head

BIS C-350 or BIS C-352)

InterfaceBUS versions

User ConnectionST1 Connector, 5-pinTerminal block via 1x PG 9 cable fitting

Ordering Code

BIS C-603Ordering Information

BIS C-603-025-_ _ _-03-ST1

C-6_3-025_0001_E.p65

76

76 E

Mounting theBIS C-623 processor

BIS C-623Mounting Processor

The processor is mounted using 4 M4 screws.

Page 39: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

77

77

deu

tsch

E

Connection for read/write head 2 Connection for read/write head 1

DeviceNet output

DeviceNet input

Supply voltage anddigital input

Protection ground PE

Wiring for theBIS C-623 processor

Connection locationsand names

BIS C-623Wiring Diagrams

C-6_3-025_0001_E.p65

78

78 E

BIS C-623Wiring Diagrams

Wiring diagram forBIS C-623 processor

Protection ground PE

X1, supply voltage and digital input

The ground connector should be connected toearth directly or through a RC combination de-pending on the system (potential counterpoise).

X2, DeviceNet output

Pin Function

1 Drain

2 +VS1

3 –VS1

4 CAN_H

5 CAN_L

X3, DeviceNet input

Pin Function

1 Drain

2 +VS1

3 –VS1

4 CAN_H

5 CAN_L

Pin Function

1 +Vs

2 –IN

3 –Vs

4 +IN

5 n.c.

n.c. = do notconnect!

When connecting the bus leads,make sure that the shield has properconnection to connector housing.

Page 40: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

79

79

deu

tsch

E

Dimensions, weight Housing Metal, Al Si 12, DIN 1725Dimensions 175 x 118 x 60 mmWeight 820 g

Ambient temperature 0 °C to +50 °C

Integral connector X1 5-pin (male)Integral connector Head 1, Head 2 4-pin (male)Round connector for X2 and X3 5-pin (X2 female / X3 male)

Protection class IP 65 (when connected)

Supply voltage VS DC 24 V ± 20 %Ripple £ 10 %Current draw £ÿ400 mAConnections for supply voltage VS at input X1Digital input X1 (+IN, –IN) galvanically isolated (optocoupler)Control voltage active 4 V to 40 VControl voltage inactive 1.5 V to –40 VInput current at 24 V 11 mADelay time, typ. 5 msOutput X2, input X3, DeviceNet serial interface for DeviceNet stationsHead 1, Head 2, Read/Write Head via integrated adapter with

2 x connectors for allread/write heads BIS C-3_ _with 4-pin connector (female),excluding BIS C-350 and BIS C-352

BIS C-623Technical Data

Operating conditions

Connection type

Enclosure

Electricalconnections

C-6_3-025_0001_E.p65

80

80 E

BIS C-623Technical Data

BIS status messages:Ready / CT-Present LED green / yellowCodetag Operating LED yellowDeviceNet messages:MOD / NET STATUS LED green / red

Function displays

The CE-Mark is your assurance that our products are in conformance with theEC-Guideline

89/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 Standard

EN 50081-2 (Emission) and EN 50082-2 (Noise Immunity).

Page 41: Electronic Identification Systems BIS Processor …usa.balluff.com/manuals/BIS C/BIS C-6_3.pdf1 Electronic Identification Systems BIS Processor BIS C-6_3 DeviceNet Manual Deutsch –

81

81

deu

tsch

E

BIS C-623-025-050-03-ST7

Balluff Identification System

Type C Read/Write System

Hardware Type623 = metal housing, DeviceNet

Software Type025 = DeviceNet

Adapter050 = with two connections for external read/write heads BIS C-3_ _

(except BIS C-350 and -352)

Interface03 = bus versions

User ConnectionST7 = Connector version(1 round connector for power supply, 2 round connectors for DeviceNet)

Connector for X1 BKS-S79-00for X2 BKS-S98-00for X3 BKS-S99-00

Protective cap for X2 118735Termination for X2 BKS-S98-R01

Ordering code

BIS C-623Ordering Information

Accessory(optional,not included)

C-6_3-025_0001_E.p65

82

82 E

Appendix, ASCII Table

Deci-mal Hex

ControlCode ASCII

Deci-mal Hex

ControlCode ASCII

Deci-mal Hex ASCII

Deci-mal Hex ASCII

Deci-mal Hex ASCII

Deci-mal Hex ASCII

0 00 Ctrl @ NUL 22 16 Ctrl V SYN 44 2C , 65 41 A 86 56 V 107 6B k

1 01 Ctrl A SOH 23 17 Ctrl W ETB 45 2D - 66 42 B 87 57 W 108 6C l

2 02 Ctrl B STX 24 18 Ctrl X CAN 46 2E . 67 43 C 88 58 X 109 6D m

3 03 Ctrl C ETX 25 19 Ctrl Y EM 47 2F / 68 44 D 89 59 Y 110 6E n

4 04 Ctrl D EOT 26 1A Ctrl Z SUB 48 30 0 69 45 E 90 5A Z 111 6F o

5 05 Ctrl E ENQ 27 1B Ctrl [ ESC 49 31 1 70 46 F 91 5B [ 112 70 p

6 06 Ctrl F ACK 28 1C Ctrl \ FS 50 32 2 71 47 G 92 5C \ 113 71 q

7 07 Ctrl 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 SP 54 36 6 75 4B K 96 60 ‘ 117 75 u

11 0B Ctrl K VT 33 21 ! 55 37 7 76 4C L 97 61 a 118 76 v

12 0C Ctrl L FF 34 22 " 56 38 8 77 4D M 98 62 b 119 77 w

13 0D Ctrl M CR 35 23 # 57 39 9 78 4E N 99 63 c 120 78 x

14 0E Ctrl N SO 36 24 $ 58 3A : 79 4F O 100 64 d 121 79 y

15 0F Ctrl O SI 37 25 % 59 3B ; 80 50 P 101 65 e 122 7A z

16 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 DEL

21 15 Ctrl U NAK 43 2B +


Recommended