EasyManua.ls Logo

Beckhoff CX9000-0001 User Manual

Beckhoff CX9000-0001
60 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #40 background imageLoading...
Page #40 background image
Error handling and diagnostics
CX9000 / CX901040 Version: 2.6
In the case of some errors, rectification does not cause the power supply to leave the blink sequence. The
power supply can only be restarted by switching its supply voltage off and on again.
5.1.3 Terminal Bus Analysis in PLC-Program
To analyze the terminal bus (K-Bus) the programmer can access the registers described in the architecture.
The access to the PLC-program is realized via TwinCAT. The registers are described in the architecture of
the terminal bus connectors (CX1100-000x).
For analysis four signals / variables are used:
BusState (describes the state of the bus: 0 -> no error, 1 -> bus error)
ErrorCode (same error code as the LED blink code)
ErrorArg (same argument code LED blink code)
Request[0] (output to request error codes / reset bus)
In the PLC program some external variables must be defined :
VAR
k_bus_request AT %QX0.0 : BOOL;
k_bus_err_code AT %IB0 : USINT;
k_bus_err_arg AT %IB1 : USINT;
k_bus_state AT %IB2 : USINT;
END_VAR
In the PLC program the analysis can be done as follows: (this is only pseudo code)
....
IF k_bus_state = 1 THEN (* an error occured on K-Bus*)
k_bus_request := TRUE; (* request vaules for ErrCode and ErrArg *)
CASE k_bus_err_code OF
0 : return;(* should not happen, though an error occured *)
1 : CASE k_bus_arg OF
 0 : report error; (* EEPROM checksum error *)
 1 : report error; (* overflow in code buffer *)
 2 : report error; (* unknown datatype *)
END_CASE;
2 : CASE k_bus_arg OF
 0 : report error; (* programmed configuration, wrong table entry *)
 ELSE report error; (* wrong table entry *)
END_CASE;
3 : report error (* K-Bus command error *)
4 : CASE k_bus_arg OF
 0 : report error; (* break after power supply *)
 ELSE report error; (* break after terminal 'k_bus_arg' *)
END_CASE;
5 : report error (* K-Bus-error during register-communication with terminal 'k_bus_arg' *)
9 : CASE k_bus_arg OF
 0 : report error; (* checksum error in program flash *)
 ELSE report error; (* terminal 'k_bus_arg' does not exist in boot configuration *)
END_CASE;
14 : report error (* 'k_bus_arg'-th terminal has wrong format *)
15 : report error (* wrong number of bus terminals *)
16 : report error (* length of K-Bus data is invalid *)
END_CASE
k_bus_request := TRUE; (* reset bus, if reason for error is removed, bus starts again *)
....
To make the control work, the register and the program must be linked in System Manager. If the PLC
program is attached in System Manager the following signals are available:
Question and Answer IconNeed help?

Do you have a question about the Beckhoff CX9000-0001 and is the answer not in the manual?

Beckhoff CX9000-0001 Specifications

General IconGeneral
TypeEmbedded PC
Power Supply24 V DC
Dimensions100 x 100 x 70 mm
USB1 x USB 2.0
RS2321 x RS232
Protection ClassIP20
Weight0.5 kg
Storage4 GB
I/O InterfacesEthernet, USB, RS232
Ethernet1 x 10/100 Mbps
Operating Temperature0 °C to +55 °C

Summary

Safety Instructions

Safety Regulations and Symbol Meanings

Details safety regulations, warnings, symbols, and personnel qualification for safe operation.

Product Overview

System Usage and Handling

Covers correct system usage, power-off procedures, and software knowledge requirements.

System Connections and Interfaces

Explains power supply wiring, Ethernet ports, UL requirements, and interface pinouts.

Assembly and Connecting

Mechanical Assembly Procedures

Procedures for physically mounting modules, including dimensions and cooling.

Basic Module Installation Steps

Detailed steps for installing the basic CPU module onto a top-hat rail.

Start-up and Operation

Steps for powering the system on and off correctly for initial operation.

Error Handling and Diagnostics

CPU Basic Module LEDs

Explains the meaning of LEDs on the CPU basic module for status indication.

Related product manuals