General7
Description of the communication channels9
Test and analysis functions11
Fibre-optic reset11
Code word12
Software version12
Evaluation of Parity Errors12
Fibre-optic attenuation test13
Count peripheral modules14
Test peripheral module addresses14
Continuous sending14
Software-RESET15
Fibre-optic fracture point test15
Invalid function selection15
Configuration16
Reinitializing communication management16
CDL communication16
Freely programmable communication18
Cyclic communication19
Transmitting the interrupt mask19
String Communication21
General21
String structure21
Initialisation of string communication22
Registration of a string slave23
Structure of the buffer for string communication24
Sending a string24
Receiving a string24
Slave to slave string communication24
Register communication24
Process image control functions25
C1220 II/O Error Counter27
4. Technical Data28
5. Installation notes29
Jumper configuration29
Status display30
Installation in the PC30
The Beckhoff Lightbus c onsists of an int elligent central m odule and a field
bus based on fibre-optic conductor.
Beckhoff Lightbus
+RVW V\VWHP
$GUHVVHV
'DWD
&HQWUDO PRGXOH
7HUPLQDOURZ
,2PRGXOH
%HFNKRII /LJKWEXV
7HUPLQDOURZ
,2PRGXOH
ILEH U RSWLF ULQJ
,2PRGXOH
The Beckhoff Lightb us is coupled to the host Syst em via a DPRAM, thus
guaranteeing fast and convenient communication.
Bus couplers for Beckhoff Bus terminals and diverse I/O modules are
available for processing the proces s image. M odules and bus couplers are
linked to one anoth er in a ring structure. Thanks to the use of fibre-optic
conductor, interferenc e sensitivity is low and the data tra nsfer rate of 2.5
Mbaud is high. Errors occ urring in the fibre-optic ring ar e detected by the
central module and are reported to the host system. Implemented ring
diagnostics functions enable swift error detection and remedying.
7HUPLQDOURZ
A communication protocol optimized for speed and simplicity has been
defined for data transfer between the central module and I/O modules.
Below, this communication protocol is also referred to as a telegram.
Communication on th e f ibre- o ptic r i ng is contr o ll ed by the central m odule. It
sends telegrams which pas s through the individual modules an d terminal
rows in the fibre-optic ring, and which are ultimately received again and
checked.
A telegram consists of the telegram frame and contents.
The telegram frame is required for serial, asynchronous data
communication and consists of 1 start bit, 6 CRC check bits and 2 stop
bits. The telegram frame is generated and checked by the hardware.
Software support is not necessary.
The telegram contents are essentially based on a byte organization.
AD0 - AD7 constitute t he so called address f ield. Up to 254 modules and
terminal rows can be addressed via this address field (the addresses 0x00
and 0x0ff are reserved).
CR0 - CR3 defines the telegram type. The following functions can be
defined in the telegram:
CR3CR2CR1CR0FunctionDescription
0000READThe addressed module inserts the input
information in the data fields D0 - D3.
0001READ/WRITEThe addressed module inserts the input
information in the data fields D0 - D3 and
accepts the output information.
0010ADDRESS
INITIALIZATION
0011RAMA special type of telegram for bus coupler
0100ADDRESS
CHECK AND
COUNT
COMMAND
1001LOW INTENSITY
COMMAND
1011BROADCAST
The addressed module accepts the contents of
D0 as the module address and sets D0 = 0.
BK2000
Every module that is passed through increments
the contents of D0 by 1. The addressed module
transfers the contents from D0 to D3.
The addressed module reduces the send
intensity by 20%.
A special type of telegram for bus coupler
BK2000
The bytes D0 - D3 conta in the actual user information. Processi ng of this
user information data is defined by the control field.
The last byte in the telegram contains 2 reserve bits and 6 bits for
generation of a CRC check sum. A Hamming distance of d=3 is ac hieved
with a length of the contents amounting to 50 bits.
The Beckhoff Lightb us consists of a p hysical ring whic h can be split into 8
logical rings for processing th e process im age. A log ical ring onl y operates
on selected modules and term inal rows that are defined by means of so
called Communication D escripti on Lists ( CDLs). Tr ansfer of the CDLs fr om
the host system to the central module will be discussed in further detail
later.
The process im age is made available to the host system via the DPRAM.
The DPRAM is split into three areas:-
- Data:Input, output and flags
- Communication: Initialization, test, analysis and configuration of the
Beckhoff Lightbus
- Process control: Updating of process images
To this end, the central module requires a 4 k byte area in the address
space of the host system.
The Lightbus - PC interface C1220 is an intelligent Lightbus central
module.
As a plug-in ISA bus PC board, the C1220 link s the Beckhoff Lightbus to
the PC as the host system and is therefore a n impor tant component of the
PC control concept.
&
7;
5;
-
-
With the aid of the C1220 , fast processing of a process im age defined by
the sensors / actuators of the Beckhoff Lightbus is enabled.
Handshake channel 0: PC -> C1220
(configuration, test, analyse)
Handshake channel 1: C1220 -> PC
(configuration, test, analyse)
reserved
GCB (General control block)
The interface between the PC bus and the C1220 module enables the
following functions:
-Data transfer of the process image
-Test and analysis functions for the II/O system
-Configuration
-Control of process images
By way of the communication channels, the Beckhoff Lightbus can be
configured by means of four functions. In do ing so, the inputs / outp uts of
the decentralized I/O modules are assigned to the addresses in the
DPRAM. A total of nine further functions can also be requested via the
communication channels for test and analysis functions.
The data areas for the CDLs are located in the bottom 3 kbyte area that the
C1220 module occupies in the address space. The request to update the
process image is realized by setting a b it in the request mask of the GCB
(General Control Block). The ready message for this request is obtained
from the corresponding bit in the ready mask of the GCB.
Two channels are config ured for communic ation between the PC bus a nd
C1220. Each channel embraces 255 bytes. The PC writes the data
required for requesting the required function into the channel 0 and then
outputs a DV (Data Val id). After acceptance of the data, the C122 0 module
outputs the ‘Quit’ signal. The PC withdraws the ‘DV’ and a new
communication can be commenced as soon as the ‘Quit' signal is 0.
Channel 0 from the PC b us to the C1220 provides the address area from
0xC01 to 0xCFF for the data. DV is the MSB of the ad dr es s 0x C00. 'Qu it' is
the second highest bit of the address 0xD00.
Communication channel 0:
Communication channel 1:
Addresses of the
Komunikationskanäle
Byte 0
0xC00
Byte 1................Byte 254Byte 255
0xCFF
Channel 1 from the C1220 module to the PC bus provides the address
area from 0xD01 to 0xDFF for the data. DV is the MSB of the address
0xD00. 'Quit' is the second highest bit of the address 0xC00.
Byte 0
0xD00
AddressAddress bitsContents
0xC00
0xC00
0xC01
0xC02
0xC03
0xCnn
0xCFF
0xD00
0xD00
0xD01
Byte 1................Byte 254Byte 255
7 6 5 4 3 2 1 0
1 0 0 0 0 0 0 0’Data Valid’ for
Channel 0
(in the case of PC -> C1220 data
transfer)
0 1 0 0 0 0 0 0’Quit’ for Channel 1
(in the case of C1220 -> PC data
transfer)
Length (von 2 bis 0xFE)
Functionsnummer
(1 bis 0xFE)
Argument 0
..
..
1 x 0 0 0 0 0 0’Data Valid’ for
x 1 0 0 0 0 0 0’Quit’ for Channel 0
..
Argument n
..
..
Channel 1
(in the case of C1220 -> PC data
transfer)
(in the case of PC -> C1220 data
transfer)
Length (from 2 to 0xFE)
0xDFF
Beckhoff Lightbus - PC interface card C1220
Loading...
+ 21 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.