background image

www.balluff.com

5

english

2.1 

VARAN fundamentals

VARAN is manufacturer-independent, real-time network 

protocol with the following features:
–  Speed

–  Openness

–  Simple implementation

–  Optimised real-time performance

–  High reliability
VARAN is based on the IEEE 802.3 100TX standard 

Ethernet technology. The physical Ethernet layer consists 

of a connector, a transformer and the Ethernet PHY 

module. The PHY module provides an auto-crossover so 

that crossed and uncrossed CAT5e cables can be used. 

The BTL can be supplied with power via the bus cable, if 

at least one AWG26 cable (0.14 mm

2

) is in use.

Fig. 2-1: 

Manager

Splitter

Client

Client

To other clients or splitters

Client

Splitter

Manager/client topology

The VARAN bus uses the manager/client topology (see 

Fig. 2-1). The manager administrates the entire bus 

address area with up to 65,280 participants. The bus is 

seen as a 4 GB memory area, in which each client has 

64 kb address space which can be handled as control 

address space (CAS) or memory address space (MAS). 

The CAS is used to set up the device. The address 

mapping of the CAS is done in the same way for all the 

different types of VARAN clients, but the memory space is, 

however, device-dependent. The connection with the client 

is established with simple read/write commands. Both the 

control and the memory space have their own read/write 

commands.

The VARAN MAC and the device profile is realised in 

FPGA. The firmware of the FPGA is stored in a flash 

memory and can be upgraded via the VARAN interface.

During a system start the manager automatically assigns 

addresses for the entire network. The bus is periodically 

scanned for added or removed clients and the topology 

compared with the application.

Balluff BTL6-V55V-… transducers support the 

EUROMAP 75 recommendation, which can be obtained 

from the www.euromap.org website.

2.2 

VARAN bus cycle

Every data transfer is initiated and administrated by the 

VARAN manager. At the beginning of each bus cycle, the 

VARAN manager sends a global SYNC command, the 

isochronous real-time data objects followed by the 

asynchronous objects, and then the data objects in the 

administration task.

Tasks such as scanning for new participants or even 

transporting Ethernet IP data packets are performed in the 

administration task.

Asynchronous direct access interrupts the running tasks 

(at any time) at the most for 25 μs and immediately 

updates the clients.

Fig. 2-2: 

ASYNC

ISO

DA

Task

Administration 

Global Sync

Global Sync

Next 

period

t

Communication timing

2.3 

Client implementation

The client is implemented in FPGA using the 

0.1.4.2 VARAN protocol version. 

The PLL implementation’s VARAN client function has a 

synchronous output, SYNC_OUT_0.

The status signalling is realised with one bicolour LED:
–  Green: link established

–  Orange: link established and data received

Fig. 2-3:  Bicolour LED

The LED reflects the status of the VARAN bus and not the 

device status.

LED

System description

BTL6-V55V…

Configuration

Summary of Contents for BTL6-V55 Series

Page 1: ...BTL6 V55 Konfigurationshandbuch deutsch...

Page 2: ...www balluff com...

Page 3: ...Systembeschreibung 5 2 1 VARAN Grundlagen 5 2 2 Der VARAN Bus Zyklus 5 2 3 Client Implementierung 5 3 Inbetriebnahme 6 3 1 Initialisieren 6 3 2 Synchronisieren des Clients 6 3 2 1 Berechnen des Messz...

Page 4: ...Einstellungen Hinweis Tipp Dieses Symbol kennzeichnet allgemeine Hin weise 1 2 Verwendete Abk rzungen CAS Control Address Space FPGA Field Programmable Gate Array MAC Media Access Control MAS Memory A...

Page 5: ...AC und Ger teprofil werden im FPGA verarbei tet Die Firmware des FPGA wird in einem Flash Speicher gespeichert und kann ber die VARAN Schnittstelle erwei tert werden W hrend des Systemstarts vergibt d...

Page 6: ...t 2 kHz Bei einem VARAN Buszyklus von 10 kHz muss der Pulsgenerator PLL_SYNC_OUT durch 5 teilen Dar ber hinaus kann SYNC_OUT_0 das den Messzyklus abfragt verz gert werden um in Regelkreisanwendungen e...

Page 7: ...ositionsgeber tmin ms L 100 mm 3 2800 m s Die Messzyklusfrequenz ist der Kehrwert von tperiod 3 3 Einstellen der Anzahl der Positionsgeber Standardm ig f hrt der Sensor im Modus 1 Positionsge ber hoch...

Page 8: ...sdatenobjekt Der Nachrichtenz hler im Header der Datenobjekt Map pings dient der Wahrung der Datenkonsistenz Der Z hler wird jeweils erh ht wenn im betreffenden Datenobjekt neue Daten vorliegen 4 1 RP...

