CP68xx / CP78xx (USB Interface)

The Beckhoff Control Panel CP68xx and. CP78xx contains an USB interface (incl. integrated USB Hub ) for PC communication to the Special Keys and/or all kind of USB devices, connected to the Control Panel. The Special Keys and USB fieldbus devices communicate with TwinCAT via ADS.

Typen

Beschreibung

CP68xx / CP78xx

Beckhoff Control Panel with DVI and USB interface

"BK95x0/CPx8xx" Tab

CP68xx / CP78xx (USB Interface) 1:

Dip-Switch: The actual dip-switch setting (USB address) of the Control Panel with USB interface has to be edited here. If the Control Panel (plus possible Bus Terminals) have been found through ->"Scan Devices", the appropriate address has been set here automatically.

Diagnosis: This checkbox is deactivated at the CP68xx and CP78xx.

2 Byte PLC Interface: This checkbox is deactivated at the CP68xx and CP78xx..

Buttons: The correct number of Special Keys has to be selected here. The default is 27, which is appropriate for the most Beckhoff Control Panels (see also -> "BECKHOFF Knowledge Base").

LEDs: The number of implemented LEDs and/or lamps inside the Special Keys of the Control Panel has to be selected here. Default number is 27, which suits for the most of the Control Panels (see also -> "BECKHOFF Knowledge Base").

K-Bus Update: According to the attached Bus Terminals, the estimated K-Bus update time is calculated and displayed here.

Search: If this button is pressed, the Device Handle is searched manually (usually not necessary).

Device Handle: Shows, with activated configuration and started TwinCAT System, the USB Device Handle for this device, which was obtained by the Operating System (and is currently valid).

"ADS Commands" Tab

For information about this tab, see -> "ADS Command Window".

I/O Variables:

CP68xx / CP78xx (USB Interface) 2:

Inputs:

PanelState: This bit array is currently not used (reserved).

S 1 - n: The status of the control panel special buttons, along with the push buttons and switches of potential push button extensions can be queried and linked with the input variables of the other task (e.g. TwinCAT PLC) here.

CouplerState: See "Status Information – Beckhoff fieldbus node"

BoxState: See "BK9500 (USB interface)"

MissedCnt: See "Status information – Beckhoff fieldbus node"

CP68xx / CP78xx (USB Interface) 3:

USB

USB is specified for segment lengths of up to 5 m (from hub to end device, or next hub). If the -value increases during normal operation, a short commercially available USB cable (e.g. with a length of 3 m) should be used for test purposes. This would help to determine if the problem is caused by the USB cable length (total length). MissedCnt


Outputs:

PanelCtrl: With this Bit-Array, the Panel behavior can be controlled. Currently, only the control of the backlight is implemented.

Variable (Bit of DWORD)

Data Type

Value

Description

PanelCtrl[5]

BOOL

0

Display: backlight = ON

1

Display: backlight = OFF

LED 1 .. n: The output variables from other tasks (e.g. TwinCAT PLC) can be linked to the S-Key LEDs or to luminated pushbuttons, respectively their status can be watched, here.