Beckhoff C1220/FC200x/CX1500-M200
The C1220 is an active ISA master card for the Beckhoff Lightbus. Up to 254 Lightbus nodes ("Boxes") can be connected into a ring circuit. Individual boxes and sometimes separate I/O data boxes can be updated selectively and on a priority basis (Beckhoff CDL concept).
The DPRAM of the C1220 is 4 kBytes. There are no interrupts used.
The FC2001 and FC2002 are PCI bus cards which are otherwise no different from the C1220. The FC2002 supports two independent Lightbus rings (works like two independent C1220/FC2001 cards).
The CX1500-M200 is a Beckhoff Lightbus Master interface for the CX1000 Embedded-PC series. Again, from the functional standpoint a CX1500-M200 doesn't differ from a C1220 card.
Context menu
Append Box... <Insert>
Adds Beckhoff Lightbus boxes to the configuration. The order must correspond with the physical order inside the fiber-optic ring! For a list of all currently supported Beckhoff Lightbus devices, see "Lightbus - Overview" page.
Delete Device... <Del>
Removes the C1220 fieldbus card and all subsidiary elements from the I/O configuration.
Online Reset
Initiates an online reset on the fiber optic ring.
Break Location Test
Initiates a ring break test on the fiber optic ring. This Lightbus-specific feature brings up the "Box" position, the fiber-optical ring is currently interrupted.
Export Device
Exports all device settings made at this Lightbus device into a file (*.tce), including eventually available mapping information with Diagnosis Inputs.
Import Box
Imports formerly saved node ("Box") configurations, including attached Bus Terminals and available variable links, if wanted.
Scan Boxes
Scans the ring for deployed Lightbus nodes (including attached Bus Terminals).
"C1220", "FC200x", "CX1500-M200" tab
Address: (C1220) The DPRAM address of the card can/must be set here. This address is jumper-defined on the card and can assume the following values (jumper settings J1 – J6):
- 0xC8000 00 1000
- 0xD0000 01 0100 (standard)
- 0xD8000 10 0010
- 0xE0000 11 0001
Address automatically assigned With CX1500-M200, the address is assigned automatically or preset ex factory. |
PCI Slot/Ring: (FC2001/FC2002) indicates the logical PCI slot and, for FC2002, whether ring A or ring B is in use.
Search: Searches for existing C1220 or FC2001/FC2002 connections in the computer or CX1500-M200 connections on the CX1000 and sets the address or slot number accordingly.
Upload: Scans the Lightbus ring for connected devices and their inputs/outputs (see also .Scan boxes...).
Check number of boxes: If you tick this checkbox, when the card is initialized the number of boxes which are physically present is compared with the number entered under this card in the System Manager. If the numbers do not comply an error is triggered.
System start despite fiber-optic error: A warning is only issued, instead of aborting the TwinCAT start.
K-Bus update with broadcast telegram (0x80): Decides whether K-bus update should take place individually for each bus coupler or for all bus couplers simultaneously via broadcast telegram when bus couplers are connected.
Reserved CDLs: The Lightbus master cards have eight priority channels (CDLs), which are normally also used freely by the System Manager. If individual CDLs are unused in non-standard applications, these must be indicated here.
Firmware: Indicates the firmware revision of a found card (for older C1220s, only "Found" is displayed).
Load (%): Estimates bus load based on the sum of the load of all required CDLs. This value can be used to decide, for example, whether another ring should be opened or whether the triggering cycle time should be increased.
”CDL” Tab
See ”CDL Configuration” .
Diagnosis Inputs
Diagnosis Inputs
The C1220 as well as the FC2001, FC2002 and CX1500-M200 show up in the System Manager with below described diagnosis and control outputs for the status of the fiber optical ring and the Lightbus interface card itself.
Variable | Description |
---|---|
DeviceState | General status, assumes values 0 (o.k.) and 1 (error) only |
DeviceIioFunc | Number of function at which error occurred (see C1220 manual also) |
DeviceIioFuncArg | Function argument (see C1220 manual also) |
BoxWithError | Number of box at which error has occurred |
ErrorCounter | General Error Counter (DPRAM offset 0xEE0) The Lightbus interface card has several error counters implemented for detection of I/O problems. These counters are accessible from DPRAM starting at offset 0xEE0 as 16-bit values. There is no overflow handling or reset of these counters implemented by the C1220/FC200x firmware. The counter, who reflects the errors detected by the internal address check (0xEEA) doesn't increment the ErrorCounter. |
ErrCntRec1 | Error detected by Receiver 1 Received address and/or control bytes unequal the corresponding sent bytes. |
ErrCntRec2 | Error detected by Receiver 2 Received address and/or control bytes unequal the corresponding sent bytes. |
ErrCntTimeout | Timeout during telegram receiving |
ErrCntParity | Telegram received with CRC error |
AddressCheckErrCnt | Error at internal address check (DPRAM offset 0xEEA). If this counter increments, an address check and count telegram with logically wrong content has been received (AD <> D3) |
AddressCheckModule | If inside the C1220/FC200x error mask bit 1 is set, this cell contains the module address of the box which caused the error. |
Control Outputs
Via the General Control Block (GCB), the supervision of the finalization of the different process images is handled. The control bits related to the error detection are described below.
Variable | Description |
---|---|
GCB-C0 | If this bit is set (default), the address check is active. For detection of parity errors, this bit must be active |
GCB-C1 | If this bit is set, the address check is even active at LWL errors (problems related to the fiber-optical conductor) |