Page 9: ...s Messbereichs z B mehr als 10 mm unterhalb des Nullpunkts oder mehr als 10 mm oberhalb des End punkts Bit 1 Messbereichs berschreitung Warnung Positionsgeber au erhalb des Messbereichs aber weniger a...

Page 10: ...ss 0 sein 2 Byte Command Opcode Bit 0 Read Bit 1 Write Bit 3 7 Reserved Befehlsart auf die der Client antwortet Leseanforderung wenn 1 Schreibanforderung wenn 1 Nicht verwendet 3 Byte Channel Number S...

Page 11: ...Nicht verwendet 3 Byte Channel Number Angeforderter Subindex 4 Wort Object ID ID des angeforderten Objekts 5 6 Wort Dummy Reserviert 7 8 Data Data Error code Schreibanforderung Leer bzw Fehlercode Le...

Page 12: ...ngt von Hubl nge ab 0x02 Time until data is valid 2 unsigned32 ro ns 0x6152 AI_Status_Word 2 0x00 Highest subindex supported unsigned8 ro 0x02 0x01 AI status word 2 1 unsigned16 ro 0x0000 0x02 AI sta...

Page 13: ...m Span 1 end integer32 0xLLLLLLLL 0 1 m 0x6E00 0x00 EUROMAP75_ Device_Profile unsigned32 ro 0x0102014B 0x6E01 0x00 Manufacturer Name string ro Balluff GmbH 0x6E02 0x00 Device Category string ro STROK...

Page 14: ...9 7158 173 370 Fax 49 7158 173 691 service balluff de US Service Center USA Balluff Inc 8125 Holton Drive Florence KY 41042 Phone 859 727 2200 Toll free 1 800 543 8390 Fax 859 727 4823 technicalsuppor...

Page 15: ...BTL6 V55 Configuration Manual english...

Page 16: ...www balluff com...

Page 17: ...tem description 5 2 1 VARAN fundamentals 5 2 2 VARAN bus cycle 5 2 3 Client implementation 5 3 Startup 6 3 1 Initializing 6 3 2 Synchronizing the client 6 3 2 1 Calculating the measurement period 7 3...

Page 18: ...and from the Settings menu Note tip This symbol indicates general notes 1 2 Abbreviations CAS Control Address Space FPGA Field Programmable Gate Array MAC Media Access Control MAS Memory Address Space...

Page 19: ...device profile is realised in FPGA The firmware of the FPGA is stored in a flash memory and can be upgraded via the VARAN interface During a system start the manager automatically assigns addresses fo...

Page 20: ...a 10 kHz VARAN bus cycle the PLL_SYNC_OUT must be divided by 5 by the pulse generator In addition the SYNC_OUT_0 which queries the measurement cycle can be delayed to set the shortest possible measure...

Page 21: ...for 2 magnets tmin ms L 100 mm 3 2800 m s The measurement cycle frequency is the reciprocal of the tperiod 3 3 Setting the number of magnets By default the sensor powers up in one magnet mode one mea...

Page 22: ...data object mappings is used to keep data consistency It is incremented when new data is available in the related data object 4 1 RPDO mapping The Number of channels sets the number of the active meas...

Page 23: ...Process value invalid error Magnet not found or Magnet out of range e g more than 10 mm below the null point or more than 10 mm above the end point Bit 1 Positive overload warning Magnet out of range...

Page 24: ...must be 0 2 Byte Command Opcode Bit 0 Read Bit 1 Write Bit 3 7 Reserved Command type to which the client answers Read request if 1 Write request if 1 Not used 3 Byte Channel Number Subindex for detai...

Page 25: ...et 8 9 for error codes see Tab 4 6 Not used 3 Byte Channel Number Requested subindex 4 Word Object ID ID of the requested object 5 6 Word Dummy Reserved 7 8 Data Data Error code Write request Empty or...

Page 26: ...nds on stroke length 0x02 Time until data is valid 2 unsigned32 ro ns 0x6152 AI_Status_Word 2 0x00 Highest subindex supported unsigned8 ro 0x02 0x01 AI status word 2 1 unsigned16 ro 0x0000 0x02 AI sta...

Page 27: ...rt integer32 0x00000000 0 1 m Span 1 end integer32 0xLLLLLLLL 0 1 m 0x6E00 0x00 EUROMAP75_ Device_Profile unsigned32 ro 0x0102014B 0x6E01 0x00 Manufacturer Name string ro Balluff GmbH 0x6E02 0x00 Devi...

Page 28: ...f GmbH Schurwaldstrasse 9 73765 Neuhausen a d F Phone 49 7158 173 370 Fax 49 7158 173 691 service balluff de US Service Center USA Balluff Inc 8125 Holton Drive Florence KY 41042 Phone 859 727 2200 To...

Reviews: