5.3. Installation on the VME Card Cage...........................................................44
Page 4 of 44Version : 2.01Date : 18.12.95
C1300 VME to II/O Interface UnitBeckhoff II/O-System
1. System Description
1.1 The Beckhoff II/O System
the Beckhoff Industrial Input Output System, which is abrevated II/O System, consists of a
smart central modul and a field bus that is based on fiber optics. Picture 1 shows an overview
of the II/O system.
picture.1
Date : 18.12.95Version : 2.01Page 5 of 44
C1300 VME to II/O Interface UnitBeckhoff II/O-System
The connection of the II/O system to the host system is established by a DPRAM. This is
providing fast and comfortable communications.
The processing of the diverse signal states is supported by several II/O peripheral modules,
which are linked in a ring structure.The use of fiber optics minimizes the sensitivity for
interferences and allows a high transmission rate of 2.5 MBd. Errors, occuring in the FO-ring, will be detected and reported to the host system by the central module. Functions
implemented for ring diagnosis, enable quick detection and correction of errors.
There is a speed and simplicity optimized communications protocol which, in the further
course of this documentation, will be called a telegram.
Communications on the FO-ring are controlled by the central module. This module will send
telgrams, that pass each of the modules in the FO-ring and are eventually received and
checked.
Page 6 of 44Version : 2.01Date : 18.12.95
C1300 VME to II/O Interface UnitBeckhoff II/O-System
A telegram consists of a frame and the contents.
picture 2: Telegram structure of the II/O-System
The frame is needed for serial and asynchronous data communications. There is a single start
bit, 6 CRC check bits and 2 stop bits. The frame is created and checked by the hardware, so
that there is no need for additonal software support.
Date : 18.12.95Version : 2.01Page 7 of 44
C1300 VME to II/O Interface UnitBeckhoff II/O-System
The contents of the telegram is mainly organized for each byte.
AD0 - AD7 create the address field.Using this address field up to 254 modules can be
addressed ( Address 00h and 0fh are reserved. ).
CR0 - CR3 define the type of telegram. Following functions can be defined in the telegram:
CR3 CR2 CR1 CR0FunctionBeschreibung
0000
0001
0010
0100
1001
READ
READ/WRITE
ADDRESS INITIALIZITION
ADDRESS CHECK AND
COUNT COMMAND
LOW INT ENSITY
COMMAND
The modul addressed writes the entry data into
the Data fields D0 - D3 .
The modul addressed writes the entry data into
the Data fields D0 - D3 and loads the
Ausgangsinformation.
The module addressed loads the contents of D0
as a module address und sets D0 = 0.
Each module passed increases the contents of
D0 by 1. The module addressed is loads the
contents from D0 into D3.
The module addressed reduces the transmission
intensity by 20%.
picture 3:Controlfield
Byte D0 - D3 contain the actual Data to use. The processing of this data is determined by the
controll field.
The last Byte in a telegram contains two spare bits and 6 bits to create a CRC checksum. The
contents, having a length of 50 bits, achieves a Hamming distance of d = 3.
Page 8 of 44Version : 2.01Date : 18.12.95
C1300 VME to II/O Interface UnitBeckhoff II/O-System
The Beckhoff II/O fieldbus consists of a physical ring, that can be split into 8 logical rings in
order to process the signal states. A logical ring can only be run on preselected modules,
which are defined by Communication Description Lists ( CDLs ) or freely programmable
comunications. Later in this text the way this definitions are transmitted will be delt with.
The host system is provided with the signal states via the DPRAM, which can be divided into
3 areas.
-Data : Input , output
-Communications :Initialization, test, analysis and configuration of the II/O-
Systems
-Process control :Refresh of signal states
The central module needs an area of 4 Kbyte in the address space of the host system.
Date : 18.12.95Version : 2.01Page 9 of 44
C1300 VME to II/O Interface UnitBeckhoff II/O-System
2. Function Description Hardware
C1300
The central module C1300 is a smart port for communications between the II/O-System and
the VMEbus. There is a 2k*8 dual ported SRAM for comunications between the II/O -System
and the VMEbus. It is addressed directly through the VMEbus. The VMEbus slave interface
has the following properties:
* AMO’s:Standart Supervisory Program Access
Standart Supervisory Data Access
Standart Non-Privileged Program Access
Standart Non-Privileged Data Access
* A24/D16 and A24/D08 - Slave according to VMEbus Rev.C1, no block-transfer
* D08 Interrupter according to VMEbus Rev.C1
Page 10 of 44Version : 2.01Date : 18.12.95
C1300 VME to II/O Interface UnitBeckhoff II/O-System
3. Function Description Software
3.1. About the Software
Address space (hex)Funktion
000 - BFFData area
(input, output )
3 kByte
C00 - CFFHandshake-channel 0 : VME -> C1300
(configuration, test, analysis)
D00 - DFFHandshake-channel 1 : C1300 -> VME
(configuration, test, analysis)
E00-FF9reserved
FFA - FFFGCB (General Control Block)
(demand, ready und error mask)
Overview : Distribution of the port‘s workspace.
The port between VMEbus and C1300 module enables the following functions:
-Data exchange of signal states
-Test- und analysis functions for II/O-System
-Configuration
-Control of signal states
The II/O System can be configurated through the comunications channels by 4 functions. This
way the input and output lines are distributed to the addresses in the DPRAM. The
communications channels can also be used to reach nine more functions for t esting and analysi s .
The lower 2 Kbyte area, which is used by the C1300 module in the VME address space, is the
place for the data areas of the CDLs. The call to refresh the signal states is done by setting a
bit in the demand mask of the GCB ( General Control Block ). The ready message can be
taken from the predefined bit in the ready mask of the GCB.
Date : 18.12.95Version : 2.01Page 11 of 44
C1300 VME to II/O Interface UnitBeckhoff II/O-System
Page 12 of 44Version : 2.01Date : 18.12.95
C1300 VME to II/O Interface UnitBeckhoff II/O-System
3.2. Description of the Handshake Channels
Communications between VMEbus and C1300 are supported by two channels, which contain
255 bytes. The VME master writes the data, needed to run a certain function, to channel 0 and
then transmitts a DV ( data valid ) signal. When the module has received all of the data, it
will send the "Quit" signal. The VME master erases the DV signal and as soon as the "Quit"
signal is set to zero, new communications can be started.
Channel 0 leading from the VMEbus to the C1300 module has an address range from C01h to
CFFh. DV is the MSB of address C00h. "Quit" is the second highest bit of address D00h.
Handshake-Channel 0 :
Byte 0
COO
h
Byte 1................Byte 254Byte 255
CFF
h
Channel 1 leading from the VMEbus to the C1300 module has an address range from C01h to
CFFh. DV is the MSB of address C00h. "Quit" is the second highest bit of address D00h.
Handshake-Channel 1 :
Byte 0
D00
h
Byte 1................Byte 254Byte 255
DFF
h
Date : 18.12.95Version : 2.01Page 13 of 44
C1300 VME to II/O Interface UnitBeckhoff II/O-System
AddressAddress BitsContents
(hex)
76543210
C001 x 0 0 0 0 0 0 ’Data Valid’ of channel 0
( for Data transfer VME -> C1300)
C00x1000000’Quit’ of channel 1
( for Data transfer C1300 -> VME)
C01Length ( from 2 to FEh)
C02Function number
( 1 bis FEh )
C03Argument 0
....
CnnArgument n
....
CFF..
D001x000000’Data Valid’ of channel 1
( for Data transfer C1300 -> VME)
D00x1000000’Quit’ of channel 0
( for Data transfer VME -> C1300)
D01Length (from 2 to FEh)
D02Function number
( 1 to FFh )
D03Argument 0
....
DnnArgument n
....
DFF..
Addresses of Handshake Channels
Page 14 of 44Version : 2.01Date : 18.12.95
Loading...
+ 30 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